Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yang committed Jan 17, 2025
1 parent 4117272 commit 997a946
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x/evm/keeper/erc20_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (s *Suite) TestERC20Calls() {
evmObj,
)
s.Require().NoError(err)
stateDB.Commit()
s.Require().NoError(stateDB.Commit())

evmtest.AssertERC20BalanceEqualWithDescription(s.T(), deps, evmObj, erc20, evm.EVM_MODULE_ADDRESS, big.NewInt(69_420), "expect 69420 tokens")
evmtest.AssertERC20BalanceEqualWithDescription(s.T(), deps, evmObj, erc20, deps.Sender.EthAddr, big.NewInt(0), "expect zero tokens")
Expand Down Expand Up @@ -63,7 +63,7 @@ func (s *Suite) TestERC20Calls() {
evmObj,
)
s.Require().NoError(err)
stateDB.Commit()
s.Require().NoError(stateDB.Commit())
evmtest.AssertERC20BalanceEqualWithDescription(
s.T(), deps, evmObj, erc20, deps.Sender.EthAddr, big.NewInt(9_420), "expect nonzero balance")
evmtest.AssertERC20BalanceEqualWithDescription(
Expand All @@ -81,7 +81,7 @@ func (s *Suite) TestERC20Calls() {
evmObj,
)
s.Require().NoError(err)
stateDB.Commit()
s.Require().NoError(stateDB.Commit())
evmtest.AssertERC20BalanceEqualWithDescription(s.T(), deps, evmObj, erc20, deps.Sender.EthAddr, big.NewInt(3_420), "expect 3420 tokens")
evmtest.AssertERC20BalanceEqualWithDescription(s.T(), deps, evmObj, erc20, evm.EVM_MODULE_ADDRESS, big.NewInt(60_000), "expect 60000 tokens")
})
Expand All @@ -96,7 +96,7 @@ func (s *Suite) TestERC20Calls() {
evmObj,
)
s.Require().NoError(err)
stateDB.Commit()
s.Require().NoError(stateDB.Commit())
evmtest.AssertERC20BalanceEqualWithDescription(s.T(), deps, evmObj, erc20, deps.Sender.EthAddr, big.NewInt(3_420), "expect 3420 tokens")
evmtest.AssertERC20BalanceEqualWithDescription(s.T(), deps, evmObj, erc20, evm.EVM_MODULE_ADDRESS, big.NewInt(54_000), "expect 54000 tokens")
})
Expand Down

0 comments on commit 997a946

Please sign in to comment.