repo stringlengths 7 90 | file_url stringlengths 81 315 | file_path stringlengths 4 228 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:38:15 2026-01-05 02:33:18 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_migrated_valid_invalid.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_migrated_valid_invalid.py | """
EOF validation tests for EIP-3540 migrated from
ethereum/tests/src/EOFTestsFiller/EIP3540/validInvalidFiller.yml.
"""
import pytest
from ethereum_test_exceptions.exceptions import EOFExceptionInstanceOrList
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_tools import Opcodes as Op
f... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_all_opcodes_in_container.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_all_opcodes_in_container.py | """
EOF Container: check how every opcode behaves in the middle of the valid eof
container code.
"""
import itertools
from typing import Any, Dict, Generator, List, Tuple
import pytest
from ethereum_test_tools import EOFException, EOFTestFiller, Opcode, UndefinedOpcodes
from ethereum_test_tools import Opcodes as Op
... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_container_size.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_container_size.py | """EOF validation tests for EIP-3540 container size."""
import pytest
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_tools import Opcodes as Op
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_types.eof.v1.constants import MAX_INITCODE_SIZE
from .. import E... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_section_order.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_section_order.py | """Different variations of EOF sections displacement."""
from enum import Enum
from typing import List
import pytest
from ethereum_test_exceptions.exceptions import EOFExceptionInstanceOrList
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_tools import Opcodes as Op
from ethereum_test_... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_section_header_body_mismatch.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_section_header_body_mismatch.py | """EOF Container construction test."""
import pytest
from ethereum_test_exceptions.exceptions import EOFExceptionInstanceOrList
from ethereum_test_tools import EOFException, EOFTestFiller, extend_with_defaults
from ethereum_test_tools import Opcodes as Op
from ethereum_test_types.eof.v1 import Container, Section
fro... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_opcodes_in_legacy.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_opcodes_in_legacy.py | """Tests all EOF-only opcodes in legacy contracts and expects failure."""
import pytest
from ethereum_test_base_types import Account
from ethereum_test_specs import StateTestFiller
from ethereum_test_tools import Initcode
from ethereum_test_tools import Opcodes as Op
from ethereum_test_types import Alloc, Environment... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_container_validation.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_container_validation.py | """EOF validation tests for EIP-3540 container format."""
import itertools
import pytest
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_types.eof.v1 import (
AutoSection,
Container,
ContainerKind,
Section,
SectionKind,
)
from ethereum_test_types.eof.v1.constants im... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | true |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_extcode.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_extcode.py | """test execution semantics changes."""
import pytest
from ethereum_test_tools import (
Account,
Alloc,
Environment,
StateTestFiller,
Storage,
Transaction,
keccak256,
)
from ethereum_test_tools import Opcodes as Op
from ethereum_test_types.eof.v1 import Container
from .. import EOF_FORK_N... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/__init__.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/__init__.py | """
EOF - EVM Object Format v1 tests.
Test cases for
[EIP-3540: EOF - EVM Object Format v1](https://eips.ethereum.org/EIPS/eip-3540).
EIP-3540 introduces a structured format for EVM bytecode, with separate
sections for code and data. Opcodes introduced: None (defines a new
bytecode structure but no new opcodes).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_execution.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_execution.py | """Execution of basic EOF containers."""
import pytest
from ethereum_test_base_types import Storage
from ethereum_test_tools import Account, Alloc, Environment, StateTestFiller, Transaction
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_vm import Opcodes as Op
from .. import EOF_FORK_NA... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_section_size.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_section_size.py | """EOF Container, test custom_size field for sections."""
from enum import IntEnum
import pytest
from ethereum_test_exceptions.exceptions import EOFExceptionInstanceOrList
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_tools import Opcodes as Op
from ethereum_test_types.eof.v1 import ... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_eof_example.py | tests/unscheduled/eip7692_eof_v1/eip3540_eof_v1/test_eof_example.py | """EOF Classes example use."""
import pytest
from ethereum_test_tools import Bytecode, EOFException, EOFTestFiller
from ethereum_test_tools import Opcodes as Op
from ethereum_test_types.eof.v1 import AutoSection, Container, Section
from .. import EOF_FORK_NAME
REFERENCE_SPEC_GIT_PATH = "EIPS/eip-3540.md"
REFERENCE_... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpi.py | tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpi.py | """EOF JUMPF tests covering stack and code validation rules."""
import pytest
from ethereum_test_tools import (
Account,
Alloc,
Environment,
EOFException,
EOFStateTestFiller,
EOFTestFiller,
StateTestFiller,
Transaction,
)
from ethereum_test_types.eof.v1 import Container, Section
from e... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | true |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/helpers.py | tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/helpers.py | """EOF RJump tests helpers."""
import itertools
from enum import Enum
"""Storage addresses for common testing fields"""
_slot = itertools.count()
next(_slot) # don't use slot 0
slot_code_worked = next(_slot)
slot_conditional_result = next(_slot)
slot_last_slot = next(_slot)
"""Storage values for common testing fiel... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py | tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/test_rjump.py | """EOF JUMPF tests covering stack and code validation rules."""
import pytest
from ethereum_test_tools import Account, EOFException, EOFStateTestFiller, EOFTestFiller
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_types.eof.v1.constants import MAX_BYTECODE_SIZE
from ethereum_test_vm impo... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | true |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpv.py | tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/test_rjumpv.py | """EOF JUMPF tests covering stack and code validation rules."""
import pytest
from ethereum_test_tools import Account, EOFException, EOFStateTestFiller, EOFTestFiller
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_vm import Bytecode
from ethereum_test_vm import Opcodes as Op
from .. imp... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | true |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/__init__.py | tests/unscheduled/eip7692_eof_v1/eip4200_relative_jumps/__init__.py | """
Test cases for [EIP-4200: EOF - Static relative jumps](https://eips.ethereum.org/EIPS/eip-4200).
EIP-4200 replaces dynamic jump instructions with relative jump offsets for
improved control flow predictability. Opcodes introduced: `RJUMP` (`0xE0`),
`RJUMPI` (`0xE1`), `RJUMPV` (`0xE2`).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip5450_stack/test_code_validation.py | tests/unscheduled/eip7692_eof_v1/eip5450_stack/test_code_validation.py | """
Code validation of CALLF, JUMPF, RETF opcodes in conjunction with static
relative jumps.
"""
import itertools
from enum import Enum, auto, unique
from typing import Generator, Tuple, Union
import pytest
from ethereum_test_exceptions.exceptions import EOFException
from ethereum_test_tools import Account, EOFState... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip5450_stack/__init__.py | tests/unscheduled/eip7692_eof_v1/eip5450_stack/__init__.py | """
Tests for
[EIP-5450: EOF - Stack Validation](https://eips.ethereum.org/EIPS/eip-5450).
EIP-5450 defines stack validation requirements to ensure consistent
behavior during execution. Opcodes introduced: None (specifies validation
rules for stack usage).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip5450_stack/test_execution.py | tests/unscheduled/eip7692_eof_v1/eip5450_stack/test_execution.py | """Test execution of EOF code in the context of the operand stack height."""
import pytest
from ethereum_test_exceptions import EOFException
from ethereum_test_tools import Account, EOFStateTestFiller
from ethereum_test_types.eof.constants import MAX_RUNTIME_STACK_HEIGHT
from ethereum_test_types.eof.v1 import Contain... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/spec.py | tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/spec.py | """EOF V1 Constants used throughout all tests."""
TXCREATE_FAILURE = 0
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/test_creation_tx.py | tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/test_creation_tx.py | """Test bad TXCREATE cases."""
import pytest
from ethereum_test_base_types.base_types import Address, Bytes
from ethereum_test_tools import (
Account,
Alloc,
Environment,
StateTestFiller,
Transaction,
)
from ethereum_test_tools import Initcode as LegacyInitcode
from ethereum_test_types import Tran... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/__init__.py | tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/__init__.py | """
Test cases for [EIP-7873: TXCREATE and InitcodeTransaction](https://eips.ethereum.org/EIPS/eip-7873).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/test_txcreate_validates.py | tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/test_txcreate_validates.py | """Test bad TXCREATE cases."""
from enum import Enum, auto, unique
from typing import Tuple
import pytest
from ethereum_test_base_types import Bytes
from ethereum_test_base_types.base_types import Address, Hash
from ethereum_test_base_types.composite_types import AccessList
from ethereum_test_tools import (
Acco... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/test_txcreate_failures.py | tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/test_txcreate_failures.py | """Test bad TXCREATE cases."""
import pytest
from ethereum_test_base_types import Bytes
from ethereum_test_base_types.base_types import Address, Hash
from ethereum_test_forks import Fork
from ethereum_test_tools import (
Account,
Alloc,
Environment,
EVMCodeType,
StateTestFiller,
Transaction,
... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/test_txcreate.py | tests/unscheduled/eip7692_eof_v1/eip7873_tx_create/test_txcreate.py | """Test good TXCREATE cases."""
import pytest
from ethereum_test_base_types import Storage
from ethereum_test_base_types.base_types import Address
from ethereum_test_tools import (
Account,
Alloc,
Environment,
EVMCodeType,
StateTestFiller,
Transaction,
compute_eofcreate_address,
)
from eth... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4750_functions/helpers.py | tests/unscheduled/eip7692_eof_v1/eip4750_functions/helpers.py | """EOF Functions tests helpers."""
import itertools
"""Storage addresses for common testing fields"""
_slot = itertools.count()
next(_slot) # don't use slot 0
slot_code_worked = next(_slot)
slot_last_slot = next(_slot)
slot_stack_canary = next(_slot)
"""Storage values for common testing fields"""
value_code_worked ... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4750_functions/test_code_validation.py | tests/unscheduled/eip7692_eof_v1/eip4750_functions/test_code_validation.py | """Code validation of CALLF, RETF opcodes tests."""
from typing import List
import pytest
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_types.eof.constants import MAX_RUNTIME_STACK_HEIGHT
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_types.eof.v1.consta... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | true |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4750_functions/__init__.py | tests/unscheduled/eip7692_eof_v1/eip4750_functions/__init__.py | """
Test cases for [EIP-4750: EOF - Functions](https://eips.ethereum.org/EIPS/eip-4750).
EIP-4750 formalizes functions in the EVM object format, introducing
callable units of code. Opcodes introduced: `CALLF` (`0xE3`), `RETF`
(`0xE4`).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip4750_functions/test_callf_execution.py | tests/unscheduled/eip7692_eof_v1/eip4750_functions/test_callf_execution.py | """EOF CALLF execution tests."""
import math
import pytest
from ethereum_test_base_types import Hash, Storage
from ethereum_test_specs import StateTestFiller
from ethereum_test_tools import Account, EOFStateTestFiller
from ethereum_test_tools import Opcodes as Op
from ethereum_test_types import Alloc, Environment, T... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_subcontainer_validation.py | """EOF Subcontainer tests covering simple cases."""
import pytest
from ethereum_test_tools import Account, EOFException, EOFStateTestFiller, EOFTestFiller
from ethereum_test_types.eof.v1 import Container, ContainerKind, Section
from ethereum_test_types.eof.v1.constants import MAX_BYTECODE_SIZE, MAX_INITCODE_SIZE
from... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_returncode.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_returncode.py | """Tests for RETURNCODE instruction validation."""
import pytest
from ethereum_test_base_types import Account
from ethereum_test_specs import StateTestFiller
from ethereum_test_tools import Alloc, EOFException, EOFTestFiller
from ethereum_test_types import Environment, Transaction, compute_eofcreate_address
from ethe... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_legacy_eof_creates.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_legacy_eof_creates.py | """Test interactions between CREATE, CREATE2, and EOFCREATE."""
import pytest
from ethereum_test_base_types.base_types import Address, Bytes
from ethereum_test_tools import (
Account,
Alloc,
Environment,
StateTestFiller,
Transaction,
)
from ethereum_test_tools import Initcode as LegacyInitcode
fro... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/spec.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/spec.py | """EOF V1 Constants used throughout all tests."""
EOFCREATE_FAILURE = 0
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_eofcreate_failures.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_eofcreate_failures.py | """Test good and bad EOFCREATE cases."""
import pytest
from ethereum_test_base_types.base_types import Address
from ethereum_test_tools import (
Account,
Alloc,
Environment,
StateTestFiller,
Transaction,
compute_eofcreate_address,
)
from ethereum_test_types.eof.v1 import Container, Section
fro... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/helpers.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/helpers.py | """A collection of contracts used in 7620 EOF tests."""
import itertools
from ethereum_test_tools import Opcodes as Op
from ethereum_test_types.eof.v1 import Container, Section
"""Storage addresses for common testing fields"""
_slot = itertools.count()
next(_slot) # don't use slot 0
slot_code_worked = next(_slot)
s... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_memory.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_memory.py | """Test good and bad EOFCREATE cases."""
import pytest
from ethereum_test_base_types import Account, Storage
from ethereum_test_tools import Alloc, Environment, StateTestFiller, compute_eofcreate_address
from ethereum_test_types import Transaction
from ethereum_test_types.eof.v1 import Container, Section
from ethereu... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/__init__.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/__init__.py | """
Test cases for EOF Contract Creation for EIP-7620.
EIP-7620 replaces `CREATE` and `CREATE2` with `EOFCREATE` for deploying
contracts in the EOF format.
Full specification:
[EIP-7620: EOF Contract Creation](https://eips.ethereum.org/EIPS/eip-7620).
Opcodes introduced: `EOFCREATE` (`0xEC`), `RETURNCODE` (`0xEE`).
... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_gas.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_gas.py | """Test good and bad EOFCREATE cases."""
import pytest
from ethereum_test_forks import Fork
from ethereum_test_tools import Alloc, Environment, StateTestFiller, compute_eofcreate_address
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_vm import Opcodes as Op
from .. import EOF_FORK_NAME
... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_eofcreate.py | tests/unscheduled/eip7692_eof_v1/eip7620_eof_create/test_eofcreate.py | """Test good and bad EOFCREATE cases."""
import pytest
from ethereum_test_base_types import Storage
from ethereum_test_base_types.base_types import Address
from ethereum_test_exceptions import EOFException
from ethereum_test_specs import EOFTestFiller
from ethereum_test_tools import (
Account,
Alloc,
Envi... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7480_data_section/spec.py | tests/unscheduled/eip7692_eof_v1/eip7480_data_section/spec.py | """EOF V1 Constants used throughout all tests."""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7480_data_section/test_code_validation.py | tests/unscheduled/eip7692_eof_v1/eip7480_data_section/test_code_validation.py | """EOF V1 Code Validation tests."""
import pytest
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_types.eof.v1.constants import MAX_INITCODE_SIZE
from ethereum_test_vm import Opcodes as Op
from .. import EOF_FORK_NAME
REFERENCE... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7480_data_section/__init__.py | tests/unscheduled/eip7692_eof_v1/eip7480_data_section/__init__.py | """
Test cases for EOF Data section access instructions for EIP-7480.
EIP-7480 specifies instructions for accessing data stored in the dedicated
data section of the EOF format. Full specification: [EIP-7480: EOF - Data
section access instructions](https://eips.ethereum.org/EIPS/eip-7480).
Opcodes introduced: `DATALOAD... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7480_data_section/test_datacopy_memory_expansion.py | tests/unscheduled/eip7692_eof_v1/eip7480_data_section/test_datacopy_memory_expansion.py | """Memory expansion tests for DATACOPY."""
from typing import Mapping, Tuple
import pytest
from ethereum_test_forks import Fork
from ethereum_test_tools import (
Account,
Address,
Alloc,
Bytecode,
Environment,
StateTestFiller,
Storage,
Transaction,
)
from ethereum_test_types.eof.v1 im... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7480_data_section/test_data_opcodes.py | tests/unscheduled/eip7692_eof_v1/eip7480_data_section/test_data_opcodes.py | """Execution of DATA* opcodes within EOF V1 containers tests."""
import pytest
from ethereum_test_specs import EOFStateTestFiller
from ethereum_test_tools import Account, Alloc, Environment, StateTestFiller, Transaction
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_vm import Opcodes as ... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_returndataload.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_returndataload.py | """
RETURNDATALOAD instruction tests
Tests for RETURNDATALOAD instruction in
[EIP-7069: Revamped CALL instructions](https://eips.ethereum.org/EIPS/eip-7069).
"""
from typing import cast
import pytest
from ethereum_test_tools import Account, Alloc, Environment, StateTestFiller, Storage, Transaction
from ether... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/spec.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/spec.py | """EOF V1 Constants used throughout all tests."""
LEGACY_CALL_FAILURE = 0
LEGACY_CALL_SUCCESS = 1
EXTCALL_SUCCESS = 0
EXTCALL_REVERT = 1
EXTCALL_FAILURE = 2
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_calldata.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_calldata.py | """
Call data tests for EXT*CALL instructions
Tests for call data handling in
[EIP-7069: Revamped CALL instructions](https://eips.ethereum.org/EIPS/eip-7069).
"""
import pytest
from ethereum_test_tools import Account, Alloc, Environment, StateTestFiller, Transaction
from ethereum_test_types.eof.v1 import Cont... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_address_space_extension.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_address_space_extension.py | """Tests the "Address Space Extension" aspect of EXT*CALL."""
import itertools
import pytest
from ethereum_test_tools import Account, Address, Alloc, Environment, StateTestFiller, Transaction
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_vm import Opcodes as Op
from .. import EOF_FORK... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_calls.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_calls.py | """test calls across EOF and Legacy."""
import itertools
from enum import Enum, auto, unique
import pytest
from ethereum_test_base_types import Address, HashInt
from ethereum_test_tools import (
EOA,
Account,
Alloc,
Environment,
StateTestFiller,
Storage,
Transaction,
)
from ethereum_test_... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | true |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/helpers.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/helpers.py | """EOF extcall tests helpers."""
import itertools
"""Storage addresses for common testing fields"""
_slot = itertools.count()
next(_slot) # don't use slot 0
slot_code_worked = next(_slot)
slot_eof_target_call_status = next(_slot)
slot_legacy_target_call_status = next(_slot)
slot_eof_target_returndata = next(_slot)
s... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_returndatacopy_memory_expansion.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_returndatacopy_memory_expansion.py | """Memory expansion tests for RETURNDATACOPY executing in EOF code."""
from typing import Mapping, Tuple
import pytest
from ethereum_test_forks import Fork
from ethereum_test_tools import (
Account,
Address,
Alloc,
Bytecode,
Environment,
StateTestFiller,
Storage,
Transaction,
)
from e... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/__init__.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/__init__.py | """
Test cases for EIP-7069 Revamped CALL instructions
[EIP-7069: Revamped CALL instructions](https://eips.ethereum.org/EIPS/eip-7069)
proposes modifications to `CALL` instructions to align with the
structured EOF format. Opcodes introduced: `EXTCALL` (`0xF8`),
`EXTDELEGATECALL` (`0xF9`), `EXTSTATICCALL... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_gas.py | tests/unscheduled/eip7692_eof_v1/eip7069_extcall/test_gas.py | """
Gas consumption tests for EXT*CALL instructions
Tests for gas consumption in
[EIP-7069: Revamped CALL instructions](https://eips.ethereum.org/EIPS/eip-7069).
"""
import pytest
from ethereum_test_base_types import Address
from ethereum_test_forks import Fork
from ethereum_test_tools import Alloc, Environme... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_dupn.py | tests/unscheduled/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_dupn.py | """
DUPN instruction tests
Tests for DUPN instruction in
[EIP-663: SWAPN, DUPN and EXCHANGE instructions](https://eips.ethereum.org/EIPS/eip-663).
"""
import pytest
from ethereum_test_tools import (
Account,
Alloc,
Environment,
EOFException,
EOFStateTestFiller,
EOFTestFiller,
State... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_exchange.py | tests/unscheduled/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_exchange.py | """
Tests [EIP-663: SWAPN, DUPN and EXCHANGE instructions](https://eips.ethereum.org/EIPS/eip-663).
"""
import pytest
from ethereum_test_tools import (
Account,
Alloc,
Environment,
EOFException,
EOFStateTestFiller,
EOFTestFiller,
StateTestFiller,
Transaction,
)
from ethereum_test_types... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip663_dupn_swapn_exchange/__init__.py | tests/unscheduled/eip7692_eof_v1/eip663_dupn_swapn_exchange/__init__.py | """
Test cases for EIP-663 SWAPN, DUPN and EXCHANGE instructions
[EIP-663](https://eips.ethereum.org/EIPS/eip-663) defines new stack
manipulation instructions that allow accessing the stack at higher depths.
Opcodes introduced: `DUPN` (`0xE6`), `SWAPN` (`0xE7`), `EXCHANGEN`
(`0xE8`).
"""
REFERENCE_SPEC... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_swapn.py | tests/unscheduled/eip7692_eof_v1/eip663_dupn_swapn_exchange/test_swapn.py | """Tests [EIP-663: SWAPN, DUPN and EXCHANGE instructions](https://eips.ethereum.org/EIPS/eip-663)."""
import pytest
from ethereum_test_tools import (
Account,
Alloc,
Environment,
EOFException,
EOFStateTestFiller,
EOFTestFiller,
StateTestFiller,
Transaction,
)
from ethereum_test_types.e... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_jumpf_validation.py | tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_jumpf_validation.py | """EOF validation tests for JUMPF instruction."""
import pytest
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_types.eof.constants import MAX_RUNTIME_STACK_HEIGHT
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_vm import Opcodes as Op
from .. import EOF_FO... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/spec.py | tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/spec.py | """EOF V1 Constants used throughout all tests."""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_jumpf_target.py | tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_jumpf_target.py | """EOF JUMPF tests covering JUMPF target rules."""
import pytest
from ethereum_test_tools import Account, EOFException, EOFStateTestFiller
from ethereum_test_types.eof.v1 import Container, Section
from ethereum_test_types.eof.v1.constants import NON_RETURNING_SECTION
from ethereum_test_vm import Opcodes as Op
from .... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py | tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_jumpf_stack.py | """EOF JUMPF tests covering stack validation rules."""
import pytest
from ethereum_test_specs import EOFTestFiller
from ethereum_test_tools import Account, EOFException, EOFStateTestFiller
from ethereum_test_types.eof.constants import MAX_RUNTIME_STACK_HEIGHT
from ethereum_test_types.eof.v1 import Container, Section
... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/helpers.py | tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/helpers.py | """EOF JumpF tests helpers."""
import itertools
"""Storage addresses for common testing fields"""
_slot = itertools.count()
next(_slot) # don't use slot 0
slot_code_worked = next(_slot)
slot_last_slot = next(_slot)
slot_stack_canary = next(_slot)
"""Storage values for common testing fields"""
value_code_worked = 0x... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_nonreturning_validation.py | tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_nonreturning_validation.py | """EOF validation tests for non-returning code sections."""
import pytest
from ethereum_test_tools import EOFException, EOFTestFiller
from ethereum_test_types.eof.v1 import NON_RETURNING_SECTION, Container, ContainerKind, Section
from ethereum_test_vm import Bytecode
from ethereum_test_vm import Opcodes as Op
from .... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_jumpf_execution.py | tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/test_jumpf_execution.py | """EOF JUMPF tests covering simple cases."""
import pytest
from ethereum_test_base_types import Storage
from ethereum_test_specs import StateTestFiller
from ethereum_test_tools import Account, Environment, EOFException, EOFStateTestFiller, Transaction
from ethereum_test_types import Alloc
from ethereum_test_types.eof... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/__init__.py | tests/unscheduled/eip7692_eof_v1/eip6206_jumpf/__init__.py | """
Test cases for [EIP-6206: EOF - JUMPF and non-returning functions](https://
eips.ethereum.org/EIPS/eip-6206).
EIP-6206 adds a conditional forward jump instruction and support for
functions without return values. Opcodes introduced: `JUMPF` (`0xE5`).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/byzantium/__init__.py | tests/byzantium/__init__.py | """Test cases for EVM functionality introduced in Byzantium."""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/byzantium/eip198_modexp_precompile/test_modexp.py | tests/byzantium/eip198_modexp_precompile/test_modexp.py | """
Test [EIP-198: MODEXP Precompile](https://eips.ethereum.org/EIPS/eip-198).
Tests the MODEXP precompile, located at address 0x0000..0005. Test cases
from the EIP are labelled with `EIP-198-caseX` in the test id.
"""
import pytest
from ethereum_test_tools import (
Account,
Alloc,
Bytes,
Environment... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/byzantium/eip198_modexp_precompile/helpers.py | tests/byzantium/eip198_modexp_precompile/helpers.py | """
Helper functions for the EIP-198 ModExp precompile tests.
"""
from typing import Tuple
from pydantic import Field
from ethereum_test_tools import Bytes, TestParameterGroup
class ModExpInput(TestParameterGroup):
"""
Helper class that defines the MODEXP precompile inputs and creates the call
data fro... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/byzantium/eip198_modexp_precompile/__init__.py | tests/byzantium/eip198_modexp_precompile/__init__.py | """Test for precompiles introduced in Byzantium."""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/amsterdam/__init__.py | tests/amsterdam/__init__.py | """
Test cases for EVM functionality introduced in Amsterdam, [EIP-7773: Hardfork
Meta - Glamsterdam](https://eip.directory/eips/eip-7773).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/amsterdam/eip7928_block_level_access_lists/spec.py | tests/amsterdam/eip7928_block_level_access_lists/spec.py | """Reference spec for [EIP-7928: Block-level Access Lists.](https://eips.ethereum.org/EIPS/eip-7928)."""
from dataclasses import dataclass
@dataclass(frozen=True)
class ReferenceSpec:
"""Reference specification."""
git_path: str
version: str
ref_spec_7928 = ReferenceSpec(
git_path="EIPS/eip-7928.m... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_opcodes.py | tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_opcodes.py | """
Tests for EIP-7928 Block Access Lists with single-opcode success and OOG
scenarios.
Block access lists (BAL) are generated via a client's state tracing journal.
Residual journal entries may persist when opcodes run out of gas, resulting
in a bloated BAL payload.
Issues identified in:
https://github.com/paradigmxy... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/amsterdam/eip7928_block_level_access_lists/__init__.py | tests/amsterdam/eip7928_block_level_access_lists/__init__.py | """Tests for [EIP-7928: Block-level Access Lists](https://eips.ethereum.org/EIPS/eip-7928)."""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists.py | tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists.py | """Tests for EIP-7928 using the consistent data class pattern."""
from typing import Callable, Dict
import pytest
from ethereum_test_base_types import AccessList, Address, Hash
from ethereum_test_forks import Fork
from ethereum_test_specs.blockchain import Header
from ethereum_test_tools import (
Account,
Al... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | true |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py | tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py | """
Test cases for invalid Block Access Lists.
These tests verify that clients properly reject blocks with corrupted BALs.
"""
import pytest
from ethereum_test_exceptions import BlockException
from ethereum_test_tools import (
Account,
Alloc,
Block,
BlockchainTestFiller,
Storage,
Transaction,... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip7702.py | tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip7702.py | """Tests for the effects of EIP-7702 transactions on EIP-7928."""
import pytest
from ethereum_test_tools import (
Account,
Alloc,
AuthorizationTuple,
Block,
BlockchainTestFiller,
Transaction,
)
from ethereum_test_types.block_access_list import (
BalAccountExpectation,
BalBalanceChange,... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/__init__.py | tests/istanbul/__init__.py | """Test cases for EVM functionality introduced in Istanbul."""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/eip152_blake2/test_blake2.py | tests/istanbul/eip152_blake2/test_blake2.py | """
Tests [EIP-152: BLAKE2b compression precompile](https://eips.ethereum.org/EIPS/eip-152).
"""
from typing import List
import pytest
from ethereum_test_forks import Fork
from ethereum_test_tools import (
Account,
Alloc,
Bytecode,
Environment,
StateTestFiller,
Transaction,
)
from ethereum_te... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/eip152_blake2/common.py | tests/istanbul/eip152_blake2/common.py | """Common classes used in the BLAKE2b precompile tests."""
from dataclasses import dataclass
from ethereum_test_base_types import Bytes
from ethereum_test_types.helpers import TestParameterGroup
from .spec import Spec, SpecTestVectors
class Blake2bInput(TestParameterGroup):
"""
Helper class that defines th... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/eip152_blake2/spec.py | tests/istanbul/eip152_blake2/spec.py | """Defines EIP-152 specification constants and functions."""
from dataclasses import dataclass
@dataclass(frozen=True)
class ReferenceSpec:
"""Defines the reference spec version and git path."""
git_path: str
version: str
ref_spec_152 = ReferenceSpec("EIPS/eip-152.md", "2762bfcff3e549ef263342e5239ef03... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/eip152_blake2/test_blake2_delegatecall.py | tests/istanbul/eip152_blake2/test_blake2_delegatecall.py | """
Test delegatecall to Blake2B Precompile before and after added.
"""
import pytest
from ethereum_test_forks import Fork
from ethereum_test_forks.forks.forks import Istanbul
from ethereum_test_tools import (
Account,
Alloc,
Environment,
StateTestFiller,
Transaction,
)
from ethereum_test_tools im... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/eip152_blake2/conftest.py | tests/istanbul/eip152_blake2/conftest.py | """pytest fixtures for testing the BLAKE2b precompile."""
import pytest
from ethereum_test_vm import Bytecode
from ethereum_test_vm import Opcodes as Op
from .spec import Spec
@pytest.fixture
def blake2b_contract_bytecode(call_opcode: Op) -> Bytecode:
"""
Contract code that performs the provided opcode (CA... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/eip152_blake2/__init__.py | tests/istanbul/eip152_blake2/__init__.py | """
Tests [EIP-152: BLAKE2 compression precompile](https://eips.ethereum.org/EIPS/eip-152).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/eip1344_chainid/test_chainid.py | tests/istanbul/eip1344_chainid/test_chainid.py | """
Tests [EIP-1344: CHAINID opcode](https://eips.ethereum.org/EIPS/eip-1344).
"""
import pytest
from ethereum_test_tools import Account, Alloc, ChainConfig, StateTestFiller, Transaction
from ethereum_test_vm import Opcodes as Op
REFERENCE_SPEC_GIT_PATH = "EIPS/eip-1344.md"
REFERENCE_SPEC_VERSION = "02e46aebc80e6e50... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/istanbul/eip1344_chainid/__init__.py | tests/istanbul/eip1344_chainid/__init__.py | """
Tests for [EIP-1344: ChainID Opcode](https://eips.ethereum.org/EIPS/eip-1344).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/__init__.py | tests/shanghai/__init__.py | """Test cases for EVM functionality introduced in Shanghai."""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3860_initcode/test_with_eof.py | tests/shanghai/eip3860_initcode/test_with_eof.py | """
Test CREATE / CREATE2 and EOF interaction for EIP-3860 initcode limits.
"""
import itertools
import pytest
from ethereum_test_tools import (
Account,
Alloc,
Bytecode,
Environment,
Initcode,
StateTestFiller,
Transaction,
compute_create_address,
)
from ethereum_test_types.eof.v1.con... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3860_initcode/spec.py | tests/shanghai/eip3860_initcode/spec.py | """Defines EIP-3860 specification constants and functions."""
from dataclasses import dataclass
@dataclass(frozen=True)
class ReferenceSpec:
"""Defines the reference spec version and git path."""
git_path: str
version: str
ref_spec_3860 = ReferenceSpec("EIPS/eip-3860.md", "9ee005834d488e381455cf86a56c... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3860_initcode/conftest.py | tests/shanghai/eip3860_initcode/conftest.py | """Fixtures for the EIP-3860 initcode tests."""
import pytest
from ethereum_test_tools import Alloc, Environment
@pytest.fixture
def env() -> Environment:
"""Environment fixture."""
return Environment()
@pytest.fixture
def post() -> Alloc:
"""Post state fixture."""
return Alloc()
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3860_initcode/helpers.py | tests/shanghai/eip3860_initcode/helpers.py | """Helpers for the EIP-3860 initcode tests."""
from ethereum_test_tools import Initcode
from ethereum_test_vm import Opcodes as Op
INITCODE_RESULTING_DEPLOYED_CODE = Op.STOP
def get_initcode_name(val: Initcode) -> str:
"""Return Initcode object's name to generate test ids."""
return val._name_
def get_cre... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3860_initcode/__init__.py | tests/shanghai/eip3860_initcode/__init__.py | """
Test [EIP-3860: Limit and meter initcode](https://eips.ethereum.org/EIPS/eip-3860).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3860_initcode/test_initcode.py | tests/shanghai/eip3860_initcode/test_initcode.py | """
Test [EIP-3860: Limit and meter initcode](https://eips.ethereum.org/EIPS/eip-3860).
Tests ported from:
- [ethereum/tests/pull/990](https://github.com/ethereum/tests/pull/990)
- [ethereum/tests/pull/1012](https://github.com/ethereum/tests/pull/990)
"""
from typing import List
import pytest
from ethereum_test_for... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip4895_withdrawals/spec.py | tests/shanghai/eip4895_withdrawals/spec.py | """Defines EIP-4895 specification constants and functions."""
from dataclasses import dataclass
@dataclass(frozen=True)
class ReferenceSpec:
"""Defines the reference spec version and git path."""
git_path: str
version: str
ref_spec_4895 = ReferenceSpec("EIPS/eip-4895.md", "81af3b60b632bc9c03513d1d137f... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip4895_withdrawals/test_withdrawals.py | tests/shanghai/eip4895_withdrawals/test_withdrawals.py | """
Tests for [EIP-4895: Beacon chain withdrawals](https://eips.ethereum.org/EIPS/eip-4895).
"""
from enum import Enum, unique
from typing import Dict, List, Mapping
import pytest
from ethereum_clis import TransitionTool
from ethereum_test_forks import Cancun, Fork
from ethereum_test_tools import (
EOA,
Acco... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip4895_withdrawals/conftest.py | tests/shanghai/eip4895_withdrawals/conftest.py | """Fixtures for the EIP-4895 withdrawals tests."""
import pytest
from ethereum_test_tools import Alloc, Environment
@pytest.fixture
def env() -> Environment:
"""Environment fixture."""
return Environment()
@pytest.fixture
def post() -> Alloc:
"""Post state fixture."""
return Alloc()
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip4895_withdrawals/__init__.py | tests/shanghai/eip4895_withdrawals/__init__.py | """
Tests [EIP-4895: Beacon chain withdrawals](https://eips.ethereum.org/EIPS/eip-4895).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3651_warm_coinbase/spec.py | tests/shanghai/eip3651_warm_coinbase/spec.py | """Defines EIP-3651 specification constants and functions."""
from dataclasses import dataclass
@dataclass(frozen=True)
class ReferenceSpec:
"""Defines the reference spec version and git path."""
git_path: str
version: str
ref_spec_3651 = ReferenceSpec("EIPS/eip-3651.md", "d94c694c6f12291bb6626669c3e8... | python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3651_warm_coinbase/conftest.py | tests/shanghai/eip3651_warm_coinbase/conftest.py | """Fixtures for the EIP-3651 warm coinbase tests."""
import pytest
from ethereum_test_tools import Alloc, Environment
@pytest.fixture
def env() -> Environment:
"""Environment fixture."""
return Environment()
@pytest.fixture
def post() -> Alloc:
"""Post state fixture."""
return Alloc()
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
ethereum/execution-spec-tests | https://github.com/ethereum/execution-spec-tests/blob/88e9fb8f10ed89805aa3110d0a2cd5dcadc19689/tests/shanghai/eip3651_warm_coinbase/__init__.py | tests/shanghai/eip3651_warm_coinbase/__init__.py | """
Tests for [EIP-3651: Warm COINBASE](https://eips.ethereum.org/EIPS/eip-3651).
"""
| python | MIT | 88e9fb8f10ed89805aa3110d0a2cd5dcadc19689 | 2026-01-05T06:50:32.790998Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.