-
Notifications
You must be signed in to change notification settings - Fork 168
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
Stack inputs serde #1168
Stack inputs serde #1168
Conversation
24352ba
to
cbfdb4a
Compare
8a300e6
to
2a68026
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.
Looks good! Thank you! I left one comment inline regarding reducing the max number of inputs to u16::MAX
(probably still way too generous). Once this is addressed, we can merge.
Also, let'd double check that this change doesn't break anything in the executable.
Lastly, this may break things in miden-base
and miden-node
- so, let's make sure we fix builds there shortly after we merge this.
core/src/stack/inputs.rs
Outdated
@@ -6,6 +6,8 @@ use core::slice; | |||
// STACK INPUTS | |||
// ================================================================================================ | |||
|
|||
const MAX_STACK_INPUTS_SIZE: usize = u32::MAX as usize; |
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.
We can probably limit this to u16:MAX
.
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.
changed
2a68026
to
9617918
Compare
I ran |
Describe your changes
Adds deserialization to the stack inputs
Checklist before requesting a review
next
according to naming convention.