mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +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:
@@ -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