Skip to content

Commit

Permalink
finishing touch
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Oct 31, 2024
1 parent 9f7160b commit a04fd06
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions x/evm/evmtest/eth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ func (s *Suite) TestSampleFns() {
func (s *Suite) TestERC20Helpers() {
deps := evmtest.NewTestDeps()
funtoken := evmtest.CreateFunTokenForBankCoin(&deps, "token", &s.Suite)

evmtest.AssertERC20BalanceEqual(
s.T(), deps,
funtoken.Erc20Addr.Address,
deps.Sender.EthAddr,
big.NewInt(0),
)
evmtest.FunTokenBalanceAssert{
FunToken: funtoken,
Account: deps.Sender.EthAddr,
BalanceBank: big.NewInt(0),
BalanceERC20: big.NewInt(0),
}.Assert(s.T(), deps)
}

0 comments on commit a04fd06

Please sign in to comment.