This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Description
The current BagsList implementation does not feature-gate try_state and nor does it have an argument for block number.
As a consequence a bunch of other pallets/tests are calling a variety of try_state methods outside of try-runtime context. What this means is we need to feature gate all the instances of try_state related to BagsList pallet and make sure we have a decent substitute to call within tests/benchmarks, similar to do_try_state in staking pallet.