From 663b856f44f1f6951b328afb0d7db63a08769fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Papierski?= Date: Tue, 17 Dec 2024 18:20:01 +0100 Subject: [PATCH] Update wasm tx sizes. --- resources/local/chainspec.toml.in | 10 +++++----- resources/production/chainspec.toml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/resources/local/chainspec.toml.in b/resources/local/chainspec.toml.in index a889b91b42..505c45c9c6 100644 --- a/resources/local/chainspec.toml.in +++ b/resources/local/chainspec.toml.in @@ -204,12 +204,12 @@ vm_casper_v2 = false # [3] -> Transaction gas limit size in bytes for a given transaction in a certain lane # [4] -> The maximum number of transactions the lane can contain native_mint_lane = [0, 2048, 1024, 2_500_000_000, 650] -native_auction_lane = [1, 3096, 2048, 2_500_000_000, 145] -install_upgrade_lane = [2, 1_048_576, 2048, 100_000_000_000, 1] +native_auction_lane = [1, 3096, 2048, 2_500_000_000, 650] +install_upgrade_lane = [2, 750_000, 2048, 100_000_000_000, 1] wasm_lanes = [ - [3, 344_064, 1024, 100_000_000_000, 1], - [4, 172_032, 1024, 50_000_000_000, 2], - [5, 12_288, 512, 2_500_000_000, 80]] + [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]] [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 78cad1b782..aaaeb5403d 100644 --- a/resources/production/chainspec.toml +++ b/resources/production/chainspec.toml @@ -213,11 +213,11 @@ vm_casper_v2 = false # [4] -> The maximum number of transactions the lane can contain native_mint_lane = [0, 2048, 1024, 2_500_000_000, 650] native_auction_lane = [1, 3096, 2048, 2_500_000_000, 650] -install_upgrade_lane = [2, 1_048_576, 2048, 100_000_000_000, 1] +install_upgrade_lane = [2, 750_000, 2048, 100_000_000_000, 1] wasm_lanes = [ - [3, 344_064, 1024, 100_000_000_000, 1], - [4, 172_032, 1024, 50_000_000_000, 2], - [5, 12_288, 512, 2_500_000_000, 80]] + [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]] [transactions.deploy] # The maximum number of Motes allowed to be spent during payment. 0 means unlimited.