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

Incorporate cost of account data size to cost calculation #20511

Closed
tao-stones opened this issue Oct 7, 2021 · 3 comments
Closed

Incorporate cost of account data size to cost calculation #20511

tao-stones opened this issue Oct 7, 2021 · 3 comments
Assignees
Labels
stale [bot only] Added to stale content; results in auto-close after a week.

Comments

@tao-stones
Copy link
Contributor

Problem

cost model current does not have account data size info to incorporate into transaction cost calculation.

Proposed Solution

We should be incorporating the cost of the account data sizes. We could feed that information back to the cost tracker like we currently do for execution costs. If an account size is not in the cache we could keep a list of account size averages per program.

@jeffwashington
Copy link
Contributor

this could help provide access:
#16303

@github-actions github-actions bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Dec 28, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 5, 2023
@ericd78
Copy link

ericd78 commented Jan 24, 2023

I'm not sure what i'm doing yet.

@tao-stones
Copy link
Contributor Author

This one is pretty old, a lot has changed. It looks to me there are at least two actions related to it:

  1. Leaders to include account data size in block packing decision making; (and some clean up in that area)
  2. Transaction to be charged with additional fee for loading account data (perhaps charge fee for extra Bytes loaded above some limits)
    @jeffwashington is this what you are thinking?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale [bot only] Added to stale content; results in auto-close after a week.
Projects
None yet
Development

No branches or pull requests

3 participants