Skip to content

Commit

Permalink
more test fixes, using correct account prefix and evm denom for examp…
Browse files Browse the repository at this point in the history
…le chain
  • Loading branch information
MalteHerrmann committed Sep 23, 2024
1 parent 1485f52 commit 2f5ad53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ante/cosmos/min_gas_price_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (suite *AnteTestSuite) TestMinGasPriceDecorator() {
return txBuilder.GetTx()
},
false,
fmt.Sprintf("expected only use native token %s for fee", denom),
fmt.Sprintf("expected only native token %s for fee", denom),
true,
},
}
Expand Down
2 changes: 2 additions & 0 deletions ante/testutils/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
evmante "github.com/evmos/os/ante/evm"
chainante "github.com/evmos/os/example_chain/ante"
chainutil "github.com/evmos/os/example_chain/testutil"
testconstants "github.com/evmos/os/testutil/constants"
"github.com/evmos/os/testutil/integration/os/factory"
"github.com/evmos/os/testutil/integration/os/grpc"
"github.com/evmos/os/testutil/integration/os/keyring"
Expand Down Expand Up @@ -59,6 +60,7 @@ func (suite *AnteTestSuite) SetupTest() {
customGenesis[feemarkettypes.ModuleName] = feemarketGenesis

evmGenesis := evmtypes.DefaultGenesisState()
evmGenesis.Params.EvmDenom = testconstants.ExampleAttoDenom
if !suite.enableLondonHF {
maxInt := sdkmath.NewInt(math.MaxInt64)
evmGenesis.Params.ChainConfig.LondonBlock = &maxInt
Expand Down
4 changes: 2 additions & 2 deletions wallets/ledger/ledger_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ func (suite *LedgerTestSuite) getMockTxProtobuf() []byte {

memo := "memo"
msg := bankTypes.NewMsgSend(
sdk.MustAccAddressFromBech32("cosmos1r5sckdd808qvg7p8d0auaw896zcluqfd7djffp"),
sdk.MustAccAddressFromBech32("cosmos10t8ca2w09ykd6ph0agdz5stvgau47whhaggl9a"),
sdk.MustAccAddressFromBech32("evmos1r5sckdd808qvg7p8d0auaw896zcluqfduvr8nf"),
sdk.MustAccAddressFromBech32("evmos10t8ca2w09ykd6ph0agdz5stvgau47whhlfe3l4"),
[]sdk.Coin{
{
Denom: "atom",
Expand Down

0 comments on commit 2f5ad53

Please sign in to comment.