contracts: Remove no longer enforced limits from the Schedule (#3184)

When switching from the instrumented gas metering to the wasmi gas
metering we also removed all imposed limits regarding Wasm module
internals. All those things do not interact with the host and have to be
handled by wasmi. For example, Wasmi charges additional gas for
parameters to each function because as they incur some overhead.

Back then we took the opportunity to remove the dependency on the
deprecated `parity-wasm` which was used to enforce those limits.

This PR merely removes them from the `Schedule` they aren't enforced for
a while.
This commit is contained in:
Alexander Theißen
2024-02-08 15:39:55 +01:00
committed by GitHub
parent 7fa05518b0
commit d54412ce8b
3 changed files with 10 additions and 44 deletions
+10
View File
@@ -0,0 +1,10 @@
title: "Contracts: Remove no longer enforced limits from the Schedule"
doc:
- audience: Runtime Dev
description: |
The limits are no longer in use and do nothing. Every builder overwritting them
can just adapt their code to remove them without any consequence.
crates:
- name: pallet-contracts