Skip to content

Commit 9ddd976

Browse files
authored
fix: include missing EvmUnitAnteTestSuite (cosmos#327)
* add missed test case * lint
1 parent 17c65a7 commit 9ddd976

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package ante
2+
3+
import (
4+
"testing"
5+
6+
"github.com/stretchr/testify/suite"
7+
8+
"github.com/cosmos/evm/evmd/tests/integration"
9+
"github.com/cosmos/evm/tests/integration/ante"
10+
)
11+
12+
func TestEvmUnitAnteTestSuite(t *testing.T) {
13+
suite.Run(t, ante.NewEvmUnitAnteTestSuite(integration.CreateEvmd))
14+
}

tests/integration/ante/evm_unit_ante_test_suite.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package ante
33
import (
44
"github.com/stretchr/testify/suite"
55

6+
"github.com/cosmos/evm/testutil/constants"
67
"github.com/cosmos/evm/testutil/integration/evm/network"
78
)
89

@@ -24,6 +25,8 @@ func NewEvmUnitAnteTestSuite(
2425
create network.CreateEvmApp,
2526
) *EvmUnitAnteTestSuite {
2627
return &EvmUnitAnteTestSuite{
27-
create: create,
28+
create: create,
29+
ChainID: constants.ExampleChainID.ChainID,
30+
EvmChainID: constants.ExampleChainID.EVMChainID,
2831
}
2932
}

0 commit comments

Comments
 (0)