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
.
Implementations on Foreign Types§
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: 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, TupleElement63, TupleElement64)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: 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, TupleElement63, TupleElement64)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade, TupleElement124: OnRuntimeUpgrade, TupleElement125: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade, TupleElement124: OnRuntimeUpgrade, TupleElement125: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
source§impl<TupleElement0: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0,)
impl<TupleElement0: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0,)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade, TupleElement124: OnRuntimeUpgrade, TupleElement125: OnRuntimeUpgrade, TupleElement126: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade, TupleElement124: OnRuntimeUpgrade, TupleElement125: OnRuntimeUpgrade, TupleElement126: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: 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, TupleElement63, TupleElement64, TupleElement65)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: 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, TupleElement63, TupleElement64, TupleElement65)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102)
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.
fn on_runtime_upgrade() -> Weight
source§impl OnRuntimeUpgrade for ()
impl OnRuntimeUpgrade for ()
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109)
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.
fn on_runtime_upgrade() -> Weight
source§impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1)
impl<TupleElement0: OnRuntimeUpgrade, TupleElement1: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade, TupleElement124: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade, TupleElement124: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: 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, TupleElement63, TupleElement64, TupleElement65, TupleElement66)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: 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, TupleElement63)
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, TupleElement63: 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, TupleElement63)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade, TupleElement124: OnRuntimeUpgrade, TupleElement125: OnRuntimeUpgrade, TupleElement126: OnRuntimeUpgrade, TupleElement127: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126, TupleElement127)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade, TupleElement119: OnRuntimeUpgrade, TupleElement120: OnRuntimeUpgrade, TupleElement121: OnRuntimeUpgrade, TupleElement122: OnRuntimeUpgrade, TupleElement123: OnRuntimeUpgrade, TupleElement124: OnRuntimeUpgrade, TupleElement125: OnRuntimeUpgrade, TupleElement126: OnRuntimeUpgrade, TupleElement127: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118, TupleElement119, TupleElement120, TupleElement121, TupleElement122, TupleElement123, TupleElement124, TupleElement125, TupleElement126, TupleElement127)
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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118)
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, TupleElement63: OnRuntimeUpgrade, TupleElement64: OnRuntimeUpgrade, TupleElement65: OnRuntimeUpgrade, TupleElement66: OnRuntimeUpgrade, TupleElement67: OnRuntimeUpgrade, TupleElement68: OnRuntimeUpgrade, TupleElement69: OnRuntimeUpgrade, TupleElement70: OnRuntimeUpgrade, TupleElement71: OnRuntimeUpgrade, TupleElement72: OnRuntimeUpgrade, TupleElement73: OnRuntimeUpgrade, TupleElement74: OnRuntimeUpgrade, TupleElement75: OnRuntimeUpgrade, TupleElement76: OnRuntimeUpgrade, TupleElement77: OnRuntimeUpgrade, TupleElement78: OnRuntimeUpgrade, TupleElement79: OnRuntimeUpgrade, TupleElement80: OnRuntimeUpgrade, TupleElement81: OnRuntimeUpgrade, TupleElement82: OnRuntimeUpgrade, TupleElement83: OnRuntimeUpgrade, TupleElement84: OnRuntimeUpgrade, TupleElement85: OnRuntimeUpgrade, TupleElement86: OnRuntimeUpgrade, TupleElement87: OnRuntimeUpgrade, TupleElement88: OnRuntimeUpgrade, TupleElement89: OnRuntimeUpgrade, TupleElement90: OnRuntimeUpgrade, TupleElement91: OnRuntimeUpgrade, TupleElement92: OnRuntimeUpgrade, TupleElement93: OnRuntimeUpgrade, TupleElement94: OnRuntimeUpgrade, TupleElement95: OnRuntimeUpgrade, TupleElement96: OnRuntimeUpgrade, TupleElement97: OnRuntimeUpgrade, TupleElement98: OnRuntimeUpgrade, TupleElement99: OnRuntimeUpgrade, TupleElement100: OnRuntimeUpgrade, TupleElement101: OnRuntimeUpgrade, TupleElement102: OnRuntimeUpgrade, TupleElement103: OnRuntimeUpgrade, TupleElement104: OnRuntimeUpgrade, TupleElement105: OnRuntimeUpgrade, TupleElement106: OnRuntimeUpgrade, TupleElement107: OnRuntimeUpgrade, TupleElement108: OnRuntimeUpgrade, TupleElement109: OnRuntimeUpgrade, TupleElement110: OnRuntimeUpgrade, TupleElement111: OnRuntimeUpgrade, TupleElement112: OnRuntimeUpgrade, TupleElement113: OnRuntimeUpgrade, TupleElement114: OnRuntimeUpgrade, TupleElement115: OnRuntimeUpgrade, TupleElement116: OnRuntimeUpgrade, TupleElement117: OnRuntimeUpgrade, TupleElement118: OnRuntimeUpgrade> OnRuntimeUpgrade for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29, TupleElement30, TupleElement31, TupleElement32, TupleElement33, TupleElement34, TupleElement35, TupleElement36, TupleElement37, TupleElement38, TupleElement39, TupleElement40, TupleElement41, TupleElement42, TupleElement43, TupleElement44, TupleElement45, TupleElement46, TupleElement47, TupleElement48, TupleElement49, TupleElement50, TupleElement51, TupleElement52, TupleElement53, TupleElement54, TupleElement55, TupleElement56, TupleElement57, TupleElement58, TupleElement59, TupleElement60, TupleElement61, TupleElement62, TupleElement63, TupleElement64, TupleElement65, TupleElement66, TupleElement67, TupleElement68, TupleElement69, TupleElement70, TupleElement71, TupleElement72, TupleElement73, TupleElement74, TupleElement75, TupleElement76, TupleElement77, TupleElement78, TupleElement79, TupleElement80, TupleElement81, TupleElement82, TupleElement83, TupleElement84, TupleElement85, TupleElement86, TupleElement87, TupleElement88, TupleElement89, TupleElement90, TupleElement91, TupleElement92, TupleElement93, TupleElement94, TupleElement95, TupleElement96, TupleElement97, TupleElement98, TupleElement99, TupleElement100, TupleElement101, TupleElement102, TupleElement103, TupleElement104, TupleElement105, TupleElement106, TupleElement107, TupleElement108, TupleElement109, TupleElement110, TupleElement111, TupleElement112, TupleElement113, TupleElement114, TupleElement115, TupleElement116, TupleElement117, TupleElement118)
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.
fn on_runtime_upgrade() -> Weight
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 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.
fn on_runtime_upgrade() -> Weight
Implementors§
impl<P: Get<&'static str>, DbWeight: Get<RuntimeDbWeight>> OnRuntimeUpgrade for RemovePallet<P, DbWeight>
impl<const FROM: u16, const TO: u16, Inner: OnRuntimeUpgrade, Pallet: GetStorageVersion<CurrentStorageVersion = StorageVersion> + PalletInfoAccess, DbWeight: Get<RuntimeDbWeight>> OnRuntimeUpgrade for VersionedRuntimeUpgrade<FROM, TO, Inner, Pallet, DbWeight>
Implementation of the OnRuntimeUpgrade
trait for VersionedRuntimeUpgrade
.
Its main function is to perform the runtime upgrade in on_runtime_upgrade
only if the on-chain
version of the pallets storage matches From
, and after the upgrade set the on-chain storage to
To
. If the versions do not match, it writes a log notifying the developer that the migration
is a noop.