polkadot-sdk
polkadot-sdk copied to clipboard
Elastic scaling: introduce new candidate receipt primitive
closes https://github.com/paritytech/polkadot-sdk/issues/5044
This PR switches the runtime to the new receipts format (vstaging primitives). I've implemented From to convert from new primitives to v7 primitives and used them in the node runtime api client implementation. It is required for the node to continue to use the v7 primitives while the runtime apis already use the new primitives.
An expected downside of the current approach, decoding V2 receipts shows garbage values if the input is V1:
TODO:
- [ ] fix tests
- [ ] A few more tests for the new primitives
- [ ] PRDoc
The CI pipeline was cancelled due to failure one of the required jobs. Job name: test-linux-stable 1/3 Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7198062
The CI pipeline was cancelled due to failure one of the required jobs. Job name: test-linux-stable 2/3 Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7198063