Skip to content

Commit

Permalink
tests: add invalid cancun blob tests as valid.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-tb committed Nov 20, 2024
1 parent 73c4eb8 commit 3f63da6
Show file tree
Hide file tree
Showing 3 changed files with 518 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/prague/eip7742_uncouple_blob_count/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Cross-client EIP-7742 Tests."""
34 changes: 34 additions & 0 deletions tests/prague/eip7742_uncouple_blob_count/spec.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
"""
Defines EIP-4844 specification constants and functions.
"""

from dataclasses import dataclass
from hashlib import sha256
from typing import Optional

from ethereum_test_tools import Transaction


@dataclass(frozen=True)
class BlockHeaderBlobGasFields:
"""
A helper class for the blob gas fields in a block header.
"""

excess_blob_gas: int
blob_gas_used: int


@dataclass(frozen=True)
class ReferenceSpec:
"""
Defines the reference spec version and git path.
"""

git_path: str
version: str


ref_spec_7742 = ReferenceSpec(
"EIPS/eip-7742.md", "f0eb6a364aaf5ccb43516fa2c269a54fb881ecfd"
)
Loading

0 comments on commit 3f63da6

Please sign in to comment.