Skip to content

Conversation

@winder
Copy link
Contributor

@winder winder commented Oct 26, 2021

Summary

Use the participation registry for displaying participation key information.

Test Plan

@winder winder changed the base branch from master to feature/partkey October 26, 2021 21:19
@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2021

Codecov Report

Merging #3148 (70bd074) into feature/partkey (f688227) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##           feature/partkey    #3148      +/-   ##
===================================================
- Coverage            44.12%   44.07%   -0.06%     
===================================================
  Files                  394      394              
  Lines                87619    87648      +29     
===================================================
- Hits                 38666    38630      -36     
- Misses               42859    42914      +55     
- Partials              6094     6104      +10     
Impacted Files Coverage Δ
cmd/goal/account.go 14.04% <0.00%> (-0.29%) ⬇️
daemon/algod/api/server/v2/handlers.go 0.00% <0.00%> (ø)
libgoal/participation.go 0.00% <0.00%> (ø)
util/metrics/reporter.go 56.31% <0.00%> (-4.86%) ⬇️
util/metrics/gauge.go 68.00% <0.00%> (-2.67%) ⬇️
network/wsPeer.go 69.86% <0.00%> (-2.41%) ⬇️
util/metrics/counter.go 78.57% <0.00%> (-2.39%) ⬇️
txnsync/encodedgroupsmarshalers.go 97.74% <0.00%> (-2.26%) ⬇️
ledger/catchpointwriter.go 68.18% <0.00%> (-1.30%) ⬇️
cmd/tealdbg/debugger.go 72.86% <0.00%> (-1.01%) ⬇️
... and 6 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 f688227...70bd074. Read the comment docs.

@winder winder force-pushed the will/pki-goal-info branch from 23b421c to 8c88e2e Compare October 28, 2021 14:50
@winder winder self-assigned this Oct 29, 2021
@winder winder marked this pull request as ready for review October 29, 2021 13:37
fmt.Printf("Key dilution: %d\n", part.Key.VoteKeyDilution)
fmt.Printf("Selection key: %s\n", base64.StdEncoding.EncodeToString(part.Key.SelectionParticipationKey))
fmt.Printf("Voting key: %s\n", base64.StdEncoding.EncodeToString(part.Key.VoteParticipationKey))
//fmt.Printf("State proof key: %s\n", base64.StdEncoding.EncodeToString(part.StateProofKey))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the merkle tree root, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the state proof? I'm not sure, this is kinda stubbed in for state-proof integration. I'll add a TODO comment.

@winder winder merged commit 3c391eb into algorand:feature/partkey Nov 3, 2021
@winder winder deleted the will/pki-goal-info branch November 3, 2021 15:46
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