Skip to content

yarn setup Config with name 'local_seed' is not present #1536

Closed

Description

@coolaj86

After overcoming #1535 I get a success / failed about ENVs not being set?

Not sure if this is a real error, or just noise.

yarn setup
# ...
success ✨ Done in 87.337s
platform.drive.abci.docker.build.enabled set to true
platform.dapi.api.docker.build.enabled set to true
dashmate.helper.docker.build.enabled set to true
platform.drive.tenderdash.consensus.createEmptyBlocksInterval set to 10s
platform.drive.abci.logs.stdout.level set to trace
[STARTED] System requirements
[FAILED] Docker is not installed. Please follow instructions https://docs.docker.com/engine/install/
Mint 100 Dash to faucet address
    ConfigIsNotPresentError: Config with name 'local_seed' is not present
Internal error. Some of the env variables are empty. Please check logs above.

Activity

  1. added
    bug
    on Oct 26, 2023
  2. pshenmic commented on Oct 26, 2023

    @pshenmic
    Contributor

    The error a bit upper:

    [FAILED] Docker is not installed. Please follow instructions https://docs.docker.com/engine/install/
    
  3. coolaj86 commented on Oct 27, 2023

    @coolaj86
    Author

    What does it need docker for in this case?

    How can I skip past it?

  4. pshenmic commented on Oct 27, 2023

    @pshenmic
    Contributor

    You can't do yarn setup without docker, because it is meant to setup a local regtest environment on your computer, consisting of 4 nodes (seed + 3 evonodes), that simulates a network with platform quorums. I'm not sure you can do this without Docker right now

    yarn setup command builds the project and sets up a dashmate local mode group node (that you later start with yarn start)

  5. coolaj86 commented on Oct 28, 2023

    @coolaj86
    Author
    1. How do I run it on testnet?
    2. How do I run a seed node?
      (is that a masternode?)
    3. How do I run an evo node?

    Spinning up 7 nodes is not a problem. I don't need dicker for that because I don't need to do it on just one computer.

  6. pshenmic commented on Oct 30, 2023

    @pshenmic
    Contributor

    The only supported environment is Docker for now, and all developers are writing, test and release in Docker, however going standalone isn't impossible.

    You will need to:

    • Create a regtest network of 3 hpmn masternodes (running all platform daemons), and 1 seed node (tenderdash + dashcore)
    • Register each of your evonodes in your network
    • Ensure that network is functioning and wait for all required quorums to come up (+ chainlocks)

    Once there are enough quorums and initial platform start height, drive + tenderdash should initiate an initChain and begin producing platform blocks.

    I suggest you to go with Docker first, once you get it on one host, you'll have a chance to peek it and repeat everything separately. There is a lot of bootstrap code to initialize network in the dashmate, all collaterals, and other necessary stuff.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions