-
Notifications
You must be signed in to change notification settings - Fork 412
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: global memory sharding #994
Conversation
core/src/operations/lt.rs
Outdated
|
||
let a: [AB::Expr; N] = core::array::from_fn(|i| a[i].clone().into()); | ||
let b: [AB::Expr; N] = core::array::from_fn(|i| b[i].clone().into()); | ||
// a.clone().try_into().unwrap(); |
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.
nit: remove
// The byte flags give a specification of which byte is `first_eq`, i,e, the first most | ||
// significant byte for which the element `a` is smaller than `b`. To verify the | ||
// less-than claim we need to check that: | ||
// * For all bytes until `first_eq` the element `a` byte is equal to the `b` byte. |
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.
first_lt, not first_eq?
@@ -101,6 +111,22 @@ impl SP1Prover { | |||
"non-last shard is halted", | |||
)); | |||
} | |||
// The previous last initialized address of the previous shard should be equal to | |||
// the last initialized address of the current shard. |
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.
I think you mean previous init, not last initialized for second part
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.
(code is correct, just not comment)
)); | ||
} | ||
// The previous last finalized address of the previous shard should be equal to | ||
// the last finalized address of the current shard. |
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.
similar comment here
Before you merge, let's coordinate on merging it into |
No description provided.