@@ -175,15 +175,17 @@ impl frame_system::offchain::CreateSignedTransaction<pallet_drand::Call<Runtime>
175175 frame_system:: CheckEra :: < Runtime > :: from ( Era :: Immortal ) ,
176176 check_nonce:: CheckNonce :: < Runtime > :: from ( nonce) . into ( ) ,
177177 frame_system:: CheckWeight :: < Runtime > :: new ( ) ,
178- pallet_rate_limiting:: RateLimitTransactionExtension :: < Runtime > :: new ( ) ,
179178 ChargeTransactionPaymentWrapper :: new (
180179 pallet_transaction_payment:: ChargeTransactionPayment :: < Runtime > :: from ( 0 ) ,
181180 ) ,
182181 SudoTransactionExtension :: < Runtime > :: new ( ) ,
183182 pallet_subtensor:: transaction_extension:: SubtensorTransactionExtension :: < Runtime > :: new (
184183 ) ,
185- pallet_drand:: drand_priority:: DrandPriority :: < Runtime > :: new ( ) ,
186- frame_metadata_hash_extension:: CheckMetadataHash :: < Runtime > :: new ( true ) ,
184+ (
185+ pallet_drand:: drand_priority:: DrandPriority :: < Runtime > :: new ( ) ,
186+ frame_metadata_hash_extension:: CheckMetadataHash :: < Runtime > :: new ( true ) ,
187+ ) ,
188+ pallet_rate_limiting:: RateLimitTransactionExtension :: < Runtime > :: new ( ) ,
187189 ) ;
188190
189191 let raw_payload = SignedPayload :: new ( call. clone ( ) , extra. clone ( ) ) . ok ( ) ?;
@@ -1679,6 +1681,8 @@ pub type Header = generic::Header<BlockNumber, BlakeTwo256>;
16791681// Block type as expected by this runtime.
16801682pub type Block = generic:: Block < Header , UncheckedExtrinsic > ;
16811683// The extensions to the basic transaction logic.
1684+ // Note: The SDK only implements TransactionExtension for tuples up to 12 items, so we nest the last
1685+ // two extensions to keep order/encoding while staying under the limit.
16821686pub type TransactionExtensions = (
16831687 frame_system:: CheckNonZeroSender < Runtime > ,
16841688 frame_system:: CheckSpecVersion < Runtime > ,
@@ -1691,8 +1695,11 @@ pub type TransactionExtensions = (
16911695 ChargeTransactionPaymentWrapper < Runtime > ,
16921696 SudoTransactionExtension < Runtime > ,
16931697 pallet_subtensor:: transaction_extension:: SubtensorTransactionExtension < Runtime > ,
1694- pallet_drand:: drand_priority:: DrandPriority < Runtime > ,
1695- frame_metadata_hash_extension:: CheckMetadataHash < Runtime > ,
1698+ (
1699+ pallet_drand:: drand_priority:: DrandPriority < Runtime > ,
1700+ frame_metadata_hash_extension:: CheckMetadataHash < Runtime > ,
1701+ ) ,
1702+ pallet_rate_limiting:: RateLimitTransactionExtension < Runtime > ,
16961703) ;
16971704
16981705type Migrations = (
0 commit comments