Skip to content

feat(precompiles): add the configurable account precompile, unregistered - #8486

Merged
joshieDo merged 38 commits into
mainfrom
joshie/native-multisig-precompile
Oct 21, 2026
Merged

joshieDo merged 38 commits into
mainfrom
joshie/native-multisig-precompile

Conversation

@joshieDo

@joshieDo joshieDo commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Stacked on #8502 (the configurable account rename); merge after it.

Adds the configurable account precompile (IConfigurableAccount): account derivation, config updates and upgradeAccount, which installs a version-one config commitment through #8482's precompile storage. It is not registered at an address yet, so nothing on main can call it; the stack registers it at T14.

joshieDo and others added 10 commits October 20, 2026 10:52
…e block env

Adds `multisigRecoveryFactory` to the genesis info and `TempoBlockEnv`, set by both `TempoEvmConfig` env builders, and `is_valid_native_account`. Nothing calls them yet.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…isting items

Moves `TempoGenesisInfo::multisig_recovery_factory` to the bottom of its impl,
drops the doc's mention of pool and RPC callers that main does not have, and
puts the changelog entry in the past tense used by the other entries.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…overy factory

Ports the reserved-address table from the stack's genesis rejection test onto
`is_valid_native_account` directly, since main has no `try_from_genesis` to
reach it, and ports the public-network `None` checks for the recovery factory.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…compile storage

Adds config-commitment reads and writes to precompile storage, with the TIP-1108 write charges and an InvalidConfigCommitmentWrite error. Nothing calls them yet; only the in-memory provider stores commitments.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…he storage module patterns

The write check had one caller, the in-memory provider, so it moves into
it. The static-context override joins the test-utils fixture setters,
imports join the existing storage imports, and the error message is
capitalized like its neighbours. The EVM read test now also pins that a
read touches the account it was asked about.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…hie/multisig-recovery-factory-env' into joshie/native-multisig-precompile

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Adds `NativeMultisig` (deriveAccount, getConfigCommitment, updateConfig, upgradeAccount) with its transaction-authority seed. Nothing registers, dispatches to or seeds it yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ative multisig precompile

The dispatch module is public and documented like every other precompile,
the recovery factory override joins the test-utils fixture setters, and
the tests read events through the existing accessor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

✅ Changelog found on PR.

Edit changelog

@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

📊 Tempo Precompiles Coverage

📦 Download full HTML report

joshieDo and others added 3 commits October 20, 2026 15:02
…e/native-multisig-precompile

Conflicts in crates/chainspec/src/spec.rs and crates/primitives/src/block.rs
resolved by taking the merged main side (the TODO lines from #8477).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@joshieDo
joshieDo changed the base branch from main to joshie/precompile-config-commitment-storage October 20, 2026 15:17
@joshieDo

Copy link
Copy Markdown
Member Author

cyclops audit fast note="7510 is the PR for the TIPs. This Pr only adds the native multisig precompile, not registered at an address yet"

@joshieDo
joshieDo marked this pull request as ready for review October 20, 2026 15:19
@tempoxyz-bot

tempoxyz-bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

✅ Cyclops Security Review: safe to merge

Last reviewed: e1e60d0 (latest) · no open findings

@claude claude Bot 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.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

@@ -0,0 +1,35 @@
//! ABI dispatch for the [`NativeMultisig`] precompile.

use super::NativeMultisig;

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.

i think product wants to name ConfigurableAccount, personally i prefer TempoAccount or NativeAccount haha

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 1e26873

Base automatically changed from joshie/precompile-config-commitment-storage to main October 20, 2026 16:02

@claude claude Bot 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.

Code review found no issues

No high-confidence issues detected in this change.

Still open from earlier reviews (1):

  • Unresolved: 1 minor or pre-existing.

Comment on lines +24 to +29
#[contract(addr = NATIVE_MULTISIG_ADDRESS)]
pub struct NativeMultisig {
tx_origin: Address,
directly_authorized_account: Address,
upgrade_eligibility: UpgradeEligibility,
}

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.

can we document that all storage is transient in case that we ever add persistent storage?

right now the contract macro has a limitation that forces transient storage to always be at the end

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in c5dc9b7

Comment on lines +117 to +122
fn upgrade_account(
&mut self,
sender: Address,
threshold: u8,
owners: Vec<INativeMultisig::MultisigOwner>,
) -> Result<B256> {

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.

idk if u plan on adding tx_origin == sender in the handler, but i since u added the check in fn update_config(), i think it's missing here too

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 8e98dde

{
return Err(NativeMultisigError::unauthorized_multisig_caller().into());
}
self.factory()?;

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.

is this check needed? (also in fn upgrade_account())
the result is discarded and clanker says neither TIP-1109 nor TIP-1113 mention it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 15bf52b

current.threshold,
&current.owners,
);
current.validate_for_account(sender)?;

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.

TIP-1109 says a stale current gets InvalidConfig, and applies the detailed error table to the new configuration.

since only validated configs are stored, we can skip the check and directly hash current and map any preimage error to InvalidConfig.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 90ed3fa

Comment on lines +131 to +140
let has_code = self
.storage
.with_account_info(sender, |info| Ok(!info.is_empty_code_hash()))?;
let commitment = self.storage.config_commitment(sender)?;
if has_code {
return Err(NativeMultisigError::account_has_code().into());
}
if !commitment.is_zero() {
return Err(NativeMultisigError::account_already_configurable().into());
}

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.

this loads the account twice: once in with_account_info, then again inside config_commitment (an extra warm access). Ideally both values would come from a single account load.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Agreed. On main, AccountInfo has no commitment field yet, so the commitment needs a second read. The stack already reads both in one load:

let (has_code, commitment) = self.storage.with_account_info(sender, |info| {
let commitment = decode_config_commitment(&info.extension, true)
.map_err(|error| TempoPrecompileError::Fatal(error.to_string()))?;
Ok((!info.is_empty_code_hash(), commitment))
})?;

That version replaces this one when the stack lands. Until then the precompile isn't registered, so the extra read can't be hit.

current.validate_for_account(sender)?;
let stored = self.get_config_commitment(sender)?;
let hash = self.storage.keccak256(&current.commitment_preimage()?)?;
if stored.is_zero() || stored != hash {

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.

nit: stored.is_zero() seems redundant here as stored != hash already covers it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 93eef59

) -> Result<Address> {
let factory = self.factory()?;
let config = config(salt, 0, threshold, owners);
config.validate()?;

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.

nit: maybe worth explaining that we validate twice to avoid charging account proof gas for invalid configs

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 0c55c61

Comment on lines +124 to +130
let eligibility = self.upgrade_eligibility.t_read()?;
if eligibility == UpgradeEligibility::NotSoleCall {
return Err(NativeMultisigError::upgrade_must_be_only_call().into());
}
if eligibility == UpgradeEligibility::NotPrimitiveRoot {
return Err(NativeMultisigError::primitive_root_required().into());
}

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.

nit: use match

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in d3742a8

Comment on lines +198 to +216
fn config(
salt: B256,
version: u64,
threshold: u8,
owners: &[INativeMultisig::MultisigOwner],
) -> MultisigConfig {
MultisigConfig {
salt,
version,
threshold,
owners: owners
.iter()
.map(|owner| MultisigOwner {
owner: owner.owner,
weight: owner.weight,
})
.collect(),
}
}

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.

nit: this can be reused on tests/native_multisig.rs

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 0907b82

@claude claude Bot 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.

Code review found no issues

No high-confidence issues detected in this change.

@joshieDo
joshieDo changed the base branch from main to joshie/configurable-account-rename October 20, 2026 17:57

@claude claude Bot 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.

Code review found no issues

No high-confidence issues detected in this change.

@joshieDo joshieDo changed the title feat(precompiles): add the native multisig precompile, unregistered feat(precompiles): add the configurable account precompile, unregistered Oct 20, 2026

@claude claude Bot 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.

Code review found no issues

No high-confidence issues detected in this change.

joshieDo and others added 4 commits October 20, 2026 18:27
Native account only means an address outside the precompile, virtual and zero ranges; it does not say which account type lives there.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The direct authority is only seeded with the transaction's quorum account, which validation binds to the caller, so it already implies the origin. Saves one transient read.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

@claude claude Bot 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.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment on lines +85 to +88
// The wrapper rejects delegatecall. `directly_authorized_account` is seeded only with the
// account of the transaction's outer owner quorum, which validation binds to the
// transaction caller, so a match with `sender` already implies `sender` is the origin.
if sender.is_zero() || self.directly_authorized_account.t_read()? != sender {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 (optional) If the handler ever seeds a direct authority that is not the tx origin, contract code running as that account can rewrite its owners mid-transaction. updateConfig now checks only directly_authorized_account == sender (mod.rs:88). The guarantee that this account is the origin is a comment, and set_authority does not enforce it: it takes origin and directly_authorized as separate inputs. Fix: keep the tx_origin.t_read()? == sender check, which is one warm TLOAD. Or make set_authority reject a non-zero directly_authorized that differs from origin, so the invariant holds inside this precompile.

Why this was flagged

The trigger is a handler, still unwritten because nothing calls set_authority yet, that seeds directly_authorized_account with account A while tx_origin is some other address. For A to be sender without being the origin, A must be executing code, for example code reached through a call chain. That code then calls updateConfig. The check at mod.rs:88 passes, and A's config commitment is replaced with new owners and threshold. The previous commit also required tx_origin == sender. Together with "a validated configurable account origin cannot have code", that limited authority to protocol-created top-level batch calls. The removed test case (account, EOA, account) covered exactly this, and the new test at configurable_account.rs:327-329 now asserts that origin=EOA with directly_authorized=account succeeds. The only safeguard left is the comment at mod.rs:85-87. set_authority (mod.rs:43-53) stores both values independently and does not check them.

Verification: At mod.rs:88, update_config checks only sender.is_zero() || self.directly_authorized_account.t_read()? != sender, and nothing reads tx_origin on that path. set_authority (mod.rs:42-53) takes origin and directly_authorized as separate parameters, writes both without comparing them, and enforces nothing. Against the base branch nothing regresses: the whole file is new in this diff.

Base automatically changed from joshie/configurable-account-rename to main October 20, 2026 20:47
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Docker request accepted: /docker

Status: success · Build run · Attempt 1

Built commit: e1e60d0fe21c1da43a44cecc4646b6c944a73f0d

Images reported by the successful push step (the overall run result above also includes later steps):

Image Published references (registry URL and tags) Immutable pull reference
tempo · Docker Hub ghcr.io/tempoxyz/tempo:pr-8486
ghcr.io/tempoxyz/tempo:sha-e1e60d0
docker.io/tempoxyz/tempo:pr-8486
docker.io/tempoxyz/tempo:sha-e1e60d0
ghcr.io/tempoxyz/tempo@sha256:c94ec2b0a51644265e9f8a69495a4b95af57e385f7f7010e14ad832c782e1b08
tempo-devnet · Docker Hub ghcr.io/tempoxyz/tempo-devnet:pr-8486
ghcr.io/tempoxyz/tempo-devnet:sha-e1e60d0
docker.io/tempoxyz/tempo-devnet:pr-8486
docker.io/tempoxyz/tempo-devnet:sha-e1e60d0
ghcr.io/tempoxyz/tempo-devnet@sha256:9bef4ab28865de755f7556a6eea6fe6737aa1d5d6eba8e3cd022fe0636dce9d1
tempo-localnet · Docker Hub ghcr.io/tempoxyz/tempo-localnet:pr-8486
ghcr.io/tempoxyz/tempo-localnet:sha-e1e60d0
docker.io/tempoxyz/tempo-localnet:pr-8486
docker.io/tempoxyz/tempo-localnet:sha-e1e60d0
ghcr.io/tempoxyz/tempo-localnet@sha256:dbe09084e12fb51e9194d0031e8528974f1af6870792cee8dfed42f95ab95309
tempo-sidecar · Docker Hub ghcr.io/tempoxyz/tempo-sidecar:pr-8486
ghcr.io/tempoxyz/tempo-sidecar:sha-e1e60d0
docker.io/tempoxyz/tempo-sidecar:pr-8486
docker.io/tempoxyz/tempo-sidecar:sha-e1e60d0
ghcr.io/tempoxyz/tempo-sidecar@sha256:a99cec849cd31f70b9d9c29d88c24e87681d1948a00ec8fd5117ffb5ebc06674
tempo-xtask · Docker Hub ghcr.io/tempoxyz/tempo-xtask:pr-8486
ghcr.io/tempoxyz/tempo-xtask:sha-e1e60d0
docker.io/tempoxyz/tempo-xtask:pr-8486
docker.io/tempoxyz/tempo-xtask:sha-e1e60d0
ghcr.io/tempoxyz/tempo-xtask@sha256:51c3ebb3cf4c338caef28e21388a7f431973a8ee688e1d0a94d39f93131f594d

Pull with docker pull <reference>. PR/nightly tags can move; use the digest reference to pin this image.

jxom pushed a commit to wevm/ox that referenced this pull request Oct 20, 2026
Point the e2e at the image built from tempoxyz/tempo#8486, rename the
genesis key to configurableAccountRecoveryFactory, and activate T14.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UUGrLTHJy3Rheqc2GoFoTB
@joshieDo
joshieDo added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit 7b245c1 Oct 21, 2026
96 checks passed
@joshieDo
joshieDo deleted the joshie/native-multisig-precompile branch October 21, 2026 08:31
jxom added a commit to wevm/ox that referenced this pull request Oct 21, 2026
* chore: add configurable accounts Tempo sync plan

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UUGrLTHJy3Rheqc2GoFoTB
(cherry picked from commit b126168)

* feat(tempo): sync configurable accounts with Tempo main

Rename the configurable account hash domains to tempo:configurable-account:*
(tempoxyz/tempo#8502) and pin Tempo's Rust vectors in tests. Add
AccountConfig.fromUpgrade for TIP-1113 in-place migration, reject admin
key authorizations signed by configurable accounts (TIP-1137), and stop
passing empty or 3-byte simulation keyData the node rejects.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UUGrLTHJy3Rheqc2GoFoTB
(cherry picked from commit f52be77)

* test(tempo): run configurable account e2e against the pr-8486 image

Point the e2e at the image built from tempoxyz/tempo#8486, rename the
genesis key to configurableAccountRecoveryFactory, and activate T14.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UUGrLTHJy3Rheqc2GoFoTB
(cherry picked from commit cf0b920)

* fix(tempo): accept configurable key grants without an account binding

The node binds a root-signed grant to its signer and only requires
`account` on admin-signed grants (TIP-1049), so ox rejected valid grants.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UUGrLTHJy3Rheqc2GoFoTB
(cherry picked from commit 88a0e8d)

* fix(tempo): allow unbound configurable grants in 0.x types

0.x also required `account` for configurable grants at the type level, in
`KeyAuthorization.Input` and `KeyAuthorization.Rpc`.

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

* ci: pin browser tests to ubuntu-24.04

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

* fix(tempo): reject admin grants of configurable account keys

Configurable key types only exist from T14, where TIP-1137 rejects every
admin grant, so an isAdmin grant of a configurable key is always invalid,
whoever signs it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UUGrLTHJy3Rheqc2GoFoTB
(cherry picked from commit 121d138)

* docs: correct stale configurable accounts plan notes

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

* feat(tempo): sync configurable accounts with the T14 devnet checkpoint

Match tempoxyz/tempo joshie/configurable-t14-devnet-checkpoint: the RPC key
type is configurableAccount and the request field is
configurableAccountSimulation, the simulation spec carries an optional grant
signer, and configurable accounts may be or authorize admin keys, so the
TIP-1137 guard is removed. The e2e runs against image sha-04e67d3.

(cherry picked from commit e7be197)

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

---------

Co-authored-by: Claude <[email protected]>
jxom added a commit to wevm/ox that referenced this pull request Oct 21, 2026
* chore: add configurable accounts Tempo sync plan

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

* feat(tempo): sync configurable accounts with Tempo main

Rename the configurable account hash domains to tempo:configurable-account:*
(tempoxyz/tempo#8502) and pin Tempo's Rust vectors in tests. Add
AccountConfig.fromUpgrade for TIP-1113 in-place migration, reject admin
key authorizations signed by configurable accounts (TIP-1137), and stop
passing empty or 3-byte simulation keyData the node rejects.

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

* test(tempo): run configurable account e2e against the pr-8486 image

Point the e2e at the image built from tempoxyz/tempo#8486, rename the
genesis key to configurableAccountRecoveryFactory, and activate T14.

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

* test(tempo): update zod account operation hash for the new domains

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

* fix(tempo): accept configurable key grants without an account binding

The node binds a root-signed grant to its signer and only requires
`account` on admin-signed grants (TIP-1049), so ox rejected valid grants.

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

* ci: pin browser tests to ubuntu-24.04

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

* fix(tempo): reject configurable admin grants in the zod schemas

The core KeyAuthorization conversions already reject them (TIP-1137); the
Rpc, Domain and DomainToRpc schemas now enforce the same invariant.

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

* fix(tempo): reject admin grants of configurable account keys

Configurable key types only exist from T14, where TIP-1137 rejects every
admin grant, so an isAdmin grant of a configurable key is always invalid,
whoever signs it.

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

* feat(tempo): sync configurable accounts with the T14 devnet checkpoint

Match tempoxyz/tempo joshie/configurable-t14-devnet-checkpoint: the RPC key
type is configurableAccount and the request field is
configurableAccountSimulation, the simulation spec carries an optional grant
signer, and configurable accounts may be or authorize admin keys, so the
TIP-1137 guard is removed. The e2e runs against image sha-04e67d3.

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

---------

Co-authored-by: Claude <[email protected]>
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