Skip to content
  1. May 10, 2022
  2. May 09, 2022
  3. May 06, 2022
  4. May 05, 2022
  5. May 04, 2022
  6. 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
    • dependabot[bot]'s avatar
      Bump parity-db from 0.3.9 to 0.3.12 (#11340) · 23c30b2b
      dependabot[bot] authored
      
      
      Bumps [parity-db](https://github.com/paritytech/parity-db) from 0.3.9 to 0.3.12.
      - [Release notes](https://github.com/paritytech/parity-db/releases)
      - [Commits](https://github.com/paritytech/parity-db/commits/v0.3.12)
      
      ---
      updated-dependencies:
      - dependency-name: parity-db
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      23c30b2b
    • Qinxuan Chen's avatar
      7ff70c64
  7. May 02, 2022
  8. Apr 30, 2022
  9. Apr 29, 2022
    • Nazar Mokrynskyi's avatar
      Network sync refactoring (part 1) (#11303) · af6773ab
      Nazar Mokrynskyi authored
      * Remove unnecessary imports, move one internal re-export into where it is actually used, make one import explicit
      
      * Move a few data structures down into modules
      
      * Use generic parameters in `sc-network` instead of `chain::Client` trait
      
      * Remove unnecessary bound
      af6773ab
    • Roman Proskuryakov's avatar
      Upgrade to libp2p 0.44.0 (#11009) · 887acda7
      Roman Proskuryakov authored
      * Update libp2p to 0.43.0, lru to 0.7.3
      
      * Fix websoket Incoming::Data
      
      * Rename ProtocolsHandler -> ConnectionHandler, remove inject_dis/connected, minor fixes
      
      * Fix args for inject_connection* callbacks
      
      * Fix DialPeer/DialAddress
      
      * Fix debug fmt
      
      * Add Endpoint to NetworkState
      
      * Fix Kad::get_record by key
      
      * Fix Sha2_256::digest
      
      * Fix IntoConnectionHandler
      
      * Fix borrowchk
      
      * Fix DialError::WrongPeerId
      
      * Remove NodeHandlerWrapperError
      
      * Fix KademliaEvent variants
      
      * Fix impl Add for String
      
      * Fix tabs in network_state
      
      * Apply cargo fmt
      
      * Fix a typo in req/resp
      
      * Fix tests
      
      * Fix peer_info:entry.info_expire
      
      * Fix PeerInfoBehaviour inject_address_change and inject_connection_closed
      
      * Patch libp2p to 0.44.0#6cc3b4e
      
      * Fix inject_connection_closed kad, req/resp
      
      * Apply cargo fmt
      
      * Use libp2p from crates.io
      
      * Fix review notes
      887acda7
    • Qinxuan Chen's avatar
    • Bisola Olasehinde's avatar
      Replace simple parameter_types (#11254) · aaf693f0
      Bisola Olasehinde authored
      
      
      * update bin/node-template/runtime/src/lib.rs
      
      * update frame/contracts/src/tests.rs
      
      * update frame/executive/src/lib.rs
      
      * update frame/grandpa/src/mock.rs
      
      * update frame/im-online/src/mock.rs
      
      * update frame/offences/benchmarking/src/mock.rs
      
      * update frame/recovery/src/mock.rs
      
      * update frame/referenda/src/mock.rs
      
      * update frame/session/benchmarking/src/mock.rs
      
      * update frame/staking/src/mock.rs
      
      * update frame/state-trie-migration/src/lib.rs
      
      * update frame/support/test/compile_pass/src/lib.rs
      
      * frame/treasury/src/tests.rs
      
      * update frame/whitelist/src/mock.rs
      
      * update frame/vesting/src/mock.rs
      
      * update test-utils/runtime/src/lib.rs
      
      * update bin/node-template/runtime/src/lib.rs
      
      * Update frame/grandpa/src/mock.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * resolve failed checks 1518659 & 1518669
      
      * resolve format check
      
      * backtrack to resolve compile error
      
      * check --all --tests 
      
      * cargo +nightly fmt 
      
      
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      aaf693f0
  10. Apr 28, 2022