forked from cerc-io/laconicd-deprecated
fix test compilation
This commit is contained in:
@@ -33,7 +33,7 @@ type EvmTestSuite struct {
|
||||
|
||||
ctx sdk.Context
|
||||
handler sdk.Handler
|
||||
app *app.InjectiveApp
|
||||
app *app.EthermintApp
|
||||
codec codec.BinaryMarshaler
|
||||
|
||||
privKey *ethsecp256k1.PrivKey
|
||||
@@ -45,7 +45,7 @@ func (suite *EvmTestSuite) SetupTest() {
|
||||
checkTx := false
|
||||
|
||||
suite.app = app.Setup(checkTx)
|
||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{Height: 1, ChainID: "888", Time: time.Now().UTC()})
|
||||
suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{Height: 1, ChainID: "ethermint-888", Time: time.Now().UTC()})
|
||||
suite.handler = evm.NewHandler(suite.app.EvmKeeper)
|
||||
suite.codec = suite.app.AppCodec()
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ type KeeperTestSuite struct {
|
||||
|
||||
ctx sdk.Context
|
||||
querier sdk.Querier
|
||||
app *app.InjectiveApp
|
||||
app *app.EthermintApp
|
||||
address ethcmn.Address
|
||||
}
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ func (suite *StateDBTestSuite) TestTransitionDb() {
|
||||
"nil gas price",
|
||||
func() {
|
||||
invalidGas := sdk.DecCoins{
|
||||
{Denom: ethermint.PhotonCoin},
|
||||
{Denom: ethermint.AttoPhoton},
|
||||
}
|
||||
suite.ctx = suite.ctx.WithMinGasPrices(invalidGas)
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ type StateDBTestSuite struct {
|
||||
suite.Suite
|
||||
|
||||
ctx sdk.Context
|
||||
app *app.InjectiveApp
|
||||
app *app.EthermintApp
|
||||
stateDB *types.CommitStateDB
|
||||
address ethcmn.Address
|
||||
stateObject types.StateObject
|
||||
|
||||
Reference in New Issue
Block a user