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

feat: fix genesis block sync and add related tests #305

Merged
merged 5 commits into from
Sep 19, 2023
Merged

Conversation

atanmarko
Copy link
Member

@atanmarko atanmarko commented Sep 14, 2023

Description

Fixed subnet sync. It now starts from genesis block 0.
New sequencer regressing test checking sync from genesis block and particular historical block.

Fixes TP-706

PR Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added or updated tests that comprehensively prove my change is effective or that my feature works

@atanmarko atanmarko self-assigned this Sep 14, 2023
@atanmarko atanmarko marked this pull request as ready for review September 14, 2023 15:04
@atanmarko atanmarko requested a review from a team as a code owner September 14, 2023 15:04
@atanmarko atanmarko requested a review from hadjiszs September 18, 2023 11:27
@atanmarko atanmarko changed the title feat: add sequencer test sync from genesis feat: fix genesis block sync and add related tests Sep 18, 2023
@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.11% ⚠️

Comparison is base (79c7983) 53.03% compared to head (45515db) 52.93%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #305      +/-   ##
==========================================
- Coverage   53.03%   52.93%   -0.11%     
==========================================
  Files         216      216              
  Lines       10629    10648      +19     
==========================================
- Hits         5637     5636       -1     
- Misses       4992     5012      +20     
Files Changed Coverage Δ
...pos-sequencer-subnet-client/src/subnet_contract.rs 0.00% <0.00%> (ø)
...opos-sequencer-subnet-runtime/src/certification.rs 0.00% <0.00%> (ø)
crates/topos-sequencer-subnet-runtime/src/proxy.rs 0.00% <0.00%> (ø)
crates/topos-sequencer/src/lib.rs 0.00% <0.00%> (ø)
crates/topos-tce-proxy/src/client.rs 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

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

crates/topos-tce-proxy/src/worker.rs Outdated Show resolved Hide resolved
@atanmarko
Copy link
Member Author

@hadjiszs I'll merge this one, we need this genesis sync fix for the release. Any other change I'll implement in additional PR

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.

3 participants