Trait polkadot_sdk_frame::traits::OnRuntimeUpgrade
pub trait OnRuntimeUpgrade {
// Provided methods
fn on_runtime_upgrade() -> Weight { ... }
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError> { ... }
fn pre_upgrade() -> Result<Vec<u8>, DispatchError> { ... }
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError> { ... }
}
Expand description
Provided Methods§
fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
The expected and default behavior of this method is to handle executing pre_upgrade
->
on_runtime_upgrade
-> post_upgrade
hooks for a migration.
Internally, the default implementation
- Handles passing data from
pre_upgrade
topost_upgrade
- Ensure storage is not modified in
pre_upgrade
andpost_upgrade
hooks.
Combining the pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
logic flow into a
single method call is helpful for scenarios like testing a tuple of migrations, where the
tuple contains order-dependent migrations.
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
See Hooks::pre_upgrade
.
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
See Hooks::post_upgrade
.
Object Safety§
Implementations on Foreign Types§
§impl OnRuntimeUpgrade for ()
impl OnRuntimeUpgrade for ()
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0> OnRuntimeUpgrade for (TupleElement0,)where
TupleElement0: OnRuntimeUpgrade,
impl<TupleElement0> OnRuntimeUpgrade for (TupleElement0,)where
TupleElement0: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1> OnRuntimeUpgrade for (TupleElement0, TupleElement1)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1> OnRuntimeUpgrade for (TupleElement0, TupleElement1)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
TupleElement124: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
TupleElement124: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
TupleElement124: OnRuntimeUpgrade,
TupleElement125: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
TupleElement124: OnRuntimeUpgrade,
TupleElement125: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
TupleElement124: OnRuntimeUpgrade,
TupleElement125: OnRuntimeUpgrade,
TupleElement126: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
TupleElement124: OnRuntimeUpgrade,
TupleElement125: OnRuntimeUpgrade,
TupleElement126: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126, TupleElement127> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126, TupleElement127)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
TupleElement124: OnRuntimeUpgrade,
TupleElement125: OnRuntimeUpgrade,
TupleElement126: OnRuntimeUpgrade,
TupleElement127: OnRuntimeUpgrade,
impl<TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126, TupleElement127> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126, TupleElement127)where
TupleElement0: OnRuntimeUpgrade,
TupleElement1: OnRuntimeUpgrade,
TupleElement2: OnRuntimeUpgrade,
TupleElement3: OnRuntimeUpgrade,
TupleElement4: OnRuntimeUpgrade,
TupleElement5: OnRuntimeUpgrade,
TupleElement6: OnRuntimeUpgrade,
TupleElement7: OnRuntimeUpgrade,
TupleElement8: OnRuntimeUpgrade,
TupleElement9: OnRuntimeUpgrade,
TupleElement10: OnRuntimeUpgrade,
TupleElement11: OnRuntimeUpgrade,
TupleElement12: OnRuntimeUpgrade,
TupleElement13: OnRuntimeUpgrade,
TupleElement14: OnRuntimeUpgrade,
TupleElement15: OnRuntimeUpgrade,
TupleElement16: OnRuntimeUpgrade,
TupleElement17: OnRuntimeUpgrade,
TupleElement18: OnRuntimeUpgrade,
TupleElement19: OnRuntimeUpgrade,
TupleElement20: OnRuntimeUpgrade,
TupleElement21: OnRuntimeUpgrade,
TupleElement22: OnRuntimeUpgrade,
TupleElement23: OnRuntimeUpgrade,
TupleElement24: OnRuntimeUpgrade,
TupleElement25: OnRuntimeUpgrade,
TupleElement26: OnRuntimeUpgrade,
TupleElement27: OnRuntimeUpgrade,
TupleElement28: OnRuntimeUpgrade,
TupleElement29: OnRuntimeUpgrade,
TupleElement30: OnRuntimeUpgrade,
TupleElement31: OnRuntimeUpgrade,
TupleElement32: OnRuntimeUpgrade,
TupleElement33: OnRuntimeUpgrade,
TupleElement34: OnRuntimeUpgrade,
TupleElement35: OnRuntimeUpgrade,
TupleElement36: OnRuntimeUpgrade,
TupleElement37: OnRuntimeUpgrade,
TupleElement38: OnRuntimeUpgrade,
TupleElement39: OnRuntimeUpgrade,
TupleElement40: OnRuntimeUpgrade,
TupleElement41: OnRuntimeUpgrade,
TupleElement42: OnRuntimeUpgrade,
TupleElement43: OnRuntimeUpgrade,
TupleElement44: OnRuntimeUpgrade,
TupleElement45: OnRuntimeUpgrade,
TupleElement46: OnRuntimeUpgrade,
TupleElement47: OnRuntimeUpgrade,
TupleElement48: OnRuntimeUpgrade,
TupleElement49: OnRuntimeUpgrade,
TupleElement50: OnRuntimeUpgrade,
TupleElement51: OnRuntimeUpgrade,
TupleElement52: OnRuntimeUpgrade,
TupleElement53: OnRuntimeUpgrade,
TupleElement54: OnRuntimeUpgrade,
TupleElement55: OnRuntimeUpgrade,
TupleElement56: OnRuntimeUpgrade,
TupleElement57: OnRuntimeUpgrade,
TupleElement58: OnRuntimeUpgrade,
TupleElement59: OnRuntimeUpgrade,
TupleElement60: OnRuntimeUpgrade,
TupleElement61: OnRuntimeUpgrade,
TupleElement62: OnRuntimeUpgrade,
TupleElement63: OnRuntimeUpgrade,
TupleElement64: OnRuntimeUpgrade,
TupleElement65: OnRuntimeUpgrade,
TupleElement66: OnRuntimeUpgrade,
TupleElement67: OnRuntimeUpgrade,
TupleElement68: OnRuntimeUpgrade,
TupleElement69: OnRuntimeUpgrade,
TupleElement70: OnRuntimeUpgrade,
TupleElement71: OnRuntimeUpgrade,
TupleElement72: OnRuntimeUpgrade,
TupleElement73: OnRuntimeUpgrade,
TupleElement74: OnRuntimeUpgrade,
TupleElement75: OnRuntimeUpgrade,
TupleElement76: OnRuntimeUpgrade,
TupleElement77: OnRuntimeUpgrade,
TupleElement78: OnRuntimeUpgrade,
TupleElement79: OnRuntimeUpgrade,
TupleElement80: OnRuntimeUpgrade,
TupleElement81: OnRuntimeUpgrade,
TupleElement82: OnRuntimeUpgrade,
TupleElement83: OnRuntimeUpgrade,
TupleElement84: OnRuntimeUpgrade,
TupleElement85: OnRuntimeUpgrade,
TupleElement86: OnRuntimeUpgrade,
TupleElement87: OnRuntimeUpgrade,
TupleElement88: OnRuntimeUpgrade,
TupleElement89: OnRuntimeUpgrade,
TupleElement90: OnRuntimeUpgrade,
TupleElement91: OnRuntimeUpgrade,
TupleElement92: OnRuntimeUpgrade,
TupleElement93: OnRuntimeUpgrade,
TupleElement94: OnRuntimeUpgrade,
TupleElement95: OnRuntimeUpgrade,
TupleElement96: OnRuntimeUpgrade,
TupleElement97: OnRuntimeUpgrade,
TupleElement98: OnRuntimeUpgrade,
TupleElement99: OnRuntimeUpgrade,
TupleElement100: OnRuntimeUpgrade,
TupleElement101: OnRuntimeUpgrade,
TupleElement102: OnRuntimeUpgrade,
TupleElement103: OnRuntimeUpgrade,
TupleElement104: OnRuntimeUpgrade,
TupleElement105: OnRuntimeUpgrade,
TupleElement106: OnRuntimeUpgrade,
TupleElement107: OnRuntimeUpgrade,
TupleElement108: OnRuntimeUpgrade,
TupleElement109: OnRuntimeUpgrade,
TupleElement110: OnRuntimeUpgrade,
TupleElement111: OnRuntimeUpgrade,
TupleElement112: OnRuntimeUpgrade,
TupleElement113: OnRuntimeUpgrade,
TupleElement114: OnRuntimeUpgrade,
TupleElement115: OnRuntimeUpgrade,
TupleElement116: OnRuntimeUpgrade,
TupleElement117: OnRuntimeUpgrade,
TupleElement118: OnRuntimeUpgrade,
TupleElement119: OnRuntimeUpgrade,
TupleElement120: OnRuntimeUpgrade,
TupleElement121: OnRuntimeUpgrade,
TupleElement122: OnRuntimeUpgrade,
TupleElement123: OnRuntimeUpgrade,
TupleElement124: OnRuntimeUpgrade,
TupleElement125: OnRuntimeUpgrade,
TupleElement126: OnRuntimeUpgrade,
TupleElement127: OnRuntimeUpgrade,
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, DispatchError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
§fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
fn pre_upgrade() -> Result<Vec<u8>, DispatchError>
OnRuntimeUpgrade::pre_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
§fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), DispatchError>
OnRuntimeUpgrade::post_upgrade
should not be used on a tuple.
Instead, implementors should use OnRuntimeUpgrade::try_on_runtime_upgrade
which
internally calls pre_upgrade
-> on_runtime_upgrade
-> post_upgrade
for each tuple
member in sequence, enabling testing of order-dependent migrations.
Implementors§
impl<P, DbWeight> OnRuntimeUpgrade for RemovePallet<P, DbWeight>
impl<P, S, DbWeight> OnRuntimeUpgrade for RemoveStorage<P, S, DbWeight>
impl<T> OnRuntimeUpgrade for Pallet<T>where
T: Config,
impl<const FROM: u16, const TO: u16, Inner, Pallet, DbWeight> OnRuntimeUpgrade for VersionedMigration<FROM, TO, Inner, Pallet, DbWeight>where
Inner: UncheckedOnRuntimeUpgrade,
Pallet: GetStorageVersion<InCodeStorageVersion = StorageVersion> + PalletInfoAccess,
DbWeight: Get<RuntimeDbWeight>,
Implementation of the OnRuntimeUpgrade
trait for VersionedMigration
.
Its main function is to perform the runtime upgrade in on_runtime_upgrade
only if the on-chain
version of the pallets storage matches From
, and after the upgrade set the on-chain storage to
To
. If the versions do not match, it writes a log notifying the developer that the migration
is a noop.