LLFourn / secp256kfun

A pure-rust secp256k1 library optimised for fun
BSD Zero Clause License
100 stars 28 forks source link

Add more of the musig spec tests #141

Open LLFourn opened 1 year ago

LLFourn commented 1 year ago

A few new musig spec test type have been added. We should test against them.

See: https://github.com/jonasnick/bips/tree/musig2/bip-musig2/vectors

and look how the python code uses the json files. Currently we have:

  key_agg_vectors.json
  sign_verify_vectors.json
  tweak_vectors.json

Some of the ones provided are not applicable since we handle nonce generation in a different way but I think we could test against some of the others.