File tree Expand file tree Collapse file tree 3 files changed +518
-0
lines changed
tests/prague/eip7742_uncouple_blob_count Expand file tree Collapse file tree 3 files changed +518
-0
lines changed Original file line number Diff line number Diff line change 1+ """Cross-client EIP-7742 Tests."""
Original file line number Diff line number Diff line change 1+ """
2+ Defines EIP-4844 specification constants and functions.
3+ """
4+
5+ from dataclasses import dataclass
6+ from hashlib import sha256
7+ from typing import Optional
8+
9+ from ethereum_test_tools import Transaction
10+
11+
12+ @dataclass (frozen = True )
13+ class BlockHeaderBlobGasFields :
14+ """
15+ A helper class for the blob gas fields in a block header.
16+ """
17+
18+ excess_blob_gas : int
19+ blob_gas_used : int
20+
21+
22+ @dataclass (frozen = True )
23+ class ReferenceSpec :
24+ """
25+ Defines the reference spec version and git path.
26+ """
27+
28+ git_path : str
29+ version : str
30+
31+
32+ ref_spec_7742 = ReferenceSpec (
33+ "EIPS/eip-7742.md" , "f0eb6a364aaf5ccb43516fa2c269a54fb881ecfd"
34+ )
You can’t perform that action at this time.
0 commit comments