Files
pezkuwi-subxt/prdoc/pr_3187.prdoc
T
maksimryndin 426136671a PVF: re-preparing artifact on failed runtime construction (#3187)
resolve https://github.com/paritytech/polkadot-sdk/issues/3139

- [x] use a distinguishable error for `execute_artifact`
- [x] remove artifact in case of a `RuntimeConstruction` error during
the execution
- [x] augment the `validate_candidate_with_retry` of `ValidationBackend`
with the case of retriable `RuntimeConstruction` error during the
execution
- [x] update the book
(https://paritytech.github.io/polkadot-sdk/book/node/utility/pvf-host-and-workers.html#retrying-execution-requests)
- [x] add a test
- [x] run zombienet tests

---------

Co-authored-by: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com>
2024-02-28 16:29:27 +00:00

17 lines
637 B
Plaintext

# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Retrying an execution on failed runtime construction
doc:
- audience: Node Dev
description: |
If a runtime construction error happened during the execution request, then the artifact is re-prepared
and the execution request is retried at most once. See also the related issue.
crates:
- name: polkadot-node-core-candidate-validation
- name: polkadot-node-core-pvf
- name: polkadot-node-core-pvf-execute-worker
- name: polkadot-node-core-pvf-common