Skip to content

feat!: add message signing and fallback keys#23510

Merged
IlyasRidhuan merged 7 commits into
merge-train/avmfrom
ir/05-22-feat_add_message_signing_and_fallback_keys
May 28, 2026
Merged

feat!: add message signing and fallback keys#23510
IlyasRidhuan merged 7 commits into
merge-train/avmfrom
ir/05-22-feat_add_message_signing_and_fallback_keys

Conversation

@IlyasRidhuan

@IlyasRidhuan IlyasRidhuan commented May 22, 2026

Copy link
Copy Markdown
Contributor

Adds a new message signing key and fallback key to the protocol public keys. They're grumpkin curve points but following the recent AZIP-8 related changes they are stored in hash form in the relevant data structures.

Note that this PR adds it to the protocol but does NOT expose a derivation path nor does it expose a way to set these keys as part of the stdlib in yarn-project. So fixed default values are used in their place.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@IlyasRidhuan IlyasRidhuan force-pushed the ir/05-22-feat_add_message_signing_and_fallback_keys branch 2 times, most recently from 7a0ba6b to ce2e7f9 Compare May 26, 2026 09:24

@MirandaWood MirandaWood left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM so far! May need more fixtures to be updated but pil, docs, nr, and y-p all look great 🎉

Comment thread barretenberg/cpp/pil/vm2/bytecode/address_derivation.pil
Comment thread docs/docs-developers/docs/resources/migration_notes.md Outdated
Comment thread docs/docs-developers/docs/resources/migration_notes.md
Comment thread yarn-project/stdlib/src/keys/derivation.ts
@IlyasRidhuan IlyasRidhuan force-pushed the ir/05-22-feat_add_message_signing_and_fallback_keys branch from ce2e7f9 to 92ffcd8 Compare May 27, 2026 08:54
@IlyasRidhuan IlyasRidhuan marked this pull request as ready for review May 27, 2026 12:18
@IlyasRidhuan IlyasRidhuan added the ci-full Run all master checks. label May 27, 2026
@IlyasRidhuan IlyasRidhuan requested review from mverzilli and nchamo May 27, 2026 12:20

@jeanmon jeanmon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The AVM specific changes look good to me.

Comment thread docs/docs-developers/docs/resources/migration_notes.md Outdated
@IlyasRidhuan IlyasRidhuan force-pushed the ir/05-22-feat_add_message_signing_and_fallback_keys branch from a427e00 to 9a402f1 Compare May 28, 2026 07:40
@IlyasRidhuan IlyasRidhuan force-pushed the ir/05-22-feat_add_message_signing_and_fallback_keys branch from dd2b1fe to 23c9dfa Compare May 28, 2026 12:15
@IlyasRidhuan IlyasRidhuan merged commit 17cf1e9 into merge-train/avm May 28, 2026
14 checks passed
@IlyasRidhuan IlyasRidhuan deleted the ir/05-22-feat_add_message_signing_and_fallback_keys branch May 28, 2026 13:07
dbanks12 added a commit that referenced this pull request May 29, 2026
…sses

Recent merges into the train (key/authwit changes via #23510) shifted the
compiled bytecode of both standard contracts, so their derived addresses
changed and the committed values were stale, failing the standard-contracts
drift guard during build. Regenerated via two-pass build (converged):
  AuthRegistry  0x1c3bd1fb... -> 0x27ced680...
  PublicChecks  0x23a16bc3... -> 0x05d900a6...
nchamo added a commit that referenced this pull request May 29, 2026
The merge brought in message-signing and fallback keys (#23510), which
extended the contract instance (CONTRACT_INSTANCE_LENGTH 10 -> 12). The
previously committed addresses were derived against a stale local TS
build using the old instance layout. Regenerate against the rebuilt
toolchain so the compile_all drift check passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run all master checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants