Skip to content

revert(kaspa): remove escrow startup verification#452

Merged
danwt merged 1 commit intomain-dymfrom
danwt/claude/remove-escrow-startup-check
Jan 26, 2026
Merged

revert(kaspa): remove escrow startup verification#452
danwt merged 1 commit intomain-dymfrom
danwt/claude/remove-escrow-startup-check

Conversation

@danwt
Copy link
Copy Markdown

@danwt danwt commented Jan 26, 2026

Summary

  • Removes the startup verification that checks if validator escrow config matches hub anchor
  • This check required querying potentially old Kaspa transactions via REST API
  • Both api-tn10.kaspa.org and rest.tn.kaspa.rollapp.network fail to return old/spent transactions

Problem

During the blumbus escrow migration, validators are panicking on startup:

Escrow configuration must match hub anchor: KaspaNodeError { reason: "Query anchor TX: error in response: status code 500 Internal Server Error" }

The hub anchor TX is too old to be queryable via the Kaspa REST APIs.

Context

This reverts PR #441. The check was a footgun prevention for post-migration config drift, but querying old TXs is unreliable. We need an alternative approach that doesn't rely on querying potentially pruned transactions.

Test plan

  • cargo check -p validator passes

🤖 Generated with Claude Code

The startup check that verifies escrow config matches hub anchor
requires querying potentially old Kaspa transactions. The Kaspa
REST APIs (both api-tn10 and rest.tn.kaspa.rollapp.network) fail
to return old/spent transactions, causing validators to panic on
startup.

Removing this check to unblock the blumbus migration. The check
was a footgun prevention but querying old TXs is unreliable.

This reverts the changes from PR #441.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@danwt danwt merged commit 1053f57 into main-dym Jan 26, 2026
7 of 11 checks passed
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.

1 participant