Skip to content
Unverified Commit 6b27dad3 authored by gupnik's avatar gupnik Committed by GitHub
Browse files

Adds instance support for composite enums (#1857)

Fixes https://github.com/paritytech/polkadot-sdk/issues/1839

Currently, `composite_enum`s do not support pallet instances. This PR
allows the following:
```rust
	#[pallet::composite_enum]
	pub enum HoldReason<I: 'static = ()> {
		SomeHoldReason
	}
```

### Todo

- [x]  UI Test
parent d2fc1d7c
Pipeline #400302 passed with stages
in 45 minutes and 18 seconds