forked from cerc-io/laconicd-deprecated
WIP: fixing the test cases
This commit is contained in:
parent
694d4c667d
commit
e6d416db7f
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user