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

feat(driver): optimize error handling for CalldataSyncer #262

Merged
merged 2 commits into from
Jun 6, 2023

Conversation

davidtaikocha
Copy link
Member

@davidtaikocha davidtaikocha commented Jun 6, 2023

Since there is no "invalid block" in protocol, we need to retry the block insertion each time there is an error.
@cyberhorsey i force-merged this PR since i want to test it in our cluster asap, plz let me know if u find any issues in these changes :)

@codecov
Copy link

codecov bot commented Jun 6, 2023

Codecov Report

Merging #262 (c5622f8) into main (ea87f7f) will increase coverage by 0.59%.
The diff coverage is 24.00%.

❗ Current head c5622f8 differs from pull request most recent head dca5fbe. Consider uploading reports for the commit dca5fbe to get more accurate results

@@            Coverage Diff             @@
##             main     #262      +/-   ##
==========================================
+ Coverage   51.37%   51.97%   +0.59%     
==========================================
  Files          36       36              
  Lines        3661     3654       -7     
==========================================
+ Hits         1881     1899      +18     
+ Misses       1532     1508      -24     
+ Partials      248      247       -1     
Impacted Files Coverage Δ
driver/chain_syncer/calldata/syncer.go 66.99% <24.00%> (+1.17%) ⬆️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@davidtaikocha davidtaikocha enabled auto-merge (squash) June 6, 2023 09:03
@davidtaikocha davidtaikocha merged commit 580e354 into main Jun 6, 2023
@davidtaikocha davidtaikocha deleted the optimize-insertNewHead-error branch June 6, 2023 09:05
vhjiang pushed a commit to taikoverse/taiko-degen-client that referenced this pull request Jul 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant