1. Oct 02, 2020
  2. Sep 22, 2020
    • Benjamin Kampmann's avatar
      Releasing 2.0 – two dot 😮 (#7182) · ecdc9442
      Benjamin Kampmann authored
      Tagging the release of substrate 2.0
      
      
      [ci: skip-checks]
      ecdc9442
    • Gavin Wood's avatar
      u32 Refcounts, plus migration (#7164) · cbf1a282
      Gavin Wood authored
      
      
      * u32 Refcounts, plus migration
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      cbf1a282
    • Bastian Köcher's avatar
      Rename `ModuleToIndex` to `PalletRuntimeSetup` (#7148) · 86594727
      Bastian Köcher authored
      * Rename `ModuleToIndex` to `PalletRuntimeSetup`
      
      Besides the renaming it also adds support getting the name of a pallet
      as configured in the runtime.
      
      * Rename it to `PalletInfo`
      
      * Remove accidentally added files
      86594727
    • Steve Degosserie's avatar
      Update READMEs, fix links (#7176) · 22632efc
      Steve Degosserie authored
      * Re-generate READMEs to fix doc links; set readme field in package manifests
      
      * Re-generate READMEs to fix doc links; set readme field in package manifests
      
      * Re-generate READMEs to fix doc links; set readme field in package manifests
      
      * Re-generate READMEs to fix doc links; set readme field in package manifests
      
      * Revert stuff that shouldn't have been committed
      
      * Revert stuff that shouldn't have been committed
      
      * Fix parent relative link generation
      
      * Manually remove this incorrect link for now.
      22632efc
  3. Sep 11, 2020
  4. Sep 09, 2020
  5. Aug 21, 2020
  6. Aug 20, 2020
    • Benjamin Kampmann's avatar
      prepping for releasing rc6 (#6922) · 2416aa79
      Benjamin Kampmann authored
      * Bump version
      
      * update test-utils crates to be ready for publishing
      
      * adding changelog
      
      * Adding automaticly generated READMEs
      
      * fixing versions
      
      * another version mishap
      2416aa79
  7. Aug 19, 2020
  8. Aug 17, 2020
    • Shawn Tabrizi's avatar
      WeightInfo for System, Timestamp, and Utility (#6868) · 74a583d1
      Shawn Tabrizi authored
      * initial updates to system
      
      * fix compile
      
      * Update writer.rs
      
      * update weights
      
      * finish system weights
      
      * timestamp weights
      
      * utility weight
      
      * Fix overflow in weight calculations
      
      * add back weight notes
      
      * Update for whitelisted benchmarks
      
      * add trait bounds
      
      * Revert "add trait bounds"
      
      This reverts commit 12b08b7189aa3969f96fa19b211a370860fdb240.
      
      * Update weights for unaccounted for read
      74a583d1
  9. Aug 15, 2020
    • Bastian Köcher's avatar
      Don't take the origin in `can_set_code` (#6899) · 0120339c
      Bastian Köcher authored
      It makes no sense that `can_set_code` takes the origin for checking it.
      Everybody reusing this function is only interested in the other checks
      that are done by this function. The origin should be checked by every
      dispatchable individually.
      0120339c
  10. Jul 29, 2020
  11. Jul 22, 2020
    • Wei Tang's avatar
      Better handling of stable-only build (#6569) · ac8de557
      Wei Tang authored
      
      
      * Better handling of stable-only build
      
      * Fix node template build
      
      * Fix wasm builder node-template version mismatch
      
      * Fix load_spec error
      
      * Add , in parameter
      
      * Add descrptive panic messages in tests
      
      * Add descriptive tests in node/executor benches
      
      * Fix missing compact_code_unwrap
      
      * Add missing wasm_binary_unwrap function for executor integration test
      
      * Only define import_sp_io in no_std
      
      * Small Cargo.toml styling fix
      
      * Bump wasm-builder to 2.0.0
      
      * Fix all `with_wasm_builder_from_crates` version in Substrate
      
      * Use `with_wasm_builder_from_crates` for node-template
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      ac8de557
  12. Jul 21, 2020
  13. Jul 20, 2020
  14. Jul 17, 2020
  15. Jul 09, 2020
  16. Jul 08, 2020
    • Shawn Tabrizi's avatar
      Add `WeightInfo` to all pallets with benchmarks. (#6575) · 2302898b
      Shawn Tabrizi authored
      * Start adding weight info
      
      * More weightinfo
      
      * finish weight info
      
      * more fixes
      
      * inital update of node runtime
      
      * fix the rest of the compilation
      
      * update balances
      
      * add docs
      
      * fix balances tests
      
      * Fix more tests
      
      * Fix compile
      
      * Fix pallet-evm tests
      2302898b
  17. Jul 02, 2020
    • Xiliang Chen's avatar
      Allow specify schedule dispatch origin (#6387) · e1d0f84c
      Xiliang Chen authored
      
      
      * allow specify schedule dispatch origin
      
      * fix tests
      
      * use caller origin for scheduled
      
      * fix tests
      
      * line width
      
      * check origin for cancel
      
      * line width
      
      * fix some issues for benchmarking
      
      * fix doc test
      
      * another way to constraint origin
      
      * fix build issues
      
      * fix cancel
      
      * line width
      
      * fix benchmarks
      
      * bump version
      
      * enable runtime upgrade
      
      * add migration code and test
      
      * Update frame/scheduler/src/lib.rs
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      
      * expose migration method
      
      * add notes
      
      * bump version
      
      * remove on_runtime_upgrade
      
      * fix test
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      e1d0f84c
  18. Jun 25, 2020
  19. Jun 24, 2020
  20. Jun 21, 2020
  21. Jun 19, 2020
  22. Jun 17, 2020
  23. Jun 15, 2020
    • thiolliere's avatar
      Introduce in-origin filtering (#6318) · c2ad2727
      thiolliere authored
      
      
      * impl filter in origin
      
      * remove IsCallable usage. Breaking: utility::batch(root, calls) no longer bypass BasicCallFilter
      
      * rename BasicCallFilter -> BaseCallFilter
      
      * refactor code
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * remove forgotten temporar comment
      
      * better add suggestion in another PR
      
      * refactor: use Clone instead of mem::replace
      
      * fix tests
      
      * fix tests
      
      * fix tests
      
      * fix benchmarks
      
      * Make root bypass filter in utility::batch
      
      * fix unused imports
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      c2ad2727
  24. Jun 12, 2020
  25. Jun 10, 2020
    • Shaopeng Wang's avatar
      "OR gate" for EnsureOrigin (#6237) · ccdac645
      Shaopeng Wang authored
      * 'OR gate' for EnsureOrigin.
      
      * Formatting.
      
      * More formatting.
      
      * Add docstring; Update 'Success' type.
      
      * Bump runtime impl_version.
      
      * Fix successful_origin.
      
      * Add either into std feature list.
      
      * Update docs.
      ccdac645
  26. Jun 08, 2020
  27. Jun 02, 2020
  28. May 28, 2020
    • Bernhard Schuster's avatar
      offchain storage lock (#6010) · 95d73994
      Bernhard Schuster authored
      
      
      * feat/offchain/storage: add remove interface method
      
      * feat/offchain/storeage: add remote to StorageValueRef
      
      * feat/offchain/storage: add storage lock
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * refactor/offchain/storage/lock: introduce `Lockable` trait part 1 of 2
      
      * chore/offchain/rename: _remove -> clean
      
      * feat/offchain/storage/lock: add TimeAndBlock based part 2 of 2
      
      * fix/offchain/storage/lock: block and time expiry must be && not ||
      
      * chore/offchain/storage: minor fmt doc comments
      
      * doc/comment: prefer markdown emphasis over CAPS
      
      * doc/comment: rewrap multiline module level docs
      
      * doc/comment: rephrase
      
      * impl sleep_until and use the actual time for the test env
      
      * feat/test: add more tests, ignore some sample impl doctests
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      
      * doc/comment: better description
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      
      * chore/storage: lifetime cleanup
      
      * fix/cleanup: trait bounds, cargo-spellcheck + extra explanations
      
      * fix/doc: periods +-
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * cleanup: remove explicit lifetime bound, copy -> clone
      
      * fix/review: make trait Lockable contain only static, try_lock should not return Err(Option<L>),
      
      * chore/lifetimes: remove a couple of lifetime bounds which the compiler can figure out
      
      * refactor: migrate to an instant based
      
      * fix/feedback: fix, reduce, rename, docs update pending
      
      * docs/reword: adjust to changed code
      
      * fix/offchain/testing: timestamp and sleep_until shall not block
      
      * chore/lines: lines must < 100 chars
      
      * fix/docs: add missing pub field doc comments
      
      * refactor/x: try_lock does not need to return an Option<_>
      
      * refactor/simplify: a better way of waiting for a lock to resolve
      
      * docs: consistency
      
      * fix/line: < 100
      
      * fix/doctest/use: avoid crate::
      
      * fix/doctest: *
      
      * fix/review: remove unused trait bound
      
      * fix/review: pretty by const fn
      
      * fix/review: reduce default timeout to 20s
      
      * docs: grammar
      
      * fix/review: add with_block_deadline
      
      * doc: revamp BlockNumberProvider documentation to be less frame centric
      
      * chore: fmt
      
      * docs: add missing doc comment
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      95d73994
  29. May 27, 2020
  30. May 26, 2020
  31. May 25, 2020
  32. May 21, 2020