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

fix: prevent proposal/confirmation of nonces lower than the Safe #2408

Merged
merged 10 commits into from
Mar 5, 2025

Conversation

iamacook
Copy link
Member

@iamacook iamacook commented Mar 3, 2025

Summary

We refine transactions of the API, proposals and confirmations. Currently, the API refinement is only for the queue.

This adds similar checks (throwing an error) if incoming proposals or confirmations are for transactions with a nonce lower than the Safe and/or for those which are executed.

Changes

  • Add and throw new error for appropriate proposals/confirmations
  • Add/update tests accordingly

@iamacook iamacook self-assigned this Mar 3, 2025
@iamacook iamacook requested a review from a team as a code owner March 3, 2025 07:17
PooyaRaki
PooyaRaki previously approved these changes Mar 4, 2025
Base automatically changed from fix/dedupe-refinement-logs to main March 4, 2025 18:38
@iamacook iamacook dismissed PooyaRaki’s stale review March 4, 2025 18:38

The base branch was changed.

@iamacook iamacook requested a review from PooyaRaki March 5, 2025 06:44
@iamacook iamacook merged commit f9163cb into main Mar 5, 2025
16 checks passed
@iamacook iamacook deleted the fix/refine-higher-nonces branch March 5, 2025 09:13
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