From 3148063a6f7389331e3ff9e3d7b7281950b0f790 Mon Sep 17 00:00:00 2001
From: PG Herveou <pgherveou@gmail.com>
Date: Wed, 25 Oct 2023 09:47:54 +0200
Subject: [PATCH] Contracts: Add benchmarks to include files (#2022)

Project that includes pallet-contracts via crates.io will fail to run
```bash
cargo check --features=runtime-benchmarks
```

without the currently not included benchmarks files
---
 substrate/frame/contracts/Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml
index 1b0d9529295..d80577f9d44 100644
--- a/substrate/frame/contracts/Cargo.toml
+++ b/substrate/frame/contracts/Cargo.toml
@@ -9,7 +9,7 @@ homepage = "https://substrate.io"
 repository.workspace = true
 description = "FRAME pallet for WASM contracts"
 readme = "README.md"
-include = ["src/**/*", "build.rs", "README.md", "CHANGELOG.md"]
+include = ["src/**/*", "benchmarks/**", "build.rs", "README.md", "CHANGELOG.md"]
 
 [package.metadata.docs.rs]
 targets = ["x86_64-unknown-linux-gnu"]
-- 
GitLab