query_state_exclusive_solution_set

Function query_state_exclusive_solution_set 

Source
pub fn query_state_exclusive_solution_set(
    conn: &Connection,
    contract_ca: &ContentAddress,
    key: &Key,
    block_number: Word,
    solution_set_index: u64,
) -> Result<Option<Value>, QueryError>
Expand description

Query for the most recent version value of a key in a contracts state that was set at or before the given block number and before the solution set index (within that block).

This is exclusive of the solution set’s state ..=block_number[..solution_set_index].