Skip to content
Unverified Commit 32c3f5e3 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 5e62782d
Pipeline #482177 waiting for manual action with stages
in 55 minutes and 7 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment