-
Notifications
You must be signed in to change notification settings - Fork 319
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
VMTests/.../exp8Filler: add test of EXP 0 0 #460
Conversation
Would be nice to have state tests if possible because some clients only deal with state tests and not vm tests. |
@axic I started adding a GeneralStateTest. |
ahm, then, I drop my manual translation, and work with @ehildenb on the automatic translation (anyway I'm flying to his town this Friday). |
convert vmtestFillers to stateTestFillers? |
@jwasinger do you want to fill this? |
@winsvega but conversion here means it is done by a script and the vmtests can be kept. |
Sure. |
@winsvega do you want a separate PR for a filled test? Or, shall we wait here for the filling? |
test sources (fillers) and tests must be on the same PR. |
This run should fail, because of poorly formatted JSON in the repo. Next I'll fix the formatting and make sure it fails because of invalid JSON Schema, then because of unfilled tests. |
It's nice you are trying out the new checkers. |
8a9aa99
to
c14a8af
Compare
Do not merge yet, I am investigating a few things still:
|
@pirapira I think I have figured out what happenned with Commit ddba26a refilled the test, but did not give it a post section. This is because it was generating the nonsensical bytecode like After I fixed the LLL code, it gave a post section which contains So, I think, if the calculation by hand shows that it's correct, then I think I can update the |
Here is an interaction with bc that seems to confirm it is correct
Indeed, what is happening is |
- disallow the sol and md files in src/VMTestsFiller - only handling VMTests currently, because of massive formatting changes needed
c6b46a7
to
4687f10
Compare
Alright. This branch enables sanitation checks on the VMTests (checking that they are filled correctly, etc...). I have hcanged the expect section of Because of how much is changing in the way of formatting, I'm waiting for future PRs to make the same changes to the GS and BChain tests (if people want them). I propose that for filling the tests, whatever command is used as the "canonical" command is stored in the Currently, to fill the VMTests, I run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw the VM test has been filled, and I heard this fixes tests in cpp-ethereum.
@winsvega I've added a VMTest. I think this is where it belongs because it only tests VM functionality, nothing in the client. I have not filled it, let me know if I should, or if you can and then just add another commit onto this.