Skip to content
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

Constructor L1 cross domain #27

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Constructor L1 cross domain #27

merged 1 commit into from
Sep 6, 2024

Conversation

hexonaut
Copy link
Contributor

@hexonaut hexonaut commented Aug 28, 2024

I realized that it doesn't make sense to have hard coded L1 address in the forwarder because it means new code for every domain which doesn't scale that well. Prefer to put in constructor and will probably even group the integration tests in a subsequent PR to reduce code duplication.

Copy link

Coverage after merging ctor-xdomain into master will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   DSRAuthOracle.sol100%100%100%100%
   DSRMainnetOracle.sol100%100%100%100%
   DSROracleBase.sol94.05%54.55%100%100%132, 134, 136, 138, 140
src/adapters
   DSRBalancerRateProviderAdapter.sol100%100%100%100%
src/forwarders
   DSROracleForwarderArbitrum.sol100%100%100%100%
   DSROracleForwarderBase.sol100%100%100%100%
   DSROracleForwarderGnosis.sol100%100%100%100%
   DSROracleForwarderOptimism.sol100%100%100%100%

@hexonaut hexonaut merged commit 39d5454 into master Sep 6, 2024
3 checks passed
@hexonaut hexonaut deleted the ctor-xdomain branch September 6, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants