From b04d2e618d483b8eb8c6cb488954f3edf31dd886 Mon Sep 17 00:00:00 2001 From: undercover-cactus Date: Thu, 12 Mar 2026 15:35:50 +0100 Subject: [PATCH] add WeightReclaim transaction extension to all runtimes --- operator/runtime/mainnet/src/lib.rs | 2 ++ operator/runtime/stagenet/src/lib.rs | 2 ++ operator/runtime/testnet/src/lib.rs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/operator/runtime/mainnet/src/lib.rs b/operator/runtime/mainnet/src/lib.rs index da03d00a..5643f1b6 100644 --- a/operator/runtime/mainnet/src/lib.rs +++ b/operator/runtime/mainnet/src/lib.rs @@ -224,6 +224,7 @@ pub type SignedExtra = ( frame_system::CheckWeight, pallet_transaction_payment::ChargeTransactionPayment, frame_metadata_hash_extension::CheckMetadataHash, + frame_system::WeightReclaim, ); /// Unchecked extrinsic type as expected by this runtime. @@ -1428,6 +1429,7 @@ impl_runtime_apis! { frame_system::CheckWeight::::new(), pallet_transaction_payment::ChargeTransactionPayment::::from(::default()), frame_metadata_hash_extension::CheckMetadataHash::::new(enable_metadata), + frame_system::WeightReclaim::::new(), ); let implicit = >::implicit(&extra)?; Ok(implicit.encode()) diff --git a/operator/runtime/stagenet/src/lib.rs b/operator/runtime/stagenet/src/lib.rs index dbcb7e14..814c3667 100644 --- a/operator/runtime/stagenet/src/lib.rs +++ b/operator/runtime/stagenet/src/lib.rs @@ -226,6 +226,7 @@ pub type SignedExtra = ( frame_system::CheckWeight, pallet_transaction_payment::ChargeTransactionPayment, frame_metadata_hash_extension::CheckMetadataHash, + frame_system::WeightReclaim, ); /// Unchecked extrinsic type as expected by this runtime. @@ -1431,6 +1432,7 @@ impl_runtime_apis! { frame_system::CheckWeight::::new(), pallet_transaction_payment::ChargeTransactionPayment::::from(::default()), frame_metadata_hash_extension::CheckMetadataHash::::new(enable_metadata), + frame_system::WeightReclaim::::new(), ); let implicit = >::implicit(&extra)?; Ok(implicit.encode()) diff --git a/operator/runtime/testnet/src/lib.rs b/operator/runtime/testnet/src/lib.rs index 1ee83b3d..298e4c57 100644 --- a/operator/runtime/testnet/src/lib.rs +++ b/operator/runtime/testnet/src/lib.rs @@ -224,6 +224,7 @@ pub type SignedExtra = ( frame_system::CheckWeight, pallet_transaction_payment::ChargeTransactionPayment, frame_metadata_hash_extension::CheckMetadataHash, + frame_system::WeightReclaim, ); /// Unchecked extrinsic type as expected by this runtime. @@ -1428,6 +1429,7 @@ impl_runtime_apis! { frame_system::CheckWeight::::new(), pallet_transaction_payment::ChargeTransactionPayment::::from(::default()), frame_metadata_hash_extension::CheckMetadataHash::::new(enable_metadata), + frame_system::WeightReclaim::::new(), ); let implicit = >::implicit(&extra)?; Ok(implicit.encode())