Skip to content
  • gupnik's avatar
    Adds instance support for composite enums (#1857) · 6b27dad3
    gupnik authored
    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
    6b27dad3