Skip to content
  • Bastian Köcher's avatar
    Make constants exposable in metadata (#2975) · 7202403b
    Bastian Köcher authored
    
    
    * Some cleanup
    
    * Add module constant metadata declaration
    
    * Begin to integrate the constants in `decl_module`
    
    * Fixes tests
    
    * Fix compilation and add tests
    
    * Remove duplicate code
    
    * Expose constants in democracy and staking + further fixes
    
    * Update srml/metadata/src/lib.rs
    
    Co-Authored-By: default avatarYJ <[email protected]>
    
    * Hide `RawEvent` metadata function
    
    * Prevent whitespaces in types
    
    * Fix `offchain_worker` and `constants` with instances
    
    * Up the `impl_version`
    
    * Fix macro
    
    * Incrase impl_version
    7202403b