pub trait StateRead: Send + Sync {
type Error: Debug + Display;
// Required method
fn key_range(
&self,
contract_addr: ContentAddress,
key: Key,
num_values: usize,
) -> Result<Vec<Vec<Word>>, Self::Error>;
}
Expand description
Read-only access to state required by the VM.