Skip to content

Fix VN registration detection timeout in state sync test #1978

@sdbondi

Description

@sdbondi

Bounty: Fix VN Registration Detection Timeout in State Sync Test

Tier: M — 60,000 XTM

Description

The "New validator node registers and syncs" cucumber test times out waiting for VN2 to report itself as registered after sending a registration transaction. The miner mines to the next epoch, but VN2 gets stuck at block height 40 and never picks up its registration. This could be a race condition where VN2 hasn't processed the block containing its registration, or the epoch boundary logic doesn't trigger registration pickup in time.

Acceptance Criteria

  • The the validator node VN2 is listed as registered step passes
  • "New validator node registers and syncs" scenario passes end-to-end
  • Investigation confirms whether the mines to the next epoch step mines enough blocks for VN2 to see the registration

Context

  • Issue opened by @sdbondi
  • Error: Timed out waiting for validator node to pick up registration (current block height: 40)
  • Affected step: integration_tests/tests/steps/validator_node.rs:255
  • Affected scenario in tests/features/state_sync.feature

How to Claim

  1. Comment on this issue to signal intent (courtesy, not a lock)
  2. Fork the repo and do the work
  3. Submit a PR that meets the acceptance criteria
  4. First PR that passes review and gets merged wins the bounty
  5. On acceptance, XTM payment is processed

Notes

  • AI-assisted development is expected and encouraged
  • If you get stuck, ask in Discord
  • If you can't complete it within 14 days of claiming, let us know so someone else can pick it up

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions