-
Notifications
You must be signed in to change notification settings - Fork 74
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
test(fw): Unit tests for post state verification errors #350
Conversation
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.
Thanks! Would love more like this!
Below are a few pytest specific suggestions.
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.
A couple of things occurred to me whilst working on #380, see comments below.
299dabe
to
0cf36cd
Compare
I tried to express the test's intent a bit better by removing the split of exception checking across the helper function and the test. Now we have the setup code in the |
* refactor: use pytest fixtures as apposed to helper function * refactor: update comments due to state test fixtures #356 The functionality from ethereum_test.filler.fill_test() got moved to the StateTest, respectively BlockchainTest, generate() method.
0a22c6b
to
b42b4d2
Compare
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.
LGTM!
🗒️ Description
Adds filling framework unit tests for post state verification, of accounts including storage, nonce, code & balance mismatch. Ensure that the framework post state mismatches are occuring correctly.
🔗 Related Issues
N/A.
✅ Checklist