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

Algod: Compcert signature version #3665

Merged
merged 11 commits into from
Feb 23, 2022

Conversation

algonathan
Copy link
Contributor

Summary

Test Plan

@codecov-commenter
Copy link

codecov-commenter commented Feb 20, 2022

Codecov Report

Merging #3665 (3fff85a) into feature/stateproofs (cbf1939) will decrease coverage by 0.04%.
The diff coverage is 63.63%.

Impacted file tree graph

@@                   Coverage Diff                   @@
##           feature/stateproofs    #3665      +/-   ##
=======================================================
- Coverage                48.10%   48.06%   -0.05%     
=======================================================
  Files                      381      381              
  Lines                    62080    62086       +6     
=======================================================
- Hits                     29864    29841      -23     
- Misses                   28800    28823      +23     
- Partials                  3416     3422       +6     
Impacted Files Coverage Δ
crypto/falconWrapper.go 73.07% <0.00%> (-2.93%) ⬇️
crypto/merklesignature/merkleSignatureScheme.go 69.56% <0.00%> (-1.55%) ⬇️
crypto/compactcert/builder.go 65.90% <80.00%> (+0.39%) ⬆️
crypto/compactcert/verifier.go 66.66% <100.00%> (+1.66%) ⬆️
network/wsPeer.go 65.83% <0.00%> (-5.28%) ⬇️
cmd/algoh/blockWatcher.go 77.77% <0.00%> (-3.18%) ⬇️
catchup/service.go 68.64% <0.00%> (-1.49%) ⬇️
network/requestTracker.go 70.25% <0.00%> (-0.87%) ⬇️
network/wsNetwork.go 62.99% <0.00%> (-0.30%) ⬇️
ledger/internal/eval.go 71.87% <0.00%> (-0.29%) ⬇️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbf1939...3fff85a. Read the comment docs.

crypto/merklesignature/merkleSignatureScheme.go Outdated Show resolved Hide resolved
crypto/compactcert/structs.go Outdated Show resolved Hide resolved
crypto/falconWrapper.go Outdated Show resolved Hide resolved
crypto/compactcert/builder.go Outdated Show resolved Hide resolved
@algonathan algonathan changed the title Compcert signature version Algod: Compcert signature version Feb 23, 2022
@id-ms id-ms merged commit 49384e5 into algorand:feature/stateproofs Feb 23, 2022
@algonathan algonathan deleted the compcert-sig-version branch February 23, 2022 12:34
id-ms pushed a commit that referenced this pull request Feb 27, 2022
* adding version check for falcon signatures

* go.mod tidy

* removed from merklesig Verify func: version inspection

* using in32 in compcert

* added unit test to validation of falcon sig version

* unit test to inspect correct version of signature

* refactor, no need to hold a whole verify in order to verify sig version

* fix: untidy gomod

* repositioned error var

* fix: using assert.ErrorIs instead of Equals

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

Successfully merging this pull request may close these issues.

3 participants