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

Fix some warnings #7079

Merged
merged 11 commits into from
Sep 10, 2020
Merged

Fix some warnings #7079

merged 11 commits into from
Sep 10, 2020

Commits on Sep 9, 2020

  1. Partial fix for transaction priority (#7034)

    * Partial fix for priority stuff.
    
    * Small fix
    
    * Fix tests.
    
    * Update frame/transaction-payment/src/lib.rs
    
    Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
    
    * Better doc
    
    Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
    kianenigma and tomusdrw authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    837797c View commit details
    Browse the repository at this point in the history
  2. What happens if we remove wat? (#7056)

    * What happens if we remove wat?
    
    * Update Cargo.lock
    pepyakin authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    6f04f93 View commit details
    Browse the repository at this point in the history
  3. Make SlashingSpans Public (#6961)

    * Make SlashingSpans Public
    
    Offchain Applications will often need to inspect this type because it is directly used in staking election, thus worthy of being `pub`. Rest of the slashing api can remain private, only this and the `fn last_non_zero_slash()` of `SlashingSpans` are of interest.
    
    * Update frame/staking/src/lib.rs
    kianenigma authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    352bae2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6feab7a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3bceace View commit details
    Browse the repository at this point in the history
  6. Remove unused code (#7027)

    Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
    Jimmy Chu authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    35a667a View commit details
    Browse the repository at this point in the history
  7. Disambiguate BlockNumber type in decl_module (#7061)

    * Disambiguate `BlockNumber` type in `decl_module`
    
    * fix `frame-support-tests`
    
    * fix ui tests
    
    * fix trait order
    shawntabrizi authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    5fa638d View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

  1. Implement FromStr for Ss58AddressFormat (#7068)

    * Implement `FromStr` for `Ss58AddressFormat`
    
    * Update primitives/core/src/crypto.rs
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    bkchr and shawntabrizi authored Sep 10, 2020
    Configuration menu
    Copy the full SHA
    d204ebe View commit details
    Browse the repository at this point in the history
  2. Set reserved nodes with offchain worker. (#6996)

    * add offchain worker api to set reserved nodes.
    
    * new offchain api to get node public key.
    
    * node public key from converter
    
    * refactor set reserved nodes ocw api.
    
    * new ndoe authorization pallet
    
    * remove unnecessary clone and more.
    
    * more
    
    * tests for node authorization pallet
    
    * remove dependency
    
    * fix build
    
    * more tests.
    
    * refactor
    
    * Update primitives/core/src/offchain/testing.rs
    
    Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
    
    * Update frame/node-authorization/src/lib.rs
    
    Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
    
    * Update frame/node-authorization/src/lib.rs
    
    Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
    
    * Update frame/node-authorization/src/lib.rs
    
    Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
    
    * format code
    
    * expose NetworkService
    
    * remove NetworkStateInfo in offchain
    
    * replace NodePublicKey with PeerId.
    
    * set max length of peer id.
    
    * clear more
    
    * use BTreeSet for set of peers.
    
    * decode opaque peer id.
    
    * extract NetworkProvider for client offchain.
    
    * use OpaquePeerId in node authorization pallet.
    
    * fix test
    
    * better documentation
    
    * fix test
    
    * doc
    
    * more fix
    
    * Update primitives/core/src/offchain/mod.rs
    
    Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
    
    * Update client/offchain/src/api.rs
    
    Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
    
    * derive serialize and deserialize
    
    Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
    Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
    3 people authored Sep 10, 2020
    Configuration menu
    Copy the full SHA
    8646de9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b082bae View commit details
    Browse the repository at this point in the history
  4. Fix some warnings

    danforbes committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    4db46bf View commit details
    Browse the repository at this point in the history