-
Notifications
You must be signed in to change notification settings - Fork 111
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
[tokenvm] Overhaul Fees #96
Comments
As part of this overhaul, we may find it useful to break apart "units" into specialized units that are independently priced (ex: CPU, State, Size) Related work: https://angeris.github.io/papers/block-space.pdf (https://arxiv.org/abs/2208.07919) |
It would also be great if we can find some way to remove the notion of block cost and surplus fee. We should ideally just refund anything above the required fee. |
We should require a state deposit that is returned when state is freed (minus some penalty) to discourage state bloat attacks. |
Have a few that is always charged and then have a storage fee that if not paid, causes the tx to revert. Both should be included in the tx result (we should not deduct balance hidden). We can also deduct keys requested to prefetch from this balance too. |
Naïve fee pricing/usage targets were added during initial development. We should revisit these and add the updated values to the README.
Changes
The text was updated successfully, but these errors were encountered: