-
Notifications
You must be signed in to change notification settings - Fork 31
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
Generate proof data #743
Generate proof data #743
Conversation
Release 0.10
Release 0.10
1e0d20e
to
c46026d
Compare
Ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented.
Moved to bounce, will add more patterns. |
Ready for review again. |
34c70f7
to
e7606c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 👍
Overall looks good 🐼
Question: Why values are stored as a buffer, not as a string like other files in test/data
folder.
Did you try to recreate the js buffer object from serialized data in generatedProofData.json
?
@sarvesh-ost yes I convert them there: https://github.com/OpenST/mosaic-contracts/pull/751/files#diff-45732ae0a73ed327c02d5c209394c4c8R27 Should I store them right away in hex instead? |
I think yes, will reduce the overhead of reconverting to hex and this also makes it consistent to other JSON files in the same folder. |
👍 on it! |
Ready for review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐇
Fixes #718