paritytech / json-rpc-interface-spec

30 stars 3 forks source link

Retrieve entire chain spec #157

Closed kianenigma closed 4 months ago

kianenigma commented 5 months ago

I see a number of methods that return specific parts of the chain-spec such as properties.

Would it be possible to also serve the entire chain-spec over RPC? This would be useful in https://forum.polkadot.network/t/polkadot-parachain-omni-node-gathering-ideas-and-feedback/7823.

Similar to the discussion in https://github.com/paritytech/polkadot-sdk/issues/60, the format of the chain-spec in polkadot-sdk is pretty questionable to me, but I don't have strong opinions yet about what else it should be. It might be a good idea to revise the format before exposing it over a standardized RPC

tomaka commented 5 months ago

This is a duplicate of https://github.com/paritytech/json-rpc-interface-spec/issues/68