Trait frame_support::traits::OnRuntimeUpgrade
source · pub trait OnRuntimeUpgrade {
// Provided methods
fn on_runtime_upgrade() -> Weight { ... }
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError> { ... }
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError> { ... }
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError> { ... }
}
Expand description
Provided Methods§
sourcefn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
sourcefn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
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.
sourcefn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
See Hooks::pre_upgrade
.
sourcefn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
See Hooks::post_upgrade
.
Object Safety§
Implementations on Foreign Types§
source§impl OnRuntimeUpgrade for ()
impl OnRuntimeUpgrade for ()
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0,)
impl<TupleElement0: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0,)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade, TupleElement8: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade, TupleElement8: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade, TupleElement8: OnRuntimeUpgrade, TupleElement9: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade, TupleElement8: OnRuntimeUpgrade, TupleElement9: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade, TupleElement8: OnRuntimeUpgrade, TupleElement9: OnRuntimeUpgrade, TupleElement10: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade, TupleElement8: OnRuntimeUpgrade, TupleElement9: OnRuntimeUpgrade, TupleElement10: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade, TupleElement8: OnRuntimeUpgrade, TupleElement9: OnRuntimeUpgrade, TupleElement10: OnRuntimeUpgrade, TupleElement11: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade, TupleElement2: OnRuntimeUpgrade, TupleElement3: OnRuntimeUpgrade, TupleElement4: OnRuntimeUpgrade, TupleElement5: OnRuntimeUpgrade, TupleElement6: OnRuntimeUpgrade, TupleElement7: OnRuntimeUpgrade, TupleElement8: OnRuntimeUpgrade, TupleElement9: OnRuntimeUpgrade, TupleElement10: OnRuntimeUpgrade, TupleElement11: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)
impl<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> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.
source§impl<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> 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)
impl<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> 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)
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Implements the default behavior of OnRuntimeUpgrade::on_runtime_upgrade
for tuples.
source§fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
fn try_on_runtime_upgrade(checks: bool) -> Result<Weight, TryRuntimeError>
Implements the default behavior of try_on_runtime_upgrade
for tuples, logging any errors
that occur.
source§fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError>
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.
source§fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
fn post_upgrade(_state: Vec<u8>) -> Result<(), TryRuntimeError>
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.