-
Notifications
You must be signed in to change notification settings - Fork 5
wip: block vrf validation #288
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
Open
golddydev
wants to merge
36
commits into
main
Choose a base branch
from
golddydev/vrf-validation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
584f4a0
feat: add empty block vrf validator module
golddydev 70b3eb4
Merge branch 'main' into golddydev/vrf-validation
golddydev ec6e5bf
refactor: change module name
golddydev c130403
fix: move assert_header
golddydev 28f7f5d
fix: merge conflicts
golddydev 6231c47
wip: add tpraos vrf proof validadtion step
golddydev 6119aca
Merge branch 'main' into golddydev/vrf-validation
golddydev 5fa68e9
refactor: move ouroboros to common
golddydev 9d7b9fe
refactor: vrf validation errors
golddydev 570414d
refactor: restructure ouroboros tpraos validation logic
golddydev cb25214
Merge branch 'main' into golddydev/vrf-validation
golddydev c2880e5
feat: add stake threshold check
golddydev 6c0124d
revert: omnibus
golddydev 9bec09a
refactor: read epoch nonce in block vrf validator and update types fo…
golddydev 46b3501
refactor: add validation for non obft slots
golddydev 2475252
chore: add spo state subscription
golddydev fe41c0f
Merge branch 'main' into golddydev/vrf-validation
golddydev 3cdc3c4
feat: implement snapshot state for vrf validation
golddydev 0a07b2c
fix: cargo fmt
golddydev 4fec204
fix: typo
golddydev 0cba1a7
chore: simplify is_tpraos bool check
golddydev a64ae1f
feat: add vrf validation publisher
golddydev 91c7a87
chore: remove unused var
golddydev f591f6f
refactor: publish only active epoch nonce
golddydev 7d3d5ee
refactor: check block info sync in vrf validator
golddydev d968c88
refactor: epoch nonce publisher to publish nonces when there are not …
golddydev 2b5dcd4
refactor: add move test cases to tpraos validation
golddydev 6c148fb
revert: git ignore file
golddydev d19c1d8
fix: update praos vrf validation to use one vrf
golddydev 10c70c0
fix: typo
golddydev 59aa122
Merge branch 'main' into golddydev/vrf-validation
golddydev a0c0045
test: add praos test case
golddydev 22fd669
Merge branch 'main' into golddydev/vrf-validation
golddydev 9c6e29d
Merge branch 'main' into golddydev/vrf-validation
golddydev c82b74b
fix: build errors
golddydev 7604607
fix: clippy
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,12 @@ thiserror = "2.0.17" | |
| sha2 = "0.10.8" | ||
| caryatid_process.workspace = true | ||
| config.workspace = true | ||
| pallas = { workspace = true } | ||
| pallas-math = { workspace = true } | ||
|
Comment on lines
+50
to
+51
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lets try to keep pallas limited to specific modules which need it. |
||
|
|
||
| # The vrf crate has not been fully tested in production environments and still has several upstream issues that are open PRs but not merged yet. | ||
golddydev marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| vrf_dalek = { git = "https://github.com/txpipe/vrf", rev = "044b45a1a919ba9d9c2471fc5c4d441f13086676" } | ||
| dashu-int = "0.4.1" | ||
|
|
||
| [lib] | ||
| crate-type = ["rlib"] | ||
|
|
||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to have this as a part of the consensus module. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this approach makes sense that we can pull all consensus logic into one place.