Skip to content
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

Merged
merged 2 commits into from
Jun 28, 2023
Merged

checked masp params in node #1619

merged 2 commits into from
Jun 28, 2023

Conversation

juped
Copy link
Member

@juped 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)]
Copy link
Member Author

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

@juped juped force-pushed the ray/masp-checked branch 4 times, most recently from c826802 to 26ad3d3 Compare June 26, 2023 19:21
|| paths.convert != convert_path
|| paths.output != output_path
{
panic!(
Copy link
Member

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.

Copy link
Member Author

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

@adrianbrink
Copy link
Member

Did you verify that the hashes here are correct?

@grarco grarco self-requested a review June 27, 2023 17:31
@Fraccaman Fraccaman self-requested a review June 27, 2023 18:08
juped added a commit that referenced this pull request Jun 28, 2023
juped added a commit that referenced this pull request Jun 28, 2023
* ray/masp-checked:
  changelog: add #1619
  masp: check size and hash of params in node
  masp: deduplicate parameters loading
@juped juped merged commit 818885b into main Jun 28, 2023
12 checks passed
@juped juped deleted the ray/masp-checked branch June 28, 2023 03:03
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.

None yet

4 participants