referrerpolicy=no-referrer-when-downgrade

Macro impl_runtime_apis_plus_revive_traits

Source
macro_rules! impl_runtime_apis_plus_revive_traits {
    ($Runtime: ty, $Revive: ident, $Executive: ty, $EthExtra: ty, $($rest:tt)*) => { ... };
}
Expand description

This macro wraps substrate’s impl_runtime_apis! and implements pallet_revive runtime APIs and other required traits.

§Note

This also implements SetWeightLimit for the runtime call.

§Parameters

  • $Runtime: The runtime type to implement the APIs for.
  • $Revive: The name under which revive is declared in construct_runtime.
  • $Executive: The Executive type of the runtime.
  • $EthExtra: Type for additional Ethereum runtime extension.
  • $($rest:tt)*: Remaining input to be forwarded to the underlying impl_runtime_apis!.