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] 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.