We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2f0e4 commit 660bb22Copy full SHA for 660bb22
tests/cancun/eip4788_beacon_root/conftest.py
@@ -11,6 +11,7 @@
11
Account,
12
Address,
13
Alloc,
14
+ AuthorizationTuple,
15
Bytecode,
16
Environment,
17
Hash,
@@ -236,7 +237,17 @@ def tx(
236
237
kwargs["max_fee_per_blob_gas"] = fork.min_base_fee_per_blob_gas()
238
kwargs["blob_versioned_hashes"] = add_kzg_version([0], BLOB_COMMITMENT_VERSION_KZG)
239
- if tx_type > 3:
240
+ if tx_type == 4:
241
+ signer = pre.fund_eoa(amount=0)
242
+ kwargs["authorization_list"] = [
243
+ AuthorizationTuple(
244
+ signer=signer,
245
+ address=Address(0),
246
+ nonce=0,
247
+ )
248
+ ]
249
+
250
+ if tx_type > 4:
251
raise Exception(f"Unexpected transaction type: '{tx_type}'. Test requires update.")
252
253
return Transaction(**kwargs)
0 commit comments