De-dup types early in CLI/macro so that derives/substitutes work for de-duped types (#2015)

* De-dup types early to enable derives for them

* ensure_unique_type_paths in CLI codegen, too

* Update UI test outpuot

---------

Co-authored-by: José Duarte <duarte.gmj@gmail.com>
This commit is contained in:
James Wilson
2025-06-03 12:03:55 +01:00
committed by GitHub
parent a4331dfa08
commit f831e8f87c
5 changed files with 26 additions and 5 deletions
@@ -11,9 +11,7 @@ error: Type `Event` does not exist at path `sp_runtime::multiaddress::Event`
pallet_grandpa::pallet::Event
pallet_treasury::pallet::Event
pallet_conviction_voting::pallet::Event
pallet_referenda::pallet::Event
pallet_ranked_collective::pallet::Event
pallet_referenda::pallet::Event
pallet_whitelist::pallet::Event
polkadot_runtime_common::claims::pallet::Event
pallet_utility::pallet::Event