Consolidate frame benchmarking into a frame crate (#4977)
This prs cleans up some of the frame benchmarking stuff: - Move CLI into `frame-benchmarking-cli`. No frame related CLI should exists in the default Substrate CLI. - Move all traits and types related to frame benchmarking into the `frame-benchmarking` trait. Frame types should be isolated in Frame.
Showing
- substrate/Cargo.lock 31 additions, 0 deletionssubstrate/Cargo.lock
- substrate/Cargo.toml 2 additions, 0 deletionssubstrate/Cargo.toml
- substrate/bin/node/cli/Cargo.toml 3 additions, 0 deletionssubstrate/bin/node/cli/Cargo.toml
- substrate/bin/node/cli/src/cli.rs 7 additions, 0 deletionssubstrate/bin/node/cli/src/cli.rs
- substrate/bin/node/cli/src/command.rs 6 additions, 1 deletionsubstrate/bin/node/cli/src/command.rs
- substrate/bin/node/executor/Cargo.toml 1 addition, 0 deletionssubstrate/bin/node/executor/Cargo.toml
- substrate/bin/node/executor/src/lib.rs 1 addition, 1 deletionsubstrate/bin/node/executor/src/lib.rs
- substrate/bin/node/runtime/Cargo.toml 2 additions, 0 deletionssubstrate/bin/node/runtime/Cargo.toml
- substrate/bin/node/runtime/src/lib.rs 12 additions, 16 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/client/cli/src/lib.rs 1 addition, 1 deletionsubstrate/client/cli/src/lib.rs
- substrate/client/cli/src/params.rs 24 additions, 94 deletionssubstrate/client/cli/src/params.rs
- substrate/client/service/src/chain_ops.rs 8 additions, 64 deletionssubstrate/client/service/src/chain_ops.rs
- substrate/frame/balances/Cargo.toml 2 additions, 0 deletionssubstrate/frame/balances/Cargo.toml
- substrate/frame/balances/src/benchmarking.rs 10 additions, 8 deletionssubstrate/frame/balances/src/benchmarking.rs
- substrate/frame/benchmarking/Cargo.toml 16 additions, 0 deletionssubstrate/frame/benchmarking/Cargo.toml
- substrate/frame/benchmarking/src/lib.rs 141 additions, 0 deletionssubstrate/frame/benchmarking/src/lib.rs
- substrate/frame/identity/Cargo.toml 2 additions, 0 deletionssubstrate/frame/identity/Cargo.toml
- substrate/frame/identity/src/benchmarking.rs 31 additions, 28 deletionssubstrate/frame/identity/src/benchmarking.rs
- substrate/frame/timestamp/Cargo.toml 2 additions, 0 deletionssubstrate/frame/timestamp/Cargo.toml
- substrate/frame/timestamp/src/benchmarking.rs 12 additions, 9 deletionssubstrate/frame/timestamp/src/benchmarking.rs
Please register or sign in to comment