Skip to content

docs: Fix operator runbook config template and key-setup guidance#804

Merged
Bridgerz merged 4 commits into
mainfrom
docs-operator-config-fixes
Jul 14, 2026
Merged

docs: Fix operator runbook config template and key-setup guidance#804
Bridgerz merged 4 commits into
mainfrom
docs-operator-config-fixes

Conversation

@Bridgerz

@Bridgerz Bridgerz commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Fixes for issues validators hit during testnet onboarding (reported by ContributionDAO, Staking Facilities, Chainode Tech, Brightlystake, and Michal Zegarek in the operator channel).

Rebased twice over overlapping main work (#806, #807, e1cf839, 21ba9d4). Superseded pieces were dropped each time; this PR now carries only what remains relevant.

Bitcoin Core version is a minimum, not a target

§1.5 said "Hashi targets Bitcoin Core v29", which read as an exact-version requirement. Per Brandon: any v29+ works, including the latest release. Now stated as "v29 or newer".

TLS key generation

Added the openssl genpkey command to §2.2 and a file-permissions note (an unreadable TLS key file caused an incomplete registration; the loud-failure code fix is #805). TLS keys remain PEM/DER-only — unaffected by the new multi-format operator-key loading.

§2.3 vs §2.4 confusion

Both sections showed the same hashi register command with differently-named placeholders, and it wasn't stated whether that address is the validator address or the fresh operator key. Unified the placeholder, stated it's the operator key's address, and clarified that one registration tx both registers and delegates — re-running is idempotent.

Config template polish (on top of #807)

A prose "field order matters" note above the template (describing the post-#807 unknown-field error), and the [hashi-ids] template comment now points at the Networks table where the published IDs live.

Dropped as superseded

Also includes the style-guide audit fixes (no em dashes in prose, "for example" instead of "e.g.").

@Bridgerz Bridgerz requested a review from bmwill as a code owner July 13, 2026 18:32
@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-14 15:47 UTC

@jessiemongeon1

jessiemongeon1 commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Style Guide Audit

Audited 1 file(s) against the Sui Documentation Style Guide.

2 violation(s) found. All must be fixed before merge.

design/docs/node-operator-runbook.mdx (2 violation(s))

2 violation(s) (0 regex, 2 claude)

  • Line 209 — no-italic
    • Current: *not*
    • Fix: Use bold (**not**) or rewrite to avoid italic emphasis
  • Line 242 — no-italic
    • Current: *and*
    • Fix: Use bold (**and**) or rewrite to avoid italic emphasis

Automated audit using the Sui Documentation Style Guide.

Bridgerz added 4 commits July 14, 2026 08:11
Fixes from validator onboarding feedback:

- The validator config template put [hashi-ids] and [bitcoin-rpc-auth]
  mid-file, so every top-level key after them (bitcoin-chain-id,
  bitcoin-rpc, db, backup-*, all tuning keys) silently nested under
  those tables and the server panicked on a missing db. Sections now
  sit at the end with an explicit field-order warning. The template
  was verified to parse with the intended structure.
- backup-pgp-cert claimed to accept a file path; the config field only
  accepts inline armored text (paths work only on the CLI override).
  Docs now show the inline multi-line form.
- Documented how to generate the operator/TLS keys (openssl PKCS#8
  PEM) and that sui keytool output formats are not accepted.
- Unified the operator-address placeholders in 2.3/2.4 and clarified
  that one registration tx both registers and delegates, with re-runs
  idempotent.
Addresses the Style Guide Audit on the PR: no em dashes in prose, and
'for example' instead of 'e.g.'. Also cleans the two em dashes inside
the config template comments that the audit did not flag.
The config field now resolves file paths (custom deserializer added in
#806), so the original path-or-inline wording is accurate again; drop
this PR's inline-only rewrite.
Operators asked whether newer Bitcoin Core releases (v31.x) are
supported; per Brandon, any version >= v29 works.
@Bridgerz Bridgerz force-pushed the docs-operator-config-fixes branch from 30ee0a8 to b2f149a Compare July 14, 2026 15:12
@Bridgerz Bridgerz merged commit be35b5b into main Jul 14, 2026
16 checks passed
@Bridgerz Bridgerz deleted the docs-operator-config-fixes branch July 14, 2026 15:47
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.

3 participants