Skip to main content

read_set

Function read_set 

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

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