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

[AIP-65][Discussion] Storage Fee for State Bytes Refundable #328

Closed
thepomeranian opened this issue Feb 13, 2024 · 0 comments
Closed

[AIP-65][Discussion] Storage Fee for State Bytes Refundable #328

thepomeranian opened this issue Feb 13, 2024 · 0 comments

Comments

@thepomeranian
Copy link
Collaborator

AIP Discussion

Summary

Proposed is an evolution of the Storage Fee charging scheme where a category of storage fee (dubbed "bytes deposit") is charged and refunded according to the number of bytes a state item itself occupies in the current state, in addition to the existing "slot deposit" which reflects the storage impact imposed by a individual state item via the authenticated data structures.

Specifically, the legacy "free quota" mechanism which heavily punishes updating a large state item is removed.

The updated scheme aligns better with the reality of disk space consumption by the transactions hence serves as a better economic benchmark for the developers to optimize the cost of transactions.

Read more about it here: https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-65.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants