Skip to content

Commit 46655bb

Browse files
committed
Fix issues with new tests after rebasing
1 parent d5be1ae commit 46655bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: docs/web3.contract.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Each Contract Factory exposes the following methods.
277277
.. doctest:: contractmethods
278278

279279
>>> contract.constructor(1000000).estimate_gas()
280-
664971
280+
664953
281281

282282
.. py:classmethod:: Contract.constructor(*args, **kwargs).build_transaction(transaction=None)
283283
:noindex:

Diff for: tests/core/contracts/test_contract_build_transaction.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_build_transaction_with_contract_no_arguments_no_parens(
6363
"value": 0,
6464
"maxFeePerGas": 2750000000,
6565
"maxPriorityFeePerGas": 10**9,
66-
"chainId": 131277322940537,
66+
"chainId": w3.eth.chain_id,
6767
}
6868

6969

@@ -329,7 +329,7 @@ async def test_async_build_transaction_with_contract_no_arguments_no_parens(
329329
"value": 0,
330330
"maxFeePerGas": 2750000000,
331331
"maxPriorityFeePerGas": 10**9,
332-
"chainId": 131277322940537,
332+
"chainId": await async_w3.eth.chain_id,
333333
}
334334

335335

0 commit comments

Comments
 (0)