forked from smartcontractkit/ccip
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add compatibility for CCIP 1.5 Migration (#18)
* feat: enable remote rateLimitAdmin * chore: prettier * fix: remove unnecessary modifer * chore: reorder state variables * feat: upgrade remote pool * test: add tests after upgrading * feat: reserve storage space for future upgrades * diff: Update diff for UpgradeableBurnMintTokenPool * ci: Fix ci * ci: Fix ci * test: show init reverting after upgrade * fix: remove gap * fix: return to original test suite * test: simple tests showing upgrade * fix: add and correct comments * fix: comments to match parent contract * chore: prettier * fix: allow calls 1.2 on ramp during 1.5 migration by introducing legacyOnRamp * chore: update certora & compiler used to match forge * test: add fork base * wip: fork upgrade test * fix: onlyOnRamp condition * test: add testnet legacy pools * test: successful send with upgrade * test: add releaseOrMint tests * fix: legacyOnRamp -> proxyPool * feat: set proxy pool only once for dest chain * feat(tokenPools): disableInitializer on constructor, upd docs * fix: revert UpgradeableBurnMintTokenPoolOld from #16 (was accidentally merged) * chore: update diffs * chore: use negative conditional code style * docs: move base contract modification doc * Update contracts/src/v0.8/ccip/test/pools/GHO/fork/GhoTokenPoolMigrate1_4To1_5/ForkBase.t.sol Co-authored-by: miguelmtz <[email protected]> * chore: update diffs * doc: for SendViaLegacyPool test * chore: reorder imports for consistency with code style * fix: rm immutability of pool proxy * test: rename for consistency * fix: use chain agnostic proxypool * fix: import on token pools to match chainlink style convention, upd diff * fix: test renaming to match style convention * chore: fix import order * chore: rm internal inline, typo * test: for 1_2OnRamp, refactor _messageToEvent * chore: rm unsued * doc: rm incorrect comment on proxy pool * test: fork test pre migration setup * test: expect events fork before migration * chore: revert name change in test * chore: upd comment * fix: rm disableInitializer as its handled by Initializable * chore: fix diff using diff algorithm patience * fix: add proxyPool whitelist to onlyOffRamp modifier * test: improve off ramp tests * chore: cleanup imports * test: dynamically fetch dest gas amt * fix: docs --------- Co-authored-by: CheyenneAtapour <[email protected]> Co-authored-by: miguelmtzinf <[email protected]> Co-authored-by: miguelmtz <[email protected]>
- Loading branch information
1 parent
d27d468
commit 46a4bdc
Showing
18 changed files
with
1,372 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.