Skip to content

Trace the Keystore account changes - #37

Merged
sduchesneau merged 11 commits into
feature/aa-transaction-typefrom
feature/aa-keystore
Oct 21, 2026
Merged

sduchesneau merged 11 commits into
feature/aa-transaction-typefrom
feature/aa-keystore

Conversation

@sduchesneau

@sduchesneau sduchesneau commented Oct 20, 2026 •

Copy link
Copy Markdown

Stacked on #35. Traces the Keystore account changes of EIP-8130 (enabled by Zenith) instead of stopping the node:

  • OpPreTxAdjust maps create entries (user salt, code, initial actors) and config change entries (channel, sequence, changes with their ABI payloads, admin auth) into account_changes, per Add the Keystore account changes to the account abstraction model firehose-ethereum#264.
  • A sender that signs with a P-256, WebAuthn or delegate authenticator has its authenticator || data in sender_auth, and empty v/r/s. Before, the last 65 bytes of that blob were read as a secp256k1 signature.
  • Base verifies the canonical authenticators natively, so no EVM call runs outside the calls; the Keystore storage writes, the created account's code and the AccountCreated / ActorAuthorized logs are journal writes recorded on the root call by the existing path.
  • New tests on a genesis with Zenith: a created account (entry, code change, Keystore writes and logs on the root call), a config change that authorizes a P-256 actor which signs the same transaction, a Local-channel batch that authorizes then revokes an actor (both changes and both logs), and a WebAuthn sender whose sender_auth is recorded as signed.

The dependencies are the same as #35: firehose-tracer 5.7.0 (which already has the Keystore bindings, streamingfast/evm-firehose-tracer-rs#40) and the reth tag base-v2.5.2.8-fh3.1-2.

Records the EIP-8130 create and config change entries instead of stopping the node,
and the sender's authentication when it is not a secp256k1 signature.
@sduchesneau
sduchesneau added this pull request to stack #38 October 20, 2026 20:09
@sduchesneau
sduchesneau marked this pull request as ready for review October 20, 2026 20:14
@dfuse-bot
dfuse-bot requested a review from maoueh October 20, 2026 20:15
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/execution/firehose-tests/tests/eip8130.rs
#	crates/execution/firehose/src/extras.rs
@sduchesneau
sduchesneau merged commit b7fb277 into release/1.x Oct 21, 2026
2 checks passed
@sduchesneau
sduchesneau deleted the feature/aa-keystore branch October 21, 2026 19:41
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