paritytech / subxt

Interact with Substrate based nodes in Rust or WebAssembly
Other
391 stars 236 forks source link

config: Add Debug Clone for common configs #1542

Closed lexnv closed 2 months ago

lexnv commented 2 months ago

This tiny PR implements Debug, Clone for SubstrateConfig and PolkadotConfig.

This might be useful for developers that have wrappers over these types, or that store these types in other structs.

cc @AndreiEres let me know if this solves the issue with debugging types from polkadot-interceptor 🙏