Skip to content

Conversation

@athei
Copy link
Member

@athei athei commented Feb 2, 2024

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.

@athei athei added the T2-pallets This PR/Issue is related to a particular pallet. label Feb 2, 2024
@athei athei enabled auto-merge February 3, 2024 11:36
@athei athei disabled auto-merge February 7, 2024 16:04
@athei athei added T7-smart_contracts This PR/Issue is related to smart contracts. and removed T2-pallets This PR/Issue is related to a particular pallet. labels Feb 8, 2024
@athei athei added this pull request to the merge queue Feb 8, 2024
Merged via the queue into master with commit d54412c Feb 8, 2024
@athei athei deleted the at/remove-unused branch February 8, 2024 15:57
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
…tytech#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T7-smart_contracts This PR/Issue is related to smart contracts.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants