Skip to content

Commit e30e319

Browse files
committed
various changes
1 parent 8f5dfd9 commit e30e319

File tree

9 files changed

+10432
-521
lines changed

9 files changed

+10432
-521
lines changed

src/ethereum_test_types/blob.py

Lines changed: 430 additions & 0 deletions
Large diffs are not rendered by default.

src/ethereum_test_types/blob_trusted_setup.txt

Lines changed: 8259 additions & 0 deletions
Large diffs are not rendered by default.

src/ethereum_test_types/eest_types.py

Lines changed: 1256 additions & 0 deletions
Large diffs are not rendered by default.

tests/cancun/eip4844_blobs/static_blobs/.gitkeep

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Test cases for EVM functionality introduced in Osaka, [EIP-7607: Hardfork Meta - Fusaka](https://eip.directory/eips/eip-7607).""" # noqa: E501

tests/osaka/eip7594_peerdas/spec.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Defines EIP-7594 specification constants and functions."""
22

33
from dataclasses import dataclass
4+
from typing import Literal
45

56

67
@dataclass(frozen=True)
@@ -23,15 +24,15 @@ class Spec:
2324

2425
FIELD_ELEMENTS_PER_BLOB = 4096
2526
BYTES_PER_FIELD_ELEMENT = 32
26-
BYTES_PER_BLOB = FIELD_ELEMENTS_PER_BLOB * BYTES_PER_FIELD_ELEMENT # 131072
27+
BYTES_PER_BLOB = FIELD_ELEMENTS_PER_BLOB * BYTES_PER_FIELD_ELEMENT # 131072
2728
CELL_LENGTH = 2048
28-
BLS_MODULUS = 0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001 # EIP-2537: Main subgroup order = q # noqa: E501
29+
BLS_MODULUS = 0x73EDA753299D7D483339D80809A1D80553BDA402FFFE5BFEFFFFFFFF00000001 # EIP-2537: Main subgroup order = q # noqa: E501
2930
# due to BLS_MODULUS every blob byte (uint256) must be smaller than 116
3031

3132
# deneb constants that have not changed (https://github.com/ethereum/consensus-specs/blob/cc6996c22692d70e41b7a453d925172ee4b719ad/specs/deneb/polynomial-commitments.md?plain=1#L78)
3233
BYTES_PER_PROOF = 48
3334
BYTES_PER_COMMITMENT = 48
34-
KZG_ENDIANNESS = "big"
35+
KZG_ENDIANNESS: Literal["big"] = "big"
3536

3637
# eip-7691
3738
MAX_BLOBS_PER_BLOCK_ELECTRA = 9

tests/osaka/eip7594_peerdas/static_blobs/.gitkeep

Whitespace-only changes.

tests/prague/static_blobs/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)