Skip to main content

read_list

Function read_list 

Source
pub fn read_list<T, W>(
    state: &ContractState<InMemoryDB>,
    executable: &IrExecutable<W>,
    index: usize,
    field: &str,
) -> Result<CompactList<T>, ContractRuntimeError>
Expand description

Read a List<T> ledger field at index using TryFrom<RuntimeValue>.