-
Notifications
You must be signed in to change notification settings - Fork 325
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
EIP 2537 state tests #712
EIP 2537 state tests #712
Conversation
Contract source that performs the calls
|
Thanks. This PR shows that there is a need for .yml + solidity support. Also note if you use the same contract code allover again and only the input tx data changes. you can specify multiple data in one test to be executed on that same contract. and check each result by tx indexes (put comments which data index do which test) so it is possible to put all those tests into one file. |
As I am using the geth transition tool protocol to generate your tests.
@holiman does geth transition tool support eip2537 on YOLOv1 ? @shamatar |
I’ll post a diff tomorrow. Separate Json files are present case I’ve used template engine instead of working with full Json structures. |
Diff
|
I should note that “default” client is used white I’ve included YoloV1 fork and added mining reward. |
I can't generate the tests with your fork either. did you run Is that expected behavior? |
I’ve had a problem with reverts before finally forced Geth to activate Yolo (red errors in terminal with invalid balance, invalid storage slot values). I’ll send you logs and more detailed instructions if it helps. |
I've updated the vectors, looks that previous version has contained jsons from invalid generator. |
ok this works. |
Based on the original test vectors from my repo (linked in EIP text).
All test pass on monkey-patched (add new test YoloV1 network for
retesteth
command) Geth based on commitfa01117498a580f8de35e026f7e0ab38313868dd
from https://github.com/ethereum/go-ethereum master branch.Test fillers are committed without other changes (I suppose).