-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rpc): fix inefficiency in get_validator_info (#3004)
Currently `get_validator_info` is hugely inefficient due to recalculation of the aggregator for every current validator. This potentially causes exorbitant rpc response time since each aggregator calculation is already expensive.
- Loading branch information
1 parent
4b1f0c2
commit eb4963b
Showing
1 changed file
with
35 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters