Skip to content

Commit

Permalink
fix: Actually send amount in basic transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Feb 28, 2024
1 parent 9957478 commit 1354426
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions x/evm/testutil/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,9 @@ func (suite *TestSuite) TransferValue(
chainID := suite.App.EvmKeeper.ChainID()

args, err := json.Marshal(&types.TransactionArgs{
To: &to,
From: &from,
To: &to,
From: &from,
Value: (*hexutil.Big)(amount),
})
if err != nil {
return nil, nil, err
Expand All @@ -417,7 +418,7 @@ func (suite *TestSuite) TransferValue(
chainID,
nonce,
&to,
nil,
amount,
res.Gas,
nil,
suite.App.FeeMarketKeeper.GetBaseFee(suite.Ctx),
Expand All @@ -430,7 +431,7 @@ func (suite *TestSuite) TransferValue(
chainID,
nonce,
&to,
nil,
amount,
res.Gas,
nil,
nil, nil,
Expand Down

0 comments on commit 1354426

Please sign in to comment.