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: create init order redux #510

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

gballet
Copy link
Owner

@gballet gballet commented Oct 15, 2024

TouchAndChargeContractInit was being called after increasing the contract's nonce, which corresponds to a write. So charging for the witness costs has to be moved before the nonce is increased.

Signed-off-by: Guillaume Ballet <[email protected]>
@gballet gballet closed this Oct 15, 2024
@gballet gballet reopened this Oct 15, 2024
@gballet gballet merged commit f4733ce into jsign-witness-fix Oct 15, 2024
5 of 9 checks passed
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