-
Notifications
You must be signed in to change notification settings - Fork 468
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 to ensure DIFFICULTY/PREVRANDAO opcode returns the expected value of 1 #1667
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1667 +/- ##
==========================================
+ Coverage 28.87% 28.96% +0.08%
==========================================
Files 222 222
Lines 33320 33320
==========================================
+ Hits 9622 9651 +29
+ Misses 22620 22583 -37
- Partials 1078 1086 +8 |
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 think this should be used in the validator test we discussed
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.
the change LGTM - however, if you have can - this is a great opportunity to try converting TestDifficulty* and testBlockValidatorSimple to use the new builder in common_test. Using this framework should avoid the need to modify CreateTestL2WithConfig and the other tests accordingly.
so i tried the builder pattern and it worked great with TestDifficulty* (updated the PR with the latest changes) but testBlockValidatorSimple it failing to work with following error "a data availability service is required for this chain, but it was not configured" I guess the builder does not support DAS (nova) right now? |
Resolved now! |
The nitro-contracts develop branch needs to be merged into OffchainLabs/nitro-contracts#84 before this PR can be merged. |
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
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
No description provided.