Skip to content
Snippets Groups Projects
user avatar
Xavier Lau authored
Introduce `frame_system::Pallet::run_to_block`,
`frame_system::Pallet::run_to_block_with`, and
`frame_system::RunToBlockHooks` to establish a generic `run_to_block`
mechanism for mock tests, minimizing redundant implementations across
various pallets.

Closes #299.

---

Polkadot address: 156HGo9setPcU2qhFMVWLkcmtCEGySLwNqa3DaEiYSWtte4Y

---------

Signed-off-by: default avatarXavier Lau <x@acg.box>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
Co-authored-by: command-bot <>
Co-authored-by: default avatarGuillaume Thiolliere <guillaume.thiolliere@parity.io>
Co-authored-by: default avatarGuillaume Thiolliere <gui.thiolliere@gmail.com>
b72e76fb
Name Last commit Last update
..
src
Cargo.toml