Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

fix(prover): only store signed block after successfully sending http request #489

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

cyberhorsey
Copy link
Contributor

Right now, the block is saved to the local levelsdb before being sent to the central health check server. In case that request fails, it will not re-attempt it when iterating through blocks later. We should only save it after successfully sending.

@cyberhorsey cyberhorsey enabled auto-merge (squash) January 4, 2024 22:19
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a2af478) 58.11% compared to head (443ea08) 58.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #489      +/-   ##
==========================================
+ Coverage   58.11%   58.18%   +0.07%     
==========================================
  Files          44       44              
  Lines        5520     5520              
==========================================
+ Hits         3208     3212       +4     
+ Misses       1993     1990       -3     
+ Partials      319      318       -1     

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

@cyberhorsey cyberhorsey merged commit 956e202 into main Jan 7, 2024
4 checks passed
@cyberhorsey cyberhorsey deleted the gp_signed_block_fix branch January 7, 2024 12:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants