Skip to content

Commit

Permalink
Add test for EthGetTransactionByHash
Browse files Browse the repository at this point in the history
  • Loading branch information
arajasek committed Jan 31, 2023
1 parent 070aca2 commit d6bd39e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions itests/eth_transactions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ func TestValueTransferValidSignature(t *testing.T) {

// Success.
require.EqualValues(t, ethtypes.EthUint64(0x1), receipt.Status)

ethTx, err := client.EthGetTransactionByHash(ctx, &hash)
require.Nil(t, err)
require.EqualValues(t, ethAddr, ethTx.From)

}

func TestLegacyTransaction(t *testing.T) {
Expand Down

0 comments on commit d6bd39e

Please sign in to comment.