Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Feb 19, 2024
1 parent 340c128 commit 27dbbcb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions e2e-polybft/e2e/jsonrpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func TestE2E_JsonRPC(t *testing.T) {
key1, err := crypto.GenerateECDSAKey()
require.NoError(t, err)

txn := cluster.Transfer(t, senderKey, types.Address(key1.Address()), one)
txn := cluster.Transfer(t, senderKey, key1.Address(), one)
require.NoError(t, txn.Wait())
require.True(t, txn.Succeed())

Expand Down Expand Up @@ -329,7 +329,7 @@ func TestE2E_JsonRPC(t *testing.T) {
t.Run("eth_getBlockByHash", func(t *testing.T) {
key1, err := crypto.GenerateECDSAKey()
require.NoError(t, err)
txn := cluster.Transfer(t, senderKey, types.Address(key1.Address()), one)
txn := cluster.Transfer(t, senderKey, key1.Address(), one)
require.NoError(t, txn.Wait())
require.True(t, txn.Succeed())
txReceipt := txn.Receipt()
Expand All @@ -343,7 +343,7 @@ func TestE2E_JsonRPC(t *testing.T) {
t.Run("eth_getBlockByNumber", func(t *testing.T) {
key1, err := crypto.GenerateECDSAKey()
require.NoError(t, err)
txn := cluster.Transfer(t, senderKey, types.Address(key1.Address()), one)
txn := cluster.Transfer(t, senderKey, key1.Address(), one)
require.NoError(t, txn.Wait())
require.True(t, txn.Succeed())
txReceipt := txn.Receipt()
Expand All @@ -357,7 +357,7 @@ func TestE2E_JsonRPC(t *testing.T) {
t.Run("eth_getTransactionReceipt", func(t *testing.T) {
key1, err := crypto.GenerateECDSAKey()
require.NoError(t, err)
txn := cluster.Transfer(t, senderKey, types.Address(key1.Address()), one)
txn := cluster.Transfer(t, senderKey, key1.Address(), one)
require.NoError(t, txn.Wait())
require.True(t, txn.Succeed())

Expand Down Expand Up @@ -391,7 +391,7 @@ func TestE2E_JsonRPC(t *testing.T) {
require.NoError(t, err)

// Test. We should be able to query the transaction by its hash
txn := cluster.Transfer(t, senderKey, types.Address(key1.Address()), one)
txn := cluster.Transfer(t, senderKey, key1.Address(), one)
require.NoError(t, txn.Wait())
require.True(t, txn.Succeed())

Expand Down

0 comments on commit 27dbbcb

Please sign in to comment.