Repository navigation
[evm, pallet-intents-coprocessor]: bundler allowlist and EntryPoint v0.9 for SimplexPaymaster and SolverAccount - #1371
Merged
Conversation
Member
|
it's not a good idea for migration to revert if it cannot stake, we can always stake manually |
Collaborator
Author
|
Agreed @Wizdave97 , changed it. If the withdrawn funds don't cover the stake, |
Member
|
@royvardhan there's a build issue on the sdk CI workflow, rebase on main to clear the issue |
Wizdave97
approved these changes
Oct 7, 2026
royvardhan
force-pushed
the
roy/paymaster-bundler-allowlist
branch
from
October 7, 2026 14:22
afcdae5 to
15033db
Compare
seunlanlege
reviewed
Oct 7, 2026
seunlanlege
reviewed
Oct 8, 2026
5 tasks
seunlanlege
approved these changes
Oct 8, 2026
This was referenced Oct 9, 2026
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.
Closes #1364. Contract side of #1365 and #1366; their rollout steps stay open there.
Bundler allowlist
SimplexPaymaster only sponsors a user operation when
tx.originis a listed bundler wallet. An empty list turns the check off, andtx.originis not read at all in that case, so bundlers that enforce ERC-7562 still accept the paymaster on chains that leave it off.SetBundlersgovernance request (kind 8,abi.encode(address[], bool)) adds or removes wallets. AddsgetBundlers()andUnauthorizedBundler(origin). The list takes two slots from__gap, and the proxy layout is otherwise unchanged.set_paymaster_bundlers(state_machine, bundlers, allowed)dispatches the request.EntryPoint v0.9
VERSIONis 3. Governance upgrades each proxy withupgrade_paymasterandinit_dataset tomigrate(), the same calldata on every chain.migrate()moves the v0.8 deposit to v0.9 and unlocks the v0.8 stake. It does not stake on v0.9, since our bundler needs no paymaster stake. Once the v0.8 delay passes, anyone can callwithdrawStakeV08(), which moves the v0.8 stake into the paymaster's v0.9 deposit.Budgetsslot is unchanged, so limit-order tallies carry over. Nonces restart and bids are signed for v0.9.init_datais opaque.Rollout
set_paymaster_bundlersrequest on a chain must list every bundler signer plus rundler's simulation address0x0643866dA50efE0b055Cd15aF95191968c8411b5, or the bundler rejects every sponsored operation. Remove a signer only after it stops bundling. Our rundler must run with--unsafeon chains where the list is set.Not included: an SDK encoder for
SetBundlers. No paymaster governance request has one; the pallet builds the body.Validated: Foundry unit tests, and fork tests on Ethereum, BSC and Base against the real v0.9 EntryPoint. The fork tests deliver the governance upgrade to the live proxies, move the v0.8 stake into the v0.9 deposit after the delay, and sponsor PERMIT and PERMIT2 operations through the upgraded proxies. Gas-grief margins hold on v0.9. Pallet tests pass. End-to-end runs of rundler against a BSC testnet fork covered the allowlist on EntryPoint v0.8 and v0.9.