mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-18 00:26:07 +00:00
Bandersnatch: ring-context generic over domain size (#2581)
Serialized length is now statically computed depending on the domain size. Opens the primitive to more generic usages not related to Sassafras expectations Address one point of https://github.com/paritytech/polkadot-sdk/issues/2364
This commit is contained in:
1 parent
5789d6a7b4
commit
ecfdb2b74f
3 files changed
+70
-55
No files matched your search
@@ -525,7 +525,7 @@ mod tests {
|
||||
|
||||
let store = MemoryKeystore::new();
|
||||
|
||||
let ring_ctx = bandersnatch::ring_vrf::RingContext::new_testing();
|
||||
let ring_ctx = bandersnatch::ring_vrf::RingContext::<1024>::new_testing();
|
||||
|
||||
let mut pks: Vec<_> = (0..16)
|
||||
.map(|i| bandersnatch::Pair::from_seed(&[i as u8; 32]).public())
|
||||
|
||||
Reference in new issue
Block a user