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

Allow an Offset to Lease Periods (#3980)



* add slot offset for slots

* trying things out

* fix test

* improve api to return the first block of a new lease period

* add an integration test with offset

* de-duplicate test

* hide lease period_period_length from public api

* fix benchmarks

* Update runtime/common/src/slots.rs

* support the exact same range of crowdloans

* fix docs

* fix docs again

* introduce offset to runtimes

* fix and check edge case w/ offset and lease period first block

* remove newline

* turn into an option

* fix benchmarks

Co-authored-by: default avatarRobert Habermeier <[email protected]>
parent fcadf0ec
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