-
Notifications
You must be signed in to change notification settings - Fork 29
refactor(metadata): pre-refactors for migrating feature states to static metadata [part 4/12] #1017
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1017 +/- ##
==========================================
- Coverage 84.63% 84.61% -0.02%
==========================================
Files 317 317
Lines 24150 24150
Branches 3662 3662
==========================================
- Hits 20439 20435 -4
- Misses 3006 3009 +3
- Partials 705 706 +1 ☔ View full report in Codecov by Sentry. |
This was referenced May 3, 2024
d104751
to
d009d7b
Compare
1 task
1 task
b560a03
to
3381848
Compare
d009d7b
to
4004509
Compare
3381848
to
521a79c
Compare
4004509
to
410212e
Compare
521a79c
to
7632012
Compare
410212e
to
1de39c3
Compare
7632012
to
d407478
Compare
1de39c3
to
a762342
Compare
d407478
to
a2d0148
Compare
a762342
to
6481706
Compare
a2d0148
to
8b67ae8
Compare
6481706
to
80bbcec
Compare
8b67ae8
to
3170402
Compare
0dba3ac
to
bd8f15b
Compare
1d39805
to
00b7ce1
Compare
bd8f15b
to
c1f6ea6
Compare
00b7ce1
to
9e9b5a5
Compare
c1f6ea6
to
337c665
Compare
9e9b5a5
to
069f959
Compare
337c665
to
30ad6a7
Compare
069f959
to
a95006a
Compare
30ad6a7
to
a1b267e
Compare
a95006a
to
58fdabf
Compare
a1b267e
to
255b9e7
Compare
msbrogli
previously approved these changes
Aug 22, 2024
58fdabf
to
112d6dc
Compare
255b9e7
to
6f86959
Compare
Base automatically changed from
refactor/metadata/clean-up-refactors-3
to
master
August 27, 2024 14:23
…tic metadata [part 2/2]
6f86959
to
927d482
Compare
|
Report | Tue, August 27, 2024 at 14:27:26 UTC |
Project | hathor-core |
Branch | refactor/metadata/clean-up-refactors-4 |
Testbed | ubuntu-22.04 |
Click to view all benchmark results
Benchmark | Latency | Latency Results nanoseconds (ns) | (Δ%) | Latency Lower Boundary nanoseconds (ns) | (%) | Latency Upper Boundary nanoseconds (ns) | (%) |
---|---|---|---|---|
sync-v2 (up to 20000 blocks) | ✅ (view plot) | 101,437,171,060.38 (-0.91%) | 92,136,136,566.14 (90.83%) | 112,610,833,580.84 (90.08%) |
Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help
jansegre
approved these changes
Aug 27, 2024
msbrogli
approved these changes
Aug 27, 2024
2 tasks
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on #1016
Motivation
This PR simply removes test asserts related to methods that will be changed in the next PR, #1018:
FeatureService._calculate_new_state()
call count asserts were removed because feature states will only be calculated once for each block, ever.FeatureService._get_ancestor_iteratively()
call count asserts were removed because this method will be removed.Those changes required removing
with
scopes, making the diff very verbose, so a separate PR was created (setting "Hide whitespace" in the diff view makes it way easier to review).Read the previous PR, #1016, for more info.
Acceptance Criteria
Checklist
master
, confirm this code is production-ready and can be included in future releases as soon as it gets merged