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: add missing gas costs for loading ciphertexts #118

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

dartdart26
Copy link
Collaborator

No description provided.

@dartdart26 dartdart26 self-assigned this Jun 11, 2024
@dartdart26 dartdart26 force-pushed the petar/fix-load-gas branch from cd54c7d to 9787ef2 Compare June 11, 2024 16:36
@dartdart26 dartdart26 force-pushed the petar/fix-load-gas branch from 9787ef2 to d751ed5 Compare June 11, 2024 17:00
@dartdart26
Copy link
Collaborator Author

@immortal-tofu I pushed again to add gas cost if a ciphertext wasn't loaded or if there's a failure. In such cases, we still want to charge, because otherwise it could be an attack vector.

You can have another look. Sorry for that.

@dartdart26 dartdart26 force-pushed the petar/fix-load-gas branch from d751ed5 to ba51fe3 Compare June 11, 2024 17:14
@dartdart26 dartdart26 merged commit 8165b6d into main Jun 12, 2024
2 checks passed
@dartdart26 dartdart26 deleted the petar/fix-load-gas branch June 12, 2024 07:41
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