Skip to content

Commit a8e0046

Browse files
committed
fix tests
1 parent 1b00e25 commit a8e0046

File tree

10 files changed

+21
-1841
lines changed

10 files changed

+21
-1841
lines changed

testutil/tx/eth.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ func PrepareEthTx(
5353
}
5454
}
5555

56-
msg.From = ""
57-
5856
txGasLimit += msg.GetGas()
5957
txFee = txFee.Add(sdk.Coin{Denom: baseDenom, Amount: sdkmath.NewIntFromBigInt(msg.GetFee())})
6058
}
@@ -124,7 +122,7 @@ func CreateEthTx(
124122
Accesses: &ethtypes.AccessList{},
125123
}
126124
msgEthereumTx := evmtypes.NewTx(evmTxParams)
127-
msgEthereumTx.From = fromAddr.String()
125+
msgEthereumTx.From = fromAddr.Bytes()
128126

129127
// If we are creating multiple eth Tx's with different senders, we need to sign here rather than later.
130128
if privKey != nil {

x/vm/types/access_list_test.go

Lines changed: 0 additions & 40 deletions
This file was deleted.

x/vm/types/access_list_tx_test.go

Lines changed: 0 additions & 169 deletions
This file was deleted.

x/vm/types/codec_test.go

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)