Skip to content

feat(tempo): serialize multisig key authorizations - #424

Merged
jxom merged 1 commit into
0.xfrom
jxom/multisig-key-authorization-v0
Aug 27, 2026
Merged

feat(tempo): serialize multisig key authorizations#424
jxom merged 1 commit into
0.xfrom
jxom/multisig-key-authorization-v0

Conversation

@jxom

@jxomjxom commented Aug 27, 2026

Copy link
Copy Markdown
Member

Adds MultisigOperation.serializeKeyAuthorization to attach a selected multisig quorum to canonical unsigned key authorizations. This gives offchain coordinators an Ox-owned finalization path.

@vercel

vercelBot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
oxErrorErrorAug 27, 2026 6:49am

Request Review

@pkg-pr-new

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/ox@424

commit: 8f3c1a5

@jxom
jxom merged commit c26d366 into 0.xAug 27, 2026
12 of 13 checks passed
@jxom
jxom deleted the jxom/multisig-key-authorization-v0 branch August 27, 2026 06:50

@chatgpt-codex-connectorchatgpt-codex-connectorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit:8f3c1a5bb0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

keyAuthorization: Hex.Hex,
options: serializeKeyAuthorization.Options,
): Hex.Hex {
const authorization = KeyAuthorization_.deserialize(keyAuthorization)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reject key authorizations bound to a different account

When the unsigned authorization omits account or binds it to an address other than options.account, this function still produces a multisig-signed authorization. That output cannot represent a valid multisig key-authorization operation: assertKeyAuthorization later rejects it with key authorization account does not match the operation account. Validate the authorization's account binding here so a normal getHashselectApprovals → serialization flow cannot return an artifact that this module itself considers invalid.

Useful? React with 👍 / 👎.

@github-actionsgithub-actionsBot mentioned this pull request Aug 27, 2026
Sign up for freeto 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.

1 participant

@jxom