From 9da28d87c4158329fc05aa5fbc8acf093fcf3fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Thei=C3=9Fen?= Date: Tue, 31 Aug 2021 06:11:50 +0200 Subject: [PATCH] Fix compilation issue of pallet_contracts (#9652) --- substrate/frame/contracts/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index 98e8e92e3b..3498a77b8b 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -64,6 +64,7 @@ std = [ "sp-io/std", "sp-std/std", "sp-sandbox/std", + "frame-benchmarking/std", "frame-support/std", "frame-system/std", "pwasm-utils/std", @@ -71,6 +72,7 @@ std = [ "pallet-contracts-primitives/std", "pallet-contracts-proc-macro/full", "log/std", + "rand/std", ] runtime-benchmarks = [ "frame-benchmarking",