Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jewei1997 committed Aug 1, 2024
1 parent 22483b6 commit 14dab1b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/receipt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func TestEvmEventsForCw721(t *testing.T) {
wasmAddr := common.HexToAddress(wasmd.WasmdAddress)
txData := ethtypes.LegacyTx{
Nonce: 0,
GasPrice: big.NewInt(1000000000),
GasPrice: big.NewInt(333000000000),
Gas: 1000000,
To: &wasmAddr,
Data: data,
Expand Down
4 changes: 2 additions & 2 deletions precompiles/distribution/distribution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ func TestPrecompile_RunAndCalculateGas_Rewards(t *testing.T) {
suppliedGas: uint64(1000000),
},
wantRet: emptyCasePackedOutput,
wantRemainingGas: 994319,
wantRemainingGas: 994313,
wantErr: false,
},
{
Expand All @@ -1067,7 +1067,7 @@ func TestPrecompile_RunAndCalculateGas_Rewards(t *testing.T) {
suppliedGas: uint64(1000000),
},
wantRet: happyPathPackedOutput,
wantRemainingGas: 994319,
wantRemainingGas: 994313,
wantErr: false,
},
}
Expand Down
6 changes: 3 additions & 3 deletions precompiles/ibc/ibc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func TestPrecompile_Run(t *testing.T) {
fields: fields{transferKeeper: &MockTransferKeeper{}},
args: commonArgs,
wantBz: packedTrue,
wantRemainingGas: 994319,
wantRemainingGas: 994313,
wantErr: false,
},
{
Expand Down Expand Up @@ -235,7 +235,7 @@ func TestPrecompile_Run(t *testing.T) {
value: nil,
},
wantBz: packedTrue,
wantRemainingGas: 994319,
wantRemainingGas: 994313,
wantErr: false,
},
{
Expand All @@ -255,7 +255,7 @@ func TestPrecompile_Run(t *testing.T) {
value: nil,
},
wantBz: packedTrue,
wantRemainingGas: 994319,
wantRemainingGas: 994313,
wantErr: false,
},
}
Expand Down
4 changes: 2 additions & 2 deletions x/evm/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func TestERC2981PointerToCW2981(t *testing.T) {
require.Nil(t, err)
txData := ethtypes.LegacyTx{
Nonce: 0,
GasPrice: big.NewInt(1000000000),
GasPrice: big.NewInt(333000000000),
Gas: 5000000,
To: &to,
Data: data,
Expand Down Expand Up @@ -108,7 +108,7 @@ func TestERC2981PointerToCW2981(t *testing.T) {
require.Nil(t, err)
txData = ethtypes.LegacyTx{
Nonce: 1,
GasPrice: big.NewInt(1000000000),
GasPrice: big.NewInt(333000000000),
Gas: 1000000,
To: &pointerAddr,
Data: data,
Expand Down

0 comments on commit 14dab1b

Please sign in to comment.