This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Do not require to hash validation code prior to collation #4524
Labels
I10-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
Comments
pepyakin
added
the
I10-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
label
Dec 14, 2021
pepyakin
added a commit
that referenced
this issue
Dec 28, 2021
This is the first step to close #4524
pepyakin
added a commit
that referenced
this issue
Dec 28, 2021
This was referenced Dec 28, 2021
drahnr
pushed a commit
that referenced
this issue
Jan 4, 2022
Wizdave97
pushed a commit
to ComposableFi/polkadot
that referenced
this issue
Feb 3, 2022
This is the first step to close paritytech#4524
Wizdave97
pushed a commit
to ComposableFi/polkadot
that referenced
this issue
Feb 3, 2022
* runtime-api: add validation_code_hash API This is the first step to close paritytech#4524 * collation-gen: don't hash validation code Closes paritytech#4524
ggwpez
pushed a commit
to ggwpez/runtimes
that referenced
this issue
Mar 10, 2023
This is the first step to close paritytech/polkadot#4524
ggwpez
pushed a commit
to ggwpez/runtimes
that referenced
this issue
Jul 13, 2023
This is the first step to close paritytech/polkadot#4524
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
I10-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
When creating a new collation, the collator has to provide the
validation_code_hash
via the candidate descriptor. Currently, for that the collation-generation subsystem would queryvalidation_code
via Runtime API and then hash it.Instead, we could add a new runtime API in
ParachainHost
which would just return the current hash for the given para id. To be future proof, it should also take theassumption
parameter (see for examplevalidation_code
).Prior effort: #2907
The text was updated successfully, but these errors were encountered: