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

[Sui adapter] Gas deductions during publishing #440

Closed
awelc opened this issue Feb 11, 2022 · 1 comment
Closed

[Sui adapter] Gas deductions during publishing #440

awelc opened this issue Feb 11, 2022 · 1 comment

Comments

@awelc
Copy link
Contributor

awelc commented Feb 11, 2022

Due to recently introduced support for module initializers, a publish call now has gas budget similarly to the Move function call. At this point, the proposal (in #436) for gas deductions in this case is to apply gas budget to the cost of publishing a package even if this package does not contain modules with initializers. This, however, would mean that EVERY publish call would need a non-zero gas budget parameter. So perhaps we should apply the budget only to running initializers?

@awelc
Copy link
Contributor Author

awelc commented Apr 7, 2022

This has been taken care of already.

@awelc awelc closed this as completed Apr 7, 2022
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

No branches or pull requests

1 participant