Skip to content

fix: Bootstrap genesis accounts#1958

Closed
sergerad wants to merge 2 commits intomainfrom
sergerad-fix-bootstrap
Closed

fix: Bootstrap genesis accounts#1958
sergerad wants to merge 2 commits intomainfrom
sergerad-fix-bootstrap

Conversation

@sergerad
Copy link
Copy Markdown
Collaborator

v0.14.7 currently errors out when genesis.toml specifies the full list of accounts in genesis.toml:

version = 1
timestamp = 1776640574

[fee_parameters]
verification_base_fee = 0

[[account]]
path = "bridge.mac"

[[account]]
path = "bridge_admin.mac"

[[account]]
path = "ger_manager.mac"
$ miden-node validator bootstrap --genesis-block-directory /opt/miden-validator/ --accounts-directory /opt/miden-validator/ --data-directory /opt/miden-validator/ --genesis-config-f
ile ./genesis.toml 
Error: failed to build the genesis block

Caused by:
    an account with a seed cannot be converted into a delta since it represents an unregistered account

@sergerad sergerad changed the base branch from next to main April 20, 2026 00:12
@sergerad sergerad added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Apr 20, 2026
@Mirko-von-Leipzig
Copy link
Copy Markdown
Collaborator

I think this is intentionally done this way. From genesis/readme.md#output:

The tool generates the following files in the output directory:

  • bridge_admin.mac - Bridge admin wallet (nonce=0, deployed later via transaction)
  • ger_manager.mac - GER manager wallet (nonce=0, deployed later via transaction)
  • bridge.mac - AggLayer bridge account (nonce=1, included in genesis block)
  • genesis.toml - Genesis configuration referencing only bridge.mac

I'll wait for @mmagician to confirm; but I believe we therefore don't need this fix i.e. working as intended.

@Mirko-von-Leipzig
Copy link
Copy Markdown
Collaborator

Closing as @mmagician confirmed offline

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

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants