@@ -350,10 +350,10 @@ def test_eth_getStorageAt_deprecated(self, web3, emitter_contract_address):
350350 def test_eth_get_storage_at_ens_name (self , web3 , emitter_contract_address ):
351351 super ().test_eth_get_storage_at_ens_name (web3 , emitter_contract_address )
352352
353- def test_eth_estimateGas_with_block (self ,
354- web3 ,
355- unlocked_account_dual_type ):
356- super ().test_eth_estimateGas_with_block (
353+ def test_eth_estimate_gas_with_block (self ,
354+ web3 ,
355+ unlocked_account_dual_type ):
356+ super ().test_eth_estimate_gas_with_block (
357357 web3 , unlocked_account_dual_type
358358 )
359359
@@ -401,7 +401,7 @@ def test_eth_call_revert_without_msg(self, web3, revert_contract, unlocked_accou
401401 )
402402 web3 .eth .call (txn_params )
403403
404- def test_eth_estimateGas_revert_with_msg (self , web3 , revert_contract , unlocked_account ):
404+ def test_eth_estimate_gas_revert_with_msg (self , web3 , revert_contract , unlocked_account ):
405405 with pytest .raises (TransactionFailed ,
406406 match = 'execution reverted: Function has been reverted' ):
407407 txn_params = revert_contract ._prepare_transaction (
@@ -411,9 +411,9 @@ def test_eth_estimateGas_revert_with_msg(self, web3, revert_contract, unlocked_a
411411 "to" : revert_contract .address ,
412412 },
413413 )
414- web3 .eth .estimateGas (txn_params )
414+ web3 .eth .estimate_gas (txn_params )
415415
416- def test_eth_estimateGas_revert_without_msg (self , web3 , revert_contract , unlocked_account ):
416+ def test_eth_estimate_gas_revert_without_msg (self , web3 , revert_contract , unlocked_account ):
417417 with pytest .raises (TransactionFailed , match = "execution reverted" ):
418418 txn_params = revert_contract ._prepare_transaction (
419419 fn_name = "revertWithoutMessage" ,
@@ -422,7 +422,7 @@ def test_eth_estimateGas_revert_without_msg(self, web3, revert_contract, unlocke
422422 "to" : revert_contract .address ,
423423 },
424424 )
425- web3 .eth .estimateGas (txn_params )
425+ web3 .eth .estimate_gas (txn_params )
426426
427427
428428class TestEthereumTesterVersionModule (VersionModuleTest ):
0 commit comments