-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use eels forks/prague branch #196
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sweet, thanks! |
This doesn't quite work
|
The env does have a |
Another diff diff --git a/evms/testdata/traces/eofcode.json.eels.stderr.txt b/evms/testdata/traces/eofcode.json.eels.stderr.txt
index d5123da..5769c50 100644
--- a/evms/testdata/traces/eofcode.json.eels.stderr.txt
+++ b/evms/testdata/traces/eofcode.json.eels.stderr.txt
@@ -1,2 +1,25 @@
-# WARNING:T8N:Transaction 0 failed: InvalidBlock()
-{"stateRoot": "0x53f6733a696cb3bbf77b635d96ace97f25ffee2d08d3e3d4ae1e566bfc060d6f"}
+Traceback (most recent call last):
+ File "/ethereum-spec-evm", line 8, in <module>
+ sys.exit(main())
+ ~~~~^^
+ File "/opt/pipx/venvs/ethereum-execution/lib/python3.13/site-packages/ethereum_spec_tools/evm_tools/__init__.py", line 118, in main
+ return state_test.run()
+ ~~~~~~~~~~~~~~^^
+ File "/opt/pipx/venvs/ethereum-execution/lib/python3.13/site-packages/ethereum_spec_tools/evm_tools/statetest/__init__.py", line 217, in run
+ return self.run_one(self.file)
+ ~~~~~~~~~~~~^^^^^^^^^^^
+ File "/opt/pipx/venvs/ethereum-execution/lib/python3.13/site-packages/ethereum_spec_tools/evm_tools/statetest/__init__.py", line 246, in run_one
+ result = run_test_case(
+ test_case,
+ t8n_extra=t8n_extra,
+ output_basedir=sys.stderr,
+ )
+ File "/opt/pipx/venvs/ethereum-execution/lib/python3.13/site-packages/ethereum_spec_tools/evm_tools/statetest/__init__.py", line 148, in run_test_case
+ t8n = T8N(t8n_options, out_stream, in_stream)
+ File "/opt/pipx/venvs/ethereum-execution/lib/python3.13/site-packages/ethereum_spec_tools/evm_tools/t8n/__init__.py", line 122, in __init__
+ self.env = Env(self, stdin)
+ ~~~^^^^^^^^^^^^^
+ File "/opt/pipx/venvs/ethereum-execution/lib/python3.13/site-packages/ethereum_spec_tools/evm_tools/t8n/env.py", line 81, in __init__
+ parent_beacon_block_root_hex = data["parentBeaconBlockRoot"]
+ ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ Also, it doesn't emit jsonl ops any longer (traces) user@debian-work:~/workspace/goevmlab$ git diff evms/testdata/traces/stackUnderflow_nonzeroMem.json.eels.stderr.txt
diff --git a/evms/testdata/traces/stackUnderflow_nonzeroMem.json.eels.stderr.txt b/evms/testdata/traces/stackUnderflow_nonzeroMem.json.eels.stderr.txt
index d39cb6f..0f56912 100644
--- a/evms/testdata/traces/stackUnderflow_nonzeroMem.json.eels.stderr.txt
+++ b/evms/testdata/traces/stackUnderflow_nonzeroMem.json.eels.stderr.txt
@@ -1,13 +1 @@
-{"pc":0,"op":96,"gas":"0x79bee4","gasCost":"0x3","memSize":0,"stack":[],"depth":1,"refund":0,"opName":"PUSH1"}
-{"pc":2,"op":96,"gas":"0x79bee1","gasCost":"0x3","memSize":0,"stack":["0x0"],"depth":1,"refund":0,"opName":"PUSH1"}
-{"pc":4,"op":96,"gas":"0x79bede","gasCost":"0x3","memSize":0,"stack":["0x0","0x1"],"depth":1,"refund":0,"opName":"PUSH1"}
-{"pc":6,"op":96,"gas":"0x79bedb","gasCost":"0x3","memSize":0,"stack":["0x0","0x1","0x1"],"depth":1,"refund":0,"opName":"PUSH1"}
-{"pc":8,"op":96,"gas":"0x79bed8","gasCost":"0x3","memSize":0,"stack":["0x0","0x1","0x1","0x2"],"depth":1,"refund":0,"opName":"PUSH1"}
-{"pc":10,"op":97,"gas":"0x79bed5","gasCost":"0x3","memSize":0,"stack":["0x0","0x1","0x1","0x2","0x2"],"depth":1,"refund":0,"opName":"PUSH2"}
-{"pc":13,"op":97,"gas":"0x79bed2","gasCost":"0x3","memSize":0,"stack":["0x0","0x1","0x1","0x2","0x2","0x1f4"],"depth":1,"refund":0,"opName":"PUSH2"}
-{"pc":16,"op":244,"gas":"0x79becf","gasCost":"0x10a2a","memSize":0,"stack":["0x0","0x1","0x1","0x2","0x2","0x1f4","0xffff"],"depth":1,"refund":0,"opName":"DELEGATECALL"}
-{"pc":17,"op":54,"gas":"0x79b4a4","gasCost":"0x2","memSize":32,"stack":["0x0","0x1"],"depth":1,"refund":0,"opName":"CALLDATASIZE"}
-{"pc":18,"op":145,"gas":"0x79b4a2","gasCost":"0x3","memSize":32,"stack":["0x0","0x1","0x12"],"depth":1,"refund":0,"opName":"SWAP2"}
-{"pc":19,"op":142,"gas":"0x79b49f","gasCost":"0x3","memSize":32,"stack":["0x12","0x1","0x0"],"depth":1,"refund":0,"opName":"DUP15","error":"StackUnderflowError"}
-{"output":"","gasUsed":"0x79bee4","error":"StackUnderflowError"}
{"stateRoot": "0x1f07fb182fd18ad9b11f8ef6cf369981e87e9f8514c803a1f2df145724f62fa4"} Seems gone:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The EELS Prague implementation isn't merged into execution-specs master yet.