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

Restore transient slot values after calling script #217

Merged
merged 6 commits into from
Sep 13, 2024

Conversation

hayesgm
Copy link
Contributor

@hayesgm hayesgm commented Sep 13, 2024

We now cache the old transient slot values (e.g. for activeNonce, callback, etc) in order to restore them after calling the Quark script.

This also adds a new test to test batched submission for a contract with callbacks to check its behavior.

This test adds a batched submission for a contract with callbacks to check its behavior.

Currently, when it's running, we're hitting "no active callback," which would imply that the `tstore` value is being cleared even on a batch submission.
@kevincheng96 kevincheng96 changed the title Batch Callback Test Restore transient slot values after calling script Sep 13, 2024
@kevincheng96 kevincheng96 marked this pull request as ready for review September 13, 2024 19:32
@hayesgm hayesgm merged commit 95da9ec into hayesgm/replayable-by-nonce Sep 13, 2024
3 of 4 checks passed
@hayesgm hayesgm deleted the hayesgm/batch-callback branch September 13, 2024 23:57
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