From 8b5b6fca5c22640dfdbfd7d03d1146e428e41ae0 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 3 Oct 2023 12:25:09 +0200 Subject: [PATCH 01/55] Add valgrind to Github env --- .github/workflows/run-benchmarks.yml | 27 ++++++++-- Cargo.lock | 7 +++ runtime/Cargo.toml | 5 ++ runtime/benches/header_kate_commitment.rs | 66 +++++++++++++++++++++++ 4 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 runtime/benches/header_kate_commitment.rs diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index a710f4075..8ac385e82 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -21,8 +21,7 @@ jobs: - name: Install deps run: | sudo apt-get update - sudo apt-get install -y build-essential - sudo apt-get install -y git clang curl libssl-dev protobuf-compiler unzip + sudo apt-get install -y build-essential valgrind git clang curl libssl-dev protobuf-compiler unzip - name: Install Protoc uses: arduino/setup-protoc@v1 @@ -57,8 +56,30 @@ jobs: $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh + # Run benchmarks & run action benchmark + - name: Run Header Generation Benchmark + run: cargo bench --release -p da-runtime | tee header_gen_bench.txt + - name: Download previous Header Generation Benchmark + uses: actions/cache@v1 + with: + path: ./cache + key: ${{ runner.os }}-header-gen-benchmark + - name: Store Header Generation Benchmark + uses: fmiguelgarcia/github-action-benchmark@v0.1.0 + with: + # What benchmark tool the output.txt came from + tool: 'rustIai' + # Where the output from the benchmark tool is stored + output-file-path: header_gen_bench.txt + # Where the previous data file is stored + external-data-json-path: ./cache/benchmark-data.json + # Workflow will fail when an alert happens + fail-on-alert: true + # Upload the updated cache file for the next job by actions/cache + + - name: Upload output as artifact uses: actions/upload-artifact@v2 with: name: weights-result - path: ./output/ \ No newline at end of file + path: ./output/ diff --git a/Cargo.lock b/Cargo.lock index a1ec247a4..cf263e27b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1910,6 +1910,7 @@ dependencies = [ "frame-try-runtime", "hex", "hex-literal", + "iai", "kate", "log", "nomad-da-bridge", @@ -3878,6 +3879,12 @@ dependencies = [ "webpki-roots 0.23.1", ] +[[package]] +name = "iai" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71a816c97c42258aa5834d07590b718b4c9a598944cd39a52dc25b351185d678" + [[package]] name = "iana-time-zone" version = "0.1.57" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 94b29d455..f4a807dee 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -115,6 +115,11 @@ hex-literal = "0.3.4" serde_json = "1.0" sp-keyring = "24.0.0" env_logger = "0.9.1" +iai = "0.1.1" + +[[bench]] +name = "header_kate_commitment" +harness = false [features] default = ["std"] diff --git a/runtime/benches/header_kate_commitment.rs b/runtime/benches/header_kate_commitment.rs new file mode 100644 index 000000000..6de8d90d5 --- /dev/null +++ b/runtime/benches/header_kate_commitment.rs @@ -0,0 +1,66 @@ +use avail_core::{AppExtrinsic, BlockLengthColumns, BLOCK_CHUNK_SIZE, NORMAL_DISPATCH_RATIO}; +use da_control::Config as DAConfig; +use da_runtime::Runtime; +use frame_support::traits::Get as _; +use frame_system::{header_builder::hosted_header_builder, limits::BlockLength}; +use sp_core::H256; +use sp_std::iter::repeat; + +fn make_txs(cols: BlockLengthColumns) -> Vec { + let data_length: u32 = ::MaxAppDataLength::get(); + let rows = ::MaxBlockRows::get().0; + + let mut nb_tx = 4; // Value set depending on MaxAppDataLength (512 kb) to reach 2 mb + let max_tx: u32 = + rows * cols.0 * (BLOCK_CHUNK_SIZE.get().checked_sub(2).unwrap()) / data_length; + if nb_tx > max_tx { + nb_tx = max_tx; + } + + let data: Vec = repeat(b'X') + .take(usize::try_from(data_length).unwrap()) + .collect::>(); + vec![AppExtrinsic::from(data); nb_tx as usize] +} + +fn block_length(cols: BlockLengthColumns) -> BlockLength { + let rows = ::MaxBlockRows::get(); + BlockLength::with_normal_ratio(rows, cols, BLOCK_CHUNK_SIZE, NORMAL_DISPATCH_RATIO).unwrap() +} + +fn commitment_builder_with(txs: Vec, block_length: BlockLength) { + let seed = [0u8; 32]; + let root = H256::zero(); + let block_number: u32 = 0; + + let _ = hosted_header_builder::build(txs, root, block_length, block_number, seed); +} + +fn commitment_builder(cols: BlockLengthColumns) { + let txs = make_txs(cols); + let block_length = block_length(cols); + + commitment_builder_with(txs, block_length); +} + +fn commitment_builder_32() { commitment_builder(BlockLengthColumns(32)); } +fn commitment_builder_128() { commitment_builder(BlockLengthColumns(128)); } +fn commitment_builder_256() { commitment_builder(BlockLengthColumns(256)); } + +iai::main! {commitment_builder_32, commitment_builder_128, commitment_builder_256} + +/* +mod iai_wrappers { + pub fn commitment_builder_32() { + let _ = $crate::black_box(super::commitment_builder_32()); + } +} +fn main() { + z` + + let benchmarks: &[&(&'static str, fn())] = + &[&("commitment_builder_32", iai_wrappers::commitment_builder_32)]; + + iai::runner(benchmarks); +} +*/ From 1c66d0dd8df73acb665be5de20f2747db4242289 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 3 Oct 2023 12:25:09 +0200 Subject: [PATCH 02/55] Add valgrind to Github env --- .github/workflows/run-benchmarks.yml | 27 ++++++++-- Cargo.lock | 7 +++ runtime/Cargo.toml | 5 ++ runtime/benches/header_kate_commitment.rs | 66 +++++++++++++++++++++++ 4 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 runtime/benches/header_kate_commitment.rs diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index a710f4075..8ac385e82 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -21,8 +21,7 @@ jobs: - name: Install deps run: | sudo apt-get update - sudo apt-get install -y build-essential - sudo apt-get install -y git clang curl libssl-dev protobuf-compiler unzip + sudo apt-get install -y build-essential valgrind git clang curl libssl-dev protobuf-compiler unzip - name: Install Protoc uses: arduino/setup-protoc@v1 @@ -57,8 +56,30 @@ jobs: $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh + # Run benchmarks & run action benchmark + - name: Run Header Generation Benchmark + run: cargo bench --release -p da-runtime | tee header_gen_bench.txt + - name: Download previous Header Generation Benchmark + uses: actions/cache@v1 + with: + path: ./cache + key: ${{ runner.os }}-header-gen-benchmark + - name: Store Header Generation Benchmark + uses: fmiguelgarcia/github-action-benchmark@v0.1.0 + with: + # What benchmark tool the output.txt came from + tool: 'rustIai' + # Where the output from the benchmark tool is stored + output-file-path: header_gen_bench.txt + # Where the previous data file is stored + external-data-json-path: ./cache/benchmark-data.json + # Workflow will fail when an alert happens + fail-on-alert: true + # Upload the updated cache file for the next job by actions/cache + + - name: Upload output as artifact uses: actions/upload-artifact@v2 with: name: weights-result - path: ./output/ \ No newline at end of file + path: ./output/ diff --git a/Cargo.lock b/Cargo.lock index afa50e0c7..71767854a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1910,6 +1910,7 @@ dependencies = [ "frame-try-runtime", "hex", "hex-literal", + "iai", "kate", "log", "nomad-da-bridge", @@ -3878,6 +3879,12 @@ dependencies = [ "webpki-roots 0.23.1", ] +[[package]] +name = "iai" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71a816c97c42258aa5834d07590b718b4c9a598944cd39a52dc25b351185d678" + [[package]] name = "iana-time-zone" version = "0.1.57" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index bf4037b9c..707df6be5 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -115,6 +115,11 @@ hex-literal = "0.3.4" serde_json = "1.0" sp-keyring = "24.0.0" env_logger = "0.9.1" +iai = "0.1.1" + +[[bench]] +name = "header_kate_commitment" +harness = false [features] default = [ "std" ] diff --git a/runtime/benches/header_kate_commitment.rs b/runtime/benches/header_kate_commitment.rs new file mode 100644 index 000000000..6de8d90d5 --- /dev/null +++ b/runtime/benches/header_kate_commitment.rs @@ -0,0 +1,66 @@ +use avail_core::{AppExtrinsic, BlockLengthColumns, BLOCK_CHUNK_SIZE, NORMAL_DISPATCH_RATIO}; +use da_control::Config as DAConfig; +use da_runtime::Runtime; +use frame_support::traits::Get as _; +use frame_system::{header_builder::hosted_header_builder, limits::BlockLength}; +use sp_core::H256; +use sp_std::iter::repeat; + +fn make_txs(cols: BlockLengthColumns) -> Vec { + let data_length: u32 = ::MaxAppDataLength::get(); + let rows = ::MaxBlockRows::get().0; + + let mut nb_tx = 4; // Value set depending on MaxAppDataLength (512 kb) to reach 2 mb + let max_tx: u32 = + rows * cols.0 * (BLOCK_CHUNK_SIZE.get().checked_sub(2).unwrap()) / data_length; + if nb_tx > max_tx { + nb_tx = max_tx; + } + + let data: Vec = repeat(b'X') + .take(usize::try_from(data_length).unwrap()) + .collect::>(); + vec![AppExtrinsic::from(data); nb_tx as usize] +} + +fn block_length(cols: BlockLengthColumns) -> BlockLength { + let rows = ::MaxBlockRows::get(); + BlockLength::with_normal_ratio(rows, cols, BLOCK_CHUNK_SIZE, NORMAL_DISPATCH_RATIO).unwrap() +} + +fn commitment_builder_with(txs: Vec, block_length: BlockLength) { + let seed = [0u8; 32]; + let root = H256::zero(); + let block_number: u32 = 0; + + let _ = hosted_header_builder::build(txs, root, block_length, block_number, seed); +} + +fn commitment_builder(cols: BlockLengthColumns) { + let txs = make_txs(cols); + let block_length = block_length(cols); + + commitment_builder_with(txs, block_length); +} + +fn commitment_builder_32() { commitment_builder(BlockLengthColumns(32)); } +fn commitment_builder_128() { commitment_builder(BlockLengthColumns(128)); } +fn commitment_builder_256() { commitment_builder(BlockLengthColumns(256)); } + +iai::main! {commitment_builder_32, commitment_builder_128, commitment_builder_256} + +/* +mod iai_wrappers { + pub fn commitment_builder_32() { + let _ = $crate::black_box(super::commitment_builder_32()); + } +} +fn main() { + z` + + let benchmarks: &[&(&'static str, fn())] = + &[&("commitment_builder_32", iai_wrappers::commitment_builder_32)]; + + iai::runner(benchmarks); +} +*/ From a5bbe814ea10740e17ad1d6c89f47172dac4b9f4 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 3 Oct 2023 12:29:55 +0200 Subject: [PATCH 03/55] Code format --- runtime/benches/header_kate_commitment.rs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/runtime/benches/header_kate_commitment.rs b/runtime/benches/header_kate_commitment.rs index 6de8d90d5..c2cefa107 100644 --- a/runtime/benches/header_kate_commitment.rs +++ b/runtime/benches/header_kate_commitment.rs @@ -43,11 +43,17 @@ fn commitment_builder(cols: BlockLengthColumns) { commitment_builder_with(txs, block_length); } -fn commitment_builder_32() { commitment_builder(BlockLengthColumns(32)); } -fn commitment_builder_128() { commitment_builder(BlockLengthColumns(128)); } -fn commitment_builder_256() { commitment_builder(BlockLengthColumns(256)); } +fn commitment_builder_32() { + commitment_builder(BlockLengthColumns(32)); +} +fn commitment_builder_128() { + commitment_builder(BlockLengthColumns(128)); +} +fn commitment_builder_256() { + commitment_builder(BlockLengthColumns(256)); +} -iai::main! {commitment_builder_32, commitment_builder_128, commitment_builder_256} +iai::main! {commitment_builder_32, commitment_builder_128, commitment_builder_256} /* mod iai_wrappers { From b4fd6e40c6b11b791fdd78c650fdefd0a7861464 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 3 Oct 2023 13:45:37 +0200 Subject: [PATCH 04/55] Disable other benchs for testing --- .github/workflows/run-benchmarks.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index 8ac385e82..32a58c5e3 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -38,23 +38,23 @@ jobs: - name: Set PATH for cargo run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - name: Build node and run benchmarks - run: | - if [ "${{ github.event.inputs.extra }}" != "0" ]; then - EXTRA="EXTRA=${{ github.event.inputs.extra }}" - else - EXTRA="" - fi +# - name: Build node and run benchmarks +# run: | +# if [ "${{ github.event.inputs.extra }}" != "0" ]; then +# EXTRA="EXTRA=${{ github.event.inputs.extra }}" +# else +# EXTRA="" +# fi - if [ "${{ github.event.inputs.ourpallets }}" != "0" ]; then - OUR_PALLETS="OUR_PALLETS=${{ github.event.inputs.ourpallets }}" - else - OUR_PALLETS="" - fi +# if [ "${{ github.event.inputs.ourpallets }}" != "0" ]; then +# OUR_PALLETS="OUR_PALLETS=${{ github.event.inputs.ourpallets }}" +# else +# OUR_PALLETS="" +# fi - echo "Command to be executed: $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh" +# echo "Command to be executed: $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh" - $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh +# $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh # Run benchmarks & run action benchmark - name: Run Header Generation Benchmark From 0f357d507304fc9636fe6d3f90b80854abb20178 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 3 Oct 2023 15:52:35 +0200 Subject: [PATCH 05/55] Change action-benchmark version --- .github/workflows/run-benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index 32a58c5e3..c189f40f2 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -65,7 +65,7 @@ jobs: path: ./cache key: ${{ runner.os }}-header-gen-benchmark - name: Store Header Generation Benchmark - uses: fmiguelgarcia/github-action-benchmark@v0.1.0 + uses: fmiguelgarcia/github-action-benchmark@v1 with: # What benchmark tool the output.txt came from tool: 'rustIai' From 381697e6fb4fb36953eb591dffac4fd5c4511f50 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 3 Oct 2023 15:55:08 +0200 Subject: [PATCH 06/55] Fix github workflow --- .github/workflows/run-benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index c189f40f2..715d81ca6 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -58,7 +58,7 @@ jobs: # Run benchmarks & run action benchmark - name: Run Header Generation Benchmark - run: cargo bench --release -p da-runtime | tee header_gen_bench.txt + run: cargo bench -p da-runtime | tee header_gen_bench.txt - name: Download previous Header Generation Benchmark uses: actions/cache@v1 with: From a1271a0509a561a50cd4879d35b9919552d46b9f Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Thu, 5 Oct 2023 10:04:19 +0200 Subject: [PATCH 07/55] Add comment alert to benchmark CI --- .github/workflows/run-benchmarks.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index 715d81ca6..edc994b0d 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -73,9 +73,15 @@ jobs: output-file-path: header_gen_bench.txt # Where the previous data file is stored external-data-json-path: ./cache/benchmark-data.json - # Workflow will fail when an alert happens + # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true + alert-threshold: '15%' # Upload the updated cache file for the next job by actions/cache + github-token: ${{ secrets.GITHUB_TOKEN }} + # Enable alert commit comment + comment-on-alert: true + # Mention @rhysd in the commit comment + alert-comment-cc-users: '@fmiguelgarcia,@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz' - name: Upload output as artifact From 1ddcaf0f2efc5dd4273c3378c2e5672014c84dee Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Thu, 5 Oct 2023 11:15:13 +0200 Subject: [PATCH 08/55] IAI output with absolute path --- .github/workflows/run-benchmarks.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index edc994b0d..3a806d7ee 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -58,19 +58,21 @@ jobs: # Run benchmarks & run action benchmark - name: Run Header Generation Benchmark - run: cargo bench -p da-runtime | tee header_gen_bench.txt + run: cargo bench -p da-runtime | tee /home/runner/work/avail/avail/header_gen_bench.txt + - name: Download previous Header Generation Benchmark uses: actions/cache@v1 with: path: ./cache key: ${{ runner.os }}-header-gen-benchmark + - name: Store Header Generation Benchmark uses: fmiguelgarcia/github-action-benchmark@v1 with: # What benchmark tool the output.txt came from tool: 'rustIai' # Where the output from the benchmark tool is stored - output-file-path: header_gen_bench.txt + output-file-path: /home/runner/work/avail/avail/header_gen_bench.txt # Where the previous data file is stored external-data-json-path: ./cache/benchmark-data.json # Workflow will fail when an alert happens at 15% degradation From cbb62ae5e7fa7465dbba22263580138416d9d9a7 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Thu, 5 Oct 2023 11:55:13 +0200 Subject: [PATCH 09/55] Temporary Logs on Bench CI --- .github/workflows/run-benchmarks.yml | 36 +++++++++++++++-------- runtime/benches/header_kate_commitment.rs | 2 +- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index 3a806d7ee..66fc804a9 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -56,23 +56,41 @@ jobs: # $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh - # Run benchmarks & run action benchmark - - name: Run Header Generation Benchmark - run: cargo bench -p da-runtime | tee /home/runner/work/avail/avail/header_gen_bench.txt +# - name: Upload output as artifact +# uses: actions/upload-artifact@v2 +# with: +# name: weights-result +# path: ./output/ + # Run Header Generation benchmarks - name: Download previous Header Generation Benchmark uses: actions/cache@v1 with: - path: ./cache + path: | + ./cache + ./runtime/target/iai key: ${{ runner.os }}-header-gen-benchmark - - name: Store Header Generation Benchmark + - name: Pwd + run: pwd + + - name: find_1 + run: find -type f + + + - name: Run Header Generation Benchmark + run: cargo bench -p da-runtime | tee ./header_gen_bench.txt + + - name: find_2 + run: find -type f + + - name: Header Generation Regression Checks uses: fmiguelgarcia/github-action-benchmark@v1 with: # What benchmark tool the output.txt came from tool: 'rustIai' # Where the output from the benchmark tool is stored - output-file-path: /home/runner/work/avail/avail/header_gen_bench.txt + output-file-path: ./header_gen_bench.txt # Where the previous data file is stored external-data-json-path: ./cache/benchmark-data.json # Workflow will fail when an alert happens at 15% degradation @@ -85,9 +103,3 @@ jobs: # Mention @rhysd in the commit comment alert-comment-cc-users: '@fmiguelgarcia,@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz' - - - name: Upload output as artifact - uses: actions/upload-artifact@v2 - with: - name: weights-result - path: ./output/ diff --git a/runtime/benches/header_kate_commitment.rs b/runtime/benches/header_kate_commitment.rs index c2cefa107..a629bd8c6 100644 --- a/runtime/benches/header_kate_commitment.rs +++ b/runtime/benches/header_kate_commitment.rs @@ -53,7 +53,7 @@ fn commitment_builder_256() { commitment_builder(BlockLengthColumns(256)); } -iai::main! {commitment_builder_32, commitment_builder_128, commitment_builder_256} +iai::main! {commitment_builder_32} /* mod iai_wrappers { From d5bef03a1a095e86167b5acb2d27ec8f49600e7c Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Thu, 5 Oct 2023 12:26:48 +0200 Subject: [PATCH 10/55] More logs in CI --- .github/workflows/run-benchmarks.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index 66fc804a9..dd62b1d59 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -68,6 +68,7 @@ jobs: with: path: | ./cache + ./target/release/ ./runtime/target/iai key: ${{ runner.os }}-header-gen-benchmark @@ -77,10 +78,12 @@ jobs: - name: find_1 run: find -type f - - name: Run Header Generation Benchmark run: cargo bench -p da-runtime | tee ./header_gen_bench.txt + - name: Cat output + run: cat ./header_gen_bench.txt + - name: find_2 run: find -type f @@ -90,7 +93,7 @@ jobs: # What benchmark tool the output.txt came from tool: 'rustIai' # Where the output from the benchmark tool is stored - output-file-path: ./header_gen_bench.txt + output-file-path: /home/ubuntu/actions-runner/_work/avail/avail/header_gen_bench.txt # Where the previous data file is stored external-data-json-path: ./cache/benchmark-data.json # Workflow will fail when an alert happens at 15% degradation From 94df2d563d690f7da11a7ce441db94dd76ee963c Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Thu, 5 Oct 2023 13:06:35 +0200 Subject: [PATCH 11/55] More logs in CI --- .github/workflows/run-benchmarks.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index dd62b1d59..41dafb84a 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -72,30 +72,22 @@ jobs: ./runtime/target/iai key: ${{ runner.os }}-header-gen-benchmark - - name: Pwd - run: pwd - - - name: find_1 - run: find -type f - - name: Run Header Generation Benchmark run: cargo bench -p da-runtime | tee ./header_gen_bench.txt - - name: Cat output - run: cat ./header_gen_bench.txt - - name: find_2 run: find -type f - name: Header Generation Regression Checks - uses: fmiguelgarcia/github-action-benchmark@v1 + uses: fmiguelgarcia/github-action-benchmark@v1.18.1 with: # What benchmark tool the output.txt came from tool: 'rustIai' # Where the output from the benchmark tool is stored - output-file-path: /home/ubuntu/actions-runner/_work/avail/avail/header_gen_bench.txt + # output-file-path: /home/ubuntu/actions-runner/_work/avail/avail/header_gen_bench.txt + output-file-path: ./header_gen_bench.txt # Where the previous data file is stored - external-data-json-path: ./cache/benchmark-data.json + # external-data-json-path: ./cache/benchmark-data.json # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true alert-threshold: '15%' @@ -105,4 +97,7 @@ jobs: comment-on-alert: true # Mention @rhysd in the commit comment alert-comment-cc-users: '@fmiguelgarcia,@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz' + comment-always: true + summary-always: true + auto-push: true From a6a49e519b04d805b395f22dbd49806ff319f16a Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Thu, 5 Oct 2023 13:47:18 +0200 Subject: [PATCH 12/55] More logs in CI --- .github/workflows/run-benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index 41dafb84a..dfff33e98 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -79,7 +79,7 @@ jobs: run: find -type f - name: Header Generation Regression Checks - uses: fmiguelgarcia/github-action-benchmark@v1.18.1 + uses: fmiguelgarcia/github-action-benchmark@v1 with: # What benchmark tool the output.txt came from tool: 'rustIai' From cc969cdc38dcb8dd3c6546e4360392210c7ed84a Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 9 Oct 2023 11:33:22 +0200 Subject: [PATCH 13/55] More logs in CI --- .github/workflows/run-benchmarks.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index dfff33e98..617ba8fc4 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -11,6 +11,9 @@ on: description: Benchmark only our pallet required: false default: 0 +env: + ACTIONS_RUNNER_DEBUG: true + ACTIONS_STEP_DEBUG: true jobs: benchmark: @@ -75,9 +78,6 @@ jobs: - name: Run Header Generation Benchmark run: cargo bench -p da-runtime | tee ./header_gen_bench.txt - - name: find_2 - run: find -type f - - name: Header Generation Regression Checks uses: fmiguelgarcia/github-action-benchmark@v1 with: @@ -100,4 +100,3 @@ jobs: comment-always: true summary-always: true auto-push: true - From 727fc27dd053cdd356e01bd704dd96652f6638dd Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 9 Oct 2023 13:41:33 +0200 Subject: [PATCH 14/55] Remove Charts on Github Pages --- .github/workflows/run-benchmarks.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index 617ba8fc4..e55726ed3 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -87,7 +87,7 @@ jobs: # output-file-path: /home/ubuntu/actions-runner/_work/avail/avail/header_gen_bench.txt output-file-path: ./header_gen_bench.txt # Where the previous data file is stored - # external-data-json-path: ./cache/benchmark-data.json + external-data-json-path: ./cache/benchmark-data.json # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true alert-threshold: '15%' @@ -99,4 +99,3 @@ jobs: alert-comment-cc-users: '@fmiguelgarcia,@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz' comment-always: true summary-always: true - auto-push: true From a15a3cffbe8bc2ae57d8dd6c5ce558e3be165d7f Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 9 Oct 2023 14:04:50 +0200 Subject: [PATCH 15/55] Git Workflow: update cache to v3 --- .github/workflows/run-benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index e55726ed3..e8487f929 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -67,7 +67,7 @@ jobs: # Run Header Generation benchmarks - name: Download previous Header Generation Benchmark - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: | ./cache From 1ae2436a6db22488d20d055c47dd1443408bf8ba Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 10 Oct 2023 09:56:57 +0200 Subject: [PATCH 16/55] Add benchmark to CI --- .github/workflows/default.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 1d372d646..1ed7a7202 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -65,7 +65,9 @@ jobs: - uses: actions/cache@v3 with: - path: ${{ env.SCCACHE_DIR }} + path: | + ${{ env.SCCACHE_DIR }} + ./runtime/target/iai key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install Protoc @@ -100,6 +102,32 @@ jobs: - name: Build node run: cargo build --release -p data-avail + - name: Run Header Generation Benchmarks + run: cargo bench -p da-runtime | tee ./header_gen_bench.txt + + - name: Header Generation Regression Checks + uses: fmiguelgarcia/github-action-benchmark@v1 + with: + # What benchmark tool the output.txt came from + tool: 'rustIai' + # Where the output from the benchmark tool is stored + # output-file-path: /home/ubuntu/actions-runner/_work/avail/avail/header_gen_bench.txt + output-file-path: ./header_gen_bench.txt + # Where the previous data file is stored + external-data-json-path: ./runtime/target/iai/benchmark-data.json + save-data-file: true + # Workflow will fail when an alert happens at 15% degradation + fail-on-alert: true + alert-threshold: '15%' + # Upload the updated cache file for the next job by actions/cache + github-token: ${{ secrets.GITHUB_TOKEN }} + # Enable alert commit comment + comment-on-alert: true + # Mention @rhysd in the commit comment + alert-comment-cc-users: '@fmiguelgarcia,@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz' + comment-always: true + summary-always: true + - name: Upload data-avail binary uses: actions/upload-artifact@v2 with: From 8104f1dcdc174af4f451e12d03a22d08190d5098 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 10 Oct 2023 10:07:51 +0200 Subject: [PATCH 17/55] Benchs run after build in reference machine --- .github/workflows/default.yml | 61 ++++++++++++++++++++++++++++++----- 1 file changed, 53 insertions(+), 8 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 1ed7a7202..f2b46f0d5 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -102,6 +102,59 @@ jobs: - name: Build node run: cargo build --release -p data-avail + - name: Upload data-avail binary + uses: actions/upload-artifact@v2 + with: + name: data-avail + path: target/release/data-avail + + - name: Display SCCache Stats + run: ${{ env.SCCACHE_BIN }} --show-stats + + - name: Check other features + run: cargo check --release --workspace --features "runtime-benchmarks try-runtime" -p data-avail + + benchmarks: + runs-on: [self-hosted, reference] + needs: [build] + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v3 + with: + path: | + ${{ env.SCCACHE_DIR }} + ./runtime/target/iai + key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install Protoc + uses: arduino/setup-protoc@v1 + with: + version: "3.x" + + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} + rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f $SCCACHE_BIN ]; then + cargo install sccache --git https://github.com/purestake/sccache.git --rev $CARGO_SCCACHE_COMMIT --force --no-default-features --features=dist-client --root $SCCACHE_DIR + fi + ls -la $SCCACHE_BIN + ps aux | grep sccache + if [[ -z `pgrep sccache` ]]; then + chmod +x $SCCACHE_BIN + $SCCACHE_BIN --start-server + fi + $SCCACHE_BIN -s + echo "RUSTC_WRAPPER=$SCCACHE_BIN" >> $GITHUB_ENV + - name: Run Header Generation Benchmarks run: cargo bench -p da-runtime | tee ./header_gen_bench.txt @@ -128,17 +181,9 @@ jobs: comment-always: true summary-always: true - - name: Upload data-avail binary - uses: actions/upload-artifact@v2 - with: - name: data-avail - path: target/release/data-avail - - name: Display SCCache Stats run: ${{ env.SCCACHE_BIN }} --show-stats - - name: Check other features - run: cargo check --release --workspace --features "runtime-benchmarks try-runtime" -p data-avail unit_tests: runs-on: ubuntu-latest From ea8476a7f23dbbe29be56f42f924020ab6307ebe Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 10 Oct 2023 11:42:25 +0200 Subject: [PATCH 18/55] CI Benchs: fix cargo path --- .github/workflows/default.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index f2b46f0d5..eef96ed6d 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -119,6 +119,7 @@ jobs: needs: [build] steps: - uses: actions/checkout@v2 + - uses: actions/cache@v3 with: path: | @@ -126,6 +127,11 @@ jobs: ./runtime/target/iai key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + - name: Install deps + run: | + sudo apt-get update + sudo apt-get install -y build-essential valgrind git clang curl libssl-dev protobuf-compiler unzip + - name: Install Protoc uses: arduino/setup-protoc@v1 with: @@ -140,6 +146,9 @@ jobs: rustup default ${{ env.BUILD_TOOLCHAIN }} rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} + - name: Set PATH for cargo + run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH + - name: SCCache run: | # We altered the path to avoid old actions to overwrite it From 2dc5a39d6588f92c2dfce6c4d8ff2c111d95f597 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 10 Oct 2023 11:45:49 +0200 Subject: [PATCH 19/55] CI Benchs: Bench in parallel with build --- .github/workflows/default.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index eef96ed6d..2ac98fc1f 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -65,9 +65,7 @@ jobs: - uses: actions/cache@v3 with: - path: | - ${{ env.SCCACHE_DIR }} - ./runtime/target/iai + path: ${{ env.SCCACHE_DIR }} key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install Protoc @@ -116,7 +114,7 @@ jobs: benchmarks: runs-on: [self-hosted, reference] - needs: [build] + needs: [lint] steps: - uses: actions/checkout@v2 @@ -125,7 +123,7 @@ jobs: path: | ${{ env.SCCACHE_DIR }} ./runtime/target/iai - key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-sccache-bin-bench-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install deps run: | From 4c645aa929d1ec4671830242ee3ef47bbf8d31b8 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 10 Oct 2023 11:54:08 +0200 Subject: [PATCH 20/55] CI Benchs: Bench sscache fix --- .github/workflows/default.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 2ac98fc1f..d5daead24 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -13,6 +13,10 @@ env: CARGO_SCCACHE_COMMIT: bed5571c SCCACHE_DIR: /home/runner/.cache/cargo-sccache-bed5571c SCCACHE_BIN: /home/runner/.cache/cargo-sccache-bed5571c/bin/sccache + BENCH_SCCACHE_DIR: ./.cache/cargo-sccache-bed5571c + BENCH_SCCACHE_BIN: ./.cache/cargo-sccache-bed5571c/bin/sccache + + jobs: lint: @@ -121,7 +125,7 @@ jobs: - uses: actions/cache@v3 with: path: | - ${{ env.SCCACHE_DIR }} + ${{ env.BENCH_SCCACHE_DIR }} ./runtime/target/iai key: ${{ runner.OS }}-sccache-bin-bench-${{ env.CARGO_SCCACHE_COMMIT }}-v1 @@ -150,17 +154,17 @@ jobs: - name: SCCache run: | # We altered the path to avoid old actions to overwrite it - if [ ! -f $SCCACHE_BIN ]; then - cargo install sccache --git https://github.com/purestake/sccache.git --rev $CARGO_SCCACHE_COMMIT --force --no-default-features --features=dist-client --root $SCCACHE_DIR + if [ ! -f $BENCH_SCCACHE_BIN ]; then + cargo install sccache --git https://github.com/purestake/sccache.git --rev $CARGO_SCCACHE_COMMIT --force --no-default-features --features=dist-client --root $BENCH_SCCACHE_DIR fi - ls -la $SCCACHE_BIN + ls -la $BENCH_SCCACHE_BIN ps aux | grep sccache if [[ -z `pgrep sccache` ]]; then - chmod +x $SCCACHE_BIN - $SCCACHE_BIN --start-server + chmod +x $BENCH_SCCACHE_BIN + $BENCH_SCCACHE_BIN --start-server fi - $SCCACHE_BIN -s - echo "RUSTC_WRAPPER=$SCCACHE_BIN" >> $GITHUB_ENV + $BENCH_SCCACHE_BIN -s + echo "RUSTC_WRAPPER=$BENCH_SCCACHE_BIN" >> $GITHUB_ENV - name: Run Header Generation Benchmarks run: cargo bench -p da-runtime | tee ./header_gen_bench.txt @@ -189,7 +193,7 @@ jobs: summary-always: true - name: Display SCCache Stats - run: ${{ env.SCCACHE_BIN }} --show-stats + run: ${{ env.BENCH_SCCACHE_BIN }} --show-stats unit_tests: From 6e47af8f42e03193bcf519612172ef69301eca74 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 10 Oct 2023 12:05:38 +0200 Subject: [PATCH 21/55] CI Benchs: Missing deps --- .github/workflows/default.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index d5daead24..471d6f1b7 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -132,7 +132,7 @@ jobs: - name: Install deps run: | sudo apt-get update - sudo apt-get install -y build-essential valgrind git clang curl libssl-dev protobuf-compiler unzip + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip - name: Install Protoc uses: arduino/setup-protoc@v1 @@ -210,8 +210,7 @@ jobs: - name: Install build-essential run: | sudo apt update - sudo apt install -y build-essential - sudo apt install -y git clang curl libssl-dev protobuf-compiler + sudo apt install -y build-essential git clang curl libssl-dev protobuf-compiler # Restore cache from `build` - uses: actions/cache/restore@v3 From 3c00c427550c069a32b33fc3d3701f831dd81ace Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 10 Oct 2023 12:51:01 +0200 Subject: [PATCH 22/55] CI Benchs: log caches --- .github/workflows/default.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 471d6f1b7..110ad4f6d 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -13,9 +13,9 @@ env: CARGO_SCCACHE_COMMIT: bed5571c SCCACHE_DIR: /home/runner/.cache/cargo-sccache-bed5571c SCCACHE_BIN: /home/runner/.cache/cargo-sccache-bed5571c/bin/sccache - BENCH_SCCACHE_DIR: ./.cache/cargo-sccache-bed5571c - BENCH_SCCACHE_BIN: ./.cache/cargo-sccache-bed5571c/bin/sccache - + BENCH_SCCACHE_DIR: /home/ubuntu/actions-runner/_work/.cache/cargo-sccache-bed5571c + BENCH_SCCACHE_BIN: /home/ubuntu/actions-runner/_work/.cache/cargo-sccache-bed5571c/bin/sccache + BENCH_IAI: /home/ubuntu/actions-runner/_work/.iai jobs: @@ -126,7 +126,7 @@ jobs: with: path: | ${{ env.BENCH_SCCACHE_DIR }} - ./runtime/target/iai + ${{ env.BENCH_IAI }} key: ${{ runner.OS }}-sccache-bin-bench-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install deps @@ -134,11 +134,6 @@ jobs: sudo apt-get update sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip - - name: Install Protoc - uses: arduino/setup-protoc@v1 - with: - version: "3.x" - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - name: Setup Rust toolchain @@ -178,11 +173,11 @@ jobs: # output-file-path: /home/ubuntu/actions-runner/_work/avail/avail/header_gen_bench.txt output-file-path: ./header_gen_bench.txt # Where the previous data file is stored - external-data-json-path: ./runtime/target/iai/benchmark-data.json + external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data.json save-data-file: true # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true - alert-threshold: '15%' + alert-threshold: '1%' # Upload the updated cache file for the next job by actions/cache github-token: ${{ secrets.GITHUB_TOKEN }} # Enable alert commit comment @@ -195,6 +190,14 @@ jobs: - name: Display SCCache Stats run: ${{ env.BENCH_SCCACHE_BIN }} --show-stats + - name: Print caches + run: | + find ./runtime/target/iai -type f + find ${{ env.BENCH_SCCACHE_DIR }} -type f + find ${{ env.BENCH_IAI }} -type f + pwd + + unit_tests: runs-on: ubuntu-latest From 936e272270d4f8b2e7dc256e15d45501e8bd3c04 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 10 Oct 2023 13:42:38 +0200 Subject: [PATCH 23/55] CI Benchs: cache more stuff --- .github/workflows/default.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 110ad4f6d..231218fd6 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -125,8 +125,10 @@ jobs: - uses: actions/cache@v3 with: path: | + ${{ env.SCCACHE_DIR }} ${{ env.BENCH_SCCACHE_DIR }} ${{ env.BENCH_IAI }} + ./runtime/target/iai key: ${{ runner.OS }}-sccache-bin-bench-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install deps From d61672a43e441525fc1dae31fc7015b26eddeaab Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 17 Oct 2023 10:30:03 +0200 Subject: [PATCH 24/55] CI Benchs: add Criterion --- .github/workflows/default.yml | 40 +- Cargo.lock | 344 ++++++++---------- pallets/system/Cargo.toml | 2 +- runtime/Cargo.toml | 7 +- runtime/benches/header_kate_commitment.rs | 38 +- runtime/benches/header_kate_commitment_cri.rs | 33 ++ runtime/benches/header_kate_commitment_iai.rs | 25 ++ 7 files changed, 256 insertions(+), 233 deletions(-) create mode 100644 runtime/benches/header_kate_commitment_cri.rs create mode 100644 runtime/benches/header_kate_commitment_iai.rs diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 231218fd6..b710f2352 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -163,29 +163,53 @@ jobs: $BENCH_SCCACHE_BIN -s echo "RUSTC_WRAPPER=$BENCH_SCCACHE_BIN" >> $GITHUB_ENV - - name: Run Header Generation Benchmarks - run: cargo bench -p da-runtime | tee ./header_gen_bench.txt + - name: Run Header Generation Benchmarks on IAI + run: cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ./header_gen_bench_iai.txt - - name: Header Generation Regression Checks + - name: Header Generation Regression Checks on IAI uses: fmiguelgarcia/github-action-benchmark@v1 with: # What benchmark tool the output.txt came from tool: 'rustIai' # Where the output from the benchmark tool is stored - # output-file-path: /home/ubuntu/actions-runner/_work/avail/avail/header_gen_bench.txt - output-file-path: ./header_gen_bench.txt + output-file-path: ./header_gen_bench_iai.txt # Where the previous data file is stored - external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data.json + external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data-iai.json save-data-file: true # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true - alert-threshold: '1%' + alert-threshold: '10%' # Upload the updated cache file for the next job by actions/cache github-token: ${{ secrets.GITHUB_TOKEN }} # Enable alert commit comment comment-on-alert: true # Mention @rhysd in the commit comment - alert-comment-cc-users: '@fmiguelgarcia,@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz' + alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' + comment-always: true + summary-always: true + + - name: Run Header Generation Benchmarks on Criterion + run: cargo bench -p da-runtime --bench header_kate_commitment_cri | tee ./header_gen_bench_cri.txt + + - name: Header Generation Regression Checks on Criterion + uses: fmiguelgarcia/github-action-benchmark@v1 + with: + # What benchmark tool the output.txt came from + tool: 'cargo' + # Where the output from the benchmark tool is stored + output-file-path: ./header_gen_bench_cri.txt + # Where the previous data file is stored + external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data-cri.json + save-data-file: true + # Workflow will fail when an alert happens at 15% degradation + fail-on-alert: true + alert-threshold: '10%' + # Upload the updated cache file for the next job by actions/cache + github-token: ${{ secrets.GITHUB_TOKEN }} + # Enable alert commit comment + comment-on-alert: true + # Mention @rhysd in the commit comment + alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' comment-always: true summary-always: true diff --git a/Cargo.lock b/Cargo.lock index 71767854a..76d1fad0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -731,7 +731,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "log", @@ -1215,18 +1215,6 @@ dependencies = [ "libloading", ] -[[package]] -name = "clap" -version = "3.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" -dependencies = [ - "bitflags 1.3.2", - "clap_lex 0.2.4", - "indexmap 1.9.3", - "textwrap", -] - [[package]] name = "clap" version = "4.4.1" @@ -1246,7 +1234,7 @@ checksum = "5891c7bc0edb3e1c2204fc5e94009affabeb1821c9e5fdc3959536c5c0bb984d" dependencies = [ "anstream", "anstyle", - "clap_lex 0.5.1", + "clap_lex", "strsim", ] @@ -1256,7 +1244,7 @@ version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "586a385f7ef2f8b4d86bddaa0c094794e7ccbfe5ffef1f434fe928143fc783a5" dependencies = [ - "clap 4.4.1", + "clap", ] [[package]] @@ -1271,15 +1259,6 @@ dependencies = [ "syn 2.0.29", ] -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - [[package]] name = "clap_lex" version = "0.5.1" @@ -1614,19 +1593,19 @@ dependencies = [ [[package]] name = "criterion" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb" +checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" dependencies = [ "anes", - "atty", "cast", "ciborium", - "clap 3.2.25", + "clap", "criterion-plot", + "is-terminal", "itertools 0.10.5", - "lazy_static", "num-traits", + "once_cell", "oorandom", "plotters", "rayon", @@ -1898,6 +1877,7 @@ name = "da-runtime" version = "7.0.0" dependencies = [ "avail-core", + "criterion", "da-control", "env_logger 0.9.3", "frame-benchmarking", @@ -2018,7 +1998,7 @@ dependencies = [ "async-trait", "avail-base", "avail-core", - "clap 4.4.1", + "clap", "clap_complete", "da-control", "da-runtime", @@ -2956,7 +2936,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", ] @@ -2979,7 +2959,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-support-procedural", @@ -3004,12 +2984,12 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "array-bytes", "chrono", - "clap 4.4.1", + "clap", "comfy-table", "frame-benchmarking", "frame-support", @@ -3052,7 +3032,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3063,7 +3043,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3113,7 +3093,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-recursion", "futures", @@ -3134,7 +3114,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bitflags 1.3.2", "environmental", @@ -3168,7 +3148,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "cfg-expr", @@ -3186,7 +3166,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -3198,7 +3178,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro2", "quote", @@ -3266,7 +3246,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "parity-scale-codec", @@ -5331,7 +5311,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "anyhow", "jsonrpsee", @@ -5890,12 +5870,6 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" -[[package]] -name = "os_str_bytes" -version = "6.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" - [[package]] name = "p256" version = "0.11.1" @@ -5921,7 +5895,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -5937,7 +5911,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -5951,7 +5925,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5975,7 +5949,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5995,7 +5969,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6010,7 +5984,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6028,7 +6002,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6047,7 +6021,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6064,7 +6038,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6082,7 +6056,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6105,7 +6079,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6118,7 +6092,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6137,7 +6111,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6160,7 +6134,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6176,7 +6150,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6196,7 +6170,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6230,7 +6204,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6247,7 +6221,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6264,7 +6238,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6280,7 +6254,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -6297,7 +6271,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -6314,7 +6288,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6331,7 +6305,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6348,7 +6322,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -6369,7 +6343,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6392,7 +6366,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6403,7 +6377,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6418,7 +6392,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6436,7 +6410,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6455,7 +6429,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -6471,7 +6445,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6487,7 +6461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6499,7 +6473,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6516,7 +6490,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -7874,7 +7848,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "log", "sp-core", @@ -7885,7 +7859,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -7913,7 +7887,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "futures-timer", @@ -7936,7 +7910,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7951,7 +7925,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -7970,7 +7944,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7981,11 +7955,11 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "chrono", - "clap 4.4.1", + "clap", "fdlimit", "futures", "libp2p-identity", @@ -8020,7 +7994,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "fnv", "futures", @@ -8046,7 +8020,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "kvdb", @@ -8072,7 +8046,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8097,7 +8071,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "fork-tree", @@ -8133,7 +8107,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "jsonrpsee", @@ -8155,7 +8129,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8168,7 +8142,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ahash 0.8.3", "array-bytes", @@ -8209,7 +8183,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "finality-grandpa", "futures", @@ -8229,7 +8203,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8252,7 +8226,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -8274,7 +8248,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8286,7 +8260,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "anyhow", "cfg-if", @@ -8303,7 +8277,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ansi_term", "futures", @@ -8319,7 +8293,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -8333,7 +8307,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "async-channel", @@ -8374,7 +8348,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-channel", "cid", @@ -8394,7 +8368,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -8411,7 +8385,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ahash 0.8.3", "futures", @@ -8429,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "async-channel", @@ -8450,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "async-channel", @@ -8484,7 +8458,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "futures", @@ -8502,7 +8476,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "log", "substrate-prometheus-endpoint 0.10.0-dev", @@ -8511,7 +8485,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "jsonrpsee", @@ -8542,7 +8516,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8561,7 +8535,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "http", "jsonrpsee", @@ -8576,7 +8550,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "futures", @@ -8602,7 +8576,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "directories", @@ -8666,7 +8640,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "log", "parity-scale-codec", @@ -8677,7 +8651,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8696,7 +8670,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "libc", @@ -8715,7 +8689,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "chrono", "futures", @@ -8734,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ansi_term", "atty", @@ -8763,7 +8737,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8774,7 +8748,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8800,7 +8774,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8816,7 +8790,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-channel", "futures", @@ -9313,7 +9287,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "log", @@ -9334,7 +9308,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "blake2", @@ -9348,7 +9322,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9361,7 +9335,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "integer-sqrt", "num-traits", @@ -9375,7 +9349,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9388,7 +9362,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sp-api", "sp-inherents", @@ -9399,7 +9373,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "log", @@ -9417,7 +9391,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -9432,7 +9406,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9449,7 +9423,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9468,7 +9442,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "finality-grandpa", "log", @@ -9486,7 +9460,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9498,7 +9472,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -9543,7 +9517,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "blake2b_simd", "byteorder", @@ -9556,7 +9530,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "quote", "sp-core-hashing", @@ -9566,7 +9540,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9575,7 +9549,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro2", "quote", @@ -9585,7 +9559,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "environmental", "parity-scale-codec", @@ -9596,7 +9570,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9610,7 +9584,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bytes", "ed25519 1.5.3", @@ -9635,7 +9609,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "lazy_static", "sp-core", @@ -9646,7 +9620,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -9658,7 +9632,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "thiserror", "zstd 0.12.4", @@ -9667,7 +9641,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -9678,7 +9652,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -9696,7 +9670,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9710,7 +9684,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sp-api", "sp-core", @@ -9720,7 +9694,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "backtrace", "lazy_static", @@ -9730,7 +9704,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "rustc-hash", "serde", @@ -9740,7 +9714,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "either", "hash256-std-hasher", @@ -9762,7 +9736,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9780,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "proc-macro-crate", @@ -9792,7 +9766,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9807,7 +9781,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9821,7 +9795,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "log", @@ -9842,7 +9816,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9859,12 +9833,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9877,7 +9851,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9890,7 +9864,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "sp-std", @@ -9902,7 +9876,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sp-api", "sp-runtime", @@ -9911,7 +9885,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9926,7 +9900,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ahash 0.8.3", "hash-db", @@ -9949,7 +9923,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9966,7 +9940,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -9977,7 +9951,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9990,7 +9964,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10157,12 +10131,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10181,7 +10155,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hyper", "log", @@ -10207,7 +10181,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "jsonrpsee", @@ -10220,7 +10194,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10237,7 +10211,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ansi_term", "build-helper", @@ -10375,12 +10349,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - [[package]] name = "thiserror" version = "1.0.47" @@ -10875,10 +10843,10 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", - "clap 4.4.1", + "clap", "frame-remote-externalities", "frame-try-runtime", "hex", diff --git a/pallets/system/Cargo.toml b/pallets/system/Cargo.toml index 0c9848e61..f90f3a2ea 100644 --- a/pallets/system/Cargo.toml +++ b/pallets/system/Cargo.toml @@ -44,7 +44,7 @@ once_cell = { version = "1.18", optional = true } [dev-dependencies] hex-literal = "0.3.1" test-case = "1.2.3" -criterion = "0.4.0" +criterion = "0.5.1" sp-externalities = "0.19.0" [features] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 707df6be5..54647bc55 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -116,9 +116,14 @@ serde_json = "1.0" sp-keyring = "24.0.0" env_logger = "0.9.1" iai = "0.1.1" +criterion = "0.5.1" [[bench]] -name = "header_kate_commitment" +name = "header_kate_commitment_iai" +harness = false + +[[bench]] +name = "header_kate_commitment_cri" harness = false [features] diff --git a/runtime/benches/header_kate_commitment.rs b/runtime/benches/header_kate_commitment.rs index a629bd8c6..f62e27bc8 100644 --- a/runtime/benches/header_kate_commitment.rs +++ b/runtime/benches/header_kate_commitment.rs @@ -6,6 +6,7 @@ use frame_system::{header_builder::hosted_header_builder, limits::BlockLength}; use sp_core::H256; use sp_std::iter::repeat; +#[allow(dead_code)] fn make_txs(cols: BlockLengthColumns) -> Vec { let data_length: u32 = ::MaxAppDataLength::get(); let rows = ::MaxBlockRows::get().0; @@ -23,11 +24,13 @@ fn make_txs(cols: BlockLengthColumns) -> Vec { vec![AppExtrinsic::from(data); nb_tx as usize] } +#[allow(dead_code)] fn block_length(cols: BlockLengthColumns) -> BlockLength { let rows = ::MaxBlockRows::get(); BlockLength::with_normal_ratio(rows, cols, BLOCK_CHUNK_SIZE, NORMAL_DISPATCH_RATIO).unwrap() } +#[allow(dead_code)] fn commitment_builder_with(txs: Vec, block_length: BlockLength) { let seed = [0u8; 32]; let root = H256::zero(); @@ -35,38 +38,3 @@ fn commitment_builder_with(txs: Vec, block_length: BlockLength) { let _ = hosted_header_builder::build(txs, root, block_length, block_number, seed); } - -fn commitment_builder(cols: BlockLengthColumns) { - let txs = make_txs(cols); - let block_length = block_length(cols); - - commitment_builder_with(txs, block_length); -} - -fn commitment_builder_32() { - commitment_builder(BlockLengthColumns(32)); -} -fn commitment_builder_128() { - commitment_builder(BlockLengthColumns(128)); -} -fn commitment_builder_256() { - commitment_builder(BlockLengthColumns(256)); -} - -iai::main! {commitment_builder_32} - -/* -mod iai_wrappers { - pub fn commitment_builder_32() { - let _ = $crate::black_box(super::commitment_builder_32()); - } -} -fn main() { - z` - - let benchmarks: &[&(&'static str, fn())] = - &[&("commitment_builder_32", iai_wrappers::commitment_builder_32)]; - - iai::runner(benchmarks); -} -*/ diff --git a/runtime/benches/header_kate_commitment_cri.rs b/runtime/benches/header_kate_commitment_cri.rs new file mode 100644 index 000000000..61c6fa385 --- /dev/null +++ b/runtime/benches/header_kate_commitment_cri.rs @@ -0,0 +1,33 @@ +use core::time::Duration; +use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; + +include!("header_kate_commitment.rs"); + +fn commitment_builder(c: &mut Criterion) { + let mut group = c.benchmark_group("commitment_builder"); + for columns in [32, 64, 128, 256].iter() { + let block_columns = BlockLengthColumns(*columns); + let block_length = block_length(block_columns); + let txs = make_txs(block_columns); + + group.throughput(Throughput::Elements(*columns as u64)); + group.bench_with_input( + BenchmarkId::from_parameter(block_columns), + &txs, + |b, txs| { + b.iter_batched( + || (txs.clone(), block_length.clone()), + |(txs, block_len)| commitment_builder_with(txs, block_len), + criterion::BatchSize::SmallInput, + ); + }, + ); + } + group.finish(); +} + +criterion_group!( + name = benches; + config = Criterion::default().sample_size(10).measurement_time( Duration::from_secs(30) ); + targets = commitment_builder); +criterion_main!(benches); diff --git a/runtime/benches/header_kate_commitment_iai.rs b/runtime/benches/header_kate_commitment_iai.rs new file mode 100644 index 000000000..198c6dfdd --- /dev/null +++ b/runtime/benches/header_kate_commitment_iai.rs @@ -0,0 +1,25 @@ +include!("header_kate_commitment.rs"); + +fn commitment_builder(cols: BlockLengthColumns) { + let txs = make_txs(cols); + let block_length = block_length(cols); + + commitment_builder_with(txs, block_length); +} + +fn commitment_builder_32() { + commitment_builder(BlockLengthColumns(32)); +} + +fn commitment_builder_64() { + commitment_builder(BlockLengthColumns(64)); +} + +fn commitment_builder_128() { + commitment_builder(BlockLengthColumns(128)); +} +fn commitment_builder_256() { + commitment_builder(BlockLengthColumns(256)); +} + +iai::main! {commitment_builder_32, commitment_builder_64, commitment_builder_128, commitment_builder_256 } From 83e5b609b5895287f6eaedff0359173545b9ebcc Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 17 Oct 2023 12:05:36 +0200 Subject: [PATCH 25/55] CI Benchs: Increase threashold --- .github/workflows/default.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index b710f2352..ffc42ac22 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -163,22 +163,22 @@ jobs: $BENCH_SCCACHE_BIN -s echo "RUSTC_WRAPPER=$BENCH_SCCACHE_BIN" >> $GITHUB_ENV - - name: Run Header Generation Benchmarks on IAI - run: cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ./header_gen_bench_iai.txt + - name: Run Header Generation Benchmarks on Criterion + run: cargo bench -p da-runtime --bench header_kate_commitment_cri | tee ${{ env.BENCH_IAI }}/header_gen_bench_cri.txt - - name: Header Generation Regression Checks on IAI + - name: Header Generation Regression Checks on Criterion uses: fmiguelgarcia/github-action-benchmark@v1 with: # What benchmark tool the output.txt came from - tool: 'rustIai' + tool: 'cargo' # Where the output from the benchmark tool is stored - output-file-path: ./header_gen_bench_iai.txt + output-file-path: ${{ env.BENCH_IAI }}/header_gen_bench_cri.txt # Where the previous data file is stored - external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data-iai.json + external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data-cri.json save-data-file: true # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true - alert-threshold: '10%' + alert-threshold: '115%' # Upload the updated cache file for the next job by actions/cache github-token: ${{ secrets.GITHUB_TOKEN }} # Enable alert commit comment @@ -188,22 +188,22 @@ jobs: comment-always: true summary-always: true - - name: Run Header Generation Benchmarks on Criterion - run: cargo bench -p da-runtime --bench header_kate_commitment_cri | tee ./header_gen_bench_cri.txt + - name: Run Header Generation Benchmarks on IAI + run: cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ./header_gen_bench_iai.txt - - name: Header Generation Regression Checks on Criterion + - name: Header Generation Regression Checks on IAI uses: fmiguelgarcia/github-action-benchmark@v1 with: # What benchmark tool the output.txt came from - tool: 'cargo' + tool: 'rustIai' # Where the output from the benchmark tool is stored - output-file-path: ./header_gen_bench_cri.txt + output-file-path: ./header_gen_bench_iai.txt # Where the previous data file is stored - external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data-cri.json + external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data-iai.json save-data-file: true # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true - alert-threshold: '10%' + alert-threshold: '115%' # Upload the updated cache file for the next job by actions/cache github-token: ${{ secrets.GITHUB_TOKEN }} # Enable alert commit comment From f48733a0cb4ed77952c58ed6c32d65849e8c00f5 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 17 Oct 2023 13:00:53 +0200 Subject: [PATCH 26/55] CI Benchs: bencher output format --- .github/workflows/default.yml | 2 +- Cargo.lock | 927 +++++++++++++++++----------------- 2 files changed, 454 insertions(+), 475 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index ffc42ac22..5eac7122b 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -164,7 +164,7 @@ jobs: echo "RUSTC_WRAPPER=$BENCH_SCCACHE_BIN" >> $GITHUB_ENV - name: Run Header Generation Benchmarks on Criterion - run: cargo bench -p da-runtime --bench header_kate_commitment_cri | tee ${{ env.BENCH_IAI }}/header_gen_bench_cri.txt + run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ${{ env.BENCH_IAI }}/header_gen_bench_cri.txt - name: Header Generation Regression Checks on Criterion uses: fmiguelgarcia/github-action-benchmark@v1 diff --git a/Cargo.lock b/Cargo.lock index 76d1fad0e..269e49d6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -115,9 +115,9 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.10.2" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "209b47e8954a928e1d72e86eca7000ebb6655fe1436d33eefc2201cad027e237" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead 0.5.2", "aes 0.8.3", @@ -178,9 +178,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.0.5" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] @@ -217,9 +217,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.5.0" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" +checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" dependencies = [ "anstyle", "anstyle-parse", @@ -231,15 +231,15 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" +checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" [[package]] name = "anstyle-parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" +checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" dependencies = [ "utf8parse", ] @@ -255,9 +255,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "2.1.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" +checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" dependencies = [ "anstyle", "windows-sys 0.48.0", @@ -439,7 +439,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.28", + "time", ] [[package]] @@ -455,7 +455,7 @@ dependencies = [ "num-traits", "rusticata-macros", "thiserror", - "time 0.3.28", + "time", ] [[package]] @@ -518,7 +518,7 @@ dependencies = [ "log", "parking", "polling", - "rustix 0.37.23", + "rustix 0.37.25", "slab", "socket2 0.4.9", "waker-fn", @@ -535,24 +535,24 @@ dependencies = [ [[package]] name = "async-recursion" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba" +checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "async-trait" -version = "0.1.73" +version = "0.1.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" +checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -570,9 +570,9 @@ dependencies = [ [[package]] name = "atomic-waker" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "atty" @@ -651,7 +651,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.32.0", + "object 0.32.1", "rustc-demangle", ] @@ -703,9 +703,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.3" +version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "414dcefbc63d77c526a76b3afcf6fbb9b5e2791c19c3aa2297733208750c6e53" +checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" [[package]] name = "base64ct" @@ -758,13 +758,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.12", + "prettyplease 0.2.15", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -775,9 +775,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "bitvec" @@ -812,37 +812,37 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq 0.2.6", + "constant_time_eq", ] [[package]] name = "blake2s_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" +checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq 0.2.6", + "constant_time_eq", ] [[package]] name = "blake3" -version = "1.4.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "199c42ab6972d92c9f8995f086273d25c42fc0f7b2a1fcefba465c1352d25ba5" +checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87" dependencies = [ "arrayref", "arrayvec 0.7.4", "cc", "cfg-if", - "constant_time_eq 0.3.0", + "constant_time_eq", ] [[package]] @@ -913,9 +913,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b05133427c07c4776906f673ccf36c21b102c9829c641a5b56bd151d44fd6" +checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" dependencies = [ "log", "parity-scale-codec", @@ -931,9 +931,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bstr" -version = "1.6.2" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c2f7349907b712260e64b0afe2f84692af14a454be26187d9df565c7f69266a" +checksum = "c79ad7fb2dd38f3dabd76b09c6a5a20c038fc0213ef1e9afd30eb777f120f019" dependencies = [ "memchr", "serde", @@ -950,9 +950,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.13.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "byte-slice-cast" @@ -968,21 +968,21 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.13.1" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" +checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" [[package]] name = "byteorder" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" dependencies = [ "serde", ] @@ -1009,9 +1009,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" +checksum = "12024c4645c97566567129c204f65d5815a8c9aecf30fcbe682b2fe034996d36" dependencies = [ "serde", ] @@ -1024,7 +1024,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.18", + "semver 1.0.20", "serde", "serde_json", "thiserror", @@ -1068,9 +1068,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.4" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b40ccee03b5175c18cde8f37e7d2a33bcef6f8ec8f7cc0d81090d1bb380949c9" +checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3" dependencies = [ "smallvec", ] @@ -1114,15 +1114,14 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.28" +version = "0.4.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ed24df0632f708f5f6d8082675bef2596f7084dee3dd55f632290bf35bfe0f" +checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", - "time 0.1.45", "wasm-bindgen", "windows-targets 0.48.5", ] @@ -1217,20 +1216,19 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.1" +version = "4.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c8d502cbaec4595d2e7d5f61e318f05417bd2b66fdc3809498f0d3fdf0bea27" +checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.4.1" +version = "4.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5891c7bc0edb3e1c2204fc5e94009affabeb1821c9e5fdc3959536c5c0bb984d" +checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" dependencies = [ "anstream", "anstyle", @@ -1240,23 +1238,23 @@ dependencies = [ [[package]] name = "clap_complete" -version = "4.4.0" +version = "4.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "586a385f7ef2f8b4d86bddaa0c094794e7ccbfe5ffef1f434fe928143fc783a5" +checksum = "e3ae8ba90b9d8b007efe66e55e48fb936272f5ca00349b5b0e89877520d35ea7" dependencies = [ "clap", ] [[package]] name = "clap_derive" -version = "4.4.0" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9fd1a5729c4548118d7d70ff234a44868d00489a4b6597b0b020918a0e91a1a" +checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -1290,7 +1288,7 @@ dependencies = [ "k256 0.11.6", "lazy_static", "serde", - "sha2 0.10.7", + "sha2 0.10.8", "thiserror", ] @@ -1307,7 +1305,7 @@ dependencies = [ "hmac 0.12.1", "pbkdf2 0.11.0", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.8", "thiserror", ] @@ -1327,7 +1325,7 @@ dependencies = [ "ripemd", "serde", "serde_derive", - "sha2 0.10.7", + "sha2 0.10.8", "sha3", "thiserror", ] @@ -1351,9 +1349,9 @@ dependencies = [ [[package]] name = "concurrent-queue" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" +checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" dependencies = [ "crossbeam-utils", ] @@ -1399,12 +1397,6 @@ dependencies = [ "tiny-keccak", ] -[[package]] -name = "constant_time_eq" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" - [[package]] name = "constant_time_eq" version = "0.3.0" @@ -1627,16 +1619,6 @@ dependencies = [ "itertools 0.10.5", ] -[[package]] -name = "crossbeam-channel" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - [[package]] name = "crossbeam-deque" version = "0.8.3" @@ -1690,9 +1672,9 @@ dependencies = [ [[package]] name = "crypto-bigint" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15" +checksum = "740fe28e594155f10cfc383984cbefd529d7396050557148f79cb0f621204124" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", @@ -1777,9 +1759,9 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.0.0" +version = "4.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f711ade317dd348950a9910f81c5947e3d8907ebd2b83f76203ff1807e6a2bc2" +checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" dependencies = [ "cfg-if", "cpufeatures", @@ -1800,14 +1782,14 @@ checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "cxx" -version = "1.0.107" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe98ba1789d56fb3db3bee5e032774d4f421b685de7ba703643584ba24effbe" +checksum = "c390c123d671cc547244943ecad81bdaab756c6ea332d9ca9c1f48d952a24895" dependencies = [ "cc", "cxxbridge-flags", @@ -1817,9 +1799,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.107" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4ce20f6b8433da4841b1dadfb9468709868022d829d5ca1f2ffbda928455ea3" +checksum = "00d3d3ac9ffb900304edf51ca719187c779f4001bb544f26c4511d621de905cf" dependencies = [ "cc", "codespan-reporting", @@ -1827,24 +1809,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "cxxbridge-flags" -version = "1.0.107" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20888d9e1d2298e2ff473cee30efe7d5036e437857ab68bbfea84c74dba91da2" +checksum = "94415827ecfea0f0c74c8cad7d1a86ddb3f05354d6a6ddeda0adee5e875d2939" [[package]] name = "cxxbridge-macro" -version = "1.0.107" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fa16a70dd58129e4dfffdff535fb1bce66673f7bbeec4a5a1765a504e1ccd84" +checksum = "e33dbbe9f5621c9247f97ec14213b04f350bff4b6cebefe834c60055db266ecf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -2157,9 +2139,12 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +dependencies = [ + "powerfmt", +] [[package]] name = "derivative" @@ -2323,7 +2308,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -2411,9 +2396,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfc4744c1b8f2a09adc0e55242f60b1af195d88596bd8700be74418c056c555" +checksum = "23d2f3407d9a573d666de4b5bdf10569d73ca9478087346697dcbae6244bfbcd" [[package]] name = "ecdsa" @@ -2435,7 +2420,7 @@ checksum = "a4b1e0c257a9e9f25f90ff76d7a68360ed497ee519c8e428d1825ef0000799d4" dependencies = [ "der 0.7.8", "digest 0.10.7", - "elliptic-curve 0.13.5", + "elliptic-curve 0.13.6", "rfc6979 0.4.0", "signature 2.1.0", "spki 0.7.2", @@ -2452,9 +2437,9 @@ dependencies = [ [[package]] name = "ed25519" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8 0.10.2", "signature 2.1.0", @@ -2478,11 +2463,11 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7277392b266383ef8396db7fdeb1e77b6c52fed775f5df15bb24f35b72156980" dependencies = [ - "curve25519-dalek 4.0.0", - "ed25519 2.2.2", + "curve25519-dalek 4.1.1", + "ed25519 2.2.3", "rand_core 0.6.4", "serde", - "sha2 0.10.7", + "sha2 0.10.8", "zeroize", ] @@ -2530,12 +2515,12 @@ dependencies = [ [[package]] name = "elliptic-curve" -version = "0.13.5" +version = "0.13.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" +checksum = "d97ca172ae9dc9f9b779a6e3a65d308f2af74e5b8c921299075bdb4a0370e914" dependencies = [ "base16ct 0.2.0", - "crypto-bigint 0.5.2", + "crypto-bigint 0.5.3", "digest 0.10.7", "ff 0.13.0", "generic-array 0.14.7", @@ -2567,22 +2552,22 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c041f5090df68b32bcd905365fd51769c8b9d553fe87fde0b683534f10c01bd2" +checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" +checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -2625,25 +2610,14 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.3" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd" +checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" dependencies = [ - "errno-dragonfly", "libc", "windows-sys 0.48.0", ] -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - [[package]] name = "eth-keystore" version = "0.5.0" @@ -2660,7 +2634,7 @@ dependencies = [ "scrypt", "serde", "serde_json", - "sha2 0.10.7", + "sha2 0.10.8", "sha3", "thiserror", "uuid 0.8.2", @@ -2757,7 +2731,7 @@ dependencies = [ "ethers-core", "hex", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.8", "thiserror", ] @@ -2786,7 +2760,7 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -2812,9 +2786,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "fdlimit" @@ -2847,9 +2821,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.1.20" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" +checksum = "d0870c84016d4b481be5c9f323c24f65e31e901ae618f0e80f4308fb00de1d2d" [[package]] name = "file-per-thread-logger" @@ -2909,9 +2883,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "libz-sys", @@ -3037,7 +3011,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -3160,7 +3134,7 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -3172,7 +3146,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -3182,7 +3156,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948 dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -3349,7 +3323,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -3360,7 +3334,7 @@ checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" dependencies = [ "futures-io", "rustls 0.20.9", - "webpki 0.22.1", + "webpki 0.22.4", ] [[package]] @@ -3616,9 +3590,9 @@ checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] name = "handlebars" -version = "4.3.7" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" +checksum = "c39b3bc2a8f715298032cf5087e58573809374b08160aa7d750582bdb82d2683" dependencies = [ "log", "pest", @@ -3672,9 +3646,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12" [[package]] name = "heck" @@ -3693,9 +3667,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" +checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" [[package]] name = "hex" @@ -3761,6 +3735,15 @@ dependencies = [ "hmac 0.8.1", ] +[[package]] +name = "home" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +dependencies = [ + "windows-sys 0.48.0", +] + [[package]] name = "hostname" version = "0.3.1" @@ -3927,9 +3910,9 @@ dependencies = [ [[package]] name = "if-watch" -version = "3.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9465340214b296cd17a0009acdb890d6160010b8adf8f78a00d0d7ab270f79f" +checksum = "bbb892e5777fe09e16f3d44de7802f4daa7267ecbe8c466f19d94e25bb0c303e" dependencies = [ "async-io", "core-foundation", @@ -3941,7 +3924,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows 0.34.0", + "windows 0.51.1", ] [[package]] @@ -3995,19 +3978,19 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" dependencies = [ "equivalent", - "hashbrown 0.14.0", + "hashbrown 0.14.1", ] [[package]] name = "indicatif" -version = "0.17.6" +version = "0.17.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b297dc40733f23a0e52728a58fa9489a5b7638a324932de16b41adc3ef80730" +checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" dependencies = [ "console", "instant", @@ -4068,7 +4051,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi 0.3.3", "libc", "windows-sys 0.48.0", ] @@ -4085,7 +4068,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.3", + "socket2 0.5.4", "widestring", "windows-sys 0.48.0", "winreg", @@ -4103,8 +4086,8 @@ version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ - "hermit-abi 0.3.2", - "rustix 0.38.10", + "hermit-abi 0.3.3", + "rustix 0.38.19", "windows-sys 0.48.0", ] @@ -4134,9 +4117,9 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jobserver" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" +checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" dependencies = [ "libc", ] @@ -4321,7 +4304,7 @@ dependencies = [ "cfg-if", "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.7", + "sha2 0.10.8", "sha3", ] @@ -4333,9 +4316,9 @@ checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" dependencies = [ "cfg-if", "ecdsa 0.16.8", - "elliptic-curve 0.13.5", + "elliptic-curve 0.13.6", "once_cell", - "sha2 0.10.7", + "sha2 0.10.8", ] [[package]] @@ -4465,9 +4448,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "libloading" @@ -4614,7 +4597,7 @@ dependencies = [ "multihash", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.8", "thiserror", "zeroize", ] @@ -4639,7 +4622,7 @@ dependencies = [ "log", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.8", "smallvec", "thiserror", "uint", @@ -4697,7 +4680,7 @@ dependencies = [ "once_cell", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.7", + "sha2 0.10.8", "snow", "static_assertions", "thiserror", @@ -4819,10 +4802,10 @@ dependencies = [ "libp2p-core", "libp2p-identity", "rcgen 0.10.0", - "ring", + "ring 0.16.20", "rustls 0.20.9", "thiserror", - "webpki 0.22.1", + "webpki 0.22.4", "x509-parser 0.14.0", "yasna", ] @@ -5025,9 +5008,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.5" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" +checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" [[package]] name = "lock_api" @@ -5113,7 +5096,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -5127,18 +5110,18 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "macro_magic_core_macros" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c12469fc165526520dff2807c2975310ab47cf7190a45b99b49a7dc8befab17b" +checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -5149,7 +5132,7 @@ checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -5181,9 +5164,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" dependencies = [ "autocfg", "rawpointer", @@ -5191,26 +5174,27 @@ dependencies = [ [[package]] name = "md-5" -version = "0.10.5" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" +checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ + "cfg-if", "digest 0.10.7", ] [[package]] name = "memchr" -version = "2.6.2" +version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5486aed0026218e61b8a01d5fbd5a0a134649abb71a0e53b7bc088529dced86e" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" [[package]] name = "memfd" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.37.23", + "rustix 0.38.19", ] [[package]] @@ -5393,7 +5377,7 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive", - "sha2 0.10.7", + "sha2 0.10.8", "sha3", "unsigned-varint", ] @@ -5753,9 +5737,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" +checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" dependencies = [ "autocfg", ] @@ -5766,7 +5750,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi 0.3.3", "libc", ] @@ -5790,9 +5774,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" +checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" dependencies = [ "memchr", ] @@ -5878,7 +5862,7 @@ checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.7", + "sha2 0.10.8", ] [[package]] @@ -5889,7 +5873,7 @@ checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ "ecdsa 0.14.8", "elliptic-curve 0.12.3", - "sha2 0.10.7", + "sha2 0.10.8", ] [[package]] @@ -6371,7 +6355,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -6505,9 +6489,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78f19d20a0d2cc52327a88d131fa1c4ea81ea4a04714aedcfeca2dd410049cf8" +checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" dependencies = [ "blake2", "crc32fast", @@ -6588,9 +6572,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" +checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067" [[package]] name = "parking_lot" @@ -6681,7 +6665,7 @@ dependencies = [ "digest 0.10.7", "hmac 0.12.1", "password-hash", - "sha2 0.10.7", + "sha2 0.10.8", ] [[package]] @@ -6716,9 +6700,9 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pest" -version = "2.7.3" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7a4d085fd991ac8d5b05a147b437791b4260b76326baf0fc60cf7c9c27ecd33" +checksum = "c022f1e7b65d6a24c0dbbd5fb344c66881bc01f3e5ae74a1c8100f2f985d98a4" dependencies = [ "memchr", "thiserror", @@ -6727,9 +6711,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.3" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bee7be22ce7918f641a33f08e3f43388c7656772244e2bbb2477f44cc9021a" +checksum = "35513f630d46400a977c4cb58f78e1bfbe01434316e60c37d27b9ad6139c66d8" dependencies = [ "pest", "pest_generator", @@ -6737,26 +6721,26 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.3" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1511785c5e98d79a05e8a6bc34b4ac2168a0e3e92161862030ad84daa223141" +checksum = "bc9fc1b9e7057baba189b5c626e2d6f40681ae5b6eb064dc7c7834101ec8123a" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "pest_meta" -version = "2.7.3" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42f0394d3123e33353ca5e1e89092e533d2cc490389f2bd6131c43c634ebc5f" +checksum = "1df74e9e7ec4053ceb980e7c0c8bd3594e977fde1af91daba9c928e8e8c6708d" dependencies = [ "once_cell", "pest", - "sha2 0.10.7", + "sha2 0.10.8", ] [[package]] @@ -6766,7 +6750,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.0.0", + "indexmap 2.0.2", ] [[package]] @@ -6786,7 +6770,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -6939,6 +6923,12 @@ version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -6987,19 +6977,19 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.12" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64d9ba0963cdcea2e1b2230fbae2bab30eb25a174be395c41e764bfb65dd62" +checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "primitive-types" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec", @@ -7057,14 +7047,14 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "proc-macro2" -version = "1.0.66" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" +checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" dependencies = [ "unicode-ident", ] @@ -7103,7 +7093,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -7210,20 +7200,20 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.9.4" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31999cfc7927c4e212e60fd50934ab40e8e8bfd2d493d6095d2d306bc0764d9" +checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", "rand 0.8.5", - "ring", + "ring 0.16.20", "rustc-hash", "rustls 0.20.9", "slab", "thiserror", "tinyvec", "tracing", - "webpki 0.22.1", + "webpki 0.22.4", ] [[package]] @@ -7335,9 +7325,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" dependencies = [ "either", "rayon-core", @@ -7345,14 +7335,12 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -7362,8 +7350,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", - "ring", - "time 0.3.28", + "ring 0.16.20", + "time", "x509-parser 0.13.2", "yasna", ] @@ -7375,8 +7363,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", - "ring", - "time 0.3.28", + "ring 0.16.20", + "time", "yasna", ] @@ -7426,7 +7414,7 @@ checksum = "7f7473c2cfcf90008193dd0e3e16599455cb601a9fce322b5bb55de799664925" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -7443,14 +7431,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.4" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29" +checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.3.7", - "regex-syntax 0.7.5", + "regex-automata 0.4.3", + "regex-syntax 0.8.2", ] [[package]] @@ -7464,13 +7452,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.3.7" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629" +checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.5", + "regex-syntax 0.8.2", ] [[package]] @@ -7481,9 +7469,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.5" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "resolv-conf" @@ -7525,12 +7513,26 @@ dependencies = [ "cc", "libc", "once_cell", - "spin", - "untrusted", + "spin 0.5.2", + "untrusted 0.7.1", "web-sys", "winapi", ] +[[package]] +name = "ring" +version = "0.17.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce3045ffa7c981a6ee93f640b538952e155f1ae3a1a02b84547fc7a56b7059a" +dependencies = [ + "cc", + "getrandom 0.2.10", + "libc", + "spin 0.9.8", + "untrusted 0.9.0", + "windows-sys 0.48.0", +] + [[package]] name = "ripemd" version = "0.1.3" @@ -7587,7 +7589,7 @@ version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05225752ca6ede4cb1b73aa37ce3904affd042e98f28246f56f438ebfd47a810" dependencies = [ - "sha2 0.10.7", + "sha2 0.10.8", ] [[package]] @@ -7664,7 +7666,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.18", + "semver 1.0.20", ] [[package]] @@ -7678,9 +7680,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.15" +version = "0.36.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c37f1bd5ef1b5422177b7646cba67430579cfe2ace80f284fee876bca52ad941" +checksum = "6da3636faa25820d8648e0e31c5d519bbb01f72fdf57131f0f5f7da5fed36eab" dependencies = [ "bitflags 1.3.2", "errno", @@ -7692,9 +7694,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.23" +version = "0.37.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" +checksum = "d4eb579851244c2c03e7c24f501c3432bed80b8f720af1d6e5b0e0f01555a035" dependencies = [ "bitflags 1.3.2", "errno", @@ -7706,14 +7708,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.10" +version = "0.38.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed6248e1caa625eb708e266e06159f135e8c26f2bb7ceb72dc4b2766d0340964" +checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "errno", "libc", - "linux-raw-sys 0.4.5", + "linux-raw-sys 0.4.10", "windows-sys 0.48.0", ] @@ -7725,7 +7727,7 @@ checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ "base64 0.13.1", "log", - "ring", + "ring 0.16.20", "sct 0.6.1", "webpki 0.21.4", ] @@ -7737,9 +7739,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ "log", - "ring", + "ring 0.16.20", "sct 0.7.0", - "webpki 0.22.1", + "webpki 0.22.4", ] [[package]] @@ -7749,8 +7751,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" dependencies = [ "log", - "ring", - "rustls-webpki 0.101.4", + "ring 0.16.20", + "rustls-webpki 0.101.6", "sct 0.7.0", ] @@ -7772,27 +7774,27 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" dependencies = [ - "base64 0.21.3", + "base64 0.21.4", ] [[package]] name = "rustls-webpki" -version = "0.100.2" +version = "0.100.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98ff011474fa39949b7e5c0428f9b4937eda7da7848bbb947786b7be0b27dab" +checksum = "5f6a5fc258f1c1276dfe3016516945546e2d5383911efc0fc4f1cdc5df3a4ae3" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] name = "rustls-webpki" -version = "0.101.4" +version = "0.101.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d93931baf2d282fff8d3a532bbfd7653f734643161b87e3e01e59a04439bf0d" +checksum = "3c7d5dece342910d9ba34d259310cae3e0154b873b35408b787b59bce53d34fe" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] @@ -7949,7 +7951,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -8266,7 +8268,7 @@ dependencies = [ "cfg-if", "libc", "log", - "rustix 0.36.15", + "rustix 0.36.16", "sc-allocator", "sc-executor-common", "sp-runtime-interface", @@ -8742,7 +8744,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -8887,7 +8889,7 @@ dependencies = [ "hmac 0.12.1", "pbkdf2 0.11.0", "salsa20", - "sha2 0.10.7", + "sha2 0.10.8", ] [[package]] @@ -8896,8 +8898,8 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] @@ -8906,8 +8908,8 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] @@ -9011,9 +9013,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" dependencies = [ "serde", ] @@ -9032,29 +9034,29 @@ checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" [[package]] name = "serde" -version = "1.0.188" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" +checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.188" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" +checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "serde_json" -version = "1.0.105" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "itoa", "ryu", @@ -9085,9 +9087,9 @@ dependencies = [ [[package]] name = "sha1" -version = "0.10.5" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", "cpufeatures", @@ -9121,9 +9123,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.7" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", @@ -9142,18 +9144,18 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.4" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ "lazy_static", ] [[package]] name = "shlex" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" +checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" [[package]] name = "signal-hook-registry" @@ -9220,9 +9222,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "smallvec" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" +checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" [[package]] name = "snap" @@ -9239,11 +9241,11 @@ dependencies = [ "aes-gcm 0.9.4", "blake2", "chacha20poly1305", - "curve25519-dalek 4.0.0", + "curve25519-dalek 4.1.1", "rand_core 0.6.4", - "ring", + "ring 0.16.20", "rustc_version", - "sha2 0.10.7", + "sha2 0.10.8", "subtle", ] @@ -9259,9 +9261,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" dependencies = [ "libc", "windows-sys 0.48.0", @@ -9316,7 +9318,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -9522,7 +9524,7 @@ dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", - "sha2 0.10.7", + "sha2 0.10.8", "sha3", "twox-hash", ] @@ -9534,7 +9536,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948 dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -9553,7 +9555,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948 dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -9760,7 +9762,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -9945,7 +9947,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -9982,6 +9984,12 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + [[package]] name = "spinners" version = "4.1.0" @@ -10107,7 +10115,7 @@ dependencies = [ "lazy_static", "md-5", "rand 0.8.5", - "ring", + "ring 0.16.20", "subtle", "thiserror", "tokio", @@ -10221,7 +10229,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml 0.7.6", + "toml 0.7.8", "walkdir", "wasm-opt", ] @@ -10254,9 +10262,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.29" +version = "2.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" +checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" dependencies = [ "proc-macro2", "quote", @@ -10315,17 +10323,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ "cfg-if", - "fastrand 2.0.0", + "fastrand 2.0.1", "redox_syscall 0.3.5", - "rustix 0.38.10", + "rustix 0.38.19", "windows-sys 0.48.0", ] [[package]] name = "termcolor" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" +checksum = "6093bad37da69aab9d123a8091e4be0aa4a03e4d601ec641c327398315f62b64" dependencies = [ "winapi-util", ] @@ -10351,22 +10359,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.47" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f" +checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.47" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b" +checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -10426,23 +10434,13 @@ dependencies = [ [[package]] name = "time" -version = "0.1.45" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48" +checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" dependencies = [ "deranged", "itoa", + "powerfmt", "serde", "time-core", "time-macros", @@ -10450,15 +10448,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572" +checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" dependencies = [ "time-core", ] @@ -10475,7 +10473,7 @@ dependencies = [ "pbkdf2 0.11.0", "rand 0.8.5", "rustc-hash", - "sha2 0.10.7", + "sha2 0.10.8", "thiserror", "unicode-normalization", "wasm-bindgen", @@ -10518,9 +10516,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.32.0" +version = "1.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" +checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" dependencies = [ "backtrace", "bytes", @@ -10530,7 +10528,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project-lite 0.2.13", "signal-hook-registry", - "socket2 0.5.3", + "socket2 0.5.4", "tokio-macros", "windows-sys 0.48.0", ] @@ -10543,7 +10541,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -10581,9 +10579,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" +checksum = "1d68074620f57a0b21594d9735eb2e98ab38b17f80d3fcb189fca266771ca60d" dependencies = [ "bytes", "futures-core", @@ -10605,9 +10603,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.6" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" dependencies = [ "serde", "serde_spanned", @@ -10626,11 +10624,11 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.19.14" +version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.0.0", + "indexmap 2.0.2", "serde", "serde_spanned", "toml_datetime", @@ -10650,11 +10648,11 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55ae70283aba8d2a8b411c695c437fe25b8b5e44e23e780662002fc72fb47a82" +checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "bytes", "futures-core", "futures-util", @@ -10680,11 +10678,10 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.37" +version = "0.1.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +checksum = "ee2ef2af84856a50c1d430afce2fdded0a4ec7eda868db86409b4543df0797f9" dependencies = [ - "cfg-if", "log", "pin-project-lite 0.2.13", "tracing-attributes", @@ -10693,20 +10690,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] name = "tracing-core" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", "valuable", @@ -10894,7 +10891,7 @@ dependencies = [ "log", "md-5", "rand 0.8.5", - "ring", + "ring 0.16.20", "stun", "thiserror", "tokio", @@ -10915,9 +10912,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" @@ -10927,8 +10924,9 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" [[package]] name = "uint" -version = "0.9.4" -source = "git+https://github.com/paritytech/parity-common.git?tag=rlp-v0.5.2#86676b08e89cb99fdff0c882453ad0746dd070cf" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" dependencies = [ "byteorder", "crunchy", @@ -10944,9 +10942,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" @@ -10965,9 +10963,9 @@ checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" [[package]] name = "unicode-width" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unicode-xid" @@ -10997,9 +10995,9 @@ dependencies = [ [[package]] name = "unsigned-varint" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" +checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" dependencies = [ "asynchronous-codec", "bytes", @@ -11013,6 +11011,12 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + [[package]] name = "url" version = "2.4.1" @@ -11084,15 +11088,15 @@ dependencies = [ [[package]] name = "waker-fn" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" [[package]] name = "walkdir" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" dependencies = [ "same-file", "winapi-util", @@ -11113,12 +11117,6 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -11146,7 +11144,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", "wasm-bindgen-shared", ] @@ -11180,7 +11178,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -11309,14 +11307,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.21.3", + "base64 0.21.4", "bincode", "directories-next", "file-per-thread-logger", "log", - "rustix 0.36.15", + "rustix 0.36.16", "serde", - "sha2 0.10.7", + "sha2 0.10.8", "toml 0.5.11", "windows-sys 0.45.0", "zstd 0.11.2+zstd.1.5.2", @@ -11410,7 +11408,7 @@ checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ "object 0.30.4", "once_cell", - "rustix 0.36.15", + "rustix 0.36.16", ] [[package]] @@ -11441,7 +11439,7 @@ dependencies = [ "memoffset 0.8.0", "paste", "rand 0.8.5", - "rustix 0.36.15", + "rustix 0.36.16", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", @@ -11476,18 +11474,18 @@ version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] name = "webpki" -version = "0.22.1" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0e74f82d49d545ad128049b7e88f6576df2da6b02e9ce565c6f533be576957e" +checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring", - "untrusted", + "ring 0.17.4", + "untrusted 0.9.0", ] [[package]] @@ -11496,7 +11494,7 @@ version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" dependencies = [ - "webpki 0.22.1", + "webpki 0.22.4", ] [[package]] @@ -11505,7 +11503,7 @@ version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" dependencies = [ - "rustls-webpki 0.100.2", + "rustls-webpki 0.100.3", ] [[package]] @@ -11530,17 +11528,17 @@ dependencies = [ "rand 0.8.5", "rcgen 0.9.3", "regex", - "ring", + "ring 0.16.20", "rtcp", "rtp", "rustls 0.19.1", "sdp", "serde", "serde_json", - "sha2 0.10.7", + "sha2 0.10.8", "stun", "thiserror", - "time 0.3.28", + "time", "tokio", "turn", "url", @@ -11577,7 +11575,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4a00f4242f2db33307347bd5be53263c52a0331c96c14292118c9a6bb48d267" dependencies = [ "aes 0.6.0", - "aes-gcm 0.10.2", + "aes-gcm 0.10.3", "async-trait", "bincode", "block-modes", @@ -11594,12 +11592,12 @@ dependencies = [ "rand 0.8.5", "rand_core 0.6.4", "rcgen 0.10.0", - "ring", + "ring 0.16.20", "rustls 0.19.1", "sec1 0.3.0", "serde", "sha1", - "sha2 0.10.7", + "sha2 0.10.8", "signature 1.6.4", "subtle", "thiserror", @@ -11724,20 +11722,21 @@ dependencies = [ [[package]] name = "which" -version = "4.4.0" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" dependencies = [ "either", - "libc", + "home", "once_cell", + "rustix 0.38.19", ] [[package]] name = "wide" -version = "0.7.11" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa469ffa65ef7e0ba0f164183697b89b854253fd31aeb92358b7b6155177d62f" +checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" dependencies = [ "bytemuck", "safe_arch", @@ -11767,9 +11766,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ "winapi", ] @@ -11782,22 +11781,28 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.34.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f" +checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows_aarch64_msvc 0.34.0", - "windows_i686_gnu 0.34.0", - "windows_i686_msvc 0.34.0", - "windows_x86_64_gnu 0.34.0", - "windows_x86_64_msvc 0.34.0", + "windows-targets 0.48.5", ] [[package]] name = "windows" -version = "0.48.0" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +dependencies = [ + "windows-core", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-core" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" dependencies = [ "windows-targets 0.48.5", ] @@ -11862,12 +11867,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" -[[package]] -name = "windows_aarch64_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" - [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -11880,12 +11879,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" -[[package]] -name = "windows_i686_gnu" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" - [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -11898,12 +11891,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" -[[package]] -name = "windows_i686_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" - [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -11916,12 +11903,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" -[[package]] -name = "windows_x86_64_gnu" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" - [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -11946,12 +11927,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" -[[package]] -name = "windows_x86_64_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" - [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -11966,9 +11941,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "winnow" -version = "0.5.15" +version = "0.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" +checksum = "a3b801d0e0a6726477cc207f60162da452f3a95adb368399bef20a946e06f65c" dependencies = [ "memchr", ] @@ -12009,7 +11984,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" dependencies = [ - "curve25519-dalek 4.0.0", + "curve25519-dalek 4.1.1", "rand_core 0.6.4", "serde", "zeroize", @@ -12028,10 +12003,10 @@ dependencies = [ "lazy_static", "nom", "oid-registry 0.4.0", - "ring", + "ring 0.16.20", "rusticata-macros", "thiserror", - "time 0.3.28", + "time", ] [[package]] @@ -12049,7 +12024,7 @@ dependencies = [ "oid-registry 0.6.1", "rusticata-macros", "thiserror", - "time 0.3.28", + "time", ] [[package]] @@ -12072,7 +12047,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" dependencies = [ - "time 0.3.28", + "time", ] [[package]] @@ -12092,7 +12067,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn 2.0.38", ] [[package]] @@ -12135,11 +12110,15 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.8+zstd.1.5.5" +version = "2.0.9+zstd.1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" +checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" dependencies = [ "cc", - "libc", "pkg-config", ] + +[[patch.unused]] +name = "uint" +version = "0.9.4" +source = "git+https://github.com/paritytech/parity-common.git?tag=rlp-v0.5.2#86676b08e89cb99fdff0c882453ad0746dd070cf" From fe91b5017093ae1687e641e24a9694388209b707 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 17 Oct 2023 13:23:30 +0200 Subject: [PATCH 27/55] CI Benchs: fix some paths --- .github/workflows/default.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 5eac7122b..66620b39d 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -164,7 +164,7 @@ jobs: echo "RUSTC_WRAPPER=$BENCH_SCCACHE_BIN" >> $GITHUB_ENV - name: Run Header Generation Benchmarks on Criterion - run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ${{ env.BENCH_IAI }}/header_gen_bench_cri.txt + run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee header_gen_bench_cri.txt - name: Header Generation Regression Checks on Criterion uses: fmiguelgarcia/github-action-benchmark@v1 @@ -172,9 +172,9 @@ jobs: # What benchmark tool the output.txt came from tool: 'cargo' # Where the output from the benchmark tool is stored - output-file-path: ${{ env.BENCH_IAI }}/header_gen_bench_cri.txt + output-file-path: header_gen_bench_cri.txt # Where the previous data file is stored - external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data-cri.json + external-data-json-path: ${{ env.BENCH_SCCACHE_DIR }}/benchmark-data-cri.json save-data-file: true # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true From 5a18054ac93a272115e3c3d16c25cf927e1d6450 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 10:46:20 +0200 Subject: [PATCH 28/55] CI Benchs: abs path for iai outputs --- .github/workflows/default.yml | 58 ++++++++++++++++------------------- 1 file changed, 27 insertions(+), 31 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 66620b39d..afd05deb3 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -15,7 +15,6 @@ env: SCCACHE_BIN: /home/runner/.cache/cargo-sccache-bed5571c/bin/sccache BENCH_SCCACHE_DIR: /home/ubuntu/actions-runner/_work/.cache/cargo-sccache-bed5571c BENCH_SCCACHE_BIN: /home/ubuntu/actions-runner/_work/.cache/cargo-sccache-bed5571c/bin/sccache - BENCH_IAI: /home/ubuntu/actions-runner/_work/.iai jobs: @@ -127,7 +126,6 @@ jobs: path: | ${{ env.SCCACHE_DIR }} ${{ env.BENCH_SCCACHE_DIR }} - ${{ env.BENCH_IAI }} ./runtime/target/iai key: ${{ runner.OS }}-sccache-bin-bench-${{ env.CARGO_SCCACHE_COMMIT }}-v1 @@ -163,33 +161,33 @@ jobs: $BENCH_SCCACHE_BIN -s echo "RUSTC_WRAPPER=$BENCH_SCCACHE_BIN" >> $GITHUB_ENV - - name: Run Header Generation Benchmarks on Criterion - run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee header_gen_bench_cri.txt - - - name: Header Generation Regression Checks on Criterion - uses: fmiguelgarcia/github-action-benchmark@v1 - with: - # What benchmark tool the output.txt came from - tool: 'cargo' - # Where the output from the benchmark tool is stored - output-file-path: header_gen_bench_cri.txt - # Where the previous data file is stored - external-data-json-path: ${{ env.BENCH_SCCACHE_DIR }}/benchmark-data-cri.json - save-data-file: true - # Workflow will fail when an alert happens at 15% degradation - fail-on-alert: true - alert-threshold: '115%' - # Upload the updated cache file for the next job by actions/cache - github-token: ${{ secrets.GITHUB_TOKEN }} - # Enable alert commit comment - comment-on-alert: true - # Mention @rhysd in the commit comment - alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' - comment-always: true - summary-always: true +# - name: Run Header Generation Benchmarks on Criterion +# run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_cri.txt + +# - name: Header Generation Regression Checks on Criterion +# uses: fmiguelgarcia/github-action-benchmark@v1 +# with: +# # What benchmark tool the output.txt came from +# tool: 'cargo' +# # Where the output from the benchmark tool is stored +# output-file-path: ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_cri.txt +# # Where the previous data file is stored +# external-data-json-path: ${{ env.BENCH_SCCACHE_DIR }}/benchmark-data-cri.json +# save-data-file: true +# # Workflow will fail when an alert happens at 15% degradation +# fail-on-alert: true +# alert-threshold: '115%' +# # Upload the updated cache file for the next job by actions/cache +# github-token: ${{ secrets.GITHUB_TOKEN }} +# # Enable alert commit comment +# comment-on-alert: true +# # Mention @rhysd in the commit comment +# alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' +# comment-always: true +# summary-always: true - name: Run Header Generation Benchmarks on IAI - run: cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ./header_gen_bench_iai.txt + run: cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_iai.txt - name: Header Generation Regression Checks on IAI uses: fmiguelgarcia/github-action-benchmark@v1 @@ -197,9 +195,9 @@ jobs: # What benchmark tool the output.txt came from tool: 'rustIai' # Where the output from the benchmark tool is stored - output-file-path: ./header_gen_bench_iai.txt + output-file-path: ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_iai.txt # Where the previous data file is stored - external-data-json-path: ${{ env.BENCH_IAI }}/benchmark-data-iai.json + external-data-json-path: ${{ env.BENCH_SCCACHE_DIR }}/benchmark-data-iai.json save-data-file: true # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true @@ -220,11 +218,9 @@ jobs: run: | find ./runtime/target/iai -type f find ${{ env.BENCH_SCCACHE_DIR }} -type f - find ${{ env.BENCH_IAI }} -type f pwd - unit_tests: runs-on: ubuntu-latest needs: [build] From c9aa67fe1bbc0e6ef4550a9d2991f29c11ef5207 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 11:15:17 +0200 Subject: [PATCH 29/55] CI Benchs: more logs to benchs --- .github/workflows/default.yml | 6 +- Cargo.lock | 514 ++++++++++++++++++---------------- 2 files changed, 282 insertions(+), 238 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index afd05deb3..b8d1ccb7f 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -187,7 +187,11 @@ jobs: # summary-always: true - name: Run Header Generation Benchmarks on IAI - run: cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_iai.txt + env: + RUST_BACKTRACE: 1 + run: | + mkdir -p ${{ env.BENCH_SCCACHE_DIR }} + cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_iai.txt - name: Header Generation Regression Checks on IAI uses: fmiguelgarcia/github-action-benchmark@v1 diff --git a/Cargo.lock b/Cargo.lock index 269e49d6f..72466a4e6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -166,14 +166,15 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "72832d73be48bac96a5d7944568f305d829ed55b0ce3b483647089dfaf6cf704" dependencies = [ "cfg-if", "getrandom 0.2.10", "once_cell", "version_check", + "zerocopy", ] [[package]] @@ -518,9 +519,9 @@ dependencies = [ "log", "parking", "polling", - "rustix 0.37.25", + "rustix 0.37.26", "slab", - "socket2 0.4.9", + "socket2 0.4.10", "waker-fn", ] @@ -618,7 +619,7 @@ dependencies = [ [[package]] name = "avail-core" version = "0.5.1" -source = "git+https://github.com/availproject/avail-core?branch=main#d871bed408a8750d76aed4ace63981a60e28c0d2" +source = "git+https://github.com/availproject/avail-core?branch=main#ca29cf0f5320d89f58c1e47b25b7f39ccd4c982e" dependencies = [ "binary-merkle-tree", "derive_more", @@ -731,7 +732,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "log", @@ -1338,12 +1339,12 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "comfy-table" -version = "7.0.1" +version = "7.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ab77dbd8adecaf3f0db40581631b995f312a8a5ae3aa9993188bb8f23d83a5b" +checksum = "7c64043d6c7b7a4c58e39e7efccfdea7b93d885a795d0c054a69dbbf4dd52686" dependencies = [ - "strum", - "strum_macros", + "strum 0.25.0", + "strum_macros 0.25.3", "unicode-width", ] @@ -1454,9 +1455,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" +checksum = "3fbc60abd742b35f2492f808e1abbb83d45f72db402e14c55057edc9c7b1e9e4" dependencies = [ "libc", ] @@ -2710,7 +2711,7 @@ dependencies = [ "rlp-derive", "serde", "serde_json", - "strum", + "strum 0.24.1", "syn 1.0.109", "thiserror", "tiny-keccak", @@ -2910,7 +2911,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", ] @@ -2933,7 +2934,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-support-procedural", @@ -2958,7 +2959,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "array-bytes", @@ -3006,7 +3007,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3017,7 +3018,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3067,7 +3068,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-recursion", "futures", @@ -3088,7 +3089,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bitflags 1.3.2", "environmental", @@ -3122,7 +3123,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "cfg-expr", @@ -3140,7 +3141,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -3152,7 +3153,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro2", "quote", @@ -3220,7 +3221,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "parity-scale-codec", @@ -3641,14 +3642,14 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.4", ] [[package]] name = "hashbrown" -version = "0.14.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12" +checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" [[package]] name = "heck" @@ -3818,7 +3819,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.13", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -3850,16 +3851,16 @@ checksum = "71a816c97c42258aa5834d07590b718b4c9a598944cd39a52dc25b351185d678" [[package]] name = "iana-time-zone" -version = "0.1.57" +version = "0.1.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows 0.48.0", + "windows-core", ] [[package]] @@ -3924,7 +3925,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows 0.51.1", + "windows", ] [[package]] @@ -3983,7 +3984,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" dependencies = [ "equivalent", - "hashbrown 0.14.1", + "hashbrown 0.14.2", ] [[package]] @@ -4068,7 +4069,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.4", + "socket2 0.5.5", "widestring", "windows-sys 0.48.0", "winreg", @@ -4076,9 +4077,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" @@ -4087,7 +4088,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi 0.3.3", - "rustix 0.38.19", + "rustix 0.38.20", "windows-sys 0.48.0", ] @@ -4324,7 +4325,7 @@ dependencies = [ [[package]] name = "kate" version = "0.8.1" -source = "git+https://github.com/availproject/avail-core?branch=main#d871bed408a8750d76aed4ace63981a60e28c0d2" +source = "git+https://github.com/availproject/avail-core?branch=main#ca29cf0f5320d89f58c1e47b25b7f39ccd4c982e" dependencies = [ "avail-core", "derive_more", @@ -4352,7 +4353,7 @@ dependencies = [ [[package]] name = "kate-recovery" version = "0.9.1" -source = "git+https://github.com/availproject/avail-core?branch=main#d871bed408a8750d76aed4ace63981a60e28c0d2" +source = "git+https://github.com/availproject/avail-core?branch=main#ca29cf0f5320d89f58c1e47b25b7f39ccd4c982e" dependencies = [ "avail-core", "derive_more", @@ -4645,7 +4646,7 @@ dependencies = [ "log", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", "trust-dns-proto", "void", @@ -4787,7 +4788,7 @@ dependencies = [ "libc", "libp2p-core", "log", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", ] @@ -5014,9 +5015,9 @@ checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" [[package]] name = "lock_api" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" dependencies = [ "autocfg", "scopeguard", @@ -5194,7 +5195,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.19", + "rustix 0.38.20", ] [[package]] @@ -5295,7 +5296,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "anyhow", "jsonrpsee", @@ -5549,7 +5550,7 @@ dependencies = [ [[package]] name = "nomad-base" version = "0.1.5" -source = "git+https://github.com/availproject/avail-core?branch=main#d871bed408a8750d76aed4ace63981a60e28c0d2" +source = "git+https://github.com/availproject/avail-core?branch=main#ca29cf0f5320d89f58c1e47b25b7f39ccd4c982e" dependencies = [ "ethers-signers", "nomad-core", @@ -5565,7 +5566,7 @@ dependencies = [ [[package]] name = "nomad-core" version = "0.1.5" -source = "git+https://github.com/availproject/avail-core?branch=main#d871bed408a8750d76aed4ace63981a60e28c0d2" +source = "git+https://github.com/availproject/avail-core?branch=main#ca29cf0f5320d89f58c1e47b25b7f39ccd4c982e" dependencies = [ "ethers-core", "ethers-signers", @@ -5628,7 +5629,7 @@ dependencies = [ [[package]] name = "nomad-merkle" version = "0.1.3" -source = "git+https://github.com/availproject/avail-core?branch=main#d871bed408a8750d76aed4ace63981a60e28c0d2" +source = "git+https://github.com/availproject/avail-core?branch=main#ca29cf0f5320d89f58c1e47b25b7f39ccd4c982e" dependencies = [ "avail-core", "frame-support", @@ -5646,7 +5647,7 @@ dependencies = [ [[package]] name = "nomad-signature" version = "0.1.3" -source = "git+https://github.com/availproject/avail-core?branch=main#d871bed408a8750d76aed4ace63981a60e28c0d2" +source = "git+https://github.com/availproject/avail-core?branch=main#ca29cf0f5320d89f58c1e47b25b7f39ccd4c982e" dependencies = [ "elliptic-curve 0.12.3", "ethers-core", @@ -5879,7 +5880,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -5895,7 +5896,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -5909,7 +5910,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5933,7 +5934,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5953,7 +5954,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5968,7 +5969,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5986,7 +5987,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6005,7 +6006,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6022,7 +6023,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6040,7 +6041,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6057,13 +6058,13 @@ dependencies = [ "sp-npos-elections", "sp-runtime", "sp-std", - "strum", + "strum 0.24.1", ] [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6076,7 +6077,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6095,7 +6096,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6118,7 +6119,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6134,7 +6135,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6154,7 +6155,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6188,7 +6189,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6205,7 +6206,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6222,7 +6223,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6238,7 +6239,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -6255,7 +6256,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -6272,7 +6273,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6289,7 +6290,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6306,7 +6307,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -6327,7 +6328,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6350,7 +6351,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6361,7 +6362,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6376,7 +6377,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6394,7 +6395,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6413,7 +6414,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-support", "frame-system", @@ -6429,7 +6430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6445,7 +6446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6457,7 +6458,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6474,7 +6475,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6572,9 +6573,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e52c774a4c39359c1d1c52e43f73dd91a75a614652c825408eec30c95a9b2067" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" [[package]] name = "parking_lot" @@ -6594,7 +6595,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.8", + "parking_lot_core 0.9.9", ] [[package]] @@ -6613,13 +6614,13 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.3.5", + "redox_syscall 0.4.1", "smallvec", "windows-targets 0.48.5", ] @@ -7386,6 +7387,15 @@ dependencies = [ "bitflags 1.3.2", ] +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + [[package]] name = "redox_users" version = "0.4.3" @@ -7521,9 +7531,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.4" +version = "0.17.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fce3045ffa7c981a6ee93f640b538952e155f1ae3a1a02b84547fc7a56b7059a" +checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" dependencies = [ "cc", "getrandom 0.2.10", @@ -7694,9 +7704,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.25" +version = "0.37.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4eb579851244c2c03e7c24f501c3432bed80b8f720af1d6e5b0e0f01555a035" +checksum = "84f3f8f960ed3b5a59055428714943298bf3fa2d4a1d53135084e0544829d995" dependencies = [ "bitflags 1.3.2", "errno", @@ -7708,9 +7718,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.19" +version = "0.38.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" +checksum = "67ce50cb2e16c2903e30d1cbccfd8387a74b9d4c938b6a4c5ec6cc7556f7a8a0" dependencies = [ "bitflags 2.4.1", "errno", @@ -7850,7 +7860,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "log", "sp-core", @@ -7861,7 +7871,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -7889,7 +7899,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "futures-timer", @@ -7912,7 +7922,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7927,7 +7937,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -7946,7 +7956,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7957,7 +7967,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "chrono", @@ -7996,7 +8006,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "fnv", "futures", @@ -8022,7 +8032,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "kvdb", @@ -8048,7 +8058,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8073,7 +8083,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "fork-tree", @@ -8109,7 +8119,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "jsonrpsee", @@ -8131,7 +8141,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8144,9 +8154,9 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.4", "array-bytes", "async-trait", "dyn-clone", @@ -8185,7 +8195,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "finality-grandpa", "futures", @@ -8205,7 +8215,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8228,7 +8238,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -8250,7 +8260,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8262,7 +8272,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "anyhow", "cfg-if", @@ -8279,7 +8289,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ansi_term", "futures", @@ -8295,7 +8305,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "parking_lot 0.12.1", @@ -8309,7 +8319,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "async-channel", @@ -8350,7 +8360,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-channel", "cid", @@ -8370,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -8387,9 +8397,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.4", "futures", "futures-timer", "libp2p", @@ -8405,7 +8415,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "async-channel", @@ -8426,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "async-channel", @@ -8460,7 +8470,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "futures", @@ -8478,7 +8488,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "log", "substrate-prometheus-endpoint 0.10.0-dev", @@ -8487,7 +8497,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "jsonrpsee", @@ -8518,7 +8528,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8537,7 +8547,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "http", "jsonrpsee", @@ -8552,7 +8562,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "futures", @@ -8578,7 +8588,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "directories", @@ -8642,7 +8652,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "log", "parity-scale-codec", @@ -8653,7 +8663,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8672,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "libc", @@ -8691,7 +8701,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "chrono", "futures", @@ -8710,7 +8720,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ansi_term", "atty", @@ -8739,7 +8749,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8750,7 +8760,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8776,7 +8786,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -8792,7 +8802,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-channel", "futures", @@ -8806,9 +8816,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" +checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" dependencies = [ "bitvec 1.0.1", "cfg-if", @@ -8820,9 +8830,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" +checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8845,7 +8855,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.4", "cfg-if", "hashbrown 0.13.2", ] @@ -9251,9 +9261,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" dependencies = [ "libc", "winapi", @@ -9261,9 +9271,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" +checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" dependencies = [ "libc", "windows-sys 0.48.0", @@ -9289,7 +9299,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "log", @@ -9310,7 +9320,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "blake2", @@ -9324,7 +9334,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9337,7 +9347,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "integer-sqrt", "num-traits", @@ -9351,7 +9361,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9364,7 +9374,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sp-api", "sp-inherents", @@ -9375,7 +9385,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "futures", "log", @@ -9393,7 +9403,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "futures", @@ -9408,7 +9418,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9425,7 +9435,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9444,7 +9454,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "finality-grandpa", "log", @@ -9462,7 +9472,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9474,7 +9484,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -9519,7 +9529,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "blake2b_simd", "byteorder", @@ -9532,7 +9542,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "quote", "sp-core-hashing", @@ -9542,7 +9552,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9551,7 +9561,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "proc-macro2", "quote", @@ -9561,7 +9571,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "environmental", "parity-scale-codec", @@ -9572,7 +9582,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9586,7 +9596,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bytes", "ed25519 1.5.3", @@ -9611,18 +9621,18 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "lazy_static", "sp-core", "sp-runtime", - "strum", + "strum 0.24.1", ] [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -9634,7 +9644,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "thiserror", "zstd 0.12.4", @@ -9643,7 +9653,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -9654,7 +9664,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -9672,7 +9682,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9686,7 +9696,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sp-api", "sp-core", @@ -9696,7 +9706,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "backtrace", "lazy_static", @@ -9706,7 +9716,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "rustc-hash", "serde", @@ -9716,7 +9726,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "either", "hash256-std-hasher", @@ -9738,7 +9748,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9756,7 +9766,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "Inflector", "proc-macro-crate", @@ -9768,7 +9778,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9783,7 +9793,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9797,7 +9807,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hash-db", "log", @@ -9818,7 +9828,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9835,12 +9845,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9853,7 +9863,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9866,7 +9876,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "sp-std", @@ -9878,7 +9888,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "sp-api", "sp-runtime", @@ -9887,7 +9897,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9902,9 +9912,9 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.4", "hash-db", "hashbrown 0.13.2", "lazy_static", @@ -9925,7 +9935,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9942,7 +9952,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -9953,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9966,7 +9976,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9998,7 +10008,7 @@ checksum = "08615eea740067d9899969bc2891c68a19c315cb1f66640af9a9ecb91b13bcab" dependencies = [ "lazy_static", "maplit", - "strum", + "strum 0.24.1", ] [[package]] @@ -10088,9 +10098,15 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" dependencies = [ - "strum_macros", + "strum_macros 0.24.3", ] +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" + [[package]] name = "strum_macros" version = "0.24.3" @@ -10104,6 +10120,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strum_macros" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.38", +] + [[package]] name = "stun" version = "0.4.4" @@ -10139,12 +10168,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10163,7 +10192,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "hyper", "log", @@ -10189,7 +10218,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "jsonrpsee", @@ -10202,7 +10231,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10219,7 +10248,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "ansi_term", "build-helper", @@ -10227,7 +10256,7 @@ dependencies = [ "filetime", "parity-wasm", "sp-maybe-compressed-blob", - "strum", + "strum 0.24.1", "tempfile", "toml 0.7.8", "walkdir", @@ -10312,9 +10341,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.11" +version = "0.12.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" +checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" [[package]] name = "tempfile" @@ -10325,7 +10354,7 @@ dependencies = [ "cfg-if", "fastrand 2.0.1", "redox_syscall 0.3.5", - "rustix 0.38.19", + "rustix 0.38.20", "windows-sys 0.48.0", ] @@ -10359,18 +10388,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" +checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" +checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", @@ -10528,7 +10557,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project-lite 0.2.13", "signal-hook-registry", - "socket2 0.5.4", + "socket2 0.5.5", "tokio-macros", "windows-sys 0.48.0", ] @@ -10678,9 +10707,9 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.39" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2ef2af84856a50c1d430afce2fdded0a4ec7eda868db86409b4543df0797f9" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", "pin-project-lite 0.2.13", @@ -10803,7 +10832,7 @@ dependencies = [ "lazy_static", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.4.10", "thiserror", "tinyvec", "tokio", @@ -10840,7 +10869,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" +source = "git+https://github.com/paritytech/substrate.git/?branch=polkadot-v1.0.0#948fbd2fd1233dc26dbb9f9bbc1d2cca2c03945d" dependencies = [ "async-trait", "clap", @@ -11046,9 +11075,9 @@ dependencies = [ [[package]] name = "uuid" -version = "1.4.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" +checksum = "88ad59a7560b41a70d191093a945f0b87bc1deeda46fb237479708a1d6b6cdfc" dependencies = [ "getrandom 0.2.10", ] @@ -11206,8 +11235,8 @@ checksum = "87fef6d0d508f08334e0ab0e6877feb4c0ecb3956bcf2cb950699b22fedf3e9c" dependencies = [ "anyhow", "libc", - "strum", - "strum_macros", + "strum 0.24.1", + "strum_macros 0.24.3", "tempfile", "thiserror", "wasm-opt-cxx-sys", @@ -11484,7 +11513,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.4", + "ring 0.17.5", "untrusted 0.9.0", ] @@ -11626,7 +11655,7 @@ dependencies = [ "tokio", "turn", "url", - "uuid 1.4.1", + "uuid 1.5.0", "waitgroup", "webrtc-mdns", "webrtc-util", @@ -11639,7 +11668,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" dependencies = [ "log", - "socket2 0.4.9", + "socket2 0.4.10", "thiserror", "tokio", "webrtc-util", @@ -11729,7 +11758,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.19", + "rustix 0.38.20", ] [[package]] @@ -11779,15 +11808,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows" version = "0.51.1" @@ -12050,6 +12070,26 @@ dependencies = [ "time", ] +[[package]] +name = "zerocopy" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c19fae0c8a9efc6a8281f2e623db8af1db9e57852e04cde3e754dd2dc29340f" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc56589e9ddd1f1c28d4b4b5c773ce232910a6bb67a70133d61c9e347585efe9" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "zeroize" version = "1.6.0" From 7c7eca34d951e7dc2d9e8d75b65b3bf1d9c7d420 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 13:09:23 +0200 Subject: [PATCH 30/55] CI Benchs: more logs to benchs --- .github/workflows/default.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 6c4752f3b..1a385dfbd 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -188,10 +188,12 @@ jobs: - name: Run Header Generation Benchmarks on IAI env: - RUST_BACKTRACE: 1 + RUST_BACKTRACE: full run: | + valgrind --version mkdir -p ${{ env.BENCH_SCCACHE_DIR }} cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_iai.txt + find ./runtime/target/iai -type f - name: Header Generation Regression Checks on IAI uses: fmiguelgarcia/github-action-benchmark@v1 @@ -288,6 +290,17 @@ jobs: - name: Display SCCache Stats run: ${{ env.SCCACHE_BIN }} --show-stats + - name: Generate test code coverage report + run: | + df -h + cargo +stable install --force grcov + grcov . -s . --binary-path ./target/release/ -t lcov --branch --ignore-not-existing -o lcov.info + + - name: Upload test code coverage report to codecov.io + uses: codecov/codecov-action@v2 + with: + files: lcov.info + - name: Cleanup run: find . -name \*.profraw -type f -exec rm -f {} + From 7402103d9d963dceb8b30d6e606e1340bba7471f Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 15:10:19 +0200 Subject: [PATCH 31/55] CI Benchs: reuse a workflow --- .github/workflows/default.yml | 238 +++++++++------------------------- .github/workflows/sccache.yml | 57 ++++++++ 2 files changed, 117 insertions(+), 178 deletions(-) create mode 100644 .github/workflows/sccache.yml diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 1a385dfbd..93e434676 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -66,39 +66,10 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/cache@v3 + - name: Rust & SCCache + uses: ./.github/Workflows/sccache.yml with: - path: ${{ env.SCCACHE_DIR }} - key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - - name: Install Protoc - uses: arduino/setup-protoc@v1 - with: - version: "3.x" - - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup default ${{ env.BUILD_TOOLCHAIN }} - rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} - - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - if [ ! -f $SCCACHE_BIN ]; then - cargo install sccache --git https://github.com/purestake/sccache.git --rev $CARGO_SCCACHE_COMMIT --force --no-default-features --features=dist-client --root $SCCACHE_DIR - fi - ls -la $SCCACHE_BIN - ps aux | grep sccache - if [[ -z `pgrep sccache` ]]; then - chmod +x $SCCACHE_BIN - $SCCACHE_BIN --start-server - fi - $SCCACHE_BIN -s - echo "RUSTC_WRAPPER=$SCCACHE_BIN" >> $GITHUB_ENV + sccache_id: "build" - name: Build node run: cargo build --release -p data-avail @@ -110,89 +81,29 @@ jobs: path: target/release/data-avail - name: Display SCCache Stats - run: ${{ env.SCCACHE_BIN }} --show-stats + run: sccache --show-stats - name: Check other features run: cargo check --release --workspace --features "runtime-benchmarks try-runtime" -p data-avail - benchmarks: + benchmarks_iai: runs-on: [self-hosted, reference] needs: [lint] steps: - uses: actions/checkout@v2 - - uses: actions/cache@v3 + - name: Rust & SCCache + uses: ./.github/Workflows/sccache.yml with: - path: | - ${{ env.SCCACHE_DIR }} - ${{ env.BENCH_SCCACHE_DIR }} - ./runtime/target/iai - key: ${{ runner.OS }}-sccache-bin-bench-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - - name: Install deps - run: | - sudo apt-get update - sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip - - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup default ${{ env.BUILD_TOOLCHAIN }} - rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} - - - name: Set PATH for cargo - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - if [ ! -f $BENCH_SCCACHE_BIN ]; then - cargo install sccache --git https://github.com/purestake/sccache.git --rev $CARGO_SCCACHE_COMMIT --force --no-default-features --features=dist-client --root $BENCH_SCCACHE_DIR - fi - ls -la $BENCH_SCCACHE_BIN - ps aux | grep sccache - if [[ -z `pgrep sccache` ]]; then - chmod +x $BENCH_SCCACHE_BIN - $BENCH_SCCACHE_BIN --start-server - fi - $BENCH_SCCACHE_BIN -s - echo "RUSTC_WRAPPER=$BENCH_SCCACHE_BIN" >> $GITHUB_ENV - -# - name: Run Header Generation Benchmarks on Criterion -# run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_cri.txt - -# - name: Header Generation Regression Checks on Criterion -# uses: fmiguelgarcia/github-action-benchmark@v1 -# with: -# # What benchmark tool the output.txt came from -# tool: 'cargo' -# # Where the output from the benchmark tool is stored -# output-file-path: ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_cri.txt -# # Where the previous data file is stored -# external-data-json-path: ${{ env.BENCH_SCCACHE_DIR }}/benchmark-data-cri.json -# save-data-file: true -# # Workflow will fail when an alert happens at 15% degradation -# fail-on-alert: true -# alert-threshold: '115%' -# # Upload the updated cache file for the next job by actions/cache -# github-token: ${{ secrets.GITHUB_TOKEN }} -# # Enable alert commit comment -# comment-on-alert: true -# # Mention @rhysd in the commit comment -# alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' -# comment-always: true -# summary-always: true + sccache_id: "biai" - name: Run Header Generation Benchmarks on IAI env: RUST_BACKTRACE: full + SKIP_WASM_BUILD: true run: | valgrind --version - mkdir -p ${{ env.BENCH_SCCACHE_DIR }} - cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_iai.txt + cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt find ./runtime/target/iai -type f - name: Header Generation Regression Checks on IAI @@ -201,9 +112,9 @@ jobs: # What benchmark tool the output.txt came from tool: 'rustIai' # Where the output from the benchmark tool is stored - output-file-path: ${{ env.BENCH_SCCACHE_DIR }}/header_gen_bench_iai.txt + output-file-path: ~/.cache/iai/header_gen_bench_iai.txt # Where the previous data file is stored - external-data-json-path: ${{ env.BENCH_SCCACHE_DIR }}/benchmark-data-iai.json + external-data-json-path: ~/.cache/iai/benchmark-data-iai.json save-data-file: true # Workflow will fail when an alert happens at 15% degradation fail-on-alert: true @@ -217,14 +128,46 @@ jobs: comment-always: true summary-always: true - - name: Display SCCache Stats - run: ${{ env.BENCH_SCCACHE_BIN }} --show-stats + benchmarks_cri: + runs-on: [self-hosted, reference] + needs: [lint] + steps: + - uses: actions/checkout@v2 - - name: Print caches - run: | - find ./runtime/target/iai -type f - find ${{ env.BENCH_SCCACHE_DIR }} -type f - pwd + - name: Rust & SCCache + uses: ./.github/Workflows/sccache.yml + with: + sccache_id: "bcri" + + - name: Run Header Generation Benchmarks on Criterion + env: + SKIP_WASM_BUILD: true + run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt + + - name: Header Generation Regression Checks on Criterion + uses: fmiguelgarcia/github-action-benchmark@v1 + with: + # What benchmark tool the output.txt came from + tool: 'cargo' + # Where the output from the benchmark tool is stored + output-file-path: ~/.cache/cri/header_gen_bench_cri.txt + # Where the previous data file is stored + external-data-json-path: ~/.cache/cri/benchmark-data-cri.json + save-data-file: true + # Workflow will fail when an alert happens at 15% degradation + fail-on-alert: true + alert-threshold: '115%' + # Upload the updated cache file for the next job by actions/cache + github-token: ${{ secrets.GITHUB_TOKEN }} + # Enable alert commit comment + comment-on-alert: true + # Mention @rhysd in the commit comment + alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' + comment-always: true + summary-always: true + + - name: Display SCCache Stats + run: sccache --show-stats unit_tests: @@ -238,45 +181,10 @@ jobs: with: tool-cache: true - - name: Install build-essential - run: | - sudo apt update - sudo apt install -y build-essential git clang curl libssl-dev protobuf-compiler - - # Restore cache from `build` - - uses: actions/cache/restore@v3 + - name: Rust & SCCache + uses: ./.github/Workflows/sccache.yml with: - path: ${{ env.SCCACHE_DIR }} - key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - - name: Install Protoc - uses: arduino/setup-protoc@v1 - with: - version: "3.x" - - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup default ${{ env.BUILD_TOOLCHAIN }} - rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} - - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - if [ ! -f $SCCACHE_BIN ]; then - cargo install sccache --git https://github.com/purestake/sccache.git --rev $CARGO_SCCACHE_COMMIT --force --no-default-features --features=dist-client --root $SCCACHE_DIR - fi - ls -la $SCCACHE_BIN - ps aux | grep sccache - if [[ -z `pgrep sccache` ]]; then - chmod +x $SCCACHE_BIN - $SCCACHE_BIN --start-server - fi - $SCCACHE_BIN -s - echo "RUSTC_WRAPPER=$SCCACHE_BIN" >> $GITHUB_ENV + sccache_id: "ut" - name: Run tests run: | @@ -286,9 +194,10 @@ jobs: env: RUSTFLAGS: "-C instrument-coverage" LLVM_PROFILE_FILE: "profile-%p-%m.profraw" + SKIP_WASM_BUILD: true - name: Display SCCache Stats - run: ${{ env.SCCACHE_BIN }} --show-stats + run: sccache --show-stats - name: Generate test code coverage report run: | @@ -310,37 +219,10 @@ jobs: steps: - uses: actions/checkout@v2 - # Restore cache from `build` - - uses: actions/cache/restore@v3 + - name: Rust & SCCache + uses: ./.github/Workflows/sccache.yml with: - path: ${{ env.SCCACHE_DIR }} - key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup default ${{ env.BUILD_TOOLCHAIN }} - rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} - - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - # SCCACHE_DIR=${{ runner.tool_cache }}/cargo-sccache-${CARGO_SCCACHE_COMMIT} - # SCCACHE_BIN=${SCCACHE_DIR}/bin/sccache - if [ ! -f $SCCACHE_BIN ]; then - cargo install sccache --git https://github.com/purestake/sccache.git --rev $CARGO_SCCACHE_COMMIT --force --no-default-features --features=dist-client --root $SCCACHE_DIR - fi - ls -la $SCCACHE_BIN - ps aux | grep sccache - if [[ -z `pgrep sccache` ]]; then - chmod +x $SCCACHE_BIN - $SCCACHE_BIN --start-server - fi - $SCCACHE_BIN -s - echo "RUSTC_WRAPPER=$SCCACHE_BIN" >> $GITHUB_ENV + sccache_id: "build" - uses: actions/download-artifact@v2 with: @@ -363,4 +245,4 @@ jobs: # cargo run --release --manifest-path avail-subxt/Cargo.toml --example submit_block_length_proposal_democracy - name: Display SCCache Stats - run: ${{ env.SCCACHE_BIN }} --show-stats + run: sccache --show-stats diff --git a/.github/workflows/sccache.yml b/.github/workflows/sccache.yml new file mode 100644 index 000000000..72a56a71c --- /dev/null +++ b/.github/workflows/sccache.yml @@ -0,0 +1,57 @@ +name: Rust and SCCache + +on: + workflow_call: + inputs: + sccache_id: + required: true + type: string + secrets: + +env: + CARGO_SCCACHE_COMMIT: bed5571c + BUILD_TOOLCHAIN: stable-2023-08-24 + +jobs: + - uses: actions/cache@v3 + with: + path: ~/.cache/ + key: ${{ runner.OS }}-cache-${{ inputs.sccache_id }}-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} + rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache-${{ inputs.sccache_id }}" >> $GITHUB_ENV + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + ls -la ~/.cargo/bin/ + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV + From b9a90ff58da6db3bfd422f653e772633456244e7 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 16:07:17 +0200 Subject: [PATCH 32/55] CI Benchs: no-reusable workflow --- .github/workflows/default.yml | 274 ++++++++++++++++++++++++++++------ 1 file changed, 232 insertions(+), 42 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 93e434676..d38a8a371 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -63,13 +63,52 @@ jobs: build: runs-on: ubuntu-latest needs: [lint] + env: + SCCACHE_ID: build steps: - uses: actions/checkout@v2 - - name: Rust & SCCache - uses: ./.github/Workflows/sccache.yml + - uses: actions/cache@v3 with: - sccache_id: "build" + path: ~/.cache/ + key: ${{ runner.OS }}-cache-build-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} + rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + ls -la ~/.cargo/bin/ + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - name: Build node run: cargo build --release -p data-avail @@ -89,13 +128,52 @@ jobs: benchmarks_iai: runs-on: [self-hosted, reference] needs: [lint] + env: + SKIP_WASM_BUILD: true steps: - uses: actions/checkout@v2 - - name: Rust & SCCache - uses: ./.github/Workflows/sccache.yml + - uses: actions/cache@v3 with: - sccache_id: "biai" + path: ~/.cache/ + key: ${{ runner.OS }}-cache-iai-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + ls -la ~/.cargo/bin/ + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - name: Run Header Generation Benchmarks on IAI env: @@ -131,48 +209,86 @@ jobs: benchmarks_cri: runs-on: [self-hosted, reference] needs: [lint] + env: + SKIP_WASM_BUILD: true steps: - uses: actions/checkout@v2 - - name: Rust & SCCache - uses: ./.github/Workflows/sccache.yml + - uses: actions/cache@v3 with: - sccache_id: "bcri" + path: ~/.cache/ + key: ${{ runner.OS }}-cache-cri-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - name: Run Header Generation Benchmarks on Criterion - env: - SKIP_WASM_BUILD: true - run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - - name: Header Generation Regression Checks on Criterion - uses: fmiguelgarcia/github-action-benchmark@v1 - with: - # What benchmark tool the output.txt came from - tool: 'cargo' - # Where the output from the benchmark tool is stored - output-file-path: ~/.cache/cri/header_gen_bench_cri.txt - # Where the previous data file is stored - external-data-json-path: ~/.cache/cri/benchmark-data-cri.json - save-data-file: true - # Workflow will fail when an alert happens at 15% degradation - fail-on-alert: true - alert-threshold: '115%' - # Upload the updated cache file for the next job by actions/cache - github-token: ${{ secrets.GITHUB_TOKEN }} - # Enable alert commit comment - comment-on-alert: true - # Mention @rhysd in the commit comment - alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' - comment-always: true - summary-always: true + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} - - name: Display SCCache Stats - run: sccache --show-stats + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + ls -la ~/.cargo/bin/ + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV + + - name: Run Header Generation Benchmarks on Criterion + run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt + + - name: Header Generation Regression Checks on Criterion + uses: fmiguelgarcia/github-action-benchmark@v1 + with: + # What benchmark tool the output.txt came from + tool: 'cargo' + # Where the output from the benchmark tool is stored + output-file-path: ~/.cache/cri/header_gen_bench_cri.txt + # Where the previous data file is stored + external-data-json-path: ~/.cache/cri/benchmark-data-cri.json + save-data-file: true + # Workflow will fail when an alert happens at 15% degradation + fail-on-alert: true + alert-threshold: '115%' + # Upload the updated cache file for the next job by actions/cache + github-token: ${{ secrets.GITHUB_TOKEN }} + # Enable alert commit comment + comment-on-alert: true + # Mention @rhysd in the commit comment + alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' + comment-always: true + summary-always: true + + - name: Display SCCache Stats + run: sccache --show-stats unit_tests: runs-on: ubuntu-latest needs: [build] + env: + SKIP_WASM_BUILD: true steps: - uses: actions/checkout@v2 @@ -181,10 +297,47 @@ jobs: with: tool-cache: true - - name: Rust & SCCache - uses: ./.github/Workflows/sccache.yml + - uses: actions/cache@v3 with: - sccache_id: "ut" + path: ~/.cache/ + key: ${{ runner.OS }}-cache-ut-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + ls -la ~/.cargo/bin/ + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - name: Run tests run: | @@ -219,10 +372,47 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Rust & SCCache - uses: ./.github/Workflows/sccache.yml + - uses: actions/cache@v3 with: - sccache_id: "build" + path: ~/.cache/ + key: ${{ runner.OS }}-cache-build-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + ls -la ~/.cargo/bin/ + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - uses: actions/download-artifact@v2 with: From 0fe0b01ce4e7c736cfa66d5dbe9589e58a1de6a9 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 16:18:05 +0200 Subject: [PATCH 33/55] CI Benchs: syntax fix --- .github/workflows/default.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index d38a8a371..144881f08 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -63,15 +63,13 @@ jobs: build: runs-on: ubuntu-latest needs: [lint] - env: - SCCACHE_ID: build steps: - uses: actions/checkout@v2 - uses: actions/cache@v3 with: path: ~/.cache/ - key: ${{ runner.OS }}-cache-build-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-cache-build-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies run: | @@ -130,13 +128,14 @@ jobs: needs: [lint] env: SKIP_WASM_BUILD: true + RUST_BACKTRACE: full steps: - uses: actions/checkout@v2 - uses: actions/cache@v3 with: path: ~/.cache/ - key: ${{ runner.OS }}-cache-iai-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-cache-iai-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies run: | @@ -176,9 +175,6 @@ jobs: echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - name: Run Header Generation Benchmarks on IAI - env: - RUST_BACKTRACE: full - SKIP_WASM_BUILD: true run: | valgrind --version cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt @@ -211,13 +207,14 @@ jobs: needs: [lint] env: SKIP_WASM_BUILD: true + RUST_BACKTRACE: full steps: - uses: actions/checkout@v2 - uses: actions/cache@v3 with: path: ~/.cache/ - key: ${{ runner.OS }}-cache-cri-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-cache-cri-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies run: | @@ -300,7 +297,7 @@ jobs: - uses: actions/cache@v3 with: path: ~/.cache/ - key: ${{ runner.OS }}-cache-ut-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-cache-ut-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies run: | @@ -375,7 +372,7 @@ jobs: - uses: actions/cache@v3 with: path: ~/.cache/ - key: ${{ runner.OS }}-cache-build-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-cache-build-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies run: | From 66ac7512538677999da5287c7c03611746b1e7e2 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 16:27:09 +0200 Subject: [PATCH 34/55] CI Benchs: Remove unused file --- .github/workflows/default.yml | 8 ++--- .github/workflows/sccache.yml | 57 ----------------------------------- 2 files changed, 4 insertions(+), 61 deletions(-) delete mode 100644 .github/workflows/sccache.yml diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 144881f08..6d15fd4aa 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -142,8 +142,8 @@ jobs: sudo apt-get update sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - name: Setup Rust toolchain run: | curl https://sh.rustup.rs -sSf | sh -s -- -y @@ -221,8 +221,8 @@ jobs: sudo apt-get update sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - name: Setup Rust toolchain run: | curl https://sh.rustup.rs -sSf | sh -s -- -y diff --git a/.github/workflows/sccache.yml b/.github/workflows/sccache.yml deleted file mode 100644 index 72a56a71c..000000000 --- a/.github/workflows/sccache.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Rust and SCCache - -on: - workflow_call: - inputs: - sccache_id: - required: true - type: string - secrets: - -env: - CARGO_SCCACHE_COMMIT: bed5571c - BUILD_TOOLCHAIN: stable-2023-08-24 - -jobs: - - uses: actions/cache@v3 - with: - path: ~/.cache/ - key: ${{ runner.OS }}-cache-${{ inputs.sccache_id }}-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - - name: Install system dependencies - run: | - sudo apt-get update - sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup default ${{ env.BUILD_TOOLCHAIN }} - rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} - - - name: Set PATH for cargo - run: | - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - echo "SCCACHE_DIR=${HOME}/.cache/sccache-${{ inputs.sccache_id }}" >> $GITHUB_ENV - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - if [ ! -f ~/.cargo/bin/sccache ]; then - cargo install sccache \ - --git https://github.com/purestake/sccache.git \ - --rev $CARGO_SCCACHE_COMMIT \ - --force --no-default-features --features=dist-client - fi - - ls -la ~/.cargo/bin/ - - if [[ -z `pgrep sccache` ]]; then - chmod +x ~/.cargo/bin/sccache - sccache --start-server - fi - sccache -s - echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - From 59e2888bc82f8959cdd105cda4ec0e565d286b65 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 16:37:14 +0200 Subject: [PATCH 35/55] CI Benchs: Remove unused file --- .github/workflows/default.yml | 67 ++++++++++++++++------------------- 1 file changed, 31 insertions(+), 36 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 6d15fd4aa..d69625f35 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -11,11 +11,6 @@ on: env: BUILD_TOOLCHAIN: stable-2023-08-24 CARGO_SCCACHE_COMMIT: bed5571c - SCCACHE_DIR: /home/runner/.cache/cargo-sccache-bed5571c - SCCACHE_BIN: /home/runner/.cache/cargo-sccache-bed5571c/bin/sccache - BENCH_SCCACHE_DIR: /home/ubuntu/actions-runner/_work/.cache/cargo-sccache-bed5571c - BENCH_SCCACHE_BIN: /home/ubuntu/actions-runner/_work/.cache/cargo-sccache-bed5571c/bin/sccache - jobs: lint: @@ -142,8 +137,8 @@ jobs: sudo apt-get update sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - name: Setup Rust toolchain run: | curl https://sh.rustup.rs -sSf | sh -s -- -y @@ -253,33 +248,33 @@ jobs: sccache -s echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - - name: Run Header Generation Benchmarks on Criterion - run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt - - - name: Header Generation Regression Checks on Criterion - uses: fmiguelgarcia/github-action-benchmark@v1 - with: - # What benchmark tool the output.txt came from - tool: 'cargo' - # Where the output from the benchmark tool is stored - output-file-path: ~/.cache/cri/header_gen_bench_cri.txt - # Where the previous data file is stored - external-data-json-path: ~/.cache/cri/benchmark-data-cri.json - save-data-file: true - # Workflow will fail when an alert happens at 15% degradation - fail-on-alert: true - alert-threshold: '115%' - # Upload the updated cache file for the next job by actions/cache - github-token: ${{ secrets.GITHUB_TOKEN }} - # Enable alert commit comment - comment-on-alert: true - # Mention @rhysd in the commit comment - alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' - comment-always: true - summary-always: true - - - name: Display SCCache Stats - run: sccache --show-stats + - name: Run Header Generation Benchmarks on Criterion + run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt + + - name: Header Generation Regression Checks on Criterion + uses: fmiguelgarcia/github-action-benchmark@v1 + with: + # What benchmark tool the output.txt came from + tool: 'cargo' + # Where the output from the benchmark tool is stored + output-file-path: ~/.cache/cri/header_gen_bench_cri.txt + # Where the previous data file is stored + external-data-json-path: ~/.cache/cri/benchmark-data-cri.json + save-data-file: true + # Workflow will fail when an alert happens at 15% degradation + fail-on-alert: true + alert-threshold: '115%' + # Upload the updated cache file for the next job by actions/cache + github-token: ${{ secrets.GITHUB_TOKEN }} + # Enable alert commit comment + comment-on-alert: true + # Mention @rhysd in the commit comment + alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' + comment-always: true + summary-always: true + + - name: Display SCCache Stats + run: sccache --show-stats unit_tests: runs-on: ubuntu-latest @@ -379,8 +374,8 @@ jobs: sudo apt-get update sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - name: Setup Rust toolchain run: | curl https://sh.rustup.rs -sSf | sh -s -- -y From 465f0b1900f8585299ffc2814dd213e9179b413a Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 16:51:16 +0200 Subject: [PATCH 36/55] CI Benchs: Remove codspeed from ref machine --- .github/workflows/default.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index d69625f35..b2aba198c 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -172,6 +172,7 @@ jobs: - name: Run Header Generation Benchmarks on IAI run: | valgrind --version + cargo uninstall cargo-codspeed cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt find ./runtime/target/iai -type f @@ -249,7 +250,9 @@ jobs: echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - name: Run Header Generation Benchmarks on Criterion - run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt + run: | + cargo uninstall cargo-codspeed + cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt - name: Header Generation Regression Checks on Criterion uses: fmiguelgarcia/github-action-benchmark@v1 From bd3a0d443366faddad0003dc172022587dfd4cc9 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 17:00:36 +0200 Subject: [PATCH 37/55] CI Benchs: Remove codspeed from ref machine --- .github/workflows/default.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index b2aba198c..d69625f35 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -172,7 +172,6 @@ jobs: - name: Run Header Generation Benchmarks on IAI run: | valgrind --version - cargo uninstall cargo-codspeed cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt find ./runtime/target/iai -type f @@ -250,9 +249,7 @@ jobs: echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - name: Run Header Generation Benchmarks on Criterion - run: | - cargo uninstall cargo-codspeed - cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt + run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt - name: Header Generation Regression Checks on Criterion uses: fmiguelgarcia/github-action-benchmark@v1 From be719cbf7635f746ea92d135ae1fa9a65fb3ae6d Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 17:08:13 +0200 Subject: [PATCH 38/55] CI Benchs: Remove codspeed from ref machine --- .github/workflows/default.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index d69625f35..b044d09a7 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -171,6 +171,7 @@ jobs: - name: Run Header Generation Benchmarks on IAI run: | + cargo uninstall --locked cargo-codspeed valgrind --version cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt find ./runtime/target/iai -type f From c3fded896beeecbe339a35b8c4d656ff277810af Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 22:11:01 +0200 Subject: [PATCH 39/55] CI Benchs: more logs to benchs --- .github/workflows/default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index b044d09a7..5b118cca7 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -171,7 +171,7 @@ jobs: - name: Run Header Generation Benchmarks on IAI run: | - cargo uninstall --locked cargo-codspeed + cargo uninstall --locked cargo-codspeed | true valgrind --version cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt find ./runtime/target/iai -type f From 9a45e5e2501d005af7e3cb2b29c3e075871bdb43 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 22:18:42 +0200 Subject: [PATCH 40/55] CI Benchs: more logs to benchs --- .github/workflows/default.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 5b118cca7..e7d2d8b35 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -135,6 +135,9 @@ jobs: - name: Install system dependencies run: | sudo apt-get update + which valgrind + sudo dpkg -S `which valgrind` + sudo apt remove valgrind sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip # With rustup's nice new toml format, we just need to run rustup show to install the toolchain From 5517f498ec4fc747275c2a95c8451a612d7484a8 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 22:22:37 +0200 Subject: [PATCH 41/55] CI Benchs: more logs to benchs --- .github/workflows/default.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index e7d2d8b35..281e25e79 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -137,7 +137,7 @@ jobs: sudo apt-get update which valgrind sudo dpkg -S `which valgrind` - sudo apt remove valgrind + sudo apt remove -y valgrind sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip # With rustup's nice new toml format, we just need to run rustup show to install the toolchain @@ -175,6 +175,8 @@ jobs: - name: Run Header Generation Benchmarks on IAI run: | cargo uninstall --locked cargo-codspeed | true + which valgrind + sudo dpkg -S `which valgrind` valgrind --version cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt find ./runtime/target/iai -type f From bd05b00d259dde77836c3309cb451f3a2a0e82ed Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 22:59:41 +0200 Subject: [PATCH 42/55] CI Benchs: fix benches exit code --- .github/workflows/default.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 281e25e79..bd4ad0b1f 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -178,7 +178,7 @@ jobs: which valgrind sudo dpkg -S `which valgrind` valgrind --version - cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt + cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt || true find ./runtime/target/iai -type f - name: Header Generation Regression Checks on IAI @@ -255,7 +255,7 @@ jobs: echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - name: Run Header Generation Benchmarks on Criterion - run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt + run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt || true - name: Header Generation Regression Checks on Criterion uses: fmiguelgarcia/github-action-benchmark@v1 From d5e85c3e5f6031865cbeb158ca3d621615167647 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Mon, 23 Oct 2023 23:47:16 +0200 Subject: [PATCH 43/55] CI Benchs: create target folders --- .github/workflows/default.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index bd4ad0b1f..33cfe2b1d 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -178,6 +178,7 @@ jobs: which valgrind sudo dpkg -S `which valgrind` valgrind --version + mkdir -p ~/.cache/iai/ cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt || true find ./runtime/target/iai -type f @@ -255,7 +256,9 @@ jobs: echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - name: Run Header Generation Benchmarks on Criterion - run: cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt || true + run: | + mkdir -p ~/.cache/cri/ + cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt || true - name: Header Generation Regression Checks on Criterion uses: fmiguelgarcia/github-action-benchmark@v1 From 8c80d447675559aff4e7cec9c306c4a5be2627da Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 24 Oct 2023 10:23:22 +0200 Subject: [PATCH 44/55] CI Benchs: E2E improvements --- .github/workflows/default.yml | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 33cfe2b1d..c2d5c6d48 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -64,7 +64,7 @@ jobs: - uses: actions/cache@v3 with: path: ~/.cache/ - key: ${{ runner.OS }}-cache-build-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-cache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies run: | @@ -376,12 +376,12 @@ jobs: - uses: actions/cache@v3 with: path: ~/.cache/ - key: ${{ runner.OS }}-cache-build-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-cache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies run: | sudo apt-get update - sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip time wait-for-it # With rustup's nice new toml format, we just need to run rustup show to install the toolchain # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 @@ -419,21 +419,26 @@ jobs: with: name: data-avail + - name: Build E2E examples + run: cargo build --release --manifest-path avail-subxt/Cargo.toml --examples + - name: Run E2E SubXt tests run: | chmod uog+x data-avail - ./data-avail --dev --tmp & - sleep 5 - cargo run --release --manifest-path avail-subxt/Cargo.toml --example accounts_from_mnemonics - cargo run --release --manifest-path avail-subxt/Cargo.toml --example da_bridge_actor - cargo run --release --manifest-path avail-subxt/Cargo.toml --example headers - cargo run --release --manifest-path avail-subxt/Cargo.toml --example max_block_submit - cargo run --release --manifest-path avail-subxt/Cargo.toml --example submit_data - cargo run --release --manifest-path avail-subxt/Cargo.toml --example submit_data_and_dispatch_data_root - cargo run --release --manifest-path avail-subxt/Cargo.toml --example submit_block_length_proposal + ./data-avail --dev --tmp & da_pid=$! + echo "Wait until DA is ready ..." + wait-for-it 127.0.0.1:9944 -s -t 30 -- echo "DA Dev Node is ready (pid=${da_pid})" # Democracy calls are executable only with fast runtime (with democracy InstantAllowed set to true) - # cargo run --release --manifest-path avail-subxt/Cargo.toml --example democracy_external - # cargo run --release --manifest-path avail-subxt/Cargo.toml --example submit_block_length_proposal_democracy + # `democracy_external`, `submit_block_length_proposal_democracy` + for e2e_test in accounts_from_mnemonics da_bridge_actor headers max_block_submit submit_data submit_data_and_dispatch_data_root submit_block_length_proposal + do + echo ">> Start E2E test '${e2e_test}'" + time cargo run --release --manifest-path avail-subxt/Cargo.toml --example ${e2e_test} + echo ">> End E2E test '${e2e_test}'" + done + echo ">> Killing DA ..." + kill -9 ${da_pid} + echo ">> E2E phase done" - name: Display SCCache Stats run: sccache --show-stats From 632d8f9a5f630783fc6399ca01fbe07ae1fbd998 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 24 Oct 2023 12:04:58 +0200 Subject: [PATCH 45/55] CI Benchs: SCCache bin is cached --- .github/workflows/default.yml | 72 ++++++++++++++++++++++++++++++++--- 1 file changed, 67 insertions(+), 5 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index c2d5c6d48..7c4768ca4 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -63,7 +63,9 @@ jobs: - uses: actions/cache@v3 with: - path: ~/.cache/ + path: | + ~/.cache/ + ~/.cargo/bin/sccache* key: ${{ runner.OS }}-cache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies @@ -115,7 +117,59 @@ jobs: - name: Display SCCache Stats run: sccache --show-stats + check_features: + runs-on: ubuntu-latest + needs: [build] + steps: + - uses: actions/checkout@v2 + + - uses: actions/restore@v3 + with: + path: | + ~/.cache/ + ~/.cargo/bin/sccache* + key: ${{ runner.OS }}-cache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} + rustup target add wasm32-unknown-unknown --toolchain ${{ env.BUILD_TOOLCHAIN }} + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + ls -la ~/.cargo/bin/ + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV + - name: Check other features + env: + SKIP_WASM_BUILD: true run: cargo check --release --workspace --features "runtime-benchmarks try-runtime" -p data-avail benchmarks_iai: @@ -129,7 +183,9 @@ jobs: - uses: actions/cache@v3 with: - path: ~/.cache/ + path: | + ~/.cache/ + ~/.cargo/bin/sccache* key: ${{ runner.OS }}-cache-iai-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies @@ -215,7 +271,9 @@ jobs: - uses: actions/cache@v3 with: - path: ~/.cache/ + path: | + ~/.cache/ + ~/.cargo/bin/sccache* key: ${{ runner.OS }}-cache-cri-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies @@ -300,7 +358,9 @@ jobs: - uses: actions/cache@v3 with: - path: ~/.cache/ + path: | + ~/.cache/ + ~/.cargo/bin/sccache* key: ${{ runner.OS }}-cache-ut-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies @@ -375,7 +435,9 @@ jobs: - uses: actions/cache@v3 with: - path: ~/.cache/ + path: | + ~/.cache/ + ~/.cargo/bin/sccache* key: ${{ runner.OS }}-cache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies From 2e37fcf4cec3e628240d3f138a6871f6bb85f721 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 24 Oct 2023 14:24:06 +0200 Subject: [PATCH 46/55] CI Benchs: UTs need WASM generation --- .github/workflows/default.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 7c4768ca4..c3a1d5d3c 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -123,7 +123,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/restore@v3 + - uses: actions/cache/restore@v3 with: path: | ~/.cache/ @@ -346,8 +346,6 @@ jobs: unit_tests: runs-on: ubuntu-latest needs: [build] - env: - SKIP_WASM_BUILD: true steps: - uses: actions/checkout@v2 @@ -356,12 +354,12 @@ jobs: with: tool-cache: true - - uses: actions/cache@v3 + - uses: actions/cache/restore@v3 with: path: | ~/.cache/ ~/.cargo/bin/sccache* - key: ${{ runner.OS }}-cache-ut-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + key: ${{ runner.OS }}-cache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - name: Install system dependencies run: | From 39e4baa0ee04c1945d0134ddeae633e9b2a0ce46 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Wed, 25 Oct 2023 10:23:14 +0200 Subject: [PATCH 47/55] CI Benchs: Integrate CodSpeed --- .github/workflows/default.yml | 91 +++++++++++++++---- Cargo.lock | 34 +++++++ runtime/Cargo.toml | 2 + runtime/benches/header_kate_commitment_cri.rs | 6 ++ 4 files changed, 117 insertions(+), 16 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index c3a1d5d3c..bb73af8bf 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -97,7 +97,6 @@ jobs: --force --no-default-features --features=dist-client fi - ls -la ~/.cargo/bin/ if [[ -z `pgrep sccache` ]]; then chmod +x ~/.cargo/bin/sccache sccache --start-server @@ -159,7 +158,6 @@ jobs: --force --no-default-features --features=dist-client fi - ls -la ~/.cargo/bin/ if [[ -z `pgrep sccache` ]]; then chmod +x ~/.cargo/bin/sccache sccache --start-server @@ -188,16 +186,16 @@ jobs: ~/.cargo/bin/sccache* key: ${{ runner.OS }}-cache-iai-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - name: Install system dependencies + # We force to reinstall `valgrind` because `codspeed` replaces that binary and the output + # of `valgrind.codspeed` generates a + - name: Install system dependencies run: | sudo apt-get update - which valgrind - sudo dpkg -S `which valgrind` sudo apt remove -y valgrind sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - name: Setup Rust toolchain run: | curl https://sh.rustup.rs -sSf | sh -s -- -y @@ -219,8 +217,6 @@ jobs: --force --no-default-features --features=dist-client fi - ls -la ~/.cargo/bin/ - if [[ -z `pgrep sccache` ]]; then chmod +x ~/.cargo/bin/sccache sccache --start-server @@ -304,8 +300,6 @@ jobs: --force --no-default-features --features=dist-client fi - ls -la ~/.cargo/bin/ - if [[ -z `pgrep sccache` ]]; then chmod +x ~/.cargo/bin/sccache sccache --start-server @@ -343,6 +337,76 @@ jobs: - name: Display SCCache Stats run: sccache --show-stats + benchmarks_codspeed: + runs-on: [self-hosted, reference] + needs: [lint] + env: + SKIP_WASM_BUILD: true + RUST_BACKTRACE: full + steps: + - uses: actions/checkout@v2 + + - uses: actions/cache@v3 + with: + path: | + ~/.cache/ + ~/.cargo/bin/sccache* + key: ${{ runner.OS }}-cache-cri-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + # With rustup's nice new toml format, we just need to run rustup show to install the toolchain + # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup default ${{ env.BUILD_TOOLCHAIN }} + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV + + - name: Build CodSpeed benchmarks + run: | + cargo install --force --locked cargo-codspeed + cargo codspeed build -p da-runtime --features "codspeed" -- --bench header_kate_commitment_cri + + - name: Run CodSpeed benchmarks + uses: CodSpeedHQ/action@v1 + with: + run: cargo codspeed run -p da-runtime + token: $${ secrets.CODSPEED_TOKEN }} + + - name: Uninstall CodSpeed and valgrind + run: | + cargo uninstall cargo-codspeed || true + sudo apt remove -y valgrind + + - name: Display SCCache Stats + run: sccache --show-stats + unit_tests: runs-on: ubuntu-latest needs: [build] @@ -389,8 +453,6 @@ jobs: --force --no-default-features --features=dist-client fi - ls -la ~/.cargo/bin/ - if [[ -z `pgrep sccache` ]]; then chmod +x ~/.cargo/bin/sccache sccache --start-server @@ -406,7 +468,6 @@ jobs: env: RUSTFLAGS: "-C instrument-coverage" LLVM_PROFILE_FILE: "profile-%p-%m.profraw" - SKIP_WASM_BUILD: true - name: Display SCCache Stats run: sccache --show-stats @@ -466,8 +527,6 @@ jobs: --force --no-default-features --features=dist-client fi - ls -la ~/.cargo/bin/ - if [[ -z `pgrep sccache` ]]; then chmod +x ~/.cargo/bin/sccache sccache --start-server diff --git a/Cargo.lock b/Cargo.lock index 4543ff63f..ba17e2fb9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1274,6 +1274,28 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "codspeed" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918b13a0f1a32460ab3bd5debd56b5a27a7071fa5ff5dfeb3a5cf291a85b174b" +dependencies = [ + "colored", + "libc", + "serde_json", +] + +[[package]] +name = "codspeed-criterion-compat" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c683c7fef2b873fbbdf4062782914c652309951244bf0bd362fe608b7d6f901c" +dependencies = [ + "codspeed", + "colored", + "criterion", +] + [[package]] name = "coins-bip32" version = "0.7.0" @@ -1337,6 +1359,17 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "colored" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" +dependencies = [ + "is-terminal", + "lazy_static", + "windows-sys 0.48.0", +] + [[package]] name = "comfy-table" version = "7.1.0" @@ -1860,6 +1893,7 @@ name = "da-runtime" version = "7.0.0" dependencies = [ "avail-core", + "codspeed-criterion-compat", "criterion", "da-control", "env_logger 0.9.3", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 9232fc241..27678a25e 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -118,6 +118,7 @@ env_logger = "0.9.1" pallet-staking-reward-fn = "4.0.0-dev" iai = "0.1.1" criterion = "0.5.1" +codspeed-criterion-compat = "2.2.0" [[bench]] name = "header_kate_commitment_iai" @@ -131,6 +132,7 @@ harness = false default = [ "std" ] with-tracing = [ "frame-executive/with-tracing" ] fast-runtime = [] +codspeed = [] header_commitment_corruption = [ "frame-system/header_commitment_corruption" ] std = [ "avail-core/std", diff --git a/runtime/benches/header_kate_commitment_cri.rs b/runtime/benches/header_kate_commitment_cri.rs index 61c6fa385..a0cdaca7f 100644 --- a/runtime/benches/header_kate_commitment_cri.rs +++ b/runtime/benches/header_kate_commitment_cri.rs @@ -1,4 +1,10 @@ use core::time::Duration; + +#[cfg(feature = "codspeed")] +use codspeed_criterion_compat::{ + criterion_group, criterion_main, BenchmarkId, Criterion, Throughput, +}; +#[cfg(not(feature = "codspeed"))] use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; include!("header_kate_commitment.rs"); From c8736998d807b77d9eb02821e2a6cd3bc0709a15 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Wed, 25 Oct 2023 10:45:11 +0200 Subject: [PATCH 48/55] CI Benchs: Integrate CodSpeed --- .github/workflows/default.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index bb73af8bf..644e8b391 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -186,9 +186,10 @@ jobs: ~/.cargo/bin/sccache* key: ${{ runner.OS }}-cache-iai-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - # We force to reinstall `valgrind` because `codspeed` replaces that binary and the output - # of `valgrind.codspeed` generates a - - name: Install system dependencies + - name: Install system dependencies + # We force to reinstall `valgrind` because `codspeed` replaces that binary and the output + # of `valgrind.codspeed` generates a + run: | sudo apt-get update sudo apt remove -y valgrind From 84fe422082fd61d157d14d4addd8b10e467abfd0 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 31 Oct 2023 09:40:30 +0100 Subject: [PATCH 49/55] CI Benchs: Remove CodSpeed --- .github/workflows/default.yml | 70 ----------------------------------- 1 file changed, 70 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 644e8b391..8e4fe6669 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -338,76 +338,6 @@ jobs: - name: Display SCCache Stats run: sccache --show-stats - benchmarks_codspeed: - runs-on: [self-hosted, reference] - needs: [lint] - env: - SKIP_WASM_BUILD: true - RUST_BACKTRACE: full - steps: - - uses: actions/checkout@v2 - - - uses: actions/cache@v3 - with: - path: | - ~/.cache/ - ~/.cargo/bin/sccache* - key: ${{ runner.OS }}-cache-cri-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - - name: Install system dependencies - run: | - sudo apt-get update - sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup default ${{ env.BUILD_TOOLCHAIN }} - - - name: Set PATH for cargo - run: | - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV - - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - if [ ! -f ~/.cargo/bin/sccache ]; then - cargo install sccache \ - --git https://github.com/purestake/sccache.git \ - --rev $CARGO_SCCACHE_COMMIT \ - --force --no-default-features --features=dist-client - fi - - if [[ -z `pgrep sccache` ]]; then - chmod +x ~/.cargo/bin/sccache - sccache --start-server - fi - sccache -s - echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - - - name: Build CodSpeed benchmarks - run: | - cargo install --force --locked cargo-codspeed - cargo codspeed build -p da-runtime --features "codspeed" -- --bench header_kate_commitment_cri - - - name: Run CodSpeed benchmarks - uses: CodSpeedHQ/action@v1 - with: - run: cargo codspeed run -p da-runtime - token: $${ secrets.CODSPEED_TOKEN }} - - - name: Uninstall CodSpeed and valgrind - run: | - cargo uninstall cargo-codspeed || true - sudo apt remove -y valgrind - - - name: Display SCCache Stats - run: sccache --show-stats - unit_tests: runs-on: ubuntu-latest needs: [build] From c88616af9fc7e99bad50da0be52ea0f255588464 Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 31 Oct 2023 09:53:14 +0100 Subject: [PATCH 50/55] CI Benchs: Remove CodSpeed --- Cargo.lock | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 87ab506c9..25b244649 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1031,7 +1031,7 @@ checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" dependencies = [ "camino", "cargo-platform", - "semver 1.0.18", + "semver 1.0.20", "serde", "serde_json", ] @@ -1672,6 +1672,16 @@ dependencies = [ "itertools 0.10.5", ] +[[package]] +name = "crossbeam-channel" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + [[package]] name = "crossbeam-deque" version = "0.8.3" @@ -5437,7 +5447,7 @@ dependencies = [ "tagptr", "thiserror", "triomphe", - "uuid 1.4.1", + "uuid 1.5.0", ] [[package]] From 963042684a8f93b53be0a3a1067ffe9e1c5e5b0a Mon Sep 17 00:00:00 2001 From: fmiguelgarcia Date: Tue, 31 Oct 2023 11:28:33 +0100 Subject: [PATCH 51/55] Restore `run-benchmarks` action --- .github/workflows/run-benchmarks.yml | 77 ++++++++-------------------- 1 file changed, 20 insertions(+), 57 deletions(-) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index e8487f929..a710f4075 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -11,9 +11,6 @@ on: description: Benchmark only our pallet required: false default: 0 -env: - ACTIONS_RUNNER_DEBUG: true - ACTIONS_STEP_DEBUG: true jobs: benchmark: @@ -24,7 +21,8 @@ jobs: - name: Install deps run: | sudo apt-get update - sudo apt-get install -y build-essential valgrind git clang curl libssl-dev protobuf-compiler unzip + sudo apt-get install -y build-essential + sudo apt-get install -y git clang curl libssl-dev protobuf-compiler unzip - name: Install Protoc uses: arduino/setup-protoc@v1 @@ -41,61 +39,26 @@ jobs: - name: Set PATH for cargo run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH -# - name: Build node and run benchmarks -# run: | -# if [ "${{ github.event.inputs.extra }}" != "0" ]; then -# EXTRA="EXTRA=${{ github.event.inputs.extra }}" -# else -# EXTRA="" -# fi - -# if [ "${{ github.event.inputs.ourpallets }}" != "0" ]; then -# OUR_PALLETS="OUR_PALLETS=${{ github.event.inputs.ourpallets }}" -# else -# OUR_PALLETS="" -# fi - -# echo "Command to be executed: $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh" - -# $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh + - name: Build node and run benchmarks + run: | + if [ "${{ github.event.inputs.extra }}" != "0" ]; then + EXTRA="EXTRA=${{ github.event.inputs.extra }}" + else + EXTRA="" + fi -# - name: Upload output as artifact -# uses: actions/upload-artifact@v2 -# with: -# name: weights-result -# path: ./output/ + if [ "${{ github.event.inputs.ourpallets }}" != "0" ]; then + OUR_PALLETS="OUR_PALLETS=${{ github.event.inputs.ourpallets }}" + else + OUR_PALLETS="" + fi - # Run Header Generation benchmarks - - name: Download previous Header Generation Benchmark - uses: actions/cache@v3 - with: - path: | - ./cache - ./target/release/ - ./runtime/target/iai - key: ${{ runner.os }}-header-gen-benchmark + echo "Command to be executed: $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh" - - name: Run Header Generation Benchmark - run: cargo bench -p da-runtime | tee ./header_gen_bench.txt + $EXTRA $OUR_PALLETS ./scripts/run_benchmarks.sh - - name: Header Generation Regression Checks - uses: fmiguelgarcia/github-action-benchmark@v1 + - name: Upload output as artifact + uses: actions/upload-artifact@v2 with: - # What benchmark tool the output.txt came from - tool: 'rustIai' - # Where the output from the benchmark tool is stored - # output-file-path: /home/ubuntu/actions-runner/_work/avail/avail/header_gen_bench.txt - output-file-path: ./header_gen_bench.txt - # Where the previous data file is stored - external-data-json-path: ./cache/benchmark-data.json - # Workflow will fail when an alert happens at 15% degradation - fail-on-alert: true - alert-threshold: '15%' - # Upload the updated cache file for the next job by actions/cache - github-token: ${{ secrets.GITHUB_TOKEN }} - # Enable alert commit comment - comment-on-alert: true - # Mention @rhysd in the commit comment - alert-comment-cc-users: '@fmiguelgarcia,@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz' - comment-always: true - summary-always: true + name: weights-result + path: ./output/ \ No newline at end of file From 716d63cad2c970ff79651ccb1ccd44db852b9a5b Mon Sep 17 00:00:00 2001 From: Marko Petrlic Date: Sat, 4 Nov 2023 15:13:41 +0100 Subject: [PATCH 52/55] Added Divan and iai callgrind benchmarks. Moved benchmarks into a separate workflow --- .github/workflows/benchmarks.yml | 178 ++++++++++++++++++ .github/workflows/default.yml | 168 ----------------- .../{run-benchmarks.yml => weights.yml} | 4 +- Cargo.lock | 101 ++++++++++ README.md | 3 +- runtime/Cargo.toml | 10 + runtime/benches/header_kate_commitment_cri.rs | 2 +- .../benches/header_kate_commitment_divan.rs | 25 +++ .../header_kate_commitment_iai_callgrind.rs | 25 +++ 9 files changed, 345 insertions(+), 171 deletions(-) create mode 100644 .github/workflows/benchmarks.yml rename .github/workflows/{run-benchmarks.yml => weights.yml} (95%) create mode 100644 runtime/benches/header_kate_commitment_divan.rs create mode 100644 runtime/benches/header_kate_commitment_iai_callgrind.rs diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml new file mode 100644 index 000000000..2329ce16a --- /dev/null +++ b/.github/workflows/benchmarks.yml @@ -0,0 +1,178 @@ +name: Header and RPC Benchmarks +on: + push: + branches: + - main + - develop + pull_request: + branches: + - main + - develop + workflow_dispatch: + +env: + CARGO_SCCACHE_COMMIT: bed5571c + +jobs: + benchmarks_iai: + runs-on: [self-hosted, reference] + env: + SKIP_WASM_BUILD: true + RUST_BACKTRACE: full + steps: + - uses: actions/checkout@v2 + + - uses: actions/cache@v3 + with: + path: | + ~/.cache/ + ~/.cargo/bin/sccache* + key: ${{ runner.OS }}-cache-iai-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + # We force to reinstall `valgrind` because `codspeed` replaces that binary and the output + # of `valgrind.codspeed` generates a + + run: | + sudo apt-get update + sudo apt remove -y valgrind + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup show + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV + + - name: Run Header Generation Benchmarks on IAI + run: | + cargo uninstall --locked cargo-codspeed | true + which valgrind + sudo dpkg -S `which valgrind` + valgrind --version + mkdir -p ~/.cache/iai/ + cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt || true + find ./runtime/target/iai -type f + + - name: Header Generation Regression Checks on IAI + uses: fmiguelgarcia/github-action-benchmark@v1 + with: + # What benchmark tool the output.txt came from + tool: 'rustIai' + # Where the output from the benchmark tool is stored + output-file-path: ~/.cache/iai/header_gen_bench_iai.txt + # Where the previous data file is stored + external-data-json-path: ~/.cache/iai/benchmark-data-iai.json + save-data-file: true + # Workflow will fail when an alert happens at 15% degradation + fail-on-alert: true + alert-threshold: '115%' + # Upload the updated cache file for the next job by actions/cache + github-token: ${{ secrets.GITHUB_TOKEN }} + # Enable alert commit comment + comment-on-alert: true + # Mention @rhysd in the commit comment + alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' + comment-always: true + summary-always: true + + benchmarks_cri: + runs-on: [self-hosted, reference] + env: + SKIP_WASM_BUILD: true + RUST_BACKTRACE: full + steps: + - uses: actions/checkout@v2 + + - uses: actions/cache@v3 + with: + path: | + ~/.cache/ + ~/.cargo/bin/sccache* + key: ${{ runner.OS }}-cache-cri-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup show + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV + + - name: Run Header Generation Benchmarks on Criterion + run: | + mkdir -p ~/.cache/cri/ + cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt || true + + - name: Header Generation Regression Checks on Criterion + uses: fmiguelgarcia/github-action-benchmark@v1 + with: + # What benchmark tool the output.txt came from + tool: 'cargo' + # Where the output from the benchmark tool is stored + output-file-path: ~/.cache/cri/header_gen_bench_cri.txt + # Where the previous data file is stored + external-data-json-path: ~/.cache/cri/benchmark-data-cri.json + save-data-file: true + # Workflow will fail when an alert happens at 15% degradation + fail-on-alert: true + alert-threshold: '115%' + # Upload the updated cache file for the next job by actions/cache + github-token: ${{ secrets.GITHUB_TOKEN }} + # Enable alert commit comment + comment-on-alert: true + # Mention @rhysd in the commit comment + alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' + comment-always: true + summary-always: true + + - name: Display SCCache Stats + run: sccache --show-stats + diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 8e4fe6669..56cb8f1f9 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -170,174 +170,6 @@ jobs: SKIP_WASM_BUILD: true run: cargo check --release --workspace --features "runtime-benchmarks try-runtime" -p data-avail - benchmarks_iai: - runs-on: [self-hosted, reference] - needs: [lint] - env: - SKIP_WASM_BUILD: true - RUST_BACKTRACE: full - steps: - - uses: actions/checkout@v2 - - - uses: actions/cache@v3 - with: - path: | - ~/.cache/ - ~/.cargo/bin/sccache* - key: ${{ runner.OS }}-cache-iai-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - - name: Install system dependencies - # We force to reinstall `valgrind` because `codspeed` replaces that binary and the output - # of `valgrind.codspeed` generates a - - run: | - sudo apt-get update - sudo apt remove -y valgrind - sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup default ${{ env.BUILD_TOOLCHAIN }} - - - name: Set PATH for cargo - run: | - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV - - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - if [ ! -f ~/.cargo/bin/sccache ]; then - cargo install sccache \ - --git https://github.com/purestake/sccache.git \ - --rev $CARGO_SCCACHE_COMMIT \ - --force --no-default-features --features=dist-client - fi - - if [[ -z `pgrep sccache` ]]; then - chmod +x ~/.cargo/bin/sccache - sccache --start-server - fi - sccache -s - echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - - - name: Run Header Generation Benchmarks on IAI - run: | - cargo uninstall --locked cargo-codspeed | true - which valgrind - sudo dpkg -S `which valgrind` - valgrind --version - mkdir -p ~/.cache/iai/ - cargo bench -p da-runtime --bench header_kate_commitment_iai | tee ~/.cache/iai/header_gen_bench_iai.txt || true - find ./runtime/target/iai -type f - - - name: Header Generation Regression Checks on IAI - uses: fmiguelgarcia/github-action-benchmark@v1 - with: - # What benchmark tool the output.txt came from - tool: 'rustIai' - # Where the output from the benchmark tool is stored - output-file-path: ~/.cache/iai/header_gen_bench_iai.txt - # Where the previous data file is stored - external-data-json-path: ~/.cache/iai/benchmark-data-iai.json - save-data-file: true - # Workflow will fail when an alert happens at 15% degradation - fail-on-alert: true - alert-threshold: '115%' - # Upload the updated cache file for the next job by actions/cache - github-token: ${{ secrets.GITHUB_TOKEN }} - # Enable alert commit comment - comment-on-alert: true - # Mention @rhysd in the commit comment - alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' - comment-always: true - summary-always: true - - benchmarks_cri: - runs-on: [self-hosted, reference] - needs: [lint] - env: - SKIP_WASM_BUILD: true - RUST_BACKTRACE: full - steps: - - uses: actions/checkout@v2 - - - uses: actions/cache@v3 - with: - path: | - ~/.cache/ - ~/.cargo/bin/sccache* - key: ${{ runner.OS }}-cache-cri-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - - name: Install system dependencies - run: | - sudo apt-get update - sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - - # With rustup's nice new toml format, we just need to run rustup show to install the toolchain - # https://github.com/actions-rs/toolchain/issues/126#issuecomment-782989659 - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup default ${{ env.BUILD_TOOLCHAIN }} - - - name: Set PATH for cargo - run: | - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV - - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - if [ ! -f ~/.cargo/bin/sccache ]; then - cargo install sccache \ - --git https://github.com/purestake/sccache.git \ - --rev $CARGO_SCCACHE_COMMIT \ - --force --no-default-features --features=dist-client - fi - - if [[ -z `pgrep sccache` ]]; then - chmod +x ~/.cargo/bin/sccache - sccache --start-server - fi - sccache -s - echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - - - name: Run Header Generation Benchmarks on Criterion - run: | - mkdir -p ~/.cache/cri/ - cargo bench -p da-runtime --bench header_kate_commitment_cri -- --color never --noplot --output-format bencher | tee ~/.cache/cri/header_gen_bench_cri.txt || true - - - name: Header Generation Regression Checks on Criterion - uses: fmiguelgarcia/github-action-benchmark@v1 - with: - # What benchmark tool the output.txt came from - tool: 'cargo' - # Where the output from the benchmark tool is stored - output-file-path: ~/.cache/cri/header_gen_bench_cri.txt - # Where the previous data file is stored - external-data-json-path: ~/.cache/cri/benchmark-data-cri.json - save-data-file: true - # Workflow will fail when an alert happens at 15% degradation - fail-on-alert: true - alert-threshold: '115%' - # Upload the updated cache file for the next job by actions/cache - github-token: ${{ secrets.GITHUB_TOKEN }} - # Enable alert commit comment - comment-on-alert: true - # Mention @rhysd in the commit comment - alert-comment-cc-users: '@prabal-banerjee,@jakubcech,@vthunder,@kroos47,@Leouarz,@markopoloparadox' - comment-always: true - summary-always: true - - - name: Display SCCache Stats - run: sccache --show-stats - unit_tests: runs-on: ubuntu-latest needs: [build] diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/weights.yml similarity index 95% rename from .github/workflows/run-benchmarks.yml rename to .github/workflows/weights.yml index a710f4075..1810cf16e 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/weights.yml @@ -1,4 +1,4 @@ -name: Run benchmarks +name: Run benchmarks for weights on: workflow_dispatch: @@ -6,10 +6,12 @@ on: extra: description: Run extra benchmark (commitment / dataroot) required: false + type: number default: 0 ourpallets: description: Benchmark only our pallet required: false + type: number default: 0 jobs: diff --git a/Cargo.lock b/Cargo.lock index 392aaadd1..2663374ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1254,6 +1254,7 @@ dependencies = [ "anstyle", "clap_lex", "strsim", + "terminal_size", ] [[package]] @@ -1409,6 +1410,12 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "condtype" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf0a07a401f374238ab8e2f11a104d2851bf9ce711ec69804834de8af45c7af" + [[package]] name = "console" version = "0.15.7" @@ -1923,6 +1930,7 @@ dependencies = [ "codspeed-criterion-compat", "criterion", "da-control", + "divan", "env_logger 0.9.3", "frame-benchmarking", "frame-election-provider-support", @@ -1935,6 +1943,7 @@ dependencies = [ "hex", "hex-literal", "iai", + "iai-callgrind", "kate", "log", "nomad-da-bridge", @@ -2376,6 +2385,30 @@ dependencies = [ "syn 2.0.38", ] +[[package]] +name = "divan" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fab20f5802e0b897093184f5dc5d23447fa715604f238dc798f6da188b230019" +dependencies = [ + "clap", + "condtype", + "divan-macros", + "linkme", + "regex-lite", +] + +[[package]] +name = "divan-macros" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c5d6354551e0b5c451a948814fc47fe745a14eac7835c087d60162661019db4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "downcast" version = "0.11.0" @@ -3932,6 +3965,38 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71a816c97c42258aa5834d07590b718b4c9a598944cd39a52dc25b351185d678" +[[package]] +name = "iai-callgrind" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2679de583a9f5232b45b1f3a31b5e2f739bccfee9b7902488aca8f8c2c5482d1" +dependencies = [ + "bincode", + "iai-callgrind-macros", + "iai-callgrind-runner", +] + +[[package]] +name = "iai-callgrind-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af5af66b85e350097b8c0f6329c6347d3323d010443475741c29a1a167f116fb" +dependencies = [ + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.38", +] + +[[package]] +name = "iai-callgrind-runner" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12cc1093f263249d7c541c53849dac74f4ae756cd31e3cac1a12204efcec68bd" +dependencies = [ + "serde", +] + [[package]] name = "iana-time-zone" version = "0.1.58" @@ -5065,6 +5130,26 @@ dependencies = [ "linked-hash-map", ] +[[package]] +name = "linkme" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91ed2ee9464ff9707af8e9ad834cffa4802f072caad90639c583dd3c62e6e608" +dependencies = [ + "linkme-impl", +] + +[[package]] +name = "linkme-impl" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba125974b109d512fccbc6c0244e7580143e460895dfd6ea7f8bbb692fd94396" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "linregress" version = "0.5.3" @@ -7622,6 +7707,12 @@ dependencies = [ "regex-syntax 0.8.2", ] +[[package]] +name = "regex-lite" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30b661b2f27137bdbc16f00eda72866a92bb28af1753ffbd56744fb6e2e9cd8e" + [[package]] name = "regex-syntax" version = "0.6.29" @@ -10577,6 +10668,16 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "terminal_size" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix 0.38.21", + "windows-sys 0.48.0", +] + [[package]] name = "termtree" version = "0.4.1" diff --git a/README.md b/README.md index 566c8125d..281b0cf2c 100644 --- a/README.md +++ b/README.md @@ -136,4 +136,5 @@ For additional documentation check our [wiki page](https://github.com/availproje There you can learn how to: - Run Avail Node together with Avail Light Clients - Build Avail Node for different Linux flavours -- Find out what node synchronization options are available \ No newline at end of file +- Find out what node synchronization options are available +- Running Avail Benchmarks \ No newline at end of file diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 27678a25e..66fa66ecc 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -117,8 +117,14 @@ sp-keyring = "24.0.0" env_logger = "0.9.1" pallet-staking-reward-fn = "4.0.0-dev" iai = "0.1.1" +iai-callgrind = { version = "0.7.3" } criterion = "0.5.1" codspeed-criterion-compat = "2.2.0" +divan = "0.1.2" + +[[bench]] +name = "header_kate_commitment_iai_callgrind" +harness = false [[bench]] name = "header_kate_commitment_iai" @@ -128,6 +134,10 @@ harness = false name = "header_kate_commitment_cri" harness = false +[[bench]] +name = "header_kate_commitment_divan" +harness = false + [features] default = [ "std" ] with-tracing = [ "frame-executive/with-tracing" ] diff --git a/runtime/benches/header_kate_commitment_cri.rs b/runtime/benches/header_kate_commitment_cri.rs index a0cdaca7f..c2da4496d 100644 --- a/runtime/benches/header_kate_commitment_cri.rs +++ b/runtime/benches/header_kate_commitment_cri.rs @@ -34,6 +34,6 @@ fn commitment_builder(c: &mut Criterion) { criterion_group!( name = benches; - config = Criterion::default().sample_size(10).measurement_time( Duration::from_secs(30) ); + config = Criterion::default().sample_size(10).measurement_time( Duration::from_secs(60) ); targets = commitment_builder); criterion_main!(benches); diff --git a/runtime/benches/header_kate_commitment_divan.rs b/runtime/benches/header_kate_commitment_divan.rs new file mode 100644 index 000000000..2fba11b29 --- /dev/null +++ b/runtime/benches/header_kate_commitment_divan.rs @@ -0,0 +1,25 @@ +include!("header_kate_commitment.rs"); +use divan; + +fn main() { + divan::main(); +} + +mod commitment_builder { + use super::*; + + fn setup(cols: BlockLengthColumns) -> (Vec, BlockLength) { + let txs = make_txs(cols); + let block_length = block_length(cols); + (txs, block_length) + } + + #[divan::bench(max_time = 60.0, consts = [ 32, 64, 128, 256 ])] + fn columns_count(bencher: divan::Bencher) { + bencher + .with_inputs(|| setup(BlockLengthColumns(N))) + .bench_values(|input| { + commitment_builder_with(input.0, input.1); + }) + } +} diff --git a/runtime/benches/header_kate_commitment_iai_callgrind.rs b/runtime/benches/header_kate_commitment_iai_callgrind.rs new file mode 100644 index 000000000..1b9b17052 --- /dev/null +++ b/runtime/benches/header_kate_commitment_iai_callgrind.rs @@ -0,0 +1,25 @@ +include!("header_kate_commitment.rs"); +use iai_callgrind::{black_box, library_benchmark, library_benchmark_group, main}; + +fn setup(cols: u32) -> (Vec, BlockLength) { + let txs = make_txs(BlockLengthColumns(cols)); + let block_length = block_length(BlockLengthColumns(cols)); + + (txs, block_length) +} + +#[library_benchmark] +#[bench::columns_32(setup(32))] +#[bench::columns_64(setup(64))] +#[bench::columns_128(setup(128))] +#[bench::columns_256(setup(256))] +fn commitment_builder(input: (Vec, BlockLength)) { + black_box(commitment_builder_with(input.0, input.1)); +} + +library_benchmark_group!( + name = commitment_builder_group; + benchmarks = commitment_builder +); + +main!(library_benchmark_groups = commitment_builder_group,); From fe9720a315c12e0251b74cbb3f9c7e793334c7ea Mon Sep 17 00:00:00 2001 From: Marko Petrlic Date: Sat, 4 Nov 2023 15:26:07 +0100 Subject: [PATCH 53/55] Removed code coverage report --- .github/workflows/default.yml | 12 ------------ .github/workflows/releaser.yml | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index d11a6065a..c29aabca7 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -226,18 +226,6 @@ jobs: - name: Display SCCache Stats run: sccache --show-stats - - - name: Generate test code coverage report - run: | - df -h - cargo +stable install --force grcov - grcov . -s . --binary-path ./target/release/ -t lcov --branch --ignore-not-existing -o lcov.info - - - name: Upload test code coverage report to codecov.io - uses: codecov/codecov-action@v2 - with: - files: lcov.info - - name: Cleanup run: find . -name \*.profraw -type f -exec rm -f {} + diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index bee90d740..ad3abf613 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -5,6 +5,7 @@ on: - '**' tags: - '*' + workflow_dispatch: jobs: binary_linux_amd64: From 7657a2ff2b50742894b89d1c0b6e25e7c168885e Mon Sep 17 00:00:00 2001 From: Marko Petrlic Date: Sat, 4 Nov 2023 15:31:12 +0100 Subject: [PATCH 54/55] Commit just to trigger CI --- .github/workflows/default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index c29aabca7..0a0810026 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -1,4 +1,4 @@ -name: Lint and Unit Tests +name: Lint, Features and Unit Tests on: push: branches: From a10cfffc6c5827779ff8ad199ef9078ee500feb0 Mon Sep 17 00:00:00 2001 From: Marko Petrlic Date: Sat, 4 Nov 2023 17:05:07 +0100 Subject: [PATCH 55/55] Moved unit tests out of default workflow --- .github/workflows/default.yml | 76 +-------- .github/workflows/e2e.yml | 4 +- .github/workflows/unit_tests.yml | 157 ++++++++++++++++++ .../benches/header_kate_commitment_divan.rs | 2 +- 4 files changed, 161 insertions(+), 78 deletions(-) create mode 100644 .github/workflows/unit_tests.yml diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 0a0810026..9283ebb91 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -1,4 +1,4 @@ -name: Lint, Features and Unit Tests +name: Lint and Features check on: push: branches: @@ -155,77 +155,3 @@ jobs: env: SKIP_WASM_BUILD: true run: cargo check --release --workspace --features "runtime-benchmarks try-runtime" -p data-avail - - - unit_tests: - runs-on: ubuntu-latest - needs: [build] - steps: - - uses: actions/checkout@v2 - - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - tool-cache: true - - - name: Install build-essential - run: | - sudo apt update - sudo apt install -y build-essential - sudo apt install -y git clang curl libssl-dev protobuf-compiler - - # Restore cache from `build` - - uses: actions/cache/restore@v3 - with: - path: | - ~/.cache/ - ~/.cargo/bin/sccache* - key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 - - - name: Install system dependencies - run: | - sudo apt-get update - sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip - - - name: Setup Rust toolchain - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source "$HOME/.cargo/env" - rustup show - - - name: Set PATH for cargo - run: | - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV - - - name: SCCache - run: | - # We altered the path to avoid old actions to overwrite it - if [ ! -f ~/.cargo/bin/sccache ]; then - cargo install sccache \ - --git https://github.com/purestake/sccache.git \ - --rev $CARGO_SCCACHE_COMMIT \ - --force --no-default-features --features=dist-client - fi - - if [[ -z `pgrep sccache` ]]; then - chmod +x ~/.cargo/bin/sccache - sccache --start-server - fi - sccache -s - echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV - - - name: Run tests - run: | - env - cargo test --release --workspace - cargo test --release --manifest-path avail-subxt/Cargo.toml - env: - RUSTFLAGS: "-C instrument-coverage" - LLVM_PROFILE_FILE: "profile-%p-%m.profraw" - - - name: Display SCCache Stats - run: sccache --show-stats - - - name: Cleanup - run: find . -name \*.profraw -type f -exec rm -f {} + diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 7bf23b715..4af6deef6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -103,7 +103,7 @@ jobs: with: name: data-avail - - name: Run E2E SubXt tests + - name: Run Kate RPC E2E tests run: | chmod uog+x data-avail ./data-avail --dev & @@ -153,7 +153,7 @@ jobs: with: name: data-avail - - name: Run E2E SubXt tests + - name: Run SubXt E2E tests run: | chmod uog+x data-avail ./data-avail --dev & diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml new file mode 100644 index 000000000..ec6916df7 --- /dev/null +++ b/.github/workflows/unit_tests.yml @@ -0,0 +1,157 @@ +name: Unit Tests +on: + push: + branches: + - main + - develop + pull_request: + branches: + - main + - develop + workflow_dispatch: + +env: + CARGO_SCCACHE_COMMIT: bed5571c + +jobs: + avail_unit_tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + + - name: Install build-essential + run: | + sudo apt update + sudo apt install -y build-essential + sudo apt install -y git clang curl libssl-dev protobuf-compiler + + # Restore cache from `build` + - uses: actions/cache/restore@v3 + with: + path: | + ~/.cache/ + ~/.cargo/bin/sccache* + key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup show + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV + + - name: Run tests + run: | + env + cargo test --release --workspace + env: + RUSTFLAGS: "-C instrument-coverage" + LLVM_PROFILE_FILE: "profile-%p-%m.profraw" + + - name: Display SCCache Stats + run: sccache --show-stats + + - name: Cleanup + run: find . -name \*.profraw -type f -exec rm -f {} + + + subxt_unit_tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + + - name: Install build-essential + run: | + sudo apt update + sudo apt install -y build-essential + sudo apt install -y git clang curl libssl-dev protobuf-compiler + + # Restore cache from `build` + - uses: actions/cache/restore@v3 + with: + path: | + ~/.cache/ + ~/.cargo/bin/sccache* + key: ${{ runner.OS }}-sccache-bin-${{ env.CARGO_SCCACHE_COMMIT }}-v1 + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config libssl-dev valgrind git clang curl libssl-dev protobuf-compiler unzip python3-pip + + - name: Setup Rust toolchain + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source "$HOME/.cargo/env" + rustup show + + - name: Set PATH for cargo + run: | + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + echo "SCCACHE_DIR=${HOME}/.cache/sccache" >> $GITHUB_ENV + + - name: SCCache + run: | + # We altered the path to avoid old actions to overwrite it + if [ ! -f ~/.cargo/bin/sccache ]; then + cargo install sccache \ + --git https://github.com/purestake/sccache.git \ + --rev $CARGO_SCCACHE_COMMIT \ + --force --no-default-features --features=dist-client + fi + + if [[ -z `pgrep sccache` ]]; then + chmod +x ~/.cargo/bin/sccache + sccache --start-server + fi + sccache -s + echo "RUSTC_WRAPPER=${HOME}/.cargo/bin/sccache" >> $GITHUB_ENV + + - name: Run tests + run: | + env + cargo test --release --manifest-path avail-subxt/Cargo.toml + env: + RUSTFLAGS: "-C instrument-coverage" + LLVM_PROFILE_FILE: "profile-%p-%m.profraw" + + - name: Display SCCache Stats + run: sccache --show-stats + + - name: Cleanup + run: find . -name \*.profraw -type f -exec rm -f {} + diff --git a/runtime/benches/header_kate_commitment_divan.rs b/runtime/benches/header_kate_commitment_divan.rs index 2fba11b29..494e3e215 100644 --- a/runtime/benches/header_kate_commitment_divan.rs +++ b/runtime/benches/header_kate_commitment_divan.rs @@ -14,7 +14,7 @@ mod commitment_builder { (txs, block_length) } - #[divan::bench(max_time = 60.0, consts = [ 32, 64, 128, 256 ])] + #[divan::bench(max_time = 120.0, consts = [ 32, 64, 128, 256 ])] fn columns_count(bencher: divan::Bencher) { bencher .with_inputs(|| setup(BlockLengthColumns(N)))