-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[DEPLOY-178]: Adds Scroll L2EP Contracts #11405
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
I see that you haven't updated any README files. Would it make sense to do so? |
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.
@chris-de-leon-cll Should we also add the test files? I can only find the mock files.
@mohamed-mehany I'm aiming to add the test files by the end of today Apologies for the confusion - I opened this as a draft PR to push up what I currently have so you can view the progress so far I'll switch it from a draft PR to a real PR once all the changes are ready |
Go solidity wrappers are out-of-date, regenerate them via the |
2 similar comments
Go solidity wrappers are out-of-date, regenerate them via the |
Go solidity wrappers are out-of-date, regenerate them via the |
Changes LGTM! Thanks @chris-de-leon-cll for working on this! |
da88761
to
8073592
Compare
140c53c
to
9d906a1
Compare
9d906a1
to
ab23752
Compare
contracts/src/v0.8/l2ep/dev/scroll/ScrollSequencerUptimeFeed.sol
Outdated
Show resolved
Hide resolved
contracts/src/v0.8/l2ep/dev/scroll/ScrollSequencerUptimeFeed.sol
Outdated
Show resolved
Hide resolved
contracts/src/v0.8/l2ep/dev/scroll/ScrollSequencerUptimeFeed.sol
Outdated
Show resolved
Hide resolved
contracts/src/v0.8/l2ep/dev/scroll/ScrollSequencerUptimeFeed.sol
Outdated
Show resolved
Hide resolved
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.
Thank you @RensR for guiding us through the Solidity style and best practices.
contracts/src/v0.8/l2ep/dev/scroll/ScrollSequencerUptimeFeed.sol
Outdated
Show resolved
Hide resolved
contracts/src/v0.8/l2ep/dev/scroll/ScrollSequencerUptimeFeed.sol
Outdated
Show resolved
Hide resolved
contracts/src/v0.8/l2ep/dev/scroll/ScrollSequencerUptimeFeed.sol
Outdated
Show resolved
Hide resolved
Looks good from a Solidity perspective, I'll let the product team approve on actual business logic |
SonarQube Quality Gate 0 Bugs No Coverage information |
* develop: (56 commits) [TT-367] [TT-745] Quick and Dirty OCRv2 Soak Test (#11487) [FUN-990] s4 observability improvements (#11512) fix health monitoring (#11558) Removes Optimism Goerli from Scheduled Tests (#11559) bump Foundry to the December release (#11540) Standardize LP filter logging (#11515) Change keepers to use the default contract transmitter (#11308) bump toml/v2 and prometheus to latest patch (#11541) Remove big from core utils (#11511) Handle edge case involving blocks not being found in the db (#11298) [DEPLOY-178]: Adds Scroll L2EP Contracts (#11405) disable kaniko fallback, increase deploy wait timeout (#11548) Use multiple EL clients with ocrv2 median smoke test (#11399) Remove core utils dependencies from common (#11425) [BCF-2760] Flakey test detection improvements (#11470) go.mods: rm libp2p; rm btcd replace (#11502) wrap devspace commands (#11530) small improvements based on comments (#11491) (test): Remove unnecessary fuzzing from Functions OnTokenTransfer tests (#11517) core/scripts/common: rm ava-labs/coreth; lint (#11451) ...
* Adds scroll L2EP contracts and tests * fixes comments, adds fixed solidity compiler version, and adds scroll tech contracts as a dev dependency * renames SCROLL_CROSS_DOMAIN_MESSENGER to i_SCROLL_CROSS_DOMAIN_MESSENGER for solhint * removes unnecessary solhint disable rule * moves scroll mocks from tests folder to l2ep folder * resolve solhint errors for scroll * proposed restructure to reduce inheritance * removes extraneous comments from scroll contracts and refactors typeAndVersion * use named parameters in mappings for scroll contracts * removes extraneous empty comments from scroll contracts (again) * removes unnecessary comment from scroll cross domain governor * adds minor formatting updates to scroll mocks * adds onlyL1Owner modifier back to ScrollCrossDomainGovernor * adds style and formatting improvements * adds formatting updates * refactors scroll sequencer uptime feed to reduce gas and updates test suites --------- Co-authored-by: Rens Rooimans <[email protected]>
Overview
This PR adds the L2EP Scroll contracts and corresponding test cases.
Contracts
Core
Mocks
Tests