mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
This commit is contained in:
parent
966420cc90
commit
a58ed51deb
@ -11,9 +11,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("main")
|
||||
chaincfg.SetSDKConfig().Seal()
|
||||
fmt.Println("main2")
|
||||
rootCmd := NewRootCmd()
|
||||
if err := svrcmd.Execute(rootCmd, chaincfg.EnvPrefix, chaincfg.DefaultNodeHome); err != nil {
|
||||
switch e := err.(type) {
|
||||
@ -25,5 +23,4 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
fmt.Println("main3")
|
||||
}
|
||||
|
@ -42,7 +42,6 @@ func customKeyringOptions() keyring.Option {
|
||||
|
||||
// NewRootCmd creates a new root command for the 0g-chain blockchain.
|
||||
func NewRootCmd() *cobra.Command {
|
||||
fmt.Println("NewRootCmd")
|
||||
encodingConfig := app.MakeEncodingConfig()
|
||||
initClientCtx := client.Context{}.
|
||||
WithCodec(encodingConfig.Marshaler).
|
||||
@ -88,7 +87,6 @@ func NewRootCmd() *cobra.Command {
|
||||
}
|
||||
|
||||
addSubCmds(rootCmd, encodingConfig, chaincfg.DefaultNodeHome)
|
||||
fmt.Println("NewRootCmd2")
|
||||
return rootCmd
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"math/big"
|
||||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
"github.com/kava-labs/kava/x/evmutil/types"
|
||||
"github.com/0glabs/0g-chain/x/evmutil/types"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -8,8 +8,8 @@ import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/stretchr/testify/suite"
|
||||
|
||||
"github.com/kava-labs/kava/x/evmutil/testutil"
|
||||
"github.com/kava-labs/kava/x/evmutil/types"
|
||||
"github.com/0glabs/0g-chain/x/evmutil/testutil"
|
||||
"github.com/0glabs/0g-chain/x/evmutil/types"
|
||||
)
|
||||
|
||||
type Bep3ConversionTestSuite struct {
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
sdkmath "cosmossdk.io/math"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
|
||||
"github.com/kava-labs/kava/x/evmutil/testutil"
|
||||
"github.com/kava-labs/kava/x/evmutil/types"
|
||||
"github.com/0glabs/0g-chain/x/evmutil/testutil"
|
||||
"github.com/0glabs/0g-chain/x/evmutil/types"
|
||||
)
|
||||
|
||||
func (suite *MsgServerSuite) TestConvertCoinToERC20_Bep3() {
|
||||
|
Loading…
Reference in New Issue
Block a user