-
Notifications
You must be signed in to change notification settings - Fork 5
feat: kes validation #357
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
Merged
feat: kes validation #357
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
aa5a4eb
feat: make empty block_kes_validator and add KesValidationError Type
golddydev 7061589
Merge branch 'golddydev/vrf-validation' into golddydev/kes-validation
golddydev 9590495
wip: add kes validation module
golddydev 17e6b26
Merge branch 'golddydev/vrf-validation' into golddydev/kes-validation
golddydev 19e960e
feat: add kes ocert validation
golddydev 44e4562
Merge branch 'golddydev/vrf-validation' into golddydev/kes-validation
golddydev 15d14bd
Merge branch 'golddydev/vrf-validation' into golddydev/kes-validation
golddydev 1fb00b8
feat: add kes signature check function and test data
golddydev 49896d0
Merge branch 'main' into golddydev/kes-validation
golddydev f69be53
feat: implement kes validation with genesis key's block test
golddydev 80e851c
fix: cargo shear
golddydev bb8642f
refactor: update active spos on kes validator
golddydev 890445c
fix: cargo fmt
golddydev 007a358
refactor: add more test cases - both tpraos and praos blocks
golddydev 7ddd2f0
feat: update ocert counters when block is validated successfully
golddydev 4d1e300
fix: log kes validation with details
golddydev acc81ca
Merge branch 'main' into golddydev/kes-validation
golddydev 3c6ee83
fix: add pool id to InvalidSignatureOcert error
golddydev 46a107c
fix: move unnecessary functions to test section
golddydev 17088d7
fix: remove mut for publisher
golddydev 6a4c2a3
fix: cargo fmt
golddydev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| [advisories] | ||
| ignore = [] | ||
| informational_warnings = [] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Acropolis Block KES Validator | ||
|
|
||
| [package] | ||
| name = "acropolis_module_block_kes_validator" | ||
| version = "0.1.0" | ||
| edition = "2021" | ||
| authors = ["Golddy <golddy@sundae.fi>"] | ||
| description = "Validate the KES in the block header" | ||
golddydev marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| license = "Apache-2.0" | ||
|
|
||
| [dependencies] | ||
| acropolis_common = { path = "../../common" } | ||
|
|
||
| caryatid_sdk = { workspace = true } | ||
|
|
||
| anyhow = { workspace = true } | ||
| config = { workspace = true } | ||
| hex = { workspace = true } | ||
| imbl = { workspace = true } | ||
| tokio = { workspace = true } | ||
| tracing = { workspace = true } | ||
| thiserror = "2.0.17" | ||
| pallas = { workspace = true } | ||
|
|
||
| kes-summed-ed25519 = { git = "https://github.com/txpipe/kes", rev = "f69fb357d46f6a18925543d785850059569d7e78" } | ||
|
|
||
| [lib] | ||
| path = "src/block_kes_validator.rs" | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.