Skip to content

Commit 1f652aa

Browse files
committed
restore pyproject.toml and uv.lock, start updates from review
1 parent cdbba4f commit 1f652aa

File tree

4 files changed

+16
-29
lines changed

4 files changed

+16
-29
lines changed

docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Test fixtures for use by clients are available for each release on the [Github r
1919
-[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))
2020
-[EIP-7702](https://eips.ethereum.org/EIPS/eip-7702) Remove delegation behavior of EXTCODE* ([#984](https://github.com/ethereum/execution-spec-tests/pull/984))
2121
-[EIP-7623](https://eips.ethereum.org/EIPS/eip-7623) Increase calldata cost ([#1004](https://github.com/ethereum/execution-spec-tests/pull/1004))
22-
- ✨ Port calldatacopy test ([#1056](https://github.com/ethereum/execution-spec-tests/pull/1056)).
22+
- ✨ 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)).
2323

2424
### 🛠️ Framework
2525

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ dependencies = [
5050
# https://ethereum.github.io/execution-spec-tests/main/dev/interactive_usage/
5151
"questionary @ git+https://github.com/tmbo/questionary@ff22aeae1cd9c1c734f14329934e349bec7873bc",
5252
"prompt_toolkit>=3.0.48,<4", # ensure we have a new enough version for ipython
53-
"ruff>=0.8.2",
5453
]
5554

5655
[project.urls]

tests/frontier/opcodes/test_calldatacopy.py

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
[
1313
(
1414
(
15-
Op.PUSH1[0x2]
16-
+ Op.PUSH1[0x1]
17-
+ Op.PUSH1[0x0]
18-
+ Op.CALLDATACOPY
15+
Op.CALLDATACOPY(dest_offset=0, offset=1, size=2)
1916
+ Op.PUSH1[0x0]
2017
+ Op.MLOAD
2118
+ Op.PUSH1[0x0]
@@ -35,10 +32,7 @@
3532
),
3633
(
3734
(
38-
Op.PUSH1[0x1]
39-
+ Op.PUSH1[0x1]
40-
+ Op.PUSH1[0x0]
41-
+ Op.CALLDATACOPY
35+
Op.CALLDATACOPY(dest_offset=0, offset=1, size=1)
4236
+ Op.PUSH1[0x0]
4337
+ Op.MLOAD
4438
+ Op.PUSH1[0x0]
@@ -58,10 +52,7 @@
5852
),
5953
(
6054
(
61-
Op.PUSH1[0x0]
62-
+ Op.PUSH1[0x1]
63-
+ Op.PUSH1[0x0]
64-
+ Op.CALLDATACOPY
55+
Op.CALLDATACOPY(dest_offset=0, offset=1, size=0)
6556
+ Op.PUSH1[0x0]
6657
+ Op.MLOAD
6758
+ Op.PUSH1[0x0]
@@ -81,10 +72,7 @@
8172
),
8273
(
8374
(
84-
Op.PUSH1[0x0]
85-
+ Op.PUSH1[0x0]
86-
+ Op.PUSH1[0x0]
87-
+ Op.CALLDATACOPY
75+
Op.CALLDATACOPY(dest_offset=0, offset=0, size=0)
8876
+ Op.PUSH1[0x0]
8977
+ Op.MLOAD
9078
+ Op.PUSH1[0x0]
@@ -104,10 +92,11 @@
10492
),
10593
(
10694
(
107-
Op.PUSH1[0xFF]
108-
+ Op.PUSH32[0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA]
109-
+ Op.PUSH1[0x0]
110-
+ Op.CALLDATACOPY
95+
Op.CALLDATACOPY(
96+
dest_offset=0,
97+
offset=0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA,
98+
size=0xFF,
99+
)
111100
+ Op.PUSH1[0x0]
112101
+ Op.MLOAD
113102
+ Op.PUSH1[0x0]
@@ -123,10 +112,11 @@
123112
),
124113
(
125114
(
126-
Op.PUSH1[0x9]
127-
+ Op.PUSH32[0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA]
128-
+ Op.PUSH1[0x0]
129-
+ Op.CALLDATACOPY
115+
Op.CALLDATACOPY(
116+
dest_offset=0,
117+
offset=0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA,
118+
size=0x9,
119+
)
130120
+ Op.PUSH1[0x0]
131121
+ Op.MLOAD
132122
+ Op.PUSH1[0x0]
@@ -205,7 +195,7 @@ def test_calldatacopy(
205195
"""
206196
Test `CALLDATACOPY` opcode.
207197
208-
Based on https://github.com/ethereum/tests/blob/develop/src/GeneralStateTestsFiller/VMTests/vmTests/calldatacopyFiller.yml
198+
Based on https://github.com/ethereum/tests/blob/ae4791077e8fcf716136e70fe8392f1a1f1495fb/src/GeneralStateTestsFiller/VMTests/vmTests/calldatacopyFiller.ym
209199
"""
210200
code_address = pre.deploy_contract(code)
211201
to = pre.deploy_contract(

uv.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)