Skip to content

Commit 7dae34b

Browse files
committed
fix(docs): correct shift-protocol-addresses migration note (MAX_PROTOCOL_CONTRACTS unchanged)
1 parent 1a1f157 commit 7dae34b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/docs-developers/docs/resources/migration_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Aztec is in active development. Each version may introduce breaking changes that
99

1010
## TBD
1111

12-
### [Protocol] `MAX_PROTOCOL_CONTRACTS` reduced to 3; remaining protocol-contract addresses renumbered to 1-3
12+
### [Protocol] Remaining protocol-contract addresses compacted to 1-3
1313

14-
After the `auth_registry`, `public_checks`, and `multi_call_entrypoint` demotions, only `ContractInstanceRegistry`, `ContractClassRegistry`, and `FeeJuice` remain as protocol contracts. Their addresses now occupy values `1`, `2`, and `3`, and `MAX_PROTOCOL_CONTRACTS` is `3`. Code that hardcoded previous protocol-contract addresses (e.g. `AuthRegistry` at `1`, `PublicChecks` at `4`, `MultiCallEntrypoint` at `6`) or iterated to the old `MAX_PROTOCOL_CONTRACTS` value must be updated.
14+
After the `auth_registry`, `public_checks`, and `multi_call_entrypoint` demotions freed up address slots `1`, `4`, and `6`, the three remaining protocol contracts have been compacted into the lowest slots: `ContractClassRegistry` moves from `3` to `1`, `ContractInstanceRegistry` stays at `2`, and `FeeJuice` moves from `5` to `3`. Code that hardcoded the previous values must be updated. `MAX_PROTOCOL_CONTRACTS` is unchanged (still `11`); only the assigned addresses moved.
1515

1616
### [Aztec.nr] `multi_call_entrypoint` demoted from protocol contract
1717

0 commit comments

Comments
 (0)