Skip to content

Blokli URL is hardcoded in the auto-generated config and can’t be changed #9

Open

Description

@Jaguaras

Describe the bug

The config file that the HOPR package generates automatically contains a hardcoded Blokli URL. Since HOPRd v5 reads all on-chain data from Blokli, this value is critical, but node runners have no supported way to change it from the package settings. This blocks setups that use a different Blokli instance, for example a locally run one as described in the HOPR docs.

hoprd.generated.cfg.yaml:

---
blokli_url: https://blokli-piz-palu.dev.hoprnet.link
hopr:

To Reproduce

  1. Install the HOPR package on DAppNode
  2. Start the package so it generates the hoprd config file
  3. Open the generated config file in the package's config volume
  4. See that the Blokli URL is a fixed value that can't be set from the package config page

Expected behavior

The Blokli URL should be a configurable setting on the package config page, with the current public Blokli endpoint as the default. A custom value should be written into the generated config and survive restarts and package updates. Changing the default endpoint should not require a new package release.

DAppNode version:

Package version: PR #7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions