Skip to content
Unverified Commit fa524078 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

Update Treasury to Support Relay Chain Block Number Provider (#3970)



The goal of this PR is to have the treasury pallet work on a parachain
which does not produce blocks on a regular schedule, thus can use the
relay chain as a block provider.

Because blocks are not produced regularly, we cannot make the assumption
that block number increases monotonically, and thus have new logic to
handle multiple spend periods passing between blocks.

---------

Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarMuharem <[email protected]>
parent 2700dbf2
Pipeline #503790 waiting for manual action with stages
in 31 minutes and 33 seconds