Create lightweight version for GetAllConsumerChains #1943
Labels
scope: provider
Issues related to the provider chain
source: production
To indicate an issue found in production.
type: bug
Issues that need priority attention -- something isn't working
type: refactoring
Code refactoring
Problem
GetAllConsumerChains
returns a list ofChain
data types, but it's used in many places where only a list of chainIDs would be sufficient.Closing criteria
A method
GetAllConsumerChainIDs
is added that returns a list of chainIDs (and clientIDs). This method is used instead ofGetAllConsumerChains
in the following places:GetAllRegisteredAndProposedChainIDs
SendVSCPackets
QueueVSCPackets
and useGetTopN
to get the topN infoAfterUnbondingInitiated
QueryConsumerChainsValidatorHasToValidate
ExportGenesis
AllocateTokens
The text was updated successfully, but these errors were encountered: