Closed schemar closed 5 years ago
Ready for review
Moved to bounce, will add more patterns.
Ready for review again.
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 ingeneratedProofData.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?
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 ingeneratedProofData.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.
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 ingeneratedProofData.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.
:+1: on it!
Ready for review again. /cc @sarvesh-ost
Fixes #718