Skip to content
  1. Aug 14, 2022
  2. Aug 13, 2022
  3. Aug 12, 2022
  4. Aug 11, 2022
  5. Aug 10, 2022
    • Bastian Köcher's avatar
      transactional: Wrap `pallet::calls` directly in storage layers (#11927) · aa5f68a8
      Bastian Köcher authored
      
      
      * transactional: Wrap `pallet::calls` directly in storage layers
      
      Before this pr we only wrapped `pallet::calls` into storage layers when executing the calls with
      `dispatch`. This pr is solving that by wrapping each call function inside a storage layer.
      
      * Teach `BasicExternalities` transactions support
      
      * Fix crates
      
      * FMT
      
      * Fix benchmarking tests
      
      * Use correct span
      
      * Support old decl macros
      
      * Fix test
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Update frame/state-trie-migration/src/lib.rs
      
      * Update frame/state-trie-migration/src/lib.rs
      
      * Update frame/state-trie-migration/src/lib.rs
      
      * Feedback
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarcheme <[email protected]>
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarcheme <[email protected]>
      aa5f68a8
    • Shawn Tabrizi's avatar
      Use `#[pallet::unbounded]` tag in FRAME System (#11946) · 043b1697
      Shawn Tabrizi authored
      * use unbounded in system
      
      * update ui tests
      043b1697
    • Muharem Ismailov's avatar
      Transaction payment runtime api: query call info and fee details (#11819) · e41b9091
      Muharem Ismailov authored
      * Transaction payment RPC calls: query call info
      
      * transaction payment pallet - runtime api - add query_call info and fee_details
      
      * remove unused deps
      
      * separate call runtime api
      
      * undo fmt for unchanged code
      
      * system config call bounded to GetDispatchInfo, drop Call generic for query call info/fee
      
      * impl GetDispatchInfo for Extrinsics within runtime test-utils
      
      * introduced runtime api methods accept encoded Call instead of Call type
      
      * replace Bytes by Vec, docs for for new api, drop len argument, drop GetDispatchInfo bound from system_Config::Call
      
      * clean up toml and extra impl for dropped bound
      
      * panic if Call can not be decoded
      
      * revert to d43ba2f
      
      * fmt and docs
      
      * rustfmt
      e41b9091
  6. Aug 08, 2022
  7. Aug 04, 2022
  8. Aug 03, 2022
  9. Aug 02, 2022
  10. Aug 01, 2022
  11. Jul 30, 2022
  12. Jul 29, 2022
  13. Jul 28, 2022
  14. Jul 26, 2022
    • Shawn Tabrizi's avatar
      Make New Storage Layer Truly Default (#11918) · 72522429
      Shawn Tabrizi authored
      * with storage layer truly default
      
      * fmt
      
      Co-authored-by: parity-processbot <>
      72522429
    • Kian Paimani's avatar
      Properly defer slashes (#11823) · ff2c4ca0
      Kian Paimani authored
      
      
      * initial draft of fixing slashing
      
      * fix test
      
      * Update frame/staking/src/tests.rs
      
      Co-authored-by: default avatarPiotr Mikołajczyk <[email protected]>
      
      * last touches
      
      * add more detail about unbonding
      
      * add migration
      
      * fmt
      
      Co-authored-by: default avatarPiotr Mikołajczyk <[email protected]>
      Co-authored-by: parity-processbot <>
      ff2c4ca0
    • Sebastian Kunert's avatar
      Prepare for rust 1.62.1 (#11903) · 9f409dc0
      Sebastian Kunert authored
      
      
      * Update UI test output for rust 1.62.1
      
      * switch ci to staging image to check that everything works
      
      * fix artifacts node-bench-regression-guard
      
      * Imeplement `scale_info::TypeInfo` manually to silence aggressive rust warning
      
      * Fix more clippy lints
      
      * Make clippy happy by relying on auto-deref were possible
      
      * Add tracking issue to the comments
      
      * pin ci image
      
      Co-authored-by: default avataralvicsam <[email protected]>
      9f409dc0
    • Sergej Sakac's avatar
      Rpc for pending rewards (#11831) · cdfd2da0
      Sergej Sakac authored
      
      
      * rpc pending rewards
      
      * commit
      
      * remove unused imports
      
      * fix
      
      * fix
      
      * fmt
      
      * fix
      
      * fmt
      
      * fix
      
      * docs
      
      * docs & formatting
      
      * better formatting
      
      * temporary fix
      
      * error handling
      
      * fix?
      
      * fmt
      
      * use to_string
      
      * fmt
      
      * fixed error handling
      
      * fix
      
      * rpc added to client
      
      * Update Cargo.toml
      
      * Update Cargo.toml
      
      * fix wrong reward counter
      
      * expose function
      
      * move implementation
      
      * docs
      
      * docs
      
      * docs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * unexpose functions
      
      * unused dependency
      
      * update Cargo.lock
      
      * Update frame/nomination-pools/src/lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update frame/nomination-pools/rpc/runtime-api/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * remove rpc
      
      * remove rpc directory
      
      * final fix
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      cdfd2da0
  15. Jul 25, 2022
  16. Jul 24, 2022
  17. Jul 23, 2022
  18. Jul 21, 2022
    • Robert Hambrock's avatar
      pallet-mmr: fix batch proof failures (#11840) · 05c71381
      Robert Hambrock authored
      * pallet-mmr: extend batch proof verification test
      
      covers all possible 2-leaf combinations now, including current
      verification failures that batch proof item count limit is too low
      sometimes.
      
      * raise upper bound on proof item number
      
      as described in
      https://github.com/paritytech/substrate/issues/11753#issuecomment-1179838174
      
      * test for powerset of leaves
      
      * refactor batch proof verification test
      
      * test all batch proofs for mmr sizes up to n=13
      
      * limit mmr size to reduce batch proof test duration
      
      * use saturating integer addition for proof check
      
      * extract common chain building in batch proof tests
      
      note: right now, since not killing old chain, it keeps growing by 7
      blocks for every leaf selection (added after proof generation), hence
      heavier to compute.
      
      * only add blocks after a proof generation once
      
      * increase batch proof testing range
      
      * register offchain extensions only once
      
      * fmt & remove unused util
      05c71381