Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Bandersnatch VRF #14412

Merged
merged 45 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
8c39821
Introduce bandersnatch vrf
davxy Jun 18, 2023
a9446fd
Some documentation
davxy Jun 18, 2023
bb3e022
Fix tests
davxy Jun 18, 2023
bdd3df4
Fix docs refs
davxy Jun 18, 2023
e0e493a
Some more docs
davxy Jun 19, 2023
b665397
Comments about key derivation
davxy Jun 19, 2023
1faf0e2
Make clippy happy
davxy Jun 21, 2023
2a55c7d
Merge branch 'master' into bandersnatch-vrf
davxy Jun 21, 2023
7812da8
Fix ring context enc/dec test
davxy Jun 21, 2023
dd53abc
Fix docs
davxy Jun 21, 2023
03ca535
Switch to upstream ring-vrf
davxy Jun 22, 2023
afb84c5
Use sub-domains to construct VrfInput
davxy Jun 26, 2023
b4e0279
Bandersnatch VRF experimental feature
davxy Jun 26, 2023
584e07e
Restore upstream dep
davxy Jun 29, 2023
7791d66
Fix feature flags
davxy Jun 29, 2023
13ad9ad
Merge branch 'master' into bandersnatch-vrf
davxy Jun 29, 2023
acaab76
Apply typo fix
davxy Jul 18, 2023
f22354d
Bump bandersnatch-vrfs
davxy Jul 18, 2023
62d2ed4
Weiestrass form has been selected
davxy Jul 18, 2023
759406e
Rename bandersnatch testing app crypto id
davxy Jul 18, 2023
935b87b
Merge branch 'master' into bandersnatch-vrf
davxy Jul 18, 2023
3ccdd86
Support for seed recovery
davxy Jul 22, 2023
e8a40ab
Clarified domain size <-> key size relationship
davxy Jul 25, 2023
b770f0d
Merge branch 'master' into bandersnatch-vrf
davxy Jul 25, 2023
84ad4ae
cargo fmt
davxy Jul 25, 2023
63aef58
Merge branch 'master' into bandersnatch-vrf
davxy Jul 25, 2023
ca11f8d
Trigger CI
davxy Jul 26, 2023
9d279fa
Merge branch 'master' into bandersnatch-vrf
davxy Jul 27, 2023
b27c61f
Some required tweaks to crypto types
davxy Jul 28, 2023
a5e4cd4
Remove leftovers from Cargo.toml
davxy Jul 28, 2023
7bf3c70
Remove some TODO notes
davxy Jul 28, 2023
efd39bd
Simplification of structs construction
davxy Jul 28, 2023
ad76f57
Merge branch 'master' into bandersnatch-vrf
davxy Aug 1, 2023
062b13e
Merge branch 'master' into bandersnatch-vrf
davxy Aug 2, 2023
c562181
Trigger CI
davxy Aug 2, 2023
b1f6c58
Apply review suggestion
davxy Aug 9, 2023
9342856
Docs typo
davxy Aug 9, 2023
64ec625
Merge branch 'master' into bandersnatch-vrf
davxy Aug 9, 2023
ece4016
Fix keystore tests
davxy Aug 9, 2023
3b553b6
Consistence
davxy Aug 9, 2023
c2b00b5
Add ref to git rependency
davxy Aug 9, 2023
b339b3a
Static check of MAX_VRF_IOS value
davxy Aug 9, 2023
2b2676b
Clarify behavior for out of ring keys signatures
davxy Aug 9, 2023
0739e0f
Add test for ring-vrf to the keystore
davxy Aug 9, 2023
a457359
Fix docs
davxy Aug 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
161 changes: 141 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,17 @@ inherits = "release"
lto = "fat"
# https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
codegen-units = 1

[patch."https://github.com/w3f/ring-vrf"]
bandersnatch_vrfs = { git = "https://github.com/davxy/ring-vrf", branch = "refactory-and-tests" }
# bandersnatch_vrfs = { path = "/mnt/ssd/develop/w3f/ring-vrf/bandersnatch_vrfs" }

[patch."https://github.com/w3f/fflonk"]
fflonk = { git = "https://github.com/davxy/fflonk", branch = "working-fork" }
# fflonk = { path = "/mnt/ssd/develop/w3f/fflonk" }

[patch."https://github.com/w3f/ring-proof"]
common = { git = "https://github.com/davxy/ring-proof", branch = "working-fork" }
ring = { git = "https://github.com/davxy/ring-proof", branch = "working-fork" }
# common = { path = "/mnt/ssd/develop/w3f/ring-proof/common" }
# ring = { path = "/mnt/ssd/develop/w3f/ring-proof/ring" }
4 changes: 2 additions & 2 deletions client/keystore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ tempfile = "3.1.0"
# This feature adds BLS crypto primitives. It should not be used in production since
# the BLS implementation and interface may still be subject to significant change.
bls-experimental = [
"sp-core/bls-experimental",
"sp-keystore/bls-experimental",
"sp-core/bls-experimental",
"sp-keystore/bls-experimental",
]
Loading