-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(router-minor): support Message Id format for Aleo #689
Conversation
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.
this should be implemented like the other message ids, particularly with a regex. This is not very safe to use the aleo_types crate to do the parsing. For instance, what if that crate allows different representations of the same transaction id? like upper vs lowercase, 0x vs not, etc. What if it does not allow that today, but does in the future? This part of the code is very sensitive and needs to be extremely secure.
@cjcobb23 thanks for the review. Please let me know if further changes are needed. |
9701d0c
to
d610d3b
Compare
About the verification of Aleo Address, Transaction, and Transition. Do you need this part of the work at this stage? |
e0f1370
to
f164ff1
Compare
f164ff1
to
6434f72
Compare
e8974cb
to
5414e33
Compare
78429ee
to
d9ed2a4
Compare
a802126
to
2851d1c
Compare
2db90cd
to
090fdb5
Compare
090fdb5
to
a6d4c28
Compare
a6d4c28
to
ca20afa
Compare
When trying to deploy the contract, it gives this error when the type of length is usize: Error: rpc error: code = Unknown desc = rpc error: code = Unknown desc = failed to execute message; message index: 0: Error calling the VM: Error compiling Wasm: Could not compile: WebAssembly translation error: Error in middleware Gatekeeper: Float operator detected: F64Load { memarg: MemoryImmediate { align: 3, offset: 8, memory: 0 } }. The use of floats is not supported.: create wasm contract failed [CosmWasm/[email protected]/x/wasm/keeper/keeper.go:160] With gas wanted: '0' and gas used: '9525292' : unknown request
Description
Support
MessageIdFormat
for Aleo