Skip to content
  1. Nov 28, 2020
  2. Nov 27, 2020
  3. Nov 26, 2020
    • Bastian Köcher's avatar
      Inform sync explicitly about new best block (#7604) · d698d013
      Bastian Köcher authored
      * Inform sync explicitly about new best block
      
      Instead of "fishing" the new best block out of the processed blocks, we
      now tell sync directly that there is a new best block. It also makes
      sure that we update the corresponding sync handshake to the new best
      block. This is required for parachains as they first import blocks and
      declare the new best block after being made aware of it by the relay chain.
      
      * Adds test
      
      * Make sure async stuff had time to run
      d698d013
  4. Nov 25, 2020
  5. Nov 24, 2020
  6. Nov 23, 2020
  7. Nov 22, 2020
  8. Nov 19, 2020
    • Shawn Tabrizi's avatar
      More Extensible Multiaddress Format (#7380) · 4637100a
      Shawn Tabrizi authored
      * More extensible multiaddress format
      
      * update name
      
      * Don't depend on indices to define multiaddress type
      
      * Use MultiAddress in Node Template too!
      
      * reduce traits, fix build
      
      * support multiple `StaticLookup`
      
      * bump tx version
      
      * feedback
      4637100a
  9. Nov 16, 2020
  10. Nov 14, 2020
  11. Nov 05, 2020
  12. Nov 03, 2020
  13. Oct 30, 2020
  14. Oct 29, 2020
    • Bastian Köcher's avatar
      Make sure pallet versions are set at genesis (#7451) · e1b56f8d
      Bastian Köcher authored
      
      
      * Make sure pallet versions are set at genesis
      
      This pr ensures that pallet versions are also set at genesis. It does
      this by hooking into the runtime `GenesisConfig` which means that it
      will only work when the storage is setup using this genesis config. So,
      the version will not be set in pallet local tests. However, I think this
      isn't such a problem. The genesis config will call `on_genesis` on all
      pallets. This function comes from the new trait `OnGenesis`. Currently
      the user is not able to provide any custom implementation of this trait.
      
      Besides that it also implements `Clone` and `Copy` for the pallet
      version struct.
      
      This pr also moves the macro for generating the runtime genesis config
      to `frame-support` as most of the other FRAME related macros.
      
      * Reduce line width
      
      * Update frame/support/src/traits.rs
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      e1b56f8d
  15. Oct 28, 2020
  16. Oct 27, 2020
    • Bastian Köcher's avatar
      Make consensus `SlotWorker` don't assume a slot is time / duration (#7441) · 05af334b
      Bastian Köcher authored
      
      
      * Make consensus `SlotWorker` don't assume a slot is time / duration
      
      This removes the last bit of assumption that a slot is always `time /
      duration`. This will be required by parachains where a slot will be the
      relay chain block number. Besides this there are also some other drive
      by changes. One more notable is that `on_slot` now returns a
      `SlotResult` that holds the block and a potential storage proof.
      
      To simplify the implementation and usage of the `SimpleSlotWorker` the
      `SlotWorker` trait is now implemented for each type that implements
      `SimpleSlotWorker`.
      
      * Update client/consensus/slots/src/lib.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      * Update client/consensus/slots/src/lib.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      05af334b
  17. Oct 26, 2020
  18. Oct 23, 2020
  19. Oct 22, 2020
    • Bastian Köcher's avatar
      Improve `mock_impl_runtime_apis!` (#7370) · 79be0777
      Bastian Köcher authored
      * Improve `mock_impl_runtime_apis!`
      
      This adds a new attribute for functions being implemented in the
      `mock_impl_runtime_apis!` macro, the `advanced` attribute. When this
      attribute is given the user gets access to the `at` parameter and is
      able to return a `Result`, instead of letting the macro generate this
      stuff.
      
      * Use the `at_param_name` directly
      
      * Prevent clashing of `params`
      79be0777
  20. Oct 21, 2020
  21. Oct 20, 2020
  22. Oct 17, 2020
  23. Oct 16, 2020
  24. Oct 15, 2020
    • André Silva's avatar
      frame: remove finality-tracker (#7228) · f3ea1624
      André Silva authored
      * frame: remove finality-tracker
      
      * node: remove unused parameter types
      
      * node: bump spec_version
      f3ea1624
    • Jon Häggblad's avatar
      babe: make secondary slot randomness available on-chain (#7053) · a297e447
      Jon Häggblad authored
      
      
      * babe: make secondary slot randomness available on-chain
      
      * babe: extract out vrf_output function
      
      * babe: add missing comment
      
      * babe: fix incorrectly storing primary randomness
      
      * babe: add test for onchain author vrf
      
      * babe: fix reviewer nits
      
      * runtime: bump spec_version
      
      * babe: remove outer Option for AuthorVrfRandomness
      
      * babe: fix reviewer nits on doc strings
      
      * babe: move make_vrf_output to mock.rs
      
      * babe: cleanup docs
      
      * babe: kill ephemeral entry instead of take
      
      * babe: use type alias for maybe randomness
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      a297e447
  25. Oct 13, 2020
    • marco bahn's avatar
      add zero.io (#7310) · e4cb8621
      marco bahn authored
      * feat(zero): add zero.io + alphaville
      
      * update zero.io testnet
      
      * Update crypto.rs
      
      * Update crypto.rs
      e4cb8621
  26. Oct 12, 2020
  27. Oct 09, 2020