Skip to content

dev: add name for lookup#29

Merged
ChihChengLiang merged 4 commits into
privacy-ethereum:kzg-rebasefrom
lispc:debug/better_lookup_err3
Feb 16, 2022
Merged

dev: add name for lookup#29
ChihChengLiang merged 4 commits into
privacy-ethereum:kzg-rebasefrom
lispc:debug/better_lookup_err3

Conversation

@lispc

@lispc lispc commented Feb 15, 2022

Copy link
Copy Markdown

Currently the lookup error message only contains the lookup index but no lookup name. So debugging lookup error is very difficult. This PR add a name to lookup, so VerifyFailure::Lookup can contain the lookup name.

Solves #17 and zcash#441

@lispc lispc mentioned this pull request Feb 15, 2022

@ChihChengLiang ChihChengLiang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me! Thank you, @lispc, for the PR. This would make debugging lookup a lot nicer.

@ChihChengLiang ChihChengLiang merged commit 6f8a605 into privacy-ethereum:kzg-rebase Feb 16, 2022
@barryWhiteHat

Copy link
Copy Markdown

Should this PR be into main or kzg-rebase ?

@ChihChengLiang

Copy link
Copy Markdown
Collaborator

@barryWhiteHat Yes, just did one the merge kzg-rebase to main in #32

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.

3 participants