w3f / polkadot-tests

Polkadot Protocol Conformance Tests
GNU General Public License v3.0
11 stars 8 forks source link

Make spec test for the VRF implementation #11

Open drskalman opened 4 years ago

drskalman commented 4 years ago

Similar to SCALE and Trie tests, we need a test to generate VRF values and verify with Schnorrkel. It also requires that Schnorrkel compute the VRF and uses the implementation to verify it..

burdges commented 4 years ago

I think one could improve the test vector situation in schnorrkel too, and then use those. ed25519-dalek even pull test vectors from an external file, but maybe that's overkill.