Robin Salen 0d97b93af5
Add some documentation in EVM crate (#1295)
Co-authored-by: Linda Guiga <linda.guiga@toposware.com>
2023-10-30 14:28:24 -04:00

14 lines
629 B
Rust

//! The Memory STARK is used to handle all memory read and write operations happening when
//! executing the EVM. Each non-dummy row of the table correspond to a single operation,
//! and rows are ordered by the timestamp associated to each memory operation.
pub mod columns;
pub mod memory_stark;
pub mod segments;
// TODO: Move to CPU module, now that channels have been removed from the memory table.
pub(crate) const NUM_CHANNELS: usize = crate::cpu::membus::NUM_CHANNELS;
/// The number of limbs holding the value at a memory address.
/// Eight limbs of 32 bits can hold a `U256`.
pub(crate) const VALUE_LIMBS: usize = 8;