1. Apr 21, 2023
    • Liam Aharon's avatar
      try-runtime: dynamic storage query sizes (#13923) · bc1a5992
      Liam Aharon authored
      
      
      * improve batch rpc error message
      
      * wip aimd storage data fetch
      
      * complete aimd function refactor
      
      * make batch_request function async
      
      * improve function name
      
      * fix load_child_remote issue
      
      * slight efficiency improvement
      
      * improve logs and variable name
      
      * remove redundant comment
      
      * improve comment
      
      * address pr comments
      
      * Update utils/frame/remote-externalities/src/lib.rs
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      
      * simplify client handling
      
      * fix type issue
      
      * fix clippy issue
      
      * try to trigger ci
      
      * try to trigger ci
      
      ---------
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      bc1a5992
    • Liam Aharon's avatar
      `balances` `impl_currency` WithdrawReasons note (#13964) · eb17581e
      Liam Aharon authored
      
      
      * add withdrawreason note
      
      * improve comment
      
      * Update frame/balances/src/impl_currency.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * cargo fmt +nightly
      
      ---------
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      eb17581e
    • Aaro Altonen's avatar
      Evict inactive peers from `SyncingEngine` (#13829) · 0e46c931
      Aaro Altonen authored
      * Evict inactive peers from `SyncingEngine`
      
      If both halves of the block announce notification stream have been
      inactive for 2 minutes, report the peer and disconnect it, allowing
      `SyncingEngine` to free up a slot for some other peer that hopefully
      is more active.
      
      This needs to be done because the node may falsely believe it has open
      connections to peers because the inbound substream can be closed without
      any notification and closed outbound substream is noticed only when node
      attempts to write to it which may not happen if the node has nothing to
      send.
      
      * zzz
      
      * wip
      
      * Evict peers only when timeout expires
      
      * Use `debug!()`
      
      ---------
      
      Co-authored-by: parity-processbot <>
      0e46c931
  2. Apr 20, 2023
  3. Apr 19, 2023
    • Muharem Ismailov's avatar
      Collective pallet: max proposal weight (#13771) · f8b77f64
      Muharem Ismailov authored
      * collective: max proposal weight
      
      * fix test
      
      ---------
      
      Co-authored-by: parity-processbot <>
      f8b77f64
    • gupnik's avatar
      Adds example for dev_mode and updates doc (#13944) · e458bf37
      gupnik authored
      
      
      * Adds example for dev_mode and updates doc
      
      * Addresses review comments
      
      * Update frame/examples/dev-mode/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Addresses review comment
      
      ---------
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      e458bf37
    • Davide Galassi's avatar
      VRF refactory (#13889) · bb394e08
      Davide Galassi authored
      
      
      * First iteration to encapsulate schnorrkel and merlin usage
      
      * Remove schnorkel direct dependency from BABE pallet
      
      * Remove schnorrkel direct dependency from BABE client
      
      * Trivial renaming for VrfTranscript data and value
      
      * Better errors
      
      * Expose a function to get a schnorrkel friendly transcript
      
      * Keep the vrf signature stuff together (preventing some clones around)
      
      * Fix tests
      
      * Remove vrf agnostic transcript and define it as an associated type for VrfSigner and VrfVerifier
      
      * Fix babe pallet mock
      
      * Inner types are required to be public for polkadot
      
      * Update client/consensus/babe/src/verification.rs
      
      Co-authored-by: default avatarKoute <[email protected]>
      
      * Nit
      
      * Remove Deref implementations
      
      * make_bytes as a method
      
      * Trigger CI
      
      ---------
      
      Co-authored-by: default avatarKoute <[email protected]>
      bb394e08
    • Mike Ruje's avatar
      Improve has good jugement (#13952) · d9ad6fea
      Mike Ruje authored
      
      
      * improve run_benchmark
      
      * Revert "improve run_benchmark"
      
      This reverts commit 4d9cf7a63e37fedca376d692f1461486d3dca659.
      
      * improve has_good_judgement
      
      * Update bin/node/runtime/src/impls.rs
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      ---------
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: command-bot <>
      d9ad6fea
    • Bastian Köcher's avatar
      43f9fd93
    • William Freudenberger's avatar
      feat: pallet asset-rate (#13608) · 9eb63f21
      William Freudenberger authored
      * poc
      
      * fix: remove AssetIdParameter
      
      * tests: add
      
      * docs: add pallet description
      
      * feat: add benches
      
      * refactor: UnknownAssetId
      
      * fix: normalize mock cfg
      
      * fix: benchmarks
      
      * chore: add weights
      
      * refactor: remove storage getter
      
      * chore: apply suggestions from code review
      
      * docs: add native balance to calls
      
      * chore: apply suggestions from code review
      
      * chore: apply ConversionFromAssetBalance
      
      * tests: update balance mock
      
      * chore: apply suggestions from code review
      
      * ci: set publish to false
      
      * docs: fix missing rustdoc
      
      ---------
      
      Co-authored-by: parity-processbot <>
      9eb63f21
  4. Apr 18, 2023
  5. Apr 17, 2023
  6. Apr 15, 2023
  7. Apr 14, 2023
  8. Apr 13, 2023
  9. Apr 12, 2023