Commit 0789f6f
authored
RMNRemote: curse admin management + legacy rmn removal [CCIP-10871] (#1991)
* Add failing tests
* feat: implement curse admin management and access control
* refactor: fix formatting of applyCurseAdminUpdates and isCurseAdmin functions
* refactor: remove legacy IRMN interface (isBlessed functionality) from RMNRemote contract
* fix: regenerating operations
* refactor: update comment
* refactor: update RMNRemote to use AuthorizedCallers and adjust constructor parameters
* refactor: simplify RMNRemote to remove blessing related and OCR related code
* refactor: replace IRMNRemote with IRMN in contracts and tests
* refactor: remove onlyOwnerOrCurseAdmin modifier and inline validation in curse function
* refactor: rename RMNRemote to RMN
* fix: go bindings after rename
* fix: go bindings after rename - missing generated
* fix: make sure only one contract per test. remove unused tests. rename rmnremot to rmn.
* refactor: update gas snapshot for RMNRemote tests after renaming and restructuring
* refactor: rename RMNRemote test files and update imports to RMNSetup
* review comments
* gas snapshot
* refactor: improve curse function to skip already-cursed subjects and optimize event emission
* feat: add RMN deployment changeset (#2008)
* feat: add RMN deployment changeset
* feat: add test
* chore: clean up
* feat: create new v2_1_0 directory and move rmn related code under it
* fix: old import
* feat: add rmn admin management changeset
* feat: add cursing/uncursing sequences and changesets
* feat: add curse adapter for v2_1_0
* chore: remove unused changeset
* feat: add chain-agnostic AuthorizedCallers adapter with EVM implementation (#2038)
* feat: add chain-agnostic AuthorizedCallers adapter with EVM implementation
Introduce a registry-backed AuthorizedCallers system mirroring the
existing fastcurse pattern:
- deployment/authorizedcallers: chain-agnostic interface, registry
singleton, and ConfigureAuthorizedCallersChangeset
- chains/evm/deployment/v2_1_0/adapters: EVMAuthorizedCallersAdapter
backed by injected per-contract generated ops so MCMS metadata
(ContractType, ABI) is accurate per target contract
- init.go registers (EVM, RMN, v2.1.0); additional contracts follow
the same NewEVMAuthorizedCallersAdapter pattern
* fix: tests
* chore: remove non-used changeset in favor of the authorized callers adaptor
* fix: bump to latest cl-ccip/deployment
* fix: bump to latest cl-ccip/deployment1 parent f76eec3 commit 0789f6f
48 files changed
Lines changed: 5148 additions & 2091 deletions
File tree
- chains/evm
- contracts
- ccvs/components
- interfaces
- offRamp
- onRamp
- rmn
- test
- offRamp/OffRamp
- onRamp/OnRamp
- rmn
- RMNProxy
- RMNRemote
- deployment
- v2_1_0
- adapters
- changesets
- operations/rmn
- sequences
- gobindings
- generated
- latest
- offramp
- onramp
- rmn_remote
- rmn
- v2_1_0/rmn
- generation
- scripts
- deployment/authorizedcallers
- devenv
- integration-tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
16 | 9 | | |
17 | 10 | | |
| 11 | + | |
18 | 12 | | |
19 | 13 | | |
20 | 14 | | |
21 | 15 | | |
| 16 | + | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
0 commit comments