WIP: fixing the test cases

This commit is contained in:
Sai Kumar 2022-04-26 16:22:19 +05:30
parent 694d4c667d
commit e6d416db7f
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin export PATH=$PATH:$GOPATH/bin
# remove existing daemon # remove existing daemon
rm -rf ~/.ethermintd rm -rf ~/.chibaclonk*
# build ethermint binary # build ethermint binary
make install make install

View File

@ -59,7 +59,7 @@ type ImporterTestSuite struct {
/// DoSetupTest setup test environment, it uses`require.TestingT` to support both `testing.T` and `testing.B`. /// DoSetupTest setup test environment, it uses`require.TestingT` to support both `testing.T` and `testing.B`.
func (suite *ImporterTestSuite) DoSetupTest(t require.TestingT) { func (suite *ImporterTestSuite) DoSetupTest(t require.TestingT) {
checkTx := false checkTx := false
suite.app = app.Setup(checkTx, nil) suite.app = app.Setup(suite.T(), checkTx, nil)
// consensus key // consensus key
priv, err := ethsecp256k1.GenerateKey() priv, err := ethsecp256k1.GenerateKey()
require.NoError(t, err) require.NoError(t, err)

View File

@ -58,4 +58,4 @@ chibaclonkd collect-gentxs
chibaclonkd validate-genesis chibaclonkd validate-genesis
# Start the node (remove the --pruning=nothing flag if historical queries are not needed) # Start the node (remove the --pruning=nothing flag if historical queries are not needed)
chibaclonkd start --pruning=nothing --rpc.unsafe --keyring-backend test --log_level info --json-rpc.api eth,txpool,personal,net,debug,web3 --api.enable chibaclonkd start --pruning=nothing --rpc.unsafe --keyring-backend test --log_level info --json-rpc.api eth,txpool,personal,net,debug,web3 --api.enable --mode validator