-
Notifications
You must be signed in to change notification settings - Fork 29
Feat/ Private input (fixed variant) #625
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
Conversation
_Follow-up to #620_ Simplify the `Platform` type by exposing the `Range` type. Co-authored-by: Aurélien Nicolas <[email protected]>
👍 will review #622 and see whats going on for the integration test error |
@@ -22,7 +22,7 @@ pub const CENO_PLATFORM: Platform = Platform { | |||
rom: 0x2000_0000..0x3000_0000, | |||
ram: 0x8000_0000..0xFFFF_0000, | |||
public_io: 0x3000_1000..0x3000_2000, | |||
private_io: 0x4000_0000..0x5000_0000, | |||
private_io: 0x4000_0000..0x4000_1000, |
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.
Interesting. Why the smaller range?
As mentioned on the other PR: please leave the end of the range fixed (if possible) and vary the start, if you have to.
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.
So it doesn’t take forever as this variant has a cost proportional to the fixed size.
RowMajorMatrix::<F>::new(final_mem.len().next_power_of_two(), num_witness); | ||
let max_len = DVRAM::max_len(&self.params); | ||
assert!(final_mem.len() <= max_len); | ||
assert!(max_len.is_power_of_two()); |
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.
0 should also be fine?
This is a working but unsound variant of #622.
Example test command:
TODO:
DynamicAddr
record evaluate != expected_evals
.SetTableAddrType
#573