mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-04-18 01:23:08 +00:00
fixes
This commit is contained in:
parent
ea135341e8
commit
f6ff07840f
@ -512,10 +512,10 @@ impl<'a> Interpreter<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn run_msize(&mut self) {
|
fn run_msize(&mut self) {
|
||||||
let num_u256s = self.memory.context_memory[0].segments[Segment::MainMemory as usize]
|
let num_bytes = self.memory.context_memory[self.context].segments
|
||||||
|
[Segment::MainMemory as usize]
|
||||||
.content
|
.content
|
||||||
.len();
|
.len();
|
||||||
let num_bytes = num_u256s * 32;
|
|
||||||
self.push(U256::from(num_bytes));
|
self.push(U256::from(num_bytes));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user