Skip to content
Snippets Groups Projects
  1. Nov 25, 2021
    • Andreas Doerr's avatar
      `BEEFY` add tests for rounds (#10328) · f12e22a6
      Andreas Doerr authored
      * new_rounds()
      
      * WIP
      
      * test add_vote()
      
      * test drop()
      
      * learn  to spell
      
      * go get some coffee
      
      * cargo fmt
      
      * lump everythings together again
      f12e22a6
    • Roman's avatar
      Bump libp2p to 0.40.0 (#10035) · c5ae5190
      Roman authored
      * Bump libp2p to 0.40.0-rc.1
      
      * Fix PingFailure import
      
      * Reduce the number of compilation errors (this is a FIXME commit)
      
      * Bump libp2p to 0.40.0-rc.2
      
      * Fix sc-network::Behaviour to inject events into fields
      
      * Fix some NetworkBehaviourAction types
      
      * More fixes
      
      * More fixes
      
      * More fixes
      
      * Fix DiscoveryBehaviour
      
      * Fix PeerInfoBehaviour
      
      * Fix RequestResponsesBehaviour
      
      * Fix RequestResponsesBehaviour
      
      * Fix Notifications
      
      * Fix NetworkWorker
      
      * Fix Behaviour
      
      * Please borrowchk
      
      * Please borrowchk
      
      * Please borrowchk
      
      * Fix fmt
      
      * Cover all cases in matches
      
      * Fix some clippy warnings
      
      * Fix into_peer_id -> to_peer_id
      
      * Fix some warnings
      
      * Fix some inject_dial_failure FIXMEs
      
      * Fix DiscoveryBehaviour::inject_dial_failure
      
      * Fix RequestResponsesBehaviour::inject_dial_failure
      
      * Fix the order of inject_connection_closed PeerInfoBehaviour events
      
      * Make KademliaEvent with filtering unreachable
      
      * Fix Notifications::inject_dial_failure
      
      * Use concurrent_dial_errors in NetworkWorker
      
      * Remove commented-out RequestResponsesBehaviour::inject_addr_reach_failure
      
      * Fix tests
      
      * Dont report new PendingConnectionError and DialError variants to metrics
      
      * Bump libp2p to 0.40.0
      
      * Add fn inject_listen_failure and inject_address_change
      
      * Review fixes
      c5ae5190
  2. Nov 23, 2021
    • Xavier Lau's avatar
      Support MMR Pruning (#9700) · f9122a87
      Xavier Lau authored
      
      * Use `0.3.2`
      
      * Replace `u64` with `NodeIndex`
      
      * Fix Typo
      
      * Add Pruning Logic
      
      * Fix Some Tests
      
      * Remove Comment
      
      * Log Only Under STD
      
      * Return while No Element to Append
      
      * Optimize Pruning Algorithm
      
      * Update Doc
      
      * Update Doc
      
      * Zero Copy Algorithm
      
      * Import Missing Type
      
      * Fix Merge Mistake
      
      * Import Missing Item
      
      * Make `verify` Off-Chain
      
      * `cargo fmt`
      
      * Avoid using NodeIndex in incorrect places.
      
      * Simplify pruning.
      
      * Format
      
      Co-authored-by: default avatarTomasz Drwięga <tomasz@parity.io>
      f9122a87
  3. Nov 22, 2021
  4. Nov 20, 2021
  5. Nov 19, 2021
    • dependabot[bot]'s avatar
      Bump libsecp256k1 from 0.6.0 to 0.7.0 (#10214) · d0b851ab
      dependabot[bot] authored
      
      * Bump libsecp256k1 from 0.6.0 to 0.7.0
      
      Bumps [libsecp256k1](https://github.com/paritytech/libsecp256k1) from 0.6.0 to 0.7.0.
      - [Release notes](https://github.com/paritytech/libsecp256k1/releases)
      - [Changelog](https://github.com/paritytech/libsecp256k1/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/paritytech/libsecp256k1/commits)
      
      ---
      updated-dependencies:
      - dependency-name: libsecp256k1
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      
      * Fix pallet_contracts for new libsecp256k1 version
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarAlexander Theißen <alex.theissen@me.com>
      d0b851ab
    • Bastian Köcher's avatar
      Offchain worker: Enable http2 and improve logging (#10305) · 090b55b7
      Bastian Köcher authored
      * Offchain worker: Enable http2 and improve logging
      
      Apparently some webpages now return http2 by default and that silently breaks the offchain http
      extension. The solution to this is to enable the `http2` feature of hyper. Besides that, this pr
      improves the logging to make it easier to debug such errors.
      
      * FMT
      
      * Adds http2 test
      090b55b7
    • Georges's avatar
      Moving `pallet-asset-tx-payment` from cumulus to substrate (#10127) · 439af98e
      Georges authored
      
      * Moving `pallet-asset-tx-payment` from cumulus
      
      * move pallet-asset-tx-payment into transaction payment directory
      
      * cargo +nightly fmt
      
      * Adding `pallet-asset-tx-payment` to node runtime
      I had to change the Balance type to u128.
      Also harmonised that pallet's version
      
      * Updating cargo.lock after merge
      
      * forgot this
      
      * Adding tx-payment signature
      
      * Missed one more
      
      * `transaction-payment` replaced in`SignedExtension`
      by `asset-tx-payment` and not added
      
      * Fixing benches
      
      * add test to verify that we don't charge on post-dispatch if we didn't on pre-dispatch
      
      * add (failing) test for asset tx payment of unsigned extrinsics
      
      * fix test by removing debug_assert
      
      * cargo +nightly fmt
      
      * typo in `Cargo.lock`
      
      * Object defined twice in lock file
      
      * cargo update
      
      * remove todo
      
      * Apply formatting suggestions from code review
      
      Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
      
      * Refactoring `post_dispatch` of `asset-tx-payment`
      to reuse `post_dispatch` of `transaction-payment` if the fee asset is
      native
      Removing unneeded imports.
      
      * Removing redundant `TODO`
      
      * Reverting an accidental bump of `impl-serde`
       from `0.3.1` to `0.3.2`
      
      * Revert unneeded changes to `cargo.lock`
      
      * Update frame/transaction-payment/asset-tx-payment/src/payment.rs
      
      Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
      
      * Fixing cargo fmt
      
      Reverting changes which broke cargo fmt
      
      Co-authored-by: default avatarAlexander Popiak <alexander.popiak@parity.io>
      Co-authored-by: default avatarAlexander Popiak <alexander.popiak@gmail.com>
      Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
      439af98e
  6. Nov 16, 2021
  7. Nov 15, 2021
  8. Nov 13, 2021
  9. Nov 12, 2021
  10. Nov 11, 2021
  11. Nov 10, 2021
  12. Nov 09, 2021
  13. Nov 08, 2021
    • David's avatar
      Remove the RPC client example (#10217) · 3c624174
      David authored
      * Remove the RPC client example
      
      Might be slightly contentious but I think we want to migrate this example to `subxt` and redirect the community to use that for things like this.
      
      * Remove rpc-client example code from workspace
      3c624174
    • Koute's avatar
      Refactor `sp-sandbox`; make sure both sandbox executors are always tested (#10173) · a7e3d819
      Koute authored
      * sp-sandbox: convert executors into normal `mod`s instead of using `include!`
      
      * sp-sandbox: run `cargo fmt` on `host_executor.rs`
      
      * sp-sandbox: abstract away the executors behind traits
      
      * sp_sandbox: always compile both executors when possible
      
      * sc-executor: make sure all sandbox tests run on both sandbox executors
      
      * sc-executor: fix brainfart: actually call into the sandbox through the trait
      
      * sc-runtime-test: fix cargo fmt
      
      * sc-runtime-test: deduplicate executor-specific sandbox test entrypoints
      
      * sc-executor: test each sandbox executor in a separate test
      
      * cargo fmt (Github's conflict resolving thingy broke indentation)
      a7e3d819
  14. Nov 07, 2021
  15. Nov 06, 2021
  16. Nov 05, 2021