Skip to content

Commit 1a1f157

Browse files
committed
docs: migration note for MAX_PROTOCOL_CONTRACTS reduction and address renumbering
1 parent ac2bfec commit 1a1f157

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ 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
13+
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.
15+
1216
### [Aztec.nr] `multi_call_entrypoint` demoted from protocol contract
1317

1418
`multi_call_entrypoint` is no longer a protocol contract. Its address is now derived from its artifact rather than hardcoded at `6`.

0 commit comments

Comments
 (0)