• Keith Yeung's avatar
    Make hooks and call attributes optional in pallet macro (#8853) · e5954cf8
    Keith Yeung authored
    * Make #[pallet::hooks] optional
    
    * Make #[pallet::call] optional
    
    * Remove unused imports
    
    * Update UI test expectations
    
    * Update UI test expectations
    
    * Remove unnecessary HooksDef::empty method
    
    * Remove unnecessary CallDef::empty method
    
    * Clarify what would happen when no call or hooks are specified in a pallet
    e5954cf8