Skip to content

Make UpdateConfigFromCore and ZetaClient config more future-proof #1397

@lumtis

Description

@lumtis

UpdateConfigFromCore currently considers there is a single Bitcoin chain supported in ZetaClient and a chain is now a Bitcoin chain is an EVM chain

if common.IsBitcoinChain(coreParam.ChainId) {
	newBTCParams = coreParam
} else {
	newEVMParams[coreParam.ChainId] = coreParam
}

I suggest to update the format of the ZetaClient config with more like a generic list of chains, so we can consider several Bitcoin based chains and any other chains compared to EVM chains

Metadata

Metadata

Assignees

No one assigned

    Labels

    zetaclientIssues related to ZetaClient

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions