Skip to content

Commit

Permalink
restore pyproject.toml and uv.lock, start updates from review
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Jan 8, 2025
1 parent cdbba4f commit 1f652aa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 29 deletions.
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Test fixtures for use by clients are available for each release on the [Github r
-[EIP-7702](https://eips.ethereum.org/EIPS/eip-7702) set code of non-empty-storage account test ([#948](https://github.com/ethereum/execution-spec-tests/pull/948))
-[EIP-7702](https://eips.ethereum.org/EIPS/eip-7702) Remove delegation behavior of EXTCODE* ([#984](https://github.com/ethereum/execution-spec-tests/pull/984))
-[EIP-7623](https://eips.ethereum.org/EIPS/eip-7623) Increase calldata cost ([#1004](https://github.com/ethereum/execution-spec-tests/pull/1004))
- ✨ Port calldatacopy test ([#1056](https://github.com/ethereum/execution-spec-tests/pull/1056)).
- ✨ Port [calldatacopy test](https://github.com/ethereum/tests/blob/ae4791077e8fcf716136e70fe8392f1a1f1495fb/src/GeneralStateTestsFiller/VMTests/vmTests/calldatacopyFiller.yml) ([#1056](https://github.com/ethereum/execution-spec-tests/pull/1056)).

### 🛠️ Framework

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ dependencies = [
# https://ethereum.github.io/execution-spec-tests/main/dev/interactive_usage/
"questionary @ git+https://github.com/tmbo/questionary@ff22aeae1cd9c1c734f14329934e349bec7873bc",
"prompt_toolkit>=3.0.48,<4", # ensure we have a new enough version for ipython
"ruff>=0.8.2",
]

[project.urls]
Expand Down
40 changes: 15 additions & 25 deletions tests/frontier/opcodes/test_calldatacopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
[
(
(
Op.PUSH1[0x2]
+ Op.PUSH1[0x1]
+ Op.PUSH1[0x0]
+ Op.CALLDATACOPY
Op.CALLDATACOPY(dest_offset=0, offset=1, size=2)
+ Op.PUSH1[0x0]
+ Op.MLOAD
+ Op.PUSH1[0x0]
Expand All @@ -35,10 +32,7 @@
),
(
(
Op.PUSH1[0x1]
+ Op.PUSH1[0x1]
+ Op.PUSH1[0x0]
+ Op.CALLDATACOPY
Op.CALLDATACOPY(dest_offset=0, offset=1, size=1)
+ Op.PUSH1[0x0]
+ Op.MLOAD
+ Op.PUSH1[0x0]
Expand All @@ -58,10 +52,7 @@
),
(
(
Op.PUSH1[0x0]
+ Op.PUSH1[0x1]
+ Op.PUSH1[0x0]
+ Op.CALLDATACOPY
Op.CALLDATACOPY(dest_offset=0, offset=1, size=0)
+ Op.PUSH1[0x0]
+ Op.MLOAD
+ Op.PUSH1[0x0]
Expand All @@ -81,10 +72,7 @@
),
(
(
Op.PUSH1[0x0]
+ Op.PUSH1[0x0]
+ Op.PUSH1[0x0]
+ Op.CALLDATACOPY
Op.CALLDATACOPY(dest_offset=0, offset=0, size=0)
+ Op.PUSH1[0x0]
+ Op.MLOAD
+ Op.PUSH1[0x0]
Expand All @@ -104,10 +92,11 @@
),
(
(
Op.PUSH1[0xFF]
+ Op.PUSH32[0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA]
+ Op.PUSH1[0x0]
+ Op.CALLDATACOPY
Op.CALLDATACOPY(
dest_offset=0,
offset=0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA,
size=0xFF,
)
+ Op.PUSH1[0x0]
+ Op.MLOAD
+ Op.PUSH1[0x0]
Expand All @@ -123,10 +112,11 @@
),
(
(
Op.PUSH1[0x9]
+ Op.PUSH32[0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA]
+ Op.PUSH1[0x0]
+ Op.CALLDATACOPY
Op.CALLDATACOPY(
dest_offset=0,
offset=0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA,
size=0x9,
)
+ Op.PUSH1[0x0]
+ Op.MLOAD
+ Op.PUSH1[0x0]
Expand Down Expand Up @@ -205,7 +195,7 @@ def test_calldatacopy(
"""
Test `CALLDATACOPY` opcode.
Based on https://github.com/ethereum/tests/blob/develop/src/GeneralStateTestsFiller/VMTests/vmTests/calldatacopyFiller.yml
Based on https://github.com/ethereum/tests/blob/ae4791077e8fcf716136e70fe8392f1a1f1495fb/src/GeneralStateTestsFiller/VMTests/vmTests/calldatacopyFiller.ym
"""
code_address = pre.deploy_contract(code)
to = pre.deploy_contract(
Expand Down
2 changes: 0 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1f652aa

Please sign in to comment.