Skip to content

fix header exchange init error#962

Merged
gupadhyaya merged 2 commits into
evstack:mainfrom
gupadhyaya:fix_header_exchange_init_err
May 31, 2023
Merged

fix header exchange init error#962
gupadhyaya merged 2 commits into
evstack:mainfrom
gupadhyaya:fix_header_exchange_init_err

Conversation

@gupadhyaya

@gupadhyaya gupadhyaya commented May 25, 2023

Copy link
Copy Markdown
Contributor

Fixes #846

As per the discussion in #846, the aggregator node only need to initialize the store with genesis header, after that it only needs to broadcast the header without directly trying to append to store. The append is take care by the broadcast api which along with broadcasting also puts the header in the local append queue which then appends to the local store.

@gupadhyaya gupadhyaya added the T:bug Something isn't working label May 25, 2023
@codecov

codecov Bot commented May 25, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 25.00% and project coverage change: -0.07 ⚠️

Comparison is base (6e7d3a6) 56.21% compared to head (01084e4) 56.14%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #962      +/-   ##
==========================================
- Coverage   56.21%   56.14%   -0.07%     
==========================================
  Files          68       68              
  Lines       10925    10915      -10     
==========================================
- Hits         6141     6128      -13     
- Misses       3901     3903       +2     
- Partials      883      884       +1     
Impacted Files Coverage Δ
node/header_exchange.go 48.80% <25.00%> (-6.02%) ⬇️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

header exchange throws store already initialized error

3 participants