Skip to main content

get_state_sequence

Function get_state_sequence 

Source
pub(in message_pool) fn get_state_sequence<T: Provider>(
    api: &T,
    key_cache: &SizeTrackingLruCache<u64, Address>,
    state_nonce_cache: &SizeTrackingLruCache<StateNonceCacheKey, u64>,
    addr: &Address,
    cur_ts: &Tipset,
) -> Result<u64, Error>
Expand description

Get the state nonce for an address, accounting for messages already included in cur_ts.