Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Separate transaction protocol into a separate crate #12198

Closed
wants to merge 21 commits into from

Commits on Sep 6, 2022

  1. Configuration menu
    Copy the full SHA
    0cf1057 View commit details
    Browse the repository at this point in the history
  2. Introduce sc-network-transactions

    Introduce a separate crate for the transaction protocol and move
    transaction configuration there.
    altonen committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    6716646 View commit details
    Browse the repository at this point in the history
  3. Move types from sc-network to sc-network-common

    Move `SetConfig`, `NonDefaultSetConfig`, `TransportConfig` and
    `NonReservedPeerMode` to sc-network-common::config, and move
    sc-network::{utils, error} to sc-network-common.
    altonen committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    2b75534 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e389a9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5df27ce View commit details
    Browse the repository at this point in the history
  6. Update documentation

    altonen committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    aa0bdfb View commit details
    Browse the repository at this point in the history
  7. Format code

    altonen committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    5db7a26 View commit details
    Browse the repository at this point in the history
  8. Format more code

    altonen committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    5a9025b View commit details
    Browse the repository at this point in the history
  9. Format test code

    altonen committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    f496066 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. wip

    altonen committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    21eee68 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Configuration menu
    Copy the full SHA
    4a4e9f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40ccbf7 View commit details
    Browse the repository at this point in the history
  3. Adjust trait bounds

    altonen committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    b9d99e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Remove unneeded dependency

    altonen committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    60ab91e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccf061c View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. benches: disable caching per default (#12232)

    * Disable cache for storage benches
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Disable caching per default
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update utils/frame/benchmarking-cli/src/storage/cmd.rs
    
    Co-authored-by: Bastian Köcher <info@kchr.de>
    
    * Add --enable-trie-cache to 'storage' command
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Bastian Köcher <info@kchr.de>
    2 people authored and altonen committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    e731ad0 View commit details
    Browse the repository at this point in the history
  2. Make BasePath::new_temp_dir return the same path for the program li…

    …fetime (#12246)
    
    * Make `BasePath::new_temp_dir` return the same path for the program lifetime
    
    Instead of returning always a different path, this now returns the same path for the entire lifetime
    of the program. We still ensure that the path is cleared at the end of the program.
    
    * Update client/service/src/config.rs
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Update client/service/src/config.rs
    
    Co-authored-by: Nitwit <47109040+nitwit69@users.noreply.github.com>
    
    * FMT
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    Co-authored-by: Nitwit <47109040+nitwit69@users.noreply.github.com>
    3 people authored and altonen committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    426c686 View commit details
    Browse the repository at this point in the history
  3. Remove CanAuthorWith trait (#12213)

    * Remove CanAuthorWith trait
    
    CanAuthotWith trait removed. Also all dependencies, parameters, type
    paramers were removed. This is related to removal of native runtime.
    
    * Remove commented code
    
    * Fix code formatting
    
    * trigger CI job
    
    * trigger CI job
    
    * trigger CI job
    
    * trigger CI job
    
    * trigger CI job
    
    * trigger CI job
    
    * trigger CI job
    michalkucharczyk authored and altonen committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    32cec32 View commit details
    Browse the repository at this point in the history
  4. Create sp-weights crate to store weight primitives (#12219)

    * Create sp-weights crate to store weight primitives
    
    * Fix templates
    
    * Fix templates
    
    * Fixes
    
    * Fixes
    
    * cargo fmt
    
    * Fixes
    
    * Fixes
    
    * Use deprecated type alias instead of deprecated unit types
    
    * Use deprecated subtraits instead of deprecated hollow new traits
    
    * Fixes
    
    * Allow deprecation in macro expansion
    
    * Add missing where clause during call macro expansion
    
    * cargo fmt
    
    * Fixes
    
    * cargo fmt
    
    * Fixes
    
    * Fixes
    
    * Fixes
    
    * Fixes
    
    * Move FRAME-specific weight files back to frame_support
    
    * Fixes
    
    * Update frame/support/src/dispatch.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/support/src/dispatch.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/support/src/dispatch.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Add missing header
    
    * Rewrite module docs
    
    * Fixes
    
    * Fixes
    
    * Fixes
    
    * Fixes
    
    * cargo fmt
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    3 people authored and altonen committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    17f7ff8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0ecae2c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8bebfd0 View commit details
    Browse the repository at this point in the history