Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/cancun/eip4788_beacon_root/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from ethereum_test_tools import (
Account,
Environment,
HistoryStorageAddress,
TestAddress,
Transaction,
to_address,
Expand Down Expand Up @@ -128,7 +127,6 @@ def pre(
source account of all test transactions, and the precompile caller account.
"""
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(
nonce=0,
balance=0x10**10,
Expand Down
10 changes: 1 addition & 9 deletions tests/cancun/eip4844_blobs/test_blob_txs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@

import pytest

from ethereum_test_tools import (
Account,
Block,
BlockchainTestFiller,
Environment,
Header,
HistoryStorageAddress,
)
from ethereum_test_tools import Account, Block, BlockchainTestFiller, Environment, Header
from ethereum_test_tools import Opcodes as Op
from ethereum_test_tools import (
Storage,
Expand Down Expand Up @@ -302,7 +295,6 @@ def pre( # noqa: D103
blocks.
"""
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=total_account_minimum_balance + account_balance_modifier),
}

Expand Down
2 changes: 0 additions & 2 deletions tests/cancun/eip4844_blobs/test_blob_txs_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
BlockchainTestFiller,
Environment,
Header,
HistoryStorageAddress,
TestAddress,
Transaction,
to_address,
Expand Down Expand Up @@ -227,7 +226,6 @@ def pre() -> Dict:
source account of all test transactions.
"""
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=10**40),
}

Expand Down
2 changes: 0 additions & 2 deletions tests/cancun/eip4844_blobs/test_blobhash_opcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
Block,
BlockchainTestFiller,
CodeGasMeasure,
HistoryStorageAddress,
TestAddress,
Transaction,
to_address,
Expand All @@ -46,7 +45,6 @@
@pytest.fixture
def pre(): # noqa: D103
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=10000000000000000000000),
}

Expand Down
2 changes: 0 additions & 2 deletions tests/cancun/eip4844_blobs/test_excess_blob_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
BlockchainTestFiller,
Environment,
Header,
HistoryStorageAddress,
TestAddress,
TestAddress2,
Transaction,
Expand Down Expand Up @@ -165,7 +164,6 @@ def tx_exact_cost(tx_value: int, tx_max_fee_per_gas: int, tx_data_cost: int) ->
@pytest.fixture
def pre(tx_exact_cost: int) -> Mapping[str, Account]: # noqa: D103
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=tx_exact_cost),
TestAddress2: Account(balance=10**40),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
BlockchainTestFiller,
Environment,
Header,
HistoryStorageAddress,
TestAddress,
Transaction,
add_kzg_version,
Expand Down Expand Up @@ -43,7 +42,6 @@ def env() -> Environment: # noqa: D103
@pytest.fixture
def pre() -> Mapping[str, Account]: # noqa: D103
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=10**40),
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
Auto,
Block,
BlockchainTestFiller,
HistoryStorageAddress,
Storage,
TestAddress,
Transaction,
Expand Down Expand Up @@ -174,7 +173,6 @@ def pre(
source account of all test transactions, and the precompile caller account.
"""
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(
nonce=0,
balance=0x10**18,
Expand Down Expand Up @@ -518,7 +516,6 @@ def test_point_evaluation_precompile_gas_tx_to(
"""
start_balance = 10**18
pre = {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(
nonce=0,
balance=start_balance,
Expand Down Expand Up @@ -593,7 +590,6 @@ def test_point_evaluation_precompile_before_fork(
precompile_caller_address = to_address(0x100)

pre = {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(
nonce=0,
balance=0x10**18,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
Block,
BlockchainTestFiller,
CodeGasMeasure,
HistoryStorageAddress,
TestAddress,
Transaction,
copy_opcode_cost,
Expand Down Expand Up @@ -143,7 +142,6 @@ def pre(
source account of all test transactions, and the precompile caller account.
"""
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(
nonce=0,
balance=0x10**18,
Expand Down
3 changes: 1 addition & 2 deletions tests/cancun/eip5656_mcopy/test_mcopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import pytest
from ethereum.crypto.hash import keccak256

from ethereum_test_tools import Account, Environment, HistoryStorageAddress
from ethereum_test_tools import Account, Environment
from ethereum_test_tools import Opcodes as Op
from ethereum_test_tools import (
StateTestFiller,
Expand Down Expand Up @@ -108,7 +108,6 @@ def bytecode_storage(
@pytest.fixture
def pre(bytecode_storage: Tuple[bytes, Storage]) -> Mapping: # noqa: D103
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=10**40),
code_address: Account(code=bytecode_storage[0]),
}
Expand Down
3 changes: 1 addition & 2 deletions tests/cancun/eip5656_mcopy/test_mcopy_contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import pytest

from ethereum_test_tools import Account, Environment, HistoryStorageAddress, OpcodeCallArg
from ethereum_test_tools import Account, Environment, OpcodeCallArg
from ethereum_test_tools import Opcodes as Op
from ethereum_test_tools import (
StateTestFiller,
Expand Down Expand Up @@ -151,7 +151,6 @@ def pre( # noqa: D103
callee_bytecode: bytes,
) -> Mapping:
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=10**40),
code_address: Account(code=bytecode_storage[0]),
callee_address: Account(code=callee_bytecode),
Expand Down
3 changes: 1 addition & 2 deletions tests/cancun/eip5656_mcopy/test_mcopy_memory_expansion.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import pytest

from ethereum_test_tools import Account, Environment, HistoryStorageAddress
from ethereum_test_tools import Account, Environment
from ethereum_test_tools import Opcodes as Op
from ethereum_test_tools import (
StateTestFiller,
Expand Down Expand Up @@ -134,7 +134,6 @@ def pre( # noqa: D103
callee_bytecode: bytes,
) -> Mapping:
return {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=tx_max_fee_per_gas * tx_gas_limit),
caller_address: Account(code=bytecode_storage[0]),
memory_expansion_address: Account(code=callee_bytecode),
Expand Down
2 changes: 0 additions & 2 deletions tests/cancun/eip6780_selfdestruct/test_selfdestruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
Block,
BlockchainTestFiller,
Environment,
HistoryStorageAddress,
Initcode,
StateTestFiller,
Storage,
Expand Down Expand Up @@ -186,7 +185,6 @@ def pre(
) -> Dict[str, Account]:
"""Pre-state of all tests"""
pre = {
HistoryStorageAddress: Account(balance=1),
TestAddress: Account(balance=100_000_000_000_000_000_000),
initcode_copy_from_address: Account(code=selfdestruct_contract_initcode),
}
Expand Down