Function sentry::db::validator_message::latest_new_state
source · pub async fn latest_new_state<S: BalancesState>(
pool: &DbPool,
channel: &Channel,
state_root: &str
) -> Result<Option<MessageResponse<NewState<S>>>, PoolError>Expand description
Returns the latest [NewState] message for this [Channel] and the provided state_root.
Ordered by: received DESC