Skip to content

feat(tempo)!: rename multisig accounts to configurable accounts (0.x) - #509

Merged
jxom merged 2 commits into
0.xfrom
jxom/elegant-franklin-k65hrf-v0
Oct 11, 2026
Merged

jxom merged 2 commits into
0.xfrom
jxom/elegant-franklin-k65hrf-v0

Conversation

@jxom

@jxom jxom commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Ports #508 to the 0.x line.

TIP-1107 calls accounts with weighted owners and a rotatable configuration (including single-owner accounts) configurable accounts. Every configurable transaction carries its config, so the relay layer that stores configs and collects owner approvals serves every configurable account, not just multi-owner ones. This renames the account and relay APIs to match.

Renames

Before After
MultisigConfig AccountConfig
MultisigSimulation AccountSimulation
MultisigOperation AccountOperation
RpcSchemaTempo.Multisig RpcSchemaTempo.Account
multisig_approveKeyAuthorization, multisig_approveRawTransaction(Sync), multisig_getConfig, multisig_getOperation account_approveKeyAuthorization, account_approveRawTransaction(Sync), account_getConfig, account_getOperation
SignatureEnvelope.Multisig / MultisigRpc / from.MultisigFromConfig SignatureEnvelope.Configurable / ConfigurableRpc / from.ConfigurableFromConfig
signature type: 'multisig' type: 'configurable'
SignatureEnvelope.sortMultisigApprovals SignatureEnvelope.sortApprovals
SignatureEnvelope.InvalidMultisigApprovalError SignatureEnvelope.InvalidApprovalError
KeyAuthorization / TransactionRequest key type 'multisig' 'configurable'
TransactionRequest.multisigSimulation TransactionRequest.accountSimulation

Not renamed

  • Node wire names. RPC keyType: 'multisig' and multisigSimulation are what the Tempo node expects, so KeyAuthorization maps 'configurable' ↔ 'multisig' in toRpc/fromRpc. TransactionRequest.fromRpc maps keyType and multisigSimulation → accountSimulation, and toRpc writes accountSimulation as multisigSimulation. On 0.x, TransactionRequest.toRpc still does not emit keyType, as before.
  • Hash domains. tempo:multisig:* stay byte-for-byte, so derived addresses, commitments and digests are unchanged.

Relays must move to the account_* methods together with their clients.

Fixes and additions

  • AccountConfig.maxThreshold: 8 → 255. TIP-1114 changed from "1–8" to "1–255, reachable by at most eight signatures" (tempoxyz/tempo commit 631d545).
  • New AccountConfig.update(config, { owners, threshold }). Returns the config left by updateConfig: same salt, next version, owners in canonical order.

Differences from #508

0.x has no zod mirror, guide pages, or AGENTS.md, so those parts aren't included. The CI job id and name (test-tempo-multisig) are unchanged in case a required check depends on them; only its --project argument moved to tempo-configurable-accounts.

The changeset is marked patch with a migration diff, following #449. src/CHANGELOG.md is unchanged.

Testing

  • pnpm check:types and pnpm check:tsdoc pass. biome check . is clean.
  • pnpm test --project tempo-unit: 668 passed. That includes tests for update, thresholds above eight, and the 'configurable' ↔ 'multisig' mapping.
  • pnpm test --project tempo-configurable-accounts: 7 passed against the pinned sha-83f3ccd node.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Gwe6M7Dav9T9HU7nMDCPUm

Ports the TIP-1107 rename to the 0.x line.

- MultisigConfig -> AccountConfig, MultisigSimulation -> AccountSimulation,
  with matching error names.
- SignatureEnvelope.Multisig -> Configurable (type 'configurable'),
  MultisigRpc -> ConfigurableRpc, sortMultisigApprovals -> sortApprovals,
  InvalidMultisigApprovalError -> InvalidApprovalError.
- KeyAuthorization and TransactionRequest key type 'multisig' ->
  'configurable', and TransactionRequest.multisigSimulation ->
  accountSimulation. The node's wire names are unchanged: RPC keyType
  'multisig' and multisigSimulation are mapped at the RPC boundary.
- Kept MultisigOperation and RpcSchemaTempo.Multisig, which mirror the
  multisig_* relay methods, and the tempo:multisig:* hash domains.
- Raised AccountConfig.maxThreshold from 8 to 255 to match TIP-1114.
- Added AccountConfig.update to derive the config left by updateConfig.
- Renamed the test helpers and vitest project.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Gwe6M7Dav9T9HU7nMDCPUm
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
ox Error Error Oct 9, 2026 4:17am UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T04:20:21.180420Z e748278 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: e748278

…0.x)

Every configurable transaction carries its config, so the relay layer
serves every configurable account, single-owner accounts included.

- MultisigOperation -> AccountOperation, with matching error names and
  messages.
- RpcSchemaTempo.Multisig -> RpcSchemaTempo.Account, and the multisig_*
  methods -> account_approveKeyAuthorization,
  account_approveRawTransaction(Sync), account_getConfig and
  account_getOperation.
- Restored src/CHANGELOG.md, whose released entries the previous commit
  had rewritten.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Gwe6M7Dav9T9HU7nMDCPUm
@jxom
jxom merged commit 3549b12 into 0.x Oct 11, 2026
13 of 14 checks passed
@jxom
jxom deleted the jxom/elegant-franklin-k65hrf-v0 branch October 11, 2026 20:38
@github-actions github-actions Bot mentioned this pull request Oct 11, 2026
jxom pushed a commit that referenced this pull request Oct 25, 2026
Ports the `Variable` case of `getLinkForApiItem` from `main` (#414). Without
it, the `{@link ox#AccountConfig.maxSignatures}` reference added in #509
fails `docs:gen` and every `0.x` docs deployment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b
jxom added a commit that referenced this pull request Oct 25, 2026
…`, `Hex`, and `RpcTransport` (#527)

* fix: keep empty `version` in `TypedData.extractEip712DomainTypes`

Ports wevm/viem#5240.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* feat: add `even` option to `Hex.assert` and `Hex.validate`

Ports wevm/viem#5283.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* fix: array overload resolution in `AbiItem.fromAbi`

Ports wevm/viem#5281.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* fix: `AbiEvent.assertArgs` `string` and `bytes` matching

Ports wevm/viem#5238 and wevm/viem#5280.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* fix: apply `RpcTransport.fromHttp` timeout to the response body and with a caller signal

Ports wevm/viem#5200.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* fix: keep first parameter after `( ` in normalizeSignature (#516)

(cherry picked from commit 36dce4a)

* test: format `Hex` and `RpcTransport` tests

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* fix: read tuple object args by name and match empty arrays in `AbiItem.fromAbi` overloads

Syncs with the merged wevm/viem#5281: tuple object args are read by component
name, and an empty array is ambiguous for `address[]` vs `string[]`/`bytes[]`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* fix: use a line comment for `getComponentValue` to satisfy `check:tsdoc`

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* fix(docgen): link to variables in API docs

Ports the `Variable` case of `getLinkForApiItem` from `main` (#414). Without
it, the `{@link ox#AccountConfig.maxSignatures}` reference added in #509
fails `docs:gen` and every `0.x` docs deployment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* fix: keep the caller signal when `AbortSignal.any` is missing in `RpcTransport.fromHttp`

`AbortSignal.any` is missing on Node < 18.17 and older browsers, which the
0.x line supports. There, the transport now uses the caller signal alone,
as it did before, instead of throwing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

* test: restore `AbortSignal.any` by property descriptor

Matches the main-branch test in #526.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0133zgX2g8oLCoH4KuY8tM9b

---------

Co-authored-by: Claude <[email protected]>

This branch had an error being deployed

1 failed deployment
Preview — e7482785 Deployed Oct 9, 2026 by vercel[bot]
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