Skip to content

Allow hardcoded spork IDs and liquidity admin address to be configurable #2

@georgezgeorgez

Description

@georgezgeorgez

Is your feature request related to a problem? Please describe.
HyperCore.One is spinning up a testnet. While existing sporks can be specified in genesis config, we will not be able to create sporks with the same IDs as on mainnet. The initial liquidity admin address is also hardcoded, and we need to be able to configure it.

Describe the solution you'd like
Allow the definition of constant overrides in config.json and make sporkIds and and initial liquidity admin address to look for those overrides before using the existing hardcoded values as defaults.

Describe alternatives you've considered
We could have a custom binary for testnets with tesnet-specific code patches. But this seems inferior in all regards.

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    🏗 In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions