Balance contract gets things from storage more often than it should #173

Open
opened 2025-12-28 18:08:46 +00:00 by sami · 0 comments
Owner

Originally created by @roman-khimov on GitHub (Jun 20, 2024).

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.

Originally created by @roman-khimov on GitHub (Jun 20, 2024). ## 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-contract#173
No description provided.