qdrvm / kagome

Kagome - C++20 implementation of Polkadot Host
https://kagome.readthedocs.io
Apache License 2.0
159 stars 34 forks source link

Consider PVF executor params #1691

Closed Harrm closed 1 month ago

Harrm commented 1 year ago

https://spec.polkadot.network/chap-runtime-api#sect-rt-api-executor_params

We can fetch timeouts for pvf runtime calls execution and should probably honor them.

kamilsa commented 2 months ago

Note from @turuslan : We implemented MaxMemoryPages, StackLogicalMax (wasm instrumentation, stack limiter)

but StackNativeMax, PrecheckingMaxMemory and PvfPrepTimeout, PvfExecTimeout were not implemented