Skip to content

Miner key file address doesn't match derived address from privateKey #43

@Hafuyya

Description

@Hafuyya

Bug

The key file downloaded from miners.hyper.space contains an address field that doesn't match the Ethereum address derived from the privateKey in the same file.

  • Key file address: 0x21db7ff6...
  • Derived from privateKey (verified with ethers.js v6.16.0): 0x6EC0b054...

Impact

hyperspace-agentic-blockchain miner reports:

Validator key loaded: address=0x6EC0b0542f5da7FEF94Bc33C2EEDc160E2150Ce8
WARN: This node is not in the validator set. Block production disabled.

Node state shows onChainRegistered: false, 0 points, 0 inference served, IP dash on dashboard — despite the dashboard showing "Registered".

Steps to reproduce

  1. Subscribe at miners.hyper.space, download miner key JSON
  2. Verify: node -e "const {Wallet}=require('ethers'); console.log(new Wallet('<privateKey>').address)"
  3. Compare derived address to address field in JSON — they differ
  4. Run hyperspace-agentic-blockchain miner --datadir ... --mine — "not in validator set"

Environment

  • CLI: v5.9.2 (linux-x86_64-cuda)
  • Blockchain binary: v1.3.13
  • OS: Ubuntu 24.04, RTX 5090
  • Re-downloading the key produces the same mismatch

Expected

address field should match the address derived from privateKey, and that derived address should be in the validator whitelist.

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