maksimryndin and s0me0ne-unkn0wn
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
7ec0b8741b
Collator overseer builder unification ( #3335 )
...
resolve https://github.com/paritytech/polkadot-sdk/issues/3116
a follow-up on
https://github.com/paritytech/polkadot-sdk/pull/3061#pullrequestreview-1847530265 :
- [x] reuse collator overseer builder for polkadot-node and collator
- [x] run zombienet test (0001-parachains-smoke-test.toml)
- [x] make wasm build errors more user-friendly for an easier problem
detection when using different toolchains in Rust
---------
Co-authored-by: ordian <write@reusable.software >
Co-authored-by: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com >
2024-02-28 04:05:54 +00:00
maksimryndin and s0me0ne-unkn0wn
4883e14482
refactor pvf security module ( #3047 )
...
resolve https://github.com/paritytech/polkadot-sdk/issues/2321
- [x] refactor `security` module into a conditionally compiled
- [x] rename `amd64` into x86-64 for consistency with conditional
compilation guards and remove reference to a particular vendor
- [x] run unit tests and zombienet
---------
Co-authored-by: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com >
2024-02-11 09:59:10 +00:00
maksimryndin and s0me0ne-unkn0wn
47a3faa41e
Pvf thiserror ( #2958 )
...
resolve #2157
- [x] fix broken doc links
- [x] fix codec macro typo
https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/node/core/pvf/common/src/error.rs#L81
(see the comment below)
- [x] refactor `ValidationError`, `PrepareError` and related error types
to use `thiserror` crate
## `codec` issue
`codec` macro was mistakenly applied two times to `Kernel` error (so it
was encoded with 10 instead of 11 and the same as `JobDied`). The PR
changes it to 11 because
- it was an initial goal of the code author
- Kernel is less frequent than JobDied so in case of existing error
encoding it is more probable to have 10 as JobDied than Kernel
See https://github.com/paritytech/parity-scale-codec/issues/555
----
polkadot address: 13zCyRG2a1W2ih5SioL8byqmQ6mc8vkgFwQgVzJSdRUUmp46
---------
Co-authored-by: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com >
2024-01-19 14:10:09 +00:00
maksimryndin and Bastian Köcher
127b9bec15
wasm-builder: bump toml from 0.8.2 to 0.8.8; replace ansi_term ( #2914 )
...
Hi folks!
Thank for the well organized codebase and an outstanding engineering!
I am trying to compile a substrate node template from source
(https://github.com/paritytech/polkadot-sdk ) and encountered a
dependency conflict

and a deprecation warning from advisory db for `ansi_term` (I see you
replace it with some alternatives in other crates).
While for `ansi_term` there is an adopted fork
(https://github.com/rustadopt/ansiterm-rs ) and it was my first commit in
the PR, I've decided to use https://github.com/console-rs/console as you
already use it to reduce dependencies (as I believe other substrate
crates will remove ansi_term eventually)
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
2024-01-13 08:53:09 +00:00