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

[v0.29] Backport: Fix OBO and inconsistency in signer indices decoding used in Access API #3906 #3979

Merged
merged 7 commits into from
Mar 1, 2023

Conversation

jordanschalm
Copy link
Member

Backport #3906

- use ByEpoch method to be consistent with QC generation and validation
  elsewhere
- use parent view as reference, rather than block itself (this is an OBO
  when the committee changes between blocks, as at epoch boundaries)
@jordanschalm jordanschalm requested review from AlexHentschel, peterargue and zhangchiqing and removed request for ramtinms March 1, 2023 23:22
@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2023

Codecov Report

Merging #3979 (6cf9ba4) into v0.29 (6969403) will decrease coverage by 4.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            v0.29    #3979      +/-   ##
==========================================
- Coverage   53.28%   49.24%   -4.04%     
==========================================
  Files         818      531     -287     
  Lines       76454    50059   -26395     
==========================================
- Hits        40741    24654   -16087     
+ Misses      32403    23279    -9124     
+ Partials     3310     2126    -1184     
Flag Coverage Δ
unittests 49.24% <ø> (-4.04%) ⬇️

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

Impacted Files Coverage Δ
module/jobqueue/workerpool.go 86.48% <0.00%> (-8.11%) ⬇️
...nsensus/hotstuff/signature/block_signer_decoder.go
engine/execution/rpc/engine.go
engine/protocol/handler.go
...on/computer/uploader/retryable_uploader_wrapper.go
network/proxy/network.go
consensus/recovery/recover.go
engine/fifoqueue.go
engine/access/rpc/backend/backend_block_details.go
engine/common/requester/engine.go
... and 278 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@jordanschalm jordanschalm merged commit 757143d into v0.29 Mar 1, 2023
@jordanschalm jordanschalm deleted the jordan/v0.29-signer-idx-obo branch March 1, 2023 23:31
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2023

FVM Benchstat comparison

This branch with compared with the base branch onflow:v0.29 commit 6969403

The command (for i in {1..7}; do go test ./fvm ./engine/execution/computation --bench . --tags relic -shuffle=on --benchmem --run ^$; done) was used.

Collapsed results for better readability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants