You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many part of the blcokchain and ZetaClient, we use DefaultChainList and GetChainFromChainID to get static information about chains (like consensus, etc...)
Currently the function fetch from a hardcoded list of chain info.
With the new ChainInfo structure in the authority module, new chain info can dynamically be added.
We should query this structure (along with using the hardcoded list) to get static chain info from chain ID.
The final list should be determined by using the hardcoded list and adding elements from authority's ChainInfo into this list, chain info in ChainInfo structure can overwrite the values in the hardcoded list
The text was updated successfully, but these errors were encountered:
Describe the Issue
Depends on #2272
In many part of the blcokchain and ZetaClient, we use
DefaultChainList
andGetChainFromChainID
to get static information about chains (like consensus, etc...)Currently the function fetch from a hardcoded list of chain info.
With the new
ChainInfo
structure in theauthority
module, new chain info can dynamically be added.We should query this structure (along with using the hardcoded list) to get static chain info from chain ID.
The final list should be determined by using the hardcoded list and adding elements from authority's ChainInfo into this list, chain info in ChainInfo structure can overwrite the values in the hardcoded list
The text was updated successfully, but these errors were encountered: