Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • polkadot polkadot
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • parityparity
  • Mirrored projectsMirrored projects
  • polkadotpolkadot
  • Repository
Switch branch/tag
  • polkadot
  • runtime
  • common
  • src
  • lib.rs
Find file BlameHistoryPermalink
  • Shawn Tabrizi's avatar
    Create Macro for Implementing `SlotRange` (#2788) · 7370b706
    Shawn Tabrizi authored Apr 04, 2021
    
    
    * Macro for generating `SlotRange`
    
    * remove test code
    
    * refactor slots into crate
    
    * add no_std flag
    
    * finish macro
    
    * make compile
    
    * fix copyright date
    
    * don't assume lease periods per slot
    
    * Update runtime/common/Cargo.toml
    
    * Apply suggestions from code review
    
    Co-authored-by: thiolliere's avatarGuillaume Thiolliere <gui.thiolliere@gmail.com>
    
    * fixes
    
    * Update lib.rs
    
    * tests
    
    * Move consts into struct
    
    * docs
    
    * fix compile
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    
    * Update Cargo.lock
    
    * Update runtime/common/src/slot_range.rs
    
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    
    * fixes
    
    Co-authored-by: thiolliere's avatarGuillaume Thiolliere <gui.thiolliere@gmail.com>
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    7370b706