Skip to content
  1. Sep 16, 2020
    • Bastian Köcher's avatar
      Send import notification always for re-orgs (#7118) · 0a6f7b08
      Bastian Köcher authored
      
      
      * Send import notification always for re-orgs
      
      This pr changes the behavior of sending import notifications. Before we
      only send notifications when importing blocks on the tip of the chain or
      on similar conditions. However we did not send a notification when we
      for example being in a state where we import multiple blocks to catch
      up. If we re-org in this process, systems like the transaction pool
      would not be notified about this re-org. This means, that we would also
      not resubmit transactions of these retracted blocks. This pr fixes this,
      by always sending a notification on a re-org.
      
      See
      https://github.com/substrate-developer-hub/substrate-node-template/issues/82
      for some context about the bug.
      
      * Update client/service/src/client/client.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      0a6f7b08
    • Kian Paimani's avatar
      Move Staking Weights to T::WeightInfo (#7007) · 83bde4c1
      Kian Paimani authored
      
      
      * Fix the benchmarks
      
      * Migrate staking to weightInfo
      
      * Fix global benchmarks
      
      * re-calculate the submit solution weight.
      
      * Fix some refund.
      
      * Get rid of all the extra parameters.
      
      * Fix staking tests.
      
      * new values from the bench machine.
      
      * Fix some grumbles
      
      * better macro
      
      * Some better doc
      
      * Move to interpreted wasm
      
      * Make it work temporarily
      
      * Final fix of default ones.
      
      * Fix payout benchmarks
      
      * Fix payout stuff
      
      * One last fix
      
      * use benchmarking machine for numbers
      
      * update weight docs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      83bde4c1
    • joe petrowski's avatar
      Add SS58 Registry (#7020) · 7a075a99
      joe petrowski authored
      
      
      * add SS58 registry
      
      * formatting
      
      * description -> displayName
      
      * Update ss58-registry.json
      
      Co-authored-by: default avatarJaco Greeff <[email protected]>
      
      * make numbers literal, tokens can have different denominations
      
      * add dock
      
      * add dark
      
      * add websites and tokens
      
      * add KLP decimals
      
      * add acala and laminar info
      
      Co-authored-by: default avatarJaco Greeff <[email protected]>
      7a075a99
  2. Sep 15, 2020
  3. Sep 14, 2020
  4. Sep 13, 2020
  5. Sep 12, 2020
    • Bastian Köcher's avatar
      Fix `storage::read` (#7084) · 9a69be05
      Bastian Köcher authored
      * Fix `storage::read`
      
      It should return the length of the storage item after the given offset.
      Before it returned always the length of the full storage item.
      
      * Fix tests
      9a69be05
  6. Sep 11, 2020
  7. Sep 10, 2020
  8. Sep 09, 2020
  9. Sep 08, 2020