Skip to content

Use Blocks from Block Sync in Block Manager - #1056

Merged
nashqueue merged 65 commits into
mainfrom
manav/use_block_sync_blocks_in_manager
Aug 14, 2023
Merged

nashqueue merged 65 commits into
mainfrom
manav/use_block_sync_blocks_in_manager

Conversation

@Manav-Aggarwal

@Manav-Aggarwal Manav-Aggarwal commented Jul 7, 2023 •

Copy link
Copy Markdown
Member

Overview

Resolves: #1053, resolves: #1060, resolve #1061

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Visual proof for any user facing features like CLI or documentation updates
  • Linked issues closed with keywords

@Manav-Aggarwal Manav-Aggarwal changed the title Manav/use block sync blocks in manager Use Blocks from Block Sync in Block Manager Jul 7, 2023
@Manav-Aggarwal
Manav-Aggarwal force-pushed the manav/use_block_sync_blocks_in_manager branch from 91d527e to 32e2014 Compare July 7, 2023 11:24
@codecov

codecov Bot commented Jul 7, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 22.92% and project coverage change: -0.99% ⚠️

Comparison is base (ad8190c) 56.14% compared to head (a7f1d67) 55.15%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1056      +/-   ##
==========================================
- Coverage   56.14%   55.15%   -0.99%     
==========================================
  Files          61       62       +1     
  Lines        6572     6717     +145     
==========================================
+ Hits         3690     3705      +15     
- Misses       2491     2616     +125     
- Partials      391      396       +5     
Files Changed Coverage Δ
block/manager.go 8.89% <7.75%> (-0.54%) ⬇️
types/signed_header.go 38.80% <11.11%> (-5.27%) ⬇️
block/block_cache.go 21.87% <21.87%> (ø)
node/full.go 64.88% <57.14%> (+0.31%) ⬆️
node/test_helpers.go 80.00% <89.28%> (+1.05%) ⬆️

... and 2 files with indirect coverage changes

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

@Manav-Aggarwal
Manav-Aggarwal force-pushed the manav/use_block_sync_blocks_in_manager branch from 80142fd to 9003e6a Compare July 8, 2023 19:16
@Manav-Aggarwal Manav-Aggarwal added T:testing Related to testing T:code-hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity. labels Jul 9, 2023
Comment thread node/test_helpers.go Resolved
Comment thread block/manager.go Resolved
Comment thread block/manager.go Resolved
Comment thread block/manager.go Resolved
Comment thread block/manager.go Resolved
Comment thread block/manager.go Resolved
Comment thread node/full_node_integration_test.go Resolved

@MSevey MSevey left a comment

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.

Looking good! Some non-blocking thoughts but then 2 small items that should be handled, the question about different block heights and the defer chan close in test.

@Manav-Aggarwal
Manav-Aggarwal requested a review from MSevey August 11, 2023 16:18
Comment thread block/manager.go Resolved

@MSevey MSevey left a comment

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.

👍

@Manav-Aggarwal
Manav-Aggarwal added this pull request to the merge queue Aug 14, 2023
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 14, 2023
@Manav-Aggarwal
Manav-Aggarwal added this pull request to the merge queue Aug 14, 2023
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 14, 2023
@nashqueue
nashqueue added this pull request to the merge queue Aug 14, 2023
Merged via the queue into main with commit 63d462c Aug 14, 2023
@nashqueue
nashqueue deleted the manav/use_block_sync_blocks_in_manager branch August 14, 2023 13:57
Manav-Aggarwal added a commit that referenced this pull request Sep 6, 2023
<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->

## Overview
Resolves: #1053, resolves: #1060, resolve #1061

<!-- 
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue. 
-->

## Checklist

<!-- 
Please complete the checklist to ensure that the PR is ready to be
reviewed.

IMPORTANT:
PRs should be left in Draft until the below checklist is completed.
-->

- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [ ] Required CI checks are passing
- [ ] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords

---------

Co-authored-by: Ganesha Upadhyaya <gupadhyaya@Ganeshas-MacBook-Pro-2.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C:block-sync T:code-hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity. T:testing Related to testing

Projects

None yet

6 participants