chainwayxyz / citrea

Citrea, Bitcoin's First ZK Rollup 🍊🍋
https://citrea.xyz
GNU General Public License v3.0
114 stars 22 forks source link

Make Bridge upgradeable #809

Closed okkothejawa closed 3 months ago

okkothejawa commented 3 months ago

Description

Introduces UUPS proxy type upgradeability to Bridge.

Linked Issues

Testing

Added tests that checks the following scenarios: to upgrade the contract, to change the owner that can upgrade and then attempting to upgrade.

Docs

-

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.2%. Comparing base (8b0d3fb) to head (e89d616). Report is 1 commits behind head on nightly.

Additional details and impacted files | [Files](https://app.codecov.io/gh/chainwayxyz/citrea/pull/809?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz) | Coverage Δ | | |---|---|---| | [crates/evm/src/evm/system\_contracts/mod.rs](https://app.codecov.io/gh/chainwayxyz/citrea/pull/809?src=pr&el=tree&filepath=crates%2Fevm%2Fsrc%2Fevm%2Fsystem_contracts%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz#diff-Y3JhdGVzL2V2bS9zcmMvZXZtL3N5c3RlbV9jb250cmFjdHMvbW9kLnJz) | `86.6% <100.0%> (-0.5%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/chainwayxyz/citrea/pull/809/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chainwayxyz)