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

Include account access costs into realtime cost gating #18995

Closed
tao-stones opened this issue Jul 30, 2021 · 2 comments
Closed

Include account access costs into realtime cost gating #18995

tao-stones opened this issue Jul 30, 2021 · 2 comments

Comments

@tao-stones
Copy link
Contributor

Problem

#18994 rejects large block by accumulated instruction execution cost; It could include account access cost as well.

Proposed Solution

Either utilizing account information captured in ExecuteTimings, or adding necessary fields, calculates the compute unit associated with sigver, read, and write to account.

This functionality should be shared by leader when producing blocks, and validator when confirming blocks to maintain consistency.

@tao-stones
Copy link
Contributor Author

should probably also discuss the fee schedule for account access.

@tao-stones
Copy link
Contributor Author

write lock costs have been included in cost_model::calculate_cost().

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