Repository navigation
feat(tempo)!: rename multisig accounts to configurable accounts (0.x) - #509
Merged
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
…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
Merged
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
MultisigConfigAccountConfigMultisigSimulationAccountSimulationMultisigOperationAccountOperationRpcSchemaTempo.MultisigRpcSchemaTempo.Accountmultisig_approveKeyAuthorization,multisig_approveRawTransaction(Sync),multisig_getConfig,multisig_getOperationaccount_approveKeyAuthorization,account_approveRawTransaction(Sync),account_getConfig,account_getOperationSignatureEnvelope.Multisig/MultisigRpc/from.MultisigFromConfigSignatureEnvelope.Configurable/ConfigurableRpc/from.ConfigurableFromConfigtype: 'multisig'type: 'configurable'SignatureEnvelope.sortMultisigApprovalsSignatureEnvelope.sortApprovalsSignatureEnvelope.InvalidMultisigApprovalErrorSignatureEnvelope.InvalidApprovalErrorKeyAuthorization/TransactionRequestkey type'multisig''configurable'TransactionRequest.multisigSimulationTransactionRequest.accountSimulationNot renamed
keyType: 'multisig'andmultisigSimulationare what the Tempo node expects, soKeyAuthorizationmaps'configurable'↔'multisig'intoRpc/fromRpc.TransactionRequest.fromRpcmapskeyTypeandmultisigSimulation→accountSimulation, andtoRpcwritesaccountSimulationasmultisigSimulation. On 0.x,TransactionRequest.toRpcstill does not emitkeyType, as before.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).AccountConfig.update(config, { owners, threshold }). Returns the config left byupdateConfig: 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--projectargument moved totempo-configurable-accounts.The changeset is marked patch with a migration diff, following #449.
src/CHANGELOG.mdis unchanged.Testing
pnpm check:typesandpnpm check:tsdocpass.biome check .is clean.pnpm test --project tempo-unit: 668 passed. That includes tests forupdate, thresholds above eight, and the'configurable'↔'multisig'mapping.pnpm test --project tempo-configurable-accounts: 7 passed against the pinnedsha-83f3ccdnode.🤖 Generated with Claude Code
https://claude.ai/code/session_01Gwe6M7Dav9T9HU7nMDCPUm