Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for having a separate nonce for each session key #120

Open
ly0va opened this issue Oct 31, 2024 · 0 comments
Open

Implement support for having a separate nonce for each session key #120

ly0va opened this issue Oct 31, 2024 · 0 comments

Comments

@ly0va
Copy link
Member

ly0va commented Oct 31, 2024

This is necessary for different session owners to not accidentally cancel/replace each others transactions in a race condition.

This requires adding another type of nonce ordering to IContractDeployer.AccountNonceOrdering,
and implementing handling accounts with such nonce ordering in the mempool.

The idea is to implement it the same as EIP-4337's semi-abstracted nonces.

After the support is implemented, we should call ContractDeployer.updateNonceOrdering during account deployment, as well as properly integrate these nonces into our validation flow.

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

No branches or pull requests

2 participants