Skip to content

Align collision record lookup with the effective fetch slot #1491

Description

@GabrielePicco

Outcome

Align collision record lookup with the effective fetch slot.

Scope

Released collision candidates fetch their delegation record using candidate.slot, while the account fetch may run at a newer effective slot. If the record lookup joins an older in-flight request, the candidate can be conservatively re-parked until another update or access occurs.

Update the record precheck to use the same effective minimum as the account fetch.

Acceptance criteria:

  • Resolve the delegation generation at the effective account-fetch slot.
  • Add a Chainlink regression test covering chain_slot() > candidate.slot with an older in-flight record result.
  • Preserve the existing undelegating-account generation guard.

Acceptance criteria

  • The outcome is implemented and validated.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions