Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update to use noir bignum 0.4.2 #15

Closed
wants to merge 2 commits into from
Closed

Conversation

signorecello
Copy link

@signorecello signorecello commented Nov 26, 2024

Compiling was complaining about missing types

closes #14 as this was a bignum problem

Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is deleting a lot of the tests from this library.

Comment on lines -539 to -558
#[make_test(quote{BN254}, quote{BigNum<3, 254, BN254_Fq_Params>}, quote{BN254Scalar})]
pub struct BN254GenTests {}
#[make_test(quote{Vesta}, quote{VestaFr}, quote{VestaScalar})]
pub struct VestaGenTests {}
#[make_test(quote{Pallas}, quote{PallasFr}, quote{PallasScalar})]
pub struct PallasGenTests {}
#[make_test(quote{BLS12_377}, quote{BLS12_377Fr}, quote{BLS12_377Scalar})]
pub struct BLS377GenTests {}
#[make_test(quote{BLS12_381}, quote{BLS12_381Fr}, quote{BLS12_381Scalar})]
pub struct BLS381GenTests {}
#[make_test(quote{Secp256k1}, quote{Secp256k1Fr}, quote{Secp256k1Scalar})]
pub struct Secp256k1GenTests {}
#[make_test(quote{Secp256r1}, quote{Secp256r1Fr}, quote{Secp256r1Scalar})]
pub struct Secp256r1GenTests {}
#[make_test(quote{Secp384r1}, quote{Secp384r1Fr}, quote{Secp384r1Scalar})]
pub struct Secp384r1GenTests {}
#[make_test(quote{MNT4_753}, quote{MNT4_753Fr}, quote{MNT4_753Scalar})]
pub struct MNT4GenTests {}
#[make_test(quote{MNT6_753}, quote{MNT6_753Fr}, quote{MNT6_753Scalar})]
pub struct MNT6GenTests {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just deleting all the tests. Instead can you change them to work on modules such as in the bignum library?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry I deleted the tests by mistake, should’ve double checked the PR. Thanks!

@TomAFrench TomAFrench closed this Nov 30, 2024
@TomAFrench TomAFrench deleted the zpedro/v0.4.2 branch November 30, 2024 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test disallowed on impl methods seems to throw on structs
2 participants