Skip to content
Snippets Groups Projects
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 <git@kchr.de>
Co-authored-by: default avatarMuharem <ismailov.m.h@gmail.com>
parent 2700dbf2
No related merge requests found
Pipeline #503790 waiting for manual action with stages
in 31 minutes and 33 seconds
Showing
with 302 additions and 220 deletions
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