Skip to content

Commit b43da8a

Browse files
committed
Fix issues with new tests after rebasing
1 parent d9f17d2 commit b43da8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async def test_async_estimate_gas_accepts_latest_block(
213213
async def test_async_estimate_gas_can_be_called_without_parens(
214214
async_w3, async_math_contract, async_transact
215215
):
216-
gas_estimate = await async_math_contract.functions.counter.estimate_gas(
216+
gas_estimate = await async_math_contract.functions.incrementCounter.estimate_gas(
217217
block_identifier="latest"
218218
)
219219

0 commit comments

Comments
 (0)