From f28317114c007deeb6e02031dae2c2b96d4bb6bb Mon Sep 17 00:00:00 2001 From: Luis Ayuso Date: Wed, 20 Nov 2024 15:55:15 +0100 Subject: [PATCH] migrate test to use new testing api --- tests/gas_price_suggestion_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gas_price_suggestion_test.go b/tests/gas_price_suggestion_test.go index bc5fc5539..531bbbc85 100644 --- a/tests/gas_price_suggestion_test.go +++ b/tests/gas_price_suggestion_test.go @@ -55,11 +55,11 @@ func TestGasPrice_UnderpricedTransactionsAreRejected(t *testing.T) { chainId, err := client.ChainID(context.Background()) require.NoError(err, "failed to get chain ID::") - nonce, err := client.NonceAt(context.Background(), net.validator.Address(), nil) + nonce, err := client.NonceAt(context.Background(), net.Validator.Address(), nil) require.NoError(err, "failed to get nonce:") factory := &txFactory{ - senderKey: net.validator.PrivateKey, + senderKey: net.Validator.PrivateKey, chainId: chainId, }