Skip to content

Use assert instead of return bool#20

Merged
asn-d6 merged 1 commit intomasterfrom
assert-api
Jul 11, 2023
Merged

Use assert instead of return bool#20
asn-d6 merged 1 commit intomasterfrom
assert-api

Conversation

@dapplion
Copy link
Copy Markdown
Collaborator

API style of return Tuple[T, str] mimics Rust. However it mixes this API with exception raising. Given python is a exception based language best to use exception consistently for easier reasoning

Closes #16

@asn-d6 asn-d6 merged commit ade65ac into master Jul 11, 2023
@asn-d6 asn-d6 deleted the assert-api branch July 11, 2023 15:29
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.

Curdleproofs verification may not actually verify results

2 participants