polkadot-sdk icon indicating copy to clipboard operation
polkadot-sdk copied to clipboard

Elastic scaling: introduce new candidate receipt primitive

Open sandreim opened this issue 1 year ago • 1 comments

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: ima_9ce77de

TODO:

  • [ ] fix tests
  • [ ] A few more tests for the new primitives
  • [ ] PRDoc

sandreim avatar Aug 12 '24 12:08 sandreim

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

paritytech-cicd-pr avatar Aug 30 '24 13:08 paritytech-cicd-pr

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

paritytech-cicd-pr avatar Aug 30 '24 13:08 paritytech-cicd-pr