Skip to content

feat!: shift remaining protocol-contract addresses to 1-3#23218

Merged
dbanks12 merged 9 commits into
merge-train/fairiesfrom
dbanks12/shift-protocol-addresses
May 29, 2026
Merged

feat!: shift remaining protocol-contract addresses to 1-3#23218
dbanks12 merged 9 commits into
merge-train/fairiesfrom
dbanks12/shift-protocol-addresses

Conversation

@dbanks12

Copy link
Copy Markdown
Contributor

Shifts remaining protocol-contract addresses to consecutive values 1-3 and reduces MAX_PROTOCOL_CONTRACTS to 3.

Stacked on #23197.

@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from a7a90ef to f693923 Compare May 12, 2026 19:24
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch from 99b6f27 to b48b0db Compare May 12, 2026 19:24
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from f693923 to eff36bd Compare May 12, 2026 19:28
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch 2 times, most recently from 0c3de56 to 316c677 Compare May 12, 2026 19:31
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from eff36bd to d7df886 Compare May 12, 2026 19:31
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch from 316c677 to 5e87cb1 Compare May 12, 2026 19:59
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from d7df886 to 53526b7 Compare May 12, 2026 19:59
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch from 5e87cb1 to 6c2f64d Compare May 12, 2026 20:26
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from 53526b7 to 3a32119 Compare May 12, 2026 20:26
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch from aca64f3 to 9d5c878 Compare May 13, 2026 17:27
@dbanks12 dbanks12 changed the title feat: shift remaining protocol-contract addresses to 1-3 feat!: shift remaining protocol-contract addresses to 1-3 May 13, 2026
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch 2 times, most recently from e07ba01 to d2f6d24 Compare May 13, 2026 21:06
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch from d2f6d24 to c662d17 Compare May 14, 2026 13:42
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from 9702def to 196e504 Compare May 14, 2026 13:42
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from 3c71112 to 3b2c612 Compare May 26, 2026 19:37
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch 2 times, most recently from ec369c8 to 86793e4 Compare May 26, 2026 19:52
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from 5128c22 to 73d5b51 Compare May 26, 2026 20:11
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch 2 times, most recently from 6c73e70 to f4072aa Compare May 26, 2026 20:15
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from 73d5b51 to 2a6a1e2 Compare May 26, 2026 20:15
@dbanks12 dbanks12 force-pushed the dbanks12/shift-protocol-addresses branch from f4072aa to 2b125a3 Compare May 26, 2026 20:36
@dbanks12 dbanks12 force-pushed the dbanks12/demote-multicall-entrypoint branch from 2a6a1e2 to 08cf9b1 Compare May 26, 2026 20:36
@dbanks12 dbanks12 marked this pull request as ready for review May 26, 2026 20:42
@IlyasRidhuan

Copy link
Copy Markdown
Contributor

Guess it might just need a regen

dbanks12 added 9 commits May 29, 2026 17:38
The protocol-contract address renumbering (FEE_JUICE 5->3, class registry 3->1)
changes the public-data-tree slots the AVM reads. The committed minimal_tx AVM
test fixture was generated against the old addresses, so the C++ vm2 recursive
verifier test (BoomerangTwoLayerAvmRecursiveVerifierTests) failed with a hinted
merkle-DB miss. Regenerated via the C++ simulator with the shifted constants;
verified the test passes against the new fixture.
…protocol addresses

The protocol-contract address renumbering (FEE_JUICE 5->3, class registry 3->1)
changes the fee-payer balance public-data slot (and other protocol-address-derived
inputs), so the committed circuit Prover.toml fixtures went stale -- nargo execute
on rollup-tx-base-private failed with 'Wrong leaf slot for fee payer balance'.
Regenerated via AZTEC_GENERATE_TEST_DATA=1 FAKE_PROOFS=1 e2e full prover test;
verified nargo execute on rollup-tx-base-private now solves the witness.
…egistry addresses

The protocol-contract address shift (ContractClassRegistry 3->1) left the committed
ContractClass/InstancePublishedEventData.hex fixtures embedding the old registry
address, so isContractClassPublishedEvent rejected them and the archiver
data_store_updater contract-data tests failed (class never stored). Regenerated both
fixtures via the e2e contract_class_registration test and updated the dependent
event-parsing snapshots. Verified archiver data_store_updater (10/10) and the
protocol-contracts event-parsing tests pass.
The shared sponsored-FPC flow hardcoded the FeeJuice address as 0x...0005, which
broke after the protocol-contract address shift moved FeeJuice to 0x...0003 (the
cli-wallet flow failed with 'No contract instance found for address 0x...0005').
Use the registered `contracts:FeeJuice` alias instead of a hardcoded address so the
flow tracks protocol-contract renumbering.
…ures for shift

Completes the Prover.toml regeneration: the 6 circuits not exercised by the e2e
full prover test (rollup-block-merge, rollup-block-root, rollup-block-root-single-tx,
rollup-block-root-first-empty-tx, rollup-checkpoint-root, rollup-tx-merge) still
carried the pre-shift vk_tree_root/protocol_contracts_hash. Regenerated via
AZTEC_GENERATE_TEST_DATA=1 orchestrator_single_checkpoint; verified all 6 solve
their witness with nargo execute.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants