paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

[contracts] Derive useful traits for public types #14723

Closed pmikolajczyk41 closed 1 year ago

pmikolajczyk41 commented 1 year ago

Description

We add a few derivations to the public types from pallet-contracts and pallet-contracts-primitives crates. While they are not used directly in the runtime (and thus the implementation code will be pruned by a compiler), they would be very useful for contracts-related tooling. Also, this brings a bit more consistency to these libraries' public API (e.g. schedule module has already all its public types enriched with many similar trait derivations).

Checklist

ascjones commented 1 year ago

bot merge