mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-20 18:56:17 +00:00
Set the default PolkaVM stack and heap size values to 128KB. (#441)
Fixes https://github.com/paritytech/contract-issues/issues/149 A few test cases from v2-periphery-polkadot are hitting the PVM stack limit when the contracts are compiled using resolc version 0.5.0. The same tests pass if the contracts are compiled with a resolc version that includes commit: https://github.com/paritytech/revive/commit/878ca91689b99220f7ffd40df760613b7314de86. After a brief discussion with @xermicus, we propose to set the default PolkaVM stack and heap size values to 128KB, since we have already encountered tests that hit the stack size limit and, without real world data, it is difficult to determine the optimal values.
This commit is contained in:
1 parent
ab1929d184
commit
4c85a3113d
28 files changed
+34
-31
No files matched your search
@@ -18,6 +18,7 @@ Supported `polkadot-sdk` rev: `unstable2507`
|
||||
- The `INVALID` opcode and OOB memory accesses now consume all remaining gas.
|
||||
- Emit the `call_evm` and `delegate_call_evm` syscalls for contract calls.
|
||||
- The `revive-runner` can execute arbitrarily large contract blobs.
|
||||
- Set the default PolkaVM stack and heap size values to 128KB.
|
||||
|
||||
### Fixed:
|
||||
- The missing `STOP` instruction at the end of `code` blocks.
|
||||
|
||||
Reference in new issue
Block a user