Skip to content

Commit 6b601ae

Browse files
committed
align gas
1 parent e63d2e4 commit 6b601ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/integration_tests/test_tracers.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
deploy_contract,
2121
derive_new_account,
2222
derive_random_account,
23+
send_contract_transaction,
2324
send_raw_transactions,
2425
send_transaction,
2526
send_txs,
@@ -106,7 +107,9 @@ def process(w3):
106107
[tx_hash, tracer | {"tracerConfig": {"onlyTopCall": True}}],
107108
)
108109
assert tx_res["result"] == EXPECTED_CALLTRACERS, ""
109-
_, tx = deploy_contract(w3, CONTRACTS["TestERC20A"], key=acc.key)
110+
tx = create_contract_transaction(w3, CONTRACTS["TestERC20A"], key=acc.key)
111+
tx["gas"] = 616189
112+
_, tx = send_contract_transaction(w3, CONTRACTS["TestERC20A"], tx, key=acc.key)
110113
tx_hash = tx["transactionHash"].hex()
111114
tx_hash = f"0x{tx_hash}"
112115
w3_wait_for_new_blocks(w3, 1)

0 commit comments

Comments
 (0)