pub type FailedReleases<T: Config> = StorageValue<_GeneratedPrefixForStorageFailedReleases<T>, BoundedVec<ReleaseMessageToPara, T::MaxFailedReleases>, ValueQuery>;Expand description
Releases that could not be sent yet, oldest first.
A release cannot fail: [ChannelDepositProvider] requires it to be applied. So when
Config::SendToPara refuses a release, it waits here instead of being dropped, and is
retried in on_poll. Any later release joins the queue behind it, to keep releases in
order.
Normally nothing waits here. It only fills when the transport to the parachain is broken.
While it is not empty, other deposit requests are refused with Error::TransportBusy so
that they do not overtake a waiting release. Once it is full, further releases are dropped
with Event::ReleaseDropped; governance then has to fix the deposits on the parachain
with force_set_deposit of pallet-hrmp-para.
Storage type is [StorageValue] with value type BoundedVec < ReleaseMessageToPara, T :: MaxFailedReleases >.
Aliased Type§
pub struct FailedReleases<T: Config>(/* private fields */);