This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
TryState
: automatically execute after each migration
#12130
Labels
J0-enhancement
An additional feature request.
Comments
bkchr
changed the title
Aug 29, 2022
TryState
: automatically execute after each mogrationTryState
: automatically execute after each migration
This was referenced Sep 5, 2022
wild dream: have a standard testing framework, call it automatically after each TEST. |
To achieve executing this after each test: have a new macro This generates, per pallet (e.g. staking)
lastly, it implements functions such as
in each test. and this I really like this idea. It solves legacy issues like paritytech/polkadot-sdk#367. The shitty thing about this is more hidden code, more magic, flying in the face of paritytech/polkadot-sdk#32. |
Repository owner
moved this from Backlog
to Done
in Runtime / FRAME
Dec 14, 2022
Repository owner
moved this from 📕 Backlog
to ✅ Done
in (Nominated) Proof of Stake
Dec 14, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not automatically yet, I think it is okay to leave it up to the pallet to do so, which is what you are seeing here.
We can make a follow-up and once
try_state
is a bit more standard, make it execute upon all migrations.Originally posted by @kianenigma in #10174 (comment)
Ofc, IFF
feature = try-runtime
The text was updated successfully, but these errors were encountered: