From dfa5199d561776a68224e49f4ebe2214bee5a373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Papierski?= Date: Thu, 9 Jan 2025 16:51:43 +0100 Subject: [PATCH 1/2] Update wasm lane 5. This should fit a single wasm transfer with some overhead (~2.6CSPR) and also the size is increased to 2^16. Based on mainnet data this should fit more than half of the wasm sessions used. --- resources/local/chainspec.toml.in | 3 ++- resources/production/chainspec.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/local/chainspec.toml.in b/resources/local/chainspec.toml.in index af08010720..2be7d55067 100644 --- a/resources/local/chainspec.toml.in +++ b/resources/local/chainspec.toml.in @@ -211,7 +211,8 @@ install_upgrade_lane = [2, 750_000, 2048, 100_000_000_000, 1] wasm_lanes = [ [3, 262_144, 1024, 100_000_000_000, 1], [4, 131_072, 1024, 50_000_000_000, 2], - [5, 16_384, 512, 2_500_000_000, 80]] + [5, 65_536, 512, 3_000_000_000, 80] +] [transactions.deploy] # The maximum number of Motes allowed to be spent during payment. 0 means unlimited. diff --git a/resources/production/chainspec.toml b/resources/production/chainspec.toml index 849cb5f14d..a65b2bae0c 100644 --- a/resources/production/chainspec.toml +++ b/resources/production/chainspec.toml @@ -218,7 +218,8 @@ install_upgrade_lane = [2, 750_000, 2048, 100_000_000_000, 1] wasm_lanes = [ [3, 262_144, 1024, 100_000_000_000, 1], [4, 131_072, 1024, 50_000_000_000, 2], - [5, 16_384, 512, 2_500_000_000, 80]] + [5, 65_536, 512, 3_000_000_000, 80] +] [transactions.deploy] # The maximum number of Motes allowed to be spent during payment. 0 means unlimited. From e26bfbdb20f4163cd4605974414a72d920cb061c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Papierski?= Date: Thu, 9 Jan 2025 17:37:36 +0100 Subject: [PATCH 2/2] Install cargo audit before audit step --- .github/workflows/lints.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index cf858fc07f..2b7df8e963 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -80,4 +80,6 @@ jobs: run: make doc - name: audit - run: make audit + run: | + cargo install cargo-audit --locked + make audit