Skip to content

when transitioning to Andromeda, request missing proofs#7890

Open
BeniaminDrasovean wants to merge 2 commits into
masterfrom
request-missing-proof
Open

when transitioning to Andromeda, request missing proofs#7890
BeniaminDrasovean wants to merge 2 commits into
masterfrom
request-missing-proof

Conversation

@BeniaminDrasovean

@BeniaminDrasovean BeniaminDrasovean commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

This branch fixes an edge case in metachain/shard-header finality attestation sync where a finality-attesting header is already available locally, but its equivalent proof is missing.

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.62%. Comparing base (0bbb167) to head (235f405).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7890   +/-   ##
=======================================
  Coverage   76.62%   76.62%           
=======================================
  Files         814      814           
  Lines      111224   111225    +1     
=======================================
+ Hits        85224    85230    +6     
+ Misses      20190    20180   -10     
- Partials     5810     5815    +5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

sstanculeanu
sstanculeanu previously approved these changes Jun 25, 2026
Comment thread process/block/baseProcess.go Outdated
for index := range headers {
bp.hdrsForCurrBlock.hdrHashAndInfo[string(headersHashes[index])] = &hdrInfo{
hdr: headers[index],
hdrHash := headersHashes[index]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was there a reason to do an alloc here instead of using the value directly besides readability?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, changed.

@raduchis raduchis removed their request for review June 25, 2026 12:20
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