Skip to content

bug(dashmate): dashmate fails to setup regular testnet node with funding private key #817

Closed

Description

@pshenmic

Expected Behavior

Setup operation completes successfully when funding key is provided, f.e dashmate setup -p <funding_private_key>

Current Behavior

It fails to setup because it tries to run masternode in wallet mode.

✔ Set configuration preset
✔ Set node type
› Selected masternode type
✔ Configure external IP address
› x.x.x.x is set
✔ Set masternode operator private key
› BLS public key: 8753c2a96e1a653ef4b9fd3a5599b3699aa85bc8fd551381cfa6adcb959573e759724d6e458fd5dcc0e4ccfd64e18dd4
BLS private key: 644c673bf2c9ea3f9f1b8a42ad039ca10196c25c6766237ac089ac91ae2522bf
❯ Register masternode
✖ You cannot run masternode with wallet mode on
◼ Import funding private key
◼ Sync Core with network
◼ Check funding address balance
◼ Create a new collateral address
◼ Create a new owner addresses
◼ Create a new reward addresses
◼ Send 0.1 dash from funding address to reward address
◼ Wait for balance to confirm
◼ Send 1000 dash from funding address to collateral address
◼ Wait for 1 confirmation
◼ Broadcast masternode registration transaction
◼ Wait for 1 confirmation
◼ Stop Core

Possible Solution

This is related to startCoreFactory refactor I believe, where we moved command line arguments to the config. As a solution, we can empty masternode operator private key in the config during registerMasternodeTask

Your Environment

  • Version used: v0.23.2
  • Environment name and version (e.g. Chrome 39, node.js 5.4): MacOS Ventura (arm64)

Activity

  1. added
    bug
    on Mar 11, 2023
  2. self-assigned this
    on Mar 11, 2023
  3. added this to the v0.23.x milestone on Mar 15, 2023
  4. changed the title [-]bug(dashmate): dashmate fails to setup regular node with funding private key[/-] [+]bug(dashmate): dashmate fails to setup regular testnet node with funding private key[/+] on Mar 21, 2023
  5. pshenmic commented on Jun 15, 2023

    @pshenmic
    ContributorAuthor

    This mode no more being supported

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

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions