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

Test edge case where cached script address differs from the Quark Operation script address #183

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

kevincheng96
Copy link
Collaborator

Weird edge-case that seems benign and scripts really have to go out of their way to achieve this. The right way to fix this is to cache the scriptAddress before calling executeScriptWithNonceLock, but that adds a ~15k gas overhead. Consider our implementation a conscious optimization at this point.

Copy link
Collaborator

@fluffywaffles fluffywaffles left a comment

Choose a reason for hiding this comment

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

yeup

@kevincheng96 kevincheng96 merged commit b2ab0d6 into main Mar 15, 2024
4 checks passed
@kevincheng96 kevincheng96 deleted the kevin/edge-case branch March 15, 2024 20:36
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