polkadot-fellows / runtimes

The various runtimes which make up the core subsystems of networks for which the Fellowship is represented.
GNU General Public License v3.0
133 stars 85 forks source link

[CI] Publish unoptimized runtime blobs for debugging #377

Closed kianenigma closed 3 weeks ago

kianenigma commented 1 month ago

This is a request to publish each runtime with two properties:

https://github.com/polkadot-fellows/runtimes/blob/40f849df87a8a1b79aba4cfb7ce762d868243dca/.github/workflows/release.yml#L59

The former does nothing particular, but it adds a few extra runtime apis that can be used to test the runtime with a tool in the try-runtime family.

The latter will impact the wasm blob and enable all the runtime logging. This will slightly reduce performance.

These wasm blobs will then allow 3rd party teams, including Parity to run better monitoring nodes.

If done by someone familiar with the fellowship CI/release, I'd be happy to complement this work by providing a detailed guide on how to use these blobs to do better monitoring with these notes.

@liamaharon you might know any prior attempt at this, if any?

xlc commented 1 month ago

This will be very useful to debug chains with Chopsticks. I had multiple occurrences that I need to make such debug build to figure out why some XCM fails on relaychain/system parachain.

bkchr commented 3 weeks ago

Duplicate of: https://github.com/polkadot-fellows/runtimes/issues/268