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

Multi Quark Replays #212

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

hayesgm
Copy link
Contributor

@hayesgm hayesgm commented Sep 11, 2024

This patch fixes the function names of and tests replaying multi-quark operations. By and large, nothing changed and this works out of the box more or less for free, but we want to make sure we test the behavior to ensure there's no gotchas and that storage is correct, etc. So far, so good.

This patch fixes the function names of and tests replaying multi-quark operations. By and large, nothing changed and this works out of the box more or less for free, but we want to make sure we test the behavior to ensure there's no gotchas and that storage is correct, etc. So far, so good.
Copy link
Collaborator

@kevincheng96 kevincheng96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice test cases 👍

This patch adds the ability to cancel an outstanding nonce by sending a
new operation. Previously, it was required that the wallet had access to
the nonce chain of the previous operation to cancel that operation. We
now allow the wallet to craft a brand new operation that simply calls
cancel on a different nonce chain. This could also be used in a
bulk-cancelation script. Generally the process is safe as the new code
(a) depends on `msg.sender` and a properly executed script, and (b) only
works in the direction of cancelation.
@hayesgm hayesgm merged commit 8c9bab8 into hayesgm/cooperative-storage Sep 12, 2024
1 of 4 checks passed
@hayesgm hayesgm deleted the hayesgm/test-multi-quark-replays branch September 12, 2024 23:01
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