Proto commits in alchemyplatform/rundler

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:a77ba53
Author:rado-alchemy
Committer:Rado Nikolov

feat: reservoir mode for bundler-sponsored user ops (#1357) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Ivan Nakov <ivan.nakov@alchemy.com>

Commit:474b41c
Author:rado-alchemy
Committer:Rado Nikolov

feat: reservoir mode for state-heavy user ops on Glamsterdam (#1351) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Commit:d4e412e
Author:jakehobbs
Committer:Rado Nikolov

feat: add timestamp-activated Glamsterdam gas schedule (#1342)

Commit:7a169b3
Author:Rado Nikolov

fix(sim): sponsored reservoir search runs on more nodes and costs less - Run the op at reservoir 0 without the ReservoirProbe, so ops that run metered are admitted on nodes whose eth_simulateV1 gives no reservoir. - Reject an op that needs a reservoir the node cannot size with ReservoirSimulationUnsupported, and busy or timed-out searches with retryable ReservoirSearchBusy / ReservoirSearchTimedOut, not an internal error. - Take the permit and start the timeout only after the op fails at reservoir 0. - Skip the search for ops already rejected by init code, EIP-7702 or payer checks. - Load PVG state only once a reservoir is found (only a new EIP-7702 authority depends on it). - Separate --max_concurrent_sponsored_reservoir_searches and its own semaphore, so the pool does not share estimation's limit. - Check R = S before least_passing, which needs a failing lower bound. - Separate sponsored metrics (busy, timeouts, trace time, no simulation reservoir). - Pool builds no reservoir settings without reservoir mode. - Document the sponsored admission path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Commit:c4fc26e
Author:rado-alchemy
Committer:GitHub

feat: reservoir mode for state-heavy user ops on Glamsterdam (#1351) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Commit:3ff4d05
Author:Rado Nikolov

feat(builder): bundle reservoir-mode ops alone with tx.gas = 2^24 + R - Assigner: the pool's op summary has a `reservoir` flag (proto field 10). Reservoir-mode ops never join normal work, including the pinned replacement path. Each one gets a single-op assignment, from its own slots bounded like isolation (max(1, signers/2) while normal work exists), so they cannot starve normal bundles or take isolation slots from suspects. The op's hash is pinned per builder, so a fee-bump replacement re-supplies exactly that op alone (the isolation replacement path, generalized). - Proposer: a bundle of exactly one reservoir-mode op gets tx.gas = TX_MAX_GAS_LIMIT + R. There is no overhead multiplier, which would enlarge the reservoir past what the PVG paid for, and no call_handle_ops, since a call cannot model a reservoir. The fee cap uses that gas limit. At bundle time the PVG must still cover the metered requirement plus R; the check is never skipped for these ops, and an op that fails it is skipped and left in the pool. A reservoir-mode op that arrives with other ops is still skipped. AA51 / AA95 from such an op already reject it (process_failed_op), and an onchain revert of a single-op bundle already removes it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Commit:e1cf52b
Author:Rado Nikolov

feat(pool): admit reservoir-mode ops by their PVG surplus Admission decides once whether an op uses reservoir mode, from what its PVG pays for. No state-gas tracing happens at admission: - Precheck: on Glamsterdam, a v0.7+ op that is not sponsored or aggregated uses reservoir mode iff its PVG surplus over the metered requirement is at least gas::reservoir_threshold (the least state gas that cannot fit under max_bundle_execution_gas next to the op's computation gas). Its reservoir R is that surplus, returned in PrecheckReturn::reservoir_gas. - Reservoir-mode ops are checked against max_reservoir_uo_cost instead of max_uo_cost (their PVG carries the state gas; unset means no cap, and it must be at least max_uo_cost), and R against max_reservoir_gas (new ReservoirGasTooHigh violation). - PoolOperation::reservoir_gas stores R, and state_gas_mode() reports the mode. Both survive the remote pool (MempoolOp.reservoir_gas). - The pool re-check requires PVG >= the metered requirement + R. The underpriced discount never applies to R. An underpaying op is marked ineligible (reversible), never moved to the metered path. - Caps: --pool.max_reservoir_ops (8) and --pool.max_reservoir_ops_per_sender (1). Each such op takes a whole bundle and reserves 2^24 of a block's execution gas. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Commit:3b37250
Author:jakehobbs

feat(pool): add opt-in admission price gate for bundler-sponsored ops Callers can set rejectUnderpricedSponsorship so a sponsored op whose maxCost is below the current candidate threshold fails at send with a typed wei error, instead of sitting unbundleable in the pool until it expires. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Commit:8370ab1
Author:jakehobbs
Committer:GitHub

feat: add timestamp-activated Glamsterdam gas schedule (#1342)

Commit:91ce63d
Author:jakehobbs

feat: add timestamp-activated Glamsterdam gas schedule Add a `glamsterdam_activation` chain spec setting ("never", "genesis", or a unix timestamp) and select the gas schedule from the timestamp of the block each calculation is pinned to. Estimation, pool admission, precheck, pool maintenance and bundle building all use the pinned block's schedule, so no restart is needed at the fork. - Add a Glamsterdam gas preset (EIP-2780, EIP-7976, EIP-8037) with `glamsterdam_*` overrides; values are marked TODO(verify) - Cache UserOperation calldata byte counts instead of gas costs - Move EIP-7702 authorization gas into the chain spec - Carry the block timestamp on NewHead (optional proto field 4) - Recheck pooled ops' preVerificationGas each block on chains with an activation, marking short ops ineligible - Add SLOTNUM, DUPN, SWAPN, EXCHANGE and CLZ opcodes; ban SLOTNUM during validation - Activate on Ethereum Sepolia at 1791294816 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Commit:8627368
Author:Dan Coombs
Committer:GitHub

feat(pool,builder): poison user operation detection, isolation, and telemetry (#1316) Co-authored-by: Codex <codex@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

Commit:d8e0dc1
Author:Dan

feat(pool): track poison user operation suspects in the mempool Adds pool-owned suspect state and the trait surface for poison user operation handling, per docs/designs/poison-user-operations.md. Inert until the bundle sender reports outcomes: nothing calls the new API in production and the assigner requests zero suspects. - Each pool operation carries a single failure counter with two thresholds: suspect at --pool.rpc_failures_before_suspect (excluded from best_operations, retried alone with jittered exponential backoff), removed --pool.max_suspect_rpc_failures later with the new RepeatedNonTerminalRpcFailure reason. Success resets the counter. - New Pool::report_bundle_outcome applies the failure-flow table (success / non-terminal / terminal / mark-suspect); terminal singletons are removed with the new TerminalRpcError reason. While a provider event is active, non-suspect counters do not advance. - get_ops_summaries takes a max_suspects cap and appends due suspects flagged via a new suspect field on PoolOperationSummary. - Wires the local server, gRPC proto/client/server, CLI args, and docs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Commit:f4498f4
Author:0xfourzerofour

feat(nonce): handle reorgs and remove update_balances - Plumb reorg_depth through NewHead so signer cache can react to reorgs. Without this, a tx that mined in a reorged-out block would leave the cached nonce higher than the on-chain nonce, and begin_cycle would happily reuse it. - Add SignerManager::invalidate_nonce_cache. Builder local server invokes it whenever a NewHead carries reorg_depth > 0; affected signers fall through to RPC reset on the next begin_cycle. - Drop SignerManager::update_balances. init_balances now feeds the bootstrap snapshot through update_address_states with nonce: None. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Commit:35f5a0a
Author:JP
Committer:GitHub

feat(delegation): add valid_until field to delegation (#1280)

Commit:f834611
Author:JP
Committer:GitHub

feat(undelegation): add method for users to undelegate from 7702 using sponsorship (#1273)

Commit:71f1814
Author:Dan Coombs
Committer:GitHub

feat(builder): implement signer sharing in builder (#1262) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

Commit:b2fa14e
Author:0xfourzerofour
Committer:0xfourzerofour

feat(rpc): allow RPC crate to accept multiple networks

Commit:d723cf6
Author:Dan Coombs
Committer:GitHub

feat(rpc): add enhanced fields to user operation status (#1261) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

Commit:d17a85e
Author:Dan Coombs
Committer:Dan

feat: update rust to 1.92 and 2024 edition, alloy to latest (#1241)

Commit:b98a928
Author:Dan Coombs
Committer:Dan

fix: add fixes for spec tests (#1237)

Commit:5d37e81
Author:Dan Coombs
Committer:Dan

feat: add v0.8 and v0.9 support to user operation type lib (#1231)

Commit:11efb45
Author:Dan
Committer:Dan

fix: fixes for v0.8 spec tests, run in CI

Commit:dba1eb7
Author:Dan
Committer:Dan

fix: add fixes for eip7702 spec tests

Commit:9e51e16
Author:Dan

feat: add support for entrypoint v0.8 & v0.9 to builder

Commit:4b1f934
Author:Dan
Committer:Dan

feat: add v0.8 and v0.9 support to user operation type lib

Commit:1559cb4
Author:Dan Coombs
Committer:GitHub

feat: add optional check for EIP-7702 authority pending count (#1226)

Commit:683d90e
Author:Dan
Committer:Dan

feat: add revert check to mempool entry

Commit:9e06615
Author:Dan Coombs
Committer:GitHub

feat: add disable 7702 permission (#1219)

Commit:de9fb19
Author:Andy
Committer:GitHub

fix: bump da_gas_blob to u128 (#1210)

The documentation is generated from this commit.

Commit:7c8af6a
Author:Andy
Committer:GitHub

feat: block no builder to pool calls (#1192)

Commit:0d96ea0
Author:Pengfei(Andy) Zhang
Committer:Pengfei(Andy) Zhang

refactor: remove get_precomfirmed_uo.

Commit:3fc59ea
Author:Pengfei(Andy) Zhang
Committer:Pengfei(Andy) Zhang

feat: update pool only with chain update

Commit:e46e190
Author:Pengfei(Andy) Zhang
Committer:Pengfei(Andy) Zhang

feat: add perconfInfo

Commit:1605c6c
Author:Pengfei(Andy) Zhang
Committer:Pengfei(Andy) Zhang

feat: end to end support flashblock

Commit:469c5e3
Author:Pengfei(Andy) Zhang
Committer:Pengfei(Andy) Zhang

feat: update UOs mapping once a bundle is sent

Commit:f40cecb
Author:Pengfei(Andy) Zhang
Committer:Pengfei(Andy) Zhang

feat: update UOs mapping once a bundle is sent

Commit:fc79c32
Author:Pengfei(Andy) Zhang
Committer:Pengfei(Andy) Zhang

feat: end to end support flashblock

Commit:f55b623
Author:Pengfei(Andy) Zhang

feat: end to end support flashblock

Commit:e707159
Author:Pengfei(Andy) Zhang

feat: update UOs mapping once a bundle is sent

Commit:e8fc7c9
Author:Dan
Committer:Dan

feat: add revert check to mempool entry

Commit:cdb92b3
Author:Dan Coombs
Committer:GitHub

feat(rpc): add get pending user operation by sender nonce RPC (#1157)

Commit:7e4a486
Author:Dan
Committer:Dan

feat(rpc): add get pending user operation by sender nonce RPC

Commit:cf58520
Author:JP
Committer:GitHub

feat(errors): catch error and map to invalid params (#1146)

Commit:0fca975
Author:0xfourzerofour

feat(errors): remove space

Commit:d09bfcc
Author:0xfourzerofour

feat(errors): catch error and map to invalid params

Commit:4a483b8
Author:Dan Coombs
Committer:GitHub

fix(pool): fix check and error for verification gas limit eff (#1131)

Commit:accaaee
Author:Dan

fix(pool): fix check and error for verification gas limit eff

Commit:c72709b
Author:Dan Coombs
Committer:GitHub

feat: add handling for eip-7623 in builder and pvg calc (#1126)

Commit:905d521
Author:Dan
Committer:Dan

feat: add handling for eip-7623 in builder and pvg calc

Commit:e5c43d6
Author:Dan
Committer:Dan

feat: add handling for eip-7623 in builder and pvg calc

Commit:11f303d
Author:Dan

feat: add handling for eip-7623 in builder and pvg calc

Commit:5f12e8a
Author:Dan
Committer:Dan

feat: add handling for eip-7623 in builder and pvg calc

Commit:b021dce
Author:Dan Coombs
Committer:GitHub

fix(builder): fix sender balance tracking to capture funding events (#1106)

Commit:b2ae1e6
Author:Dan Coombs
Committer:GitHub

feat: remove mempool shards and add builder sender assigner (#1105)

Commit:4f1d695
Author:Dan
Committer:Dan

fix(builder): fix sender balance tracking to capture funding events

Commit:a58f69b
Author:Dan
Committer:Dan

feat: remove mempool shards and add builder sender assigner

Commit:75c9c84
Author:Dan
Committer:Dan

fix(builder): fix sender balance tracking to capture funding events

Commit:e4ab298
Author:Dan
Committer:Dan

feat: remove mempool shards and add builder sender assigner

Commit:15c1b5a
Author:Dan
Committer:Dan

fix(builder): fix sender balance tracking to capture funding events

Commit:8601254
Author:Dan
Committer:Dan

feat: remove mempool shards and add builder sender assigner

Commit:72ea782
Author:Dan
Committer:Dan

fix(builder): fix sender balance tracking to capture funding events

Commit:f14d824
Author:Dan

fix(builder): fix sender balance tracking to capture funding events

Commit:eee7c46
Author:Dan

feat: remove mempool shards and add builder sender assigner

Commit:f3e6bb6
Author:Dan Coombs
Committer:GitHub

feat: limit bundle fee by signer balance, max uo cost (#1096)

Commit:1a19c31
Author:Dan
Committer:Dan Coombs

fix(signer): add DA gas estimation to funder

Commit:b80bc3a
Author:Dan
Committer:Dan

fix(signer): add DA gas estimation to funder

Commit:faca5c5
Author:dancoombs
Committer:Dan Coombs

feat: implement bundler sponsorship

Commit:463a800
Author:dancoombs
Committer:Dan Coombs

feat: add permission for relaxed fee checking

Commit:e9c7f41
Author:dancoombs
Committer:Dan Coombs

feat(builder): consume address updates remove sender status

Commit:a46ec31
Author:dancoombs
Committer:Dan Coombs

feat(pool): add address tracking to pool

Commit:3b05be3
Author:dancoombs
Committer:Dan Coombs

feat: add max uo per sender permission

Commit:f355c1e
Author:dancoombs
Committer:Dan Coombs

feat: add uo perms and trusted uo submission

Commit:2ad5159
Author:dancoombs
Committer:Dan Coombs

feat: add mempool filters and builder affinity

Commit:fb37552
Author:dancoombs
Committer:Dan Coombs

feat: signature aggregators

Commit:8ad296a
Author:dancoombs
Committer:dancoombs

feat: add mempool filters and builder affinity

Commit:e5eb0a4
Author:dancoombs
Committer:dancoombs

feat: signature aggregators

Commit:92ddf82
Author:Andy
Committer:GitHub

feat(7702): use standardized eip7702_auth (#973)

Commit:e55d27a
Author:Andy
Committer:GitHub

fix: fix multiple paymaster post op bugs (#974) Co-authored-by: dancoombs <dan.coombs@alchemy.com>

Commit:d7a2a7e
Author:dancoombs
Committer:Dan Coombs

feat: add maximum number of expected storage slots param

Commit:5b29e8a
Author:dancoombs
Committer:Dan Coombs

fix: fix multiple paymaster post op bugs - Don't zero out paymaster post op gas limit during gas estimation - Encorporate paymaster post op gas limit during efficiency check

Commit:4463b96
Author:Andy
Committer:GitHub

feat: support 7702 txn with userOps (#923)

Commit:cd4392f
Author:Shunsuke Watanabe
Committer:0xfourzerofour

fix: EREP-015 rule Paymaster opsSeen decrement (#905) Co-authored-by: Dan Coombs <dan.coombs@alchemy.com>

Commit:008e59d
Author:Shunsuke Watanabe
Committer:GitHub

fix: EREP-015 rule Paymaster opsSeen decrement (#905) Co-authored-by: Dan Coombs <dan.coombs@alchemy.com>

Commit:b627a84
Author:dancoombs
Committer:Dan Coombs

feat(pool): reject UOs below configurable gas limit efficiency

Commit:6600780
Author:dancoombs
Committer:Dan Coombs

feat(pool): add da tracking to pool

Commit:b1bba07
Author:dancoombs
Committer:Dan Coombs

feat(pool): update pool to use alloy types

Commit:d8292ea
Author:dancoombs
Committer:dancoombs

feat(pool): reject UOs below configurable gas limit efficiency

Commit:0e7107b
Author:dancoombs
Committer:dancoombs

feat(pool): add da tracking to pool

Commit:f958df1
Author:dancoombs
Committer:dancoombs

feat(pool): update pool to use alloy types

Commit:83ba4ef
Author:dancoombs
Committer:Dan Coombs

feat(pool): update pool to use alloy types

Commit:459dab6
Author:dancoombs
Committer:Dan Coombs

feat(sim): ban access to arbitrum stylus contracts during sim

Commit:7611b13
Author:dancoombs
Committer:Dan Coombs

fix(rpc): fix error message for unstaked entity mempool count

Commit:3ffd875
Author:dancoombs
Committer:Dan Coombs

fix(rpc): fix error message for unstaked entity mempool count

Commit:78f15c9
Author:JP
Committer:GitHub

feat(simulation): check whether the op fits within a valid time range (#712)

Commit:7f4804e
Author:David Philipson
Committer:Dan Coombs

feat(rpc): return validation revert data from rpc When validation fails in 0.7 in either simulation or gas estimation, the entry point now surfaces the inner revert which caused validation to fail. Surface this in the error response in the rpc, using the `data` field to return an object with the fields: - `entry_point_reason`: the entry point string like "AA99 some failure". This is the only field populated in v0.6. - `inner_revert_bytes`: the raw bytes of the inner revert message. - `inner_revert_reason`: if the inner revert is caused by a Solidity `require` or `assert`, then the string message provided to it.

Commit:2e41886
Author:dancoombs
Committer:Dan Coombs

feat(sim): sto-022 factory or entity needs stake, with cleanups

Commit:6e91e82
Author:dancoombs
Committer:Dan Coombs

feat(sim): implement simulation for v0.7 entrypoint using reference tracer

Commit:0983c53
Author:Dan Coombs
Committer:Dan Coombs

feat: end to end entry point routing (#649)

Commit:de9e409
Author:dancoombs
Committer:Dan Coombs

feat: add and use a user operation trait

Commit:21bcc17
Author:dancoombs
Committer:dancoombs

feat(sim): sto-022 factory or entity needs stake, with cleanups