Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move ChainUpdate to a separate file #10380

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

pugachAG
Copy link
Contributor

@pugachAG pugachAG commented Jan 3, 2024

This PR moves ChainUpdate to its own module as it is without any additional refactoring and making all currently used fields and method pub(crate). I'm planning to fix that in a separate PR to make it easier to review.

Part of #10275.

@pugachAG pugachAG force-pushed the split-chain-update branch from f331cef to cd24413 Compare January 3, 2024 20:21
@pugachAG pugachAG requested a review from shreyan-gupta January 3, 2024 20:26
@pugachAG pugachAG marked this pull request as ready for review January 3, 2024 20:26
@pugachAG pugachAG requested a review from a team as a code owner January 3, 2024 20:26
@pugachAG pugachAG force-pushed the split-chain-update branch from cd24413 to 9da3955 Compare January 3, 2024 20:28
@pugachAG pugachAG added the C-housekeeping Category: Refactoring, cleanups, code quality label Jan 3, 2024
@pugachAG pugachAG force-pushed the split-chain-update branch from 9da3955 to 70e1f84 Compare January 3, 2024 20:43
@pugachAG pugachAG force-pushed the split-chain-update branch from 70e1f84 to 4c373d3 Compare January 3, 2024 21:20
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

Attention: 161 lines in your changes are missing coverage. Please review.

Comparison is base (afa5d00) 72.01% compared to head (4c373d3) 72.01%.

Files Patch % Lines
chain/chain/src/chain_update.rs 79.43% 88 Missing and 73 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #10380   +/-   ##
=======================================
  Coverage   72.01%   72.01%           
=======================================
  Files         717      718    +1     
  Lines      144521   144524    +3     
  Branches   144521   144524    +3     
=======================================
+ Hits       104072   104083   +11     
+ Misses      35697    35687   -10     
- Partials     4752     4754    +2     
Flag Coverage Δ
backward-compatibility 0.08% <0.00%> (ø)
db-migration 0.08% <0.00%> (ø)
genesis-check 1.26% <0.00%> (ø)
integration-tests 36.67% <66.02%> (+<0.01%) ⬆️
linux 71.58% <77.52%> (+0.03%) ⬆️
linux-nightly 71.57% <78.67%> (-0.03%) ⬇️
macos 54.86% <59.35%> (+<0.01%) ⬆️
pytests 1.48% <0.00%> (ø)
sanity-checks 1.27% <0.00%> (ø)
unittests 68.26% <59.89%> (+<0.01%) ⬆️
upgradability 0.13% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@pugachAG pugachAG added this pull request to the merge queue Jan 4, 2024
Merged via the queue into near:master with commit 37b1b0b Jan 4, 2024
23 of 24 checks passed
@pugachAG pugachAG deleted the split-chain-update branch January 4, 2024 12:15
github-merge-queue bot pushed a commit that referenced this pull request Jan 8, 2024
Removes `pub(crate)` from `ChainUpdate` fields. All usage is refactored
to directly use `Chain`'s fields.

This is a follow-up for #10380.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-housekeeping Category: Refactoring, cleanups, code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants