mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
fmt
This commit is contained in:
parent
afd4bd0406
commit
9bb6da049e
@ -205,7 +205,8 @@ impl<'a> Interpreter<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn get_current_general_memory(&self) -> Vec<U256> {
|
pub(crate) fn get_current_general_memory(&self) -> Vec<U256> {
|
||||||
self.generation_state.memory.contexts[self.context].segments[Segment::KernelGeneral as usize]
|
self.generation_state.memory.contexts[self.context].segments
|
||||||
|
[Segment::KernelGeneral as usize]
|
||||||
.content
|
.content
|
||||||
.clone()
|
.clone()
|
||||||
}
|
}
|
||||||
@ -219,7 +220,8 @@ impl<'a> Interpreter<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn set_current_general_memory(&mut self, memory: Vec<U256>) {
|
pub(crate) fn set_current_general_memory(&mut self, memory: Vec<U256>) {
|
||||||
self.generation_state.memory.contexts[self.context].segments[Segment::KernelGeneral as usize]
|
self.generation_state.memory.contexts[self.context].segments
|
||||||
|
[Segment::KernelGeneral as usize]
|
||||||
.content = memory;
|
.content = memory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user