548f2a7b92
1. rename `ethermint` to `chiba-clonk` 2. fix the `make localnet-start`
25 lines
378 B
Go
25 lines
378 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/cosmos/cosmos-sdk/server"
|
|
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
|
|
|
"github.com/tharsis/ethermint/app"
|
|
)
|
|
|
|
func main() {
|
|
rootCmd, _ := NewRootCmd()
|
|
|
|
if err := svrcmd.Execute(rootCmd, app.DefaultNodeHome); err != nil {
|
|
switch e := err.(type) {
|
|
case server.ErrorCode:
|
|
os.Exit(e.Code)
|
|
|
|
default:
|
|
os.Exit(1)
|
|
}
|
|
}
|
|
}
|