Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add orchestrator nonce#396

Open
howydev wants to merge 16 commits intov1.0.0from
howy/orchestrator-nonce
Open

feat: add orchestrator nonce#396
howydev wants to merge 16 commits intov1.0.0from
howy/orchestrator-nonce

Conversation

Copy link
Contributor

howydev commented Sep 29, 2025 *
edited
Loading

Funders and paymasters needed a nonce to prevent accounts from replaying intents on paymasters and funders

This created a bunch of nonce invalidation duplication - the paymaster, funder and account all needed to invalidate their own nonce because they cant trust each other

Moving this to the OC allows us to get away with just invalidating a single nonce. This reduces gas by:

  1. ~1k for all flows
  2. ~22k for all app sponsor flows
  3. another ~22k reduction for funder flows (not captured in benchmarks)

Copy link
Contributor

github-actions bot commented Sep 29, 2025

Bytecode changes detected! EIP-712 domain versions have been automatically updated for: IthacaAccount,Orchestrator,SimpleFunder

Copy link
Contributor Author

howydev commented Sep 29, 2025

#392

howydev force-pushed the howy/update-benchmarks branch from 7ea2e15 to ed932e5 Compare October 9, 2025 05:04
howydev added this to the v1.0.0 milestone Oct 9, 2025
howydev mentioned this pull request Oct 9, 2025
howydev and others added 12 commits October 9, 2025 01:16
* feat: simplify multichain nonce design

* chore: readd merkle verification prefix

* chore: undo blank line addns

* chore: lint

* .

* ~50 failing tests down to 5

* down to 1 failing test

* fixed failing test

* chore: remove console logs and bench

* .

* Update test/Base.t.sol

* Update src/Orchestrator.sol

* Update test/utils/mocks/MockPayerWithSignatureOptimized.sol

* chore: final cleanup, rebench

* Update src/Orchestrator.sol

* chore: bump contract versions due to bytecode changes - Contracts updated: IthacaAccount,Orchestrator,SimpleFunder,Simulator

* chore: cleanup

* rebase

* fix

---------

Co-authored-by: GitHub Action
howydev force-pushed the howy/orchestrator-nonce branch from 893c356 to d50a531 Compare October 9, 2025 05:18
howydev changed the base branch from howy/update-benchmarks to v1.0.0 October 9, 2025 05:24
howydev added 2 commits October 9, 2025 01:28
Copy link
Contributor

github-actions bot commented Oct 9, 2025

Bytecode changes detected! EIP-712 domain versions have been automatically updated for: IthacaAccount,Orchestrator,SimpleFunder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v1.0.0

Development

Successfully merging this pull request may close these issues.

1 participant