Skip to content

Add a CLI tool to generate Golden validator storage-key sets during network bootstrap #2426

Description

@kkovaacs

Validator startup requires Golden storage-key material:

  • A shared setup-context.wire
  • A shared public-key-set.wire
  • A distinct secret-share.wire for each validator
  • The corresponding 32-byte storage-key epoch

Currently, the only code that generates a complete key set (in the node repo) is the ignored storage_key::tests::write_insecure_golden_fixture test. That implementation is deterministic and hard-codes a two-of-three validator setup, making it unsuitable for bootstrapping a new network.

Add supported tool(s), preferably as a miden-validator subcommand, that generates and writes all the files that are required to bootstrap the network.

Steps to bootstrap should be added to the documentation as well.

@bobbinth, @huitseeker Please clarify how exactly the bootstrap procedure should be performed.

Metadata

Metadata

Assignees

Labels

on holdThis issue is blocked or we don't want to start it yet

Fields

Priority

None yet

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions