Skip to content

chore: make next compatible with protocol v0.15.2 network-account changes#2205

Merged
Mirko-von-Leipzig merged 5 commits into
nextfrom
partylikeits1983-claude/ntx-tx-script-allowlist-compat
Jun 5, 2026
Merged

chore: make next compatible with protocol v0.15.2 network-account changes#2205
Mirko-von-Leipzig merged 5 commits into
nextfrom
partylikeits1983-claude/ntx-tx-script-allowlist-compat

Conversation

@partylikeits1983
Copy link
Copy Markdown
Contributor

Draft / blocked on the protocol v0.15.2 release. Prepared ahead of time so next can flip green the moment v0.15.2 is published (see protocol#3028 follow-up request).

What this does

  • Bump the miden-* deps to 0.15.2.
  • Rename AuthNetworkAccount::with_allowlist -> with_allowed_notes at all call sites, tracking the protocol rename in protocol#3049.

What this deliberately does NOT do

The ntx-builder's expiration tx script stays disabled. The mechanism to run allowlisted tx scripts on network accounts has landed (protocol#3028, resolving #3027), but re-enabling here is gated on a canonical, frozen expiration script in miden-standards (protocol#3050).

Re-enabling now would attach the script to every network tx, and every serviced network account - including the protocol-created AggLayer bridge and faucets, which allowlist notes but no tx scripts - would have its transactions rejected by the new tx-script allowlist. The canonical script gives all account creators one shared root to pin. Comments in execute.rs and a TODO at the counter-account deploy site capture the re-enable follow-up.

Verification

Built and tested locally against protocol main + #3049 via a temporary [patch.crates-io] (not committed):

  • cargo build -p miden-ntx-builder -p miden-network-monitor
  • cargo test -p miden-ntx-builder -p miden-network-monitor (all passed, incl. expiration_script_compiles_and_encodes_delta)

CI will stay red until miden-* 0.15.2 is on crates.io.

🤖 Generated with Claude Code

claude and others added 5 commits June 5, 2026 00:30
…nges

Adapts the node to the network-account tx-script allowlist landed in
0xMiden/protocol#3028 (shipping in v0.15.2):

- Bump miden-* deps to 0.15.2.
- Rename AuthNetworkAccount::with_allowlist -> with_allowed_notes call
  sites (protocol#3049).

The ntx-builder expiration tx script stays disabled: re-enabling it is
gated on a canonical, frozen expiration script (protocol#3050) whose root
every serviced network account (including the AggLayer bridge/faucets)
can allowlist. Comments updated to reflect this; counter-account deploy
carries a TODO for the allowlisting it will need on re-enable.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Mirko-von-Leipzig Mirko-von-Leipzig marked this pull request as ready for review June 5, 2026 09:59
@Mirko-von-Leipzig Mirko-von-Leipzig merged commit d353163 into next Jun 5, 2026
23 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the partylikeits1983-claude/ntx-tx-script-allowlist-compat branch June 5, 2026 10:06
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.

3 participants