Skip to content

Commit

Permalink
Contracts: Add benchmarks to include files (#2022)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pgherveou authored Oct 25, 2023
1 parent ff3a3bc commit 3148063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/frame/contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 3148063

Please sign in to comment.