-
Notifications
You must be signed in to change notification settings - Fork 983
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
checked masp params in node #1619
Conversation
juped
commented
Jun 26, 2023
- masp: deduplicate parameters loading
- masp: check size and hash of params in node
@@ -373,7 +335,7 @@ impl<P1, R1, N1> | |||
|
|||
/// Abstracts platform specific details away from the logic of shielded pool | |||
/// operations. | |||
#[async_trait(?Send)] | |||
#[async_trait(? Send)] |
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.
why the hell did fmt do this
c826802
to
26ad3d3
Compare
|| paths.convert != convert_path | ||
|| paths.output != output_path | ||
{ | ||
panic!( |
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 needs to be fixed in the future. We shouldn't panic but rather return an error, because otherwise consumers of the SDK can't really handle these failures with error messages.
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 is in the node, not the sdk
Did you verify that the hashes here are correct? |
* ray/masp-checked: changelog: add #1619 masp: check size and hash of params in node masp: deduplicate parameters loading