Skip to content
  1. May 14, 2022
    • Nazar Mokrynskyi's avatar
      Network sync refactoring (part 3) (#11347) · 8a458708
      Nazar Mokrynskyi authored
      * Move `light.v1.proto` schema into new crate `sc-network-light`
      
      * Move `sc_network::light_client_requests` and submodule to `sc_network_light::light_client_requests`
      
      * Fix apparently outdated reference in documentation and visibility modifier
      
      * Fix rustdoc check
      
      * Update lock file
      8a458708
  2. May 13, 2022
  3. May 12, 2022
  4. May 11, 2022
  5. May 10, 2022
    • Kian Paimani's avatar
      fix a few more things with nomination pools (#11373) · ce212479
      Kian Paimani authored
      
      
      * fix a few more things with nomination pools
      
      * add bench
      
      * use weight fn
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * allow real root to also set roles
      
      * Update frame/nomination-pools/src/lib.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Update frame/nomination-pools/src/lib.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * move out of the closure
      
      * fix a few more things
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      ce212479
    • Niklas Adolfsson's avatar
      update Cargo.lock (#11384) · 6e0ba2da
      Niklas Adolfsson authored
      6e0ba2da
    • Joshy Orndorff's avatar
      sc-consensus-slots: rename `client` -> `select_chain` (#11375) · f6b982d7
      Joshy Orndorff authored
      * rename `client` -> `select_chain`
      
      * missed one
      
      * `cargo fmt` (only the file I touched)
      
      * Missed another one
      
      * Revert "`cargo fmt` (only the file I touched)"
      
      This reverts commit 96a0c6cd131cdc08013f7ddb9e7bf2af34ae3ee3.
      
      * `cargo fmt` (again) (only the LINES I touched)
      f6b982d7
    • Davide Galassi's avatar
      Refactory of Fork-Tree data structure (#11228) · 12d57414
      Davide Galassi authored
      
      
      * Iterative version of some fork-tree methods
      
      * Prune doesn't require its generic args to be 'clone'
      
      * Fork-tree import and drain-filter iterative implementations
      
      * Fork-tree map iterative implementation
      
      * Optimization of some operations, e.g. rebalance only when required
      
      * Destructuring assignments not supported yet by stable rustc 1.57
      
      * Safe implementation of 'map' and 'drain_filter' methods
      
      * Remove dummy comment
      
      * Trigger CI pipeline
      
      * Test map for multi-root fork-tree and refactory of `find_node_index_where`
      
      * Fix find node index with predicate
      
      * Nits
      
      * Tree traversal algorithm is not specified
      
      * Move unspecified tree traversal warning to 'map'
      
      * Immutable 'drain_filter' predicate
      
      * Apply suggestions from code review
      
      * Remove double mapping
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      12d57414
    • Davide Galassi's avatar
      Sanity check for Babe's configuration (#11385) · 07098c7d
      Davide Galassi authored
      
      
      * Prevent div by zero in native babe code
      * Additional sanity check for babe config
      * Further sanity checks and postpone threshold computation
      * Apply suggestions from code review
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      07098c7d
    • David's avatar
      jsonrpsee integration (#8783) · 29c0c6a4
      David authored
      * Add tokio
      
      * No need to map CallError to CallError
      
      * jsonrpsee proc macros (#9673)
      
      * port error types to `JsonRpseeError`
      
      * migrate chain module to proc macro api
      
      * make it compile with proc macros
      
      * update branch
      
      * update branch
      
      * update to jsonrpsee master
      
      * port system rpc
      
      * port state rpc
      
      * port childstate & offchain
      
      * frame system rpc
      
      * frame transaction payment
      
      * bring back CORS hack to work with polkadot UI
      
      * port babe rpc
      
      * port manual seal rpc
      
      * port frame mmr rpc
      
      * port frame contracts rpc
      
      * port finality grandpa rpc
      
      * port sync state rpc
      
      * resolve a few TODO + no jsonrpc deps
      
      * Update bin/node/rpc-client/src/main.rs
      
      * Update bin/node/rpc-client/src/main.rs
      
      * Update bin/node/rpc-client/src/main.rs
      
      * Update bin/node/rpc-client/src/main.rs
      
      * Port over system_ rpc tests
      
      * Make it compile
      
      * Use prost 0.8
      
      * Use prost 0.8
      
      * Make it compile
      
      * Ignore more failing tests
      
      * Comment out WIP tests
      
      * fi...
      29c0c6a4
    • Sasha Gryaznov's avatar
  6. May 09, 2022
  7. May 06, 2022
  8. May 05, 2022
  9. May 04, 2022
  10. May 03, 2022
    • Shawn Tabrizi's avatar
      Update Pallet Bags List to use `ListError` (#11342) · 6d6f1e17
      Shawn Tabrizi authored
      
      
      * extract list error changes from kiz-revamp-sorted-list-providers-2-approval-stake
      
      * some fixes
      
      * weight -> score
      
      * Update tests.rs
      
      * Update tests.rs
      
      * more fixes
      
      * remove score updated event
      
      * Update frame/bags-list/src/lib.rs
      
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      6d6f1e17
    • Nazar Mokrynskyi's avatar
      Network sync refactoring (part 2) (#11322) · e397e0b6
      Nazar Mokrynskyi authored
      
      
      * Move `api.v1.proto` schema into new crate `sc-network-sync`
      
      * Move `sc_network::protocol::sync::state` module into `sc_network_sync::state`
      
      * Move `sc_network::protocol::sync::blocks` module into `sc_network_sync::blocks` and some data structures from `sc_network::protocol::message` module into `sc_network_sync::message`
      
      * Move some data structures from `sc_network::config` and `sc_network::request_responses` into new `sc-network-common` crate
      
      * Move `sc_network::protocol::sync::warm` and `sc_network::warp_request_handler` modules into `sc_network_sync`
      
      * Move `client/network/sync/src/lib.rs` to `client/network/sync/src/lib_old.rs` to preserve history of changes of the file in the next commit
      
      * Move `client/network/src/protocol/sync.rs` on top of `client/network/sync/src/lib.rs` to preserve history of changes
      
      * Move `sc_network::protocol::sync` to `sc_network_sync` with submodules, move message data structures around accordingly
      
      * Move `sc_network::block_request_handler` to `sc_network_sync::block_request_handler`
      
      * Move `sc_network::state_request_handler` to `sc_network_sync::state_request_handler`
      
      * Add re-exports for compatibility reasons
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e397e0b6