Skip to content

Commit

Permalink
apply moonbeam-foundation/moonbeam#2701 to past tracing runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
librelois committed Apr 26, 2024
1 parent 069dc25 commit 8caf729
Show file tree
Hide file tree
Showing 20 changed files with 140 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ macro_rules! impl_moonbeam_xcm_call_tracing {
}
dispatch_call()
},
_ => unreachable!()
// Tracing a transaction that has already been found and
// executed. There's no need to dispatch the rest of the
// calls.
EthereumXcmTracingStatus::TransactionExited => Ok(crate::PostDispatchInfo {
actual_weight: None,
pays_fee: frame_support::pallet_prelude::Pays::No,
}),
},
// This runtime instance is importing a block.
None => dispatch_call()
Expand Down

0 comments on commit 8caf729

Please sign in to comment.