Skip to content

fix: update stale localnet config template#2636

Open
Copilot wants to merge 2 commits intomainfrom
copilot/update-localnet-config-template
Open

fix: update stale localnet config template#2636
Copilot wants to merge 2 commits intomainfrom
copilot/update-localnet-config-template

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 27, 2026

closes #2635

The localnet config template docs/localnet/mpc-config.template.toml had two stale values that caused incorrect behavior when setting up a localnet environment.

Changes

  • [near_init]: Added download_genesis = false — without this, the node attempts to download a genesis file instead of using the local one specified by genesis_path
  • [tee]: Added sha256: prefix to image_hash — the hash value was missing the required digest algorithm prefix
[near_init]
chain_id = "mpc-localnet"
download_genesis = false        # added
boot_nodes = "$NEAR_BOOT_NODES"
genesis_path = "$HOME/.near/mpc-localnet/genesis.json"

[tee]
image_hash = "sha256:8b40f81f77b8c22d6c777a6e14d307a1d11cb55ab83541fbb8575d02d86a74b0"  # prefix added

📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Copilot AI linked an issue Mar 27, 2026 that may be closed by this pull request
… template

Agent-Logs-Url: https://github.com/near/mpc/sessions/3143bd84-49f6-4d7f-ab75-da0ac180a391

Co-authored-by: netrome <22524681+netrome@users.noreply.github.com>
Copilot AI changed the title [WIP] Update localnet config template to include missing options fix: update stale localnet config template Mar 27, 2026
Copilot AI requested a review from netrome March 27, 2026 18:04
@netrome netrome marked this pull request as ready for review March 27, 2026 18:14
@claude
Copy link
Copy Markdown

claude bot commented Mar 27, 2026

Reviewed the config template changes. Both fixes are straightforward corrections to the localnet setup template:

  • download_genesis = false prevents the node from ignoring the local genesis_path
  • sha256: prefix on image_hash matches the expected digest format

No issues found.

@claude
Copy link
Copy Markdown

claude bot commented Mar 27, 2026

PR title type suggestion: This PR updates a documentation/template file, so the type prefix should probably be docs: instead of fix:.
Suggested title: docs: update stale localnet config template

@claude
Copy link
Copy Markdown

claude bot commented Mar 27, 2026

PR title type suggestion: This PR updates a config template file, which is documentation. The type prefix should be docs: instead of fix:.

Suggested title: docs: update stale localnet config template

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The localnet config template is stale

2 participants