Skip to content

Commit

Permalink
Fix issues with new tests after rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed Nov 14, 2024
1 parent 25816e8 commit 237a795
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/web3.contract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ Each Contract Factory exposes the following methods.
.. doctest:: contractmethods

>>> contract.constructor(1000000).estimate_gas()
664971
664953

.. py:classmethod:: Contract.constructor(*args, **kwargs).build_transaction(transaction=None)
:noindex:
Expand Down
4 changes: 2 additions & 2 deletions tests/core/contracts/test_contract_build_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_build_transaction_with_contract_no_arguments_no_parens(
"value": 0,
"maxFeePerGas": 2750000000,
"maxPriorityFeePerGas": 10**9,
"chainId": 131277322940537,
"chainId": w3.eth.chain_id,
}


Expand Down Expand Up @@ -329,7 +329,7 @@ async def test_async_build_transaction_with_contract_no_arguments_no_parens(
"value": 0,
"maxFeePerGas": 2750000000,
"maxPriorityFeePerGas": 10**9,
"chainId": 131277322940537,
"chainId": await async_w3.eth.chain_id,
}


Expand Down

0 comments on commit 237a795

Please sign in to comment.