Skip to content
Snippets Groups Projects
Unverified Commit 569a318d authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by Ankan
Browse files

Make `BlockNumberProvider::set_block_number` available in tests / std (#3974)


This function is currently only exposed to runtime-benchmarks, where it
should be available in all tests.

Also made it available in `std` because this is how `set_block_number`
works in FRAME System, however, not sure if it is needed in the latest
std/no_std paradigm.

---------

Co-authored-by: default avatarBastian Köcher <git@kchr.de>
Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
parent e8db4e24
No related merge requests found
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