Skip to content
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
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Test fixtures for use by clients are available for each release on the [Github r
### 🧪 Test Cases

- ✨ [EIP-7702](https://eips.ethereum.org/EIPS/eip-7702): Test precompile case in same transaction as delegation without extra gas in case of precompile code execution; parametrize all call opcodes in existing precompile test ([#1431](https://github.com/ethereum/execution-spec-tests/pull/1431)).
- ✨ [EIP-7702](https://eips.ethereum.org/EIPS/eip-7702): Add invalid nonce authorizations tests for the case of multiple signers when the sender's nonce gets increased ([#1441](https://github.com/ethereum/execution-spec-tests/pull/1441)).
- ✨ [EIP-7623](https://eips.ethereum.org/EIPS/eip-7623): Additionally parametrize transaction validity tests with the `to` set to an EOA account (previously only contracts) ([#1422](https://github.com/ethereum/execution-spec-tests/pull/1422)).

## [v4.2.0](https://github.com/ethereum/execution-spec-tests/releases/tag/v4.2.0) - 2025-04-08
Expand Down
5 changes: 3 additions & 2 deletions eels_resolutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"same_as": "EELSMaster"
},
"Prague": {
"git_url": "https://github.com/ethereum/execution-specs.git",
"branch": "devnets/prague/6"
"git_url": "https://github.com/gurukamath/execution-specs.git",
"branch": "7702-to-precompile",
"commit": "bbc469729ab095300b07de8fe323c3f9fac31857"
}
}
8 changes: 3 additions & 5 deletions src/ethereum_test_tools/code/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class CodeGasMeasure(Bytecode):
To be considered when subtracting the value of the previous GAS operation,
and to be popped at the end of the execution.
"""
sstore_key: int
sstore_key: int | Bytes
"""
Storage key to save the gas used.
"""
Expand All @@ -160,7 +160,7 @@ def __new__(
code: Bytecode,
overhead_cost: int = 0,
extra_stack_items: int = 0,
sstore_key: int = 0,
sstore_key: int | Bytes = 0,
stop: bool = True,
):
"""Assemble the bytecode that measures gas usage."""
Expand All @@ -173,9 +173,7 @@ def __new__(
+ Op.SUB
+ Op.PUSH1(overhead_cost + 2)
+ Op.SWAP1
+ Op.SUB
+ Op.PUSH1(sstore_key)
+ Op.SSTORE
+ Op.SSTORE(sstore_key, Op.SUB)
)
if stop:
res += Op.STOP
Expand Down
Loading
Loading