-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Executor environment parameters should be configurable on the fly #6805
Comments
Can you give an exemple of some of the parameters that are needed ? I'm curious/concerned if those are mandatory for the correct execution or only optimizations. |
@crystalin TL;DR: those are parameters of the PVF execution environment that set the semantics of Wasmtime compilation and runtime environment, current list is here: #6873 (comment) (right now we're discussing more in #6918). They are not mandatory to be provided by governance, as we have safe defaults hardcoded, and we only want governance to be able to alter them if needed. Longer answer may be found in paritytech/polkadot-sdk#917, #6161, #6793, paritytech/polkadot-sdk#694 |
Thank you for the summary. |
As for hardcoded safe defaults, they represent the same semantics that was in place before executor parameters were introduced, so no risks here, everything is working exactly as it worked before. Changing them through governance MAY break things. But that's the governance. It may brick the whole network if it wants. Basically, that may be achieved by lowering some limits to undesirable values. We're not going to lower anything ever, the parameters were introduced for us to be able to grow them if needed and to introduce new features (but not to get rid of old ones) so while the network is acting in its interest we are safe. But if the network wants to commit suicide, not much we can do with that |
Currently, executor environment parameters may only be changed with the runtime upgrade. We need the ability to configure them through governance.
The text was updated successfully, but these errors were encountered: