Skip to content

Make iterating through delegators in staking contract more efficient #431

@joshuahannan

Description

@joshuahannan

Issue To Be Solved

There is a lot of code in the staking contract (FlowIDTableStaking) that iterates through a node's delegators and does something. This could be better.

Example

Suggest A Solution

  • Use a utility function that uses an iterator or something like that to cut back on the boilerplate required for iterating through delegators

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🔖 Ready for Pickup

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions