Skip to content
  1. Sep 17, 2020
    • Wei Tang's avatar
      Use tracing-based subscriber logging (#6825) · 9fdd4672
      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]>
      9fdd4672
    • Shawn Tabrizi's avatar
      ab97e949
  2. Sep 16, 2020
    • Shawn Tabrizi's avatar
      WeightInfo for Vesting Pallet (#7103) · 9aa8698c
      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
      9aa8698c
    • 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
  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) · 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
  7. Sep 11, 2020
  8. Sep 10, 2020
  9. Sep 09, 2020
  10. Sep 08, 2020