diff --git a/Cargo.lock b/Cargo.lock index 84534e1c..fb36afb9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2148,6 +2148,7 @@ dependencies = [ "encointer-node-notee-runtime", "frame-benchmarking", "frame-benchmarking-cli", + "frame-metadata-hash-extension", "frame-system", "frame-try-runtime", "futures", diff --git a/node/Cargo.toml b/node/Cargo.toml index e74a5aa4..90a440e8 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -29,6 +29,7 @@ log = { workspace = true } serde_json = { workspace = true } frame-system = { workspace = true, features = ["std"] } +frame-metadata-hash-extension = { workspace = true, features = ["std"] } pallet-asset-tx-payment = { workspace = true, features = ["std"] } sc-cli = { workspace = true } sc-client-api = { workspace = true } diff --git a/node/src/benchmarking.rs b/node/src/benchmarking.rs index b0a75303..ab4066db 100644 --- a/node/src/benchmarking.rs +++ b/node/src/benchmarking.rs @@ -120,6 +120,7 @@ pub fn create_benchmark_extrinsic( frame_system::CheckNonce::::from(nonce), frame_system::CheckWeight::::new(), pallet_asset_tx_payment::ChargeAssetTxPayment::::from(0, None), + frame_metadata_hash_extension::CheckMetadataHash::::new(false), ); let raw_payload = runtime::SignedPayload::from_raw( @@ -134,6 +135,7 @@ pub fn create_benchmark_extrinsic( (), (), (), + None, ), ); let signature = raw_payload.using_encoded(|e| sender.sign(e));