Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
blindchaser committed Nov 26, 2024
1 parent 02ccad7 commit ded2293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions precompiles/bank/bank_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func TestRun(t *testing.T) {
sdk.NewAttribute(banktypes.AttributeKeySender, senderAddr.String()),
),
// gas refund to the sender
banktypes.NewCoinReceivedEvent(senderAddr, sdk.NewCoins(sdk.NewCoin("usei", sdk.NewInt(101398)))),
banktypes.NewCoinReceivedEvent(senderAddr, sdk.NewCoins(sdk.NewCoin("usei", sdk.NewInt(132401)))),
// tip is paid to the validator
banktypes.NewCoinReceivedEvent(sdk.MustAccAddressFromBech32("sei1v4mx6hmrda5kucnpwdjsqqqqqqqqqqqqlve8dv"), sdk.NewCoins(sdk.NewCoin("usei", sdk.NewInt(67599)))),
}
Expand Down Expand Up @@ -244,7 +244,7 @@ func TestRun(t *testing.T) {
Denom: "ufoo",
}, bank.CoinBalance(parsedBalances[0]))
require.Equal(t, bank.CoinBalance{
Amount: big.NewInt(9901387),
Amount: big.NewInt(9932390),
Denom: "usei",
}, bank.CoinBalance(parsedBalances[1]))

Expand Down

0 comments on commit ded2293

Please sign in to comment.