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

Update BLS test format: output null for invalid case #3001

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Conversation

hwwhww
Copy link
Contributor

@hwwhww hwwhww commented Sep 20, 2022

In #2982, we updated our test vector YAML representer to output null when the value is Python None.

Before that PR, it was:

output:

After that PR, it becomes:

output: null

IMHO it's better to use only one rule for both cases. This PR changes the BLS test format to align with sync test format. null seems clearer than empty.

p.s. null is used in engine APIs and that was why I changed our YAML representer in #2982

/cc @asanso for updating bls12-381-tests test suite.

@asanso
Copy link
Contributor

asanso commented Sep 22, 2022

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants