-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1691 consider pvf executor params #2218
Conversation
@@ -3,6 +3,7 @@ timeout = 1000 | |||
|
|||
[relaychain] | |||
chain = "rococo-local" | |||
chain_spec_path = "./rococo-local-raw.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove chain_spec_path
and use [relaychain.genesis.runtimeGenesis.patch]
.
Or create new zombienet test with chain_spec_path
json without --raw
flag.
Why use zombie test for this feature?
May use unit test for sessionParams
instead, or no test at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep this test with rococo-local
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to add processing of different timeouts for approvals and backing executions. Either in this PR or in the separate one
@@ -3,6 +3,7 @@ timeout = 1000 | |||
|
|||
[relaychain] | |||
chain = "rococo-local" | |||
chain_spec_path = "./rococo-local-raw.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep this test with rococo-local
@@ -119,7 +119,6 @@ namespace kagome::parachain { | |||
scheduler_{std::move(scheduler)}, | |||
exe_{exePath()}, | |||
max_{app_config.pvfMaxWorkers()}, | |||
timeout_{app_config.pvfSubprocessDeadline()}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are not using pvf subprocess deadline anymore it should be removed from CLI as well (app_configuration_impl)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
ed63178
to
457b22f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably don't need to add a new chain spec if it is not used anywhere
Referenced issues
Closes #1691
Description of the Change
PVF execution timeout is taken from the parameters of runtime, not the config
Possible Drawbacks
Checklist Before Opening a PR
Before you open a Pull Request (PR), please make sure you've completed the following steps and confirm by answering 'Yes' to each item: