mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 06:13:07 +00:00
Address review comments
This commit is contained in:
parent
3c699be781
commit
5b71eb4ee0
@ -97,7 +97,7 @@ const MISC_CONSTANTS: [(&str, [u8; 32]); 3] = [
|
||||
hex!("0000000000000000000000000000000100000000000000000000000000000000"),
|
||||
),
|
||||
// Position in SEGMENT_RLP_RAW where the empty node encoding is stored. It is
|
||||
// equal to u32::MAX + @SEGMENT_RLP_RAW so that all rlp pointers are much smaller than that
|
||||
// equal to u32::MAX + @SEGMENT_RLP_RAW so that all rlp pointers are much smaller than that.
|
||||
(
|
||||
"ENCODED_EMPTY_NODE_POS",
|
||||
hex!("0000000000000000000000000000000000000000000000000000000CFFFFFFFF"),
|
||||
|
||||
@ -1196,7 +1196,7 @@ impl<'a> Interpreter<'a> {
|
||||
self.generation_state.registers.context = context;
|
||||
}
|
||||
|
||||
/// Writes the encoding of 0 to position @ENCODED_EMPTY_NODE_POS
|
||||
/// Writes the encoding of 0 to position @ENCODED_EMPTY_NODE_POS.
|
||||
pub(crate) fn initialize_rlp_segment(&mut self) {
|
||||
self.generation_state.memory.set(
|
||||
MemoryAddress::new(0, Segment::RlpRaw, 0xFFFFFFFF),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user