Skip to content
  1. Sep 17, 2020
    • Shawn Tabrizi's avatar
      WeightInfo for ImOnline (#7128) · 0a90d5f4
      Shawn Tabrizi authored
      * Add WeightInfo, not final weights
      
      * benchmark machine weights
      0a90d5f4
    • Bruno Škvorc's avatar
      Typo in error text (#7126) · 49861d0e
      Bruno Škvorc authored
      49861d0e
    • Wei Tang's avatar
      Use tracing-based subscriber logging (#6825) · 46faa924
      Wei Tang authored
      
      
      * init_logger: switch from log-based to tracing-based and add compatibility layer
      
      * Move tracing profiling subscriber related config realization
      
      * sp-tracing: change profiling to be a layer instead of a subscriber
      
      * Enable profiling layer in cli
      
      * Change all test env_logger init to sp_tracing::try_init_simple
      
      * Remove all local env_logger dependency
      
      * Add missing tracing-subscriber dependency
      
      * frame-sudo: fix tests
      
      * frame-support: fix tests
      
      * Fix frame/pallet and executor tests
      
      * Fix the remaining tests
      
      * Use subscriber's try_init as recommended by @davidbarsky
      
      * Be explict that the tracing-log feature is needed
      
      * Set subscriber writer to stderr
      
      * Shorter line width
      
      * Update cargo lock tracing version
      
      * Fix sc_tracing crate compile
      
      * Fix sc_authority_discovery crate test
      
      * unremove default-features
      
      * Leave enabled to default true
      
      * Warn if global default cannot be set
      
      * Fix unused import
      
      * Remove unused PROXY_TARGET
      
      * Change all reference from rc5 to rc6
      
      * Change all reference of rc2 to rc6
      
      * Fix styling
      
      * Fix typo
      
      * make logger init error'ing
      
      * re-fixing the test issue
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      46faa924
    • Shawn Tabrizi's avatar
      5b86db1a
  2. Sep 16, 2020
    • Shawn Tabrizi's avatar
      WeightInfo for Vesting Pallet (#7103) · 12d0b7ea
      Shawn Tabrizi authored
      * WeightInfo for Vesting Pallet
      
      * clean up weight docs
      
      * Update lib.rs
      
      * try to pipe max locks
      
      * Update for new type
      
      * add warning when locks > MaxLocks
      
      * Update lib.rs
      
      * fix compile
      
      * remove aliasing, fix trait def
      
      * Update
      12d0b7ea
    • Bastian Köcher's avatar
      Send import notification always for re-orgs (#7118) · 96303dbf
      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]>
      96303dbf
    • Kian Paimani's avatar
      Move Staking Weights to T::WeightInfo (#7007) · 647ad155
      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]>
      647ad155
    • joe petrowski's avatar
      Add SS58 Registry (#7020) · 7ca65727
      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]>
      7ca65727
  3. Sep 15, 2020
  4. Sep 14, 2020
  5. Sep 13, 2020
  6. Sep 12, 2020
    • Bastian Köcher's avatar
      Fix `storage::read` (#7084) · 86c8ee62
      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
      86c8ee62
  7. Sep 11, 2020
  8. Sep 10, 2020
  9. Sep 09, 2020