Skip to content

Commit

Permalink
Update wasm lane 5.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mpapierski committed Jan 9, 2025
1 parent fba310d commit dfa5199
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/local/chainspec.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion resources/production/chainspec.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dfa5199

Please sign in to comment.