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

Balance contract gets things from storage too often than it should #407

Open
roman-khimov opened this issue Jun 20, 2024 · 0 comments
Open
Labels
balance Balance contract related issue enhancement Improving existing functionality I4 No visible changes performance More of something per second S4 Routine U4 Nothing urgent

Comments

@roman-khimov
Copy link
Member

Is your feature request related to a problem? Please describe.

I'm always frustrated when we have suboptimal code. Balance contract already has account data in lock and can also have it during iterations in new epoch callback, but it goes for it again and again.

Describe the solution you'd like

Have some way to reuse this data, save on opcodes and GAS.

@roman-khimov roman-khimov added enhancement Improving existing functionality balance Balance contract related issue U4 Nothing urgent S4 Routine I4 No visible changes performance More of something per second labels Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
balance Balance contract related issue enhancement Improving existing functionality I4 No visible changes performance More of something per second S4 Routine U4 Nothing urgent
Projects
None yet
Development

No branches or pull requests

1 participant