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

Gui shawntabrizi runtime upgrade #5118

Merged

Commits on Feb 25, 2020

  1. adding unleash to ci (#5020)

    * adding unleash to ci
    
    * fixing formatting
    
    * with a dot please
    
    * alpha.3 now
    
    * do not publish testing helpers
    
    * remove old test-helpers cruft
    
    * fix cargo.lock
    
    * with alpha 4
    
    * do not publish runtime-interface-test either
    
    * disable more test crates from publishing
    
    * switch to alpha.5
    
    * replace tempdir with tempfile
    
    * update lru
    
    * switch to bytes 0.5
    
    * release script fixes
    
    * switch on and to latest alpha
    
    * BUT THE SPACES
    gnunicorn authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    993e5f6 View commit details
    Browse the repository at this point in the history
  2. Fix: CI failing for some CLI tests (#5043)

    * Initial commit
    
    Forked at: 41bb219
    Parent branch: origin/master
    
    * Increase killing grace period of CLI tests and display more info
    
    * Use --dev everywhere possible
    
    * Put pruning mode to its own params struct
    
    * Add pruning params to export-blocks command
    
    * Added missing file
    
    * Removed not-dev mode in tests
    
    * Add pruning mode to the revert command
    
    * Decrease killing grace period again
    
    * Move back unsafe_pruning to import_params
    
    * Applied proposed changes
    cecton authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    a64dd52 View commit details
    Browse the repository at this point in the history
  3. aura: remove unused tx pool (#5046)

    * aura: remove unused transaction pool parameter
    
    * node-template: remove transaction pool from aura
    
    * aura: fix tests
    andresilva authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    ab8da74 View commit details
    Browse the repository at this point in the history
  4. Extend rust nightly detection in wasm-builder (#5021)

    Instead of just testing `cargo` and `rustup run nightly`, we now test
    the `CARGO` env variable and also scan non default nightlies. The user
    is also now able to select the toolchain with `WASM_BUILD_TOOLCHAIN`.
    bkchr authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    b874cb2 View commit details
    Browse the repository at this point in the history
  5. Add steps setting to benchmarking CLI (#5033)

    * Add steps setting to CLI, use max value to hit worst case.
    
    * Bump impl_version.
    
    * Apply review suggestion.
    seerscode authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    063c0c3 View commit details
    Browse the repository at this point in the history
  6. Remove indices from node-template (#5025)

    * Remove indices from node-template
    
    * Use identity lookup instead
    
    * Bump impl
    
    * clean cargo.toml
    shawntabrizi authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    71d10b4 View commit details
    Browse the repository at this point in the history
  7. Fix documentation for "BlockBuilder::push_trusted" (#5051)

    * fix doc
    
    * rephrase
    NikVolf authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    88b03c9 View commit details
    Browse the repository at this point in the history
  8. do not check unleash on every PR, only master and tags (#5054)

    * do not check unleash on every PR, only master and tags
    
    * move scripts folder
    
    * add signed-tag check to CI
    
    * remove publish-to-crates-io dependencies
    
    Co-authored-by: s3krit <pugh@s3kr.it>
    gnunicorn and s3krit authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    504478a View commit details
    Browse the repository at this point in the history
  9. prepare version to alpha.1 (#5055)

    bump version to -alpha.1
    gnunicorn authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    7c75157 View commit details
    Browse the repository at this point in the history
  10. Sync: validate block responses for required data (#5052)

    * Less verbose state-db logging
    
    * Validate block responses for block bodies
    
    * Update client/network/src/protocol.rs
    
    Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * Added validation test
    
    * Disconnect on missing header as well
    
    * Typo
    
    Co-Authored-By: André Silva <andre.beat@gmail.com>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    Co-authored-by: André Silva <andre.beat@gmail.com>
    3 people authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    48150f2 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2020

  1. Configuration menu
    Copy the full SHA
    7fff6cb View commit details
    Browse the repository at this point in the history
  2. Fix dockerfile (#5059)

    chevdor authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    78224bd View commit details
    Browse the repository at this point in the history
  3. Adds documentation for wipe and commit (#5053)

    * Adds documentation for `wipe` and `commit`
    
    This adds documentation to `wipe` and `commit` of `Externalities`.
    Besides that it removes the default implementation that would just panic
    and requires that all implementers of the trait implement the functions.
    
    * Update primitives/externalities/src/lib.rs
    
    Co-Authored-By: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    bkchr and joepetrowski authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    4d61dc7 View commit details
    Browse the repository at this point in the history
  4. Fix the issue with trybuild's ui tests (#4992)

    * repro ui bug
    
    * fix the tests
    
    * test with the new image
    
    * test without CARGO_HOME
    
    * test without fixes
    
    * test again
    
    * fix trybuild old versions
    
    * bump CArgo.lock
    
    * fix trybuild newest versions
    
    * bump Cargo.lock
    
    * trying on the latest image
    
    * bump Cargo.lock
    
    * run with the old image
    
    * ci will be green on the image from 2020-02-19 [skip ci]
    
    * bump Cargo.lock
    TriplEight authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    bad1280 View commit details
    Browse the repository at this point in the history
  5. Activate publishing of draft releases... (#5062)

    * Activate publishing of draft releases...
    
    ... And fix the message sending (missing parameter).
    
    * publish_draft_release.sh now checks latest...
    
    ... release on github rather than just a tag
    s3krit authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    0f4f9d7 View commit details
    Browse the repository at this point in the history
  6. Fix/div by zero (#5041)

    * Handle gas_price being zero separately
    
    * Bump spec_version
    
    * Add a unit & integration tests for gas price = 0
    cowboy-bebug authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    5b41575 View commit details
    Browse the repository at this point in the history
  7. set missing metadata fields, prepping alpha.2 (#5067)

    * setting first batch of descriptions
    
    * fix what I just broke
    
    * next batch
    
    * and pallets, too
    
    * last batch
    
    * set cargo.lock
    
    * keep'em dev-deps
    
    * bump version to alpha.2
    gnunicorn authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    2afecf8 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2020

  1. Configuration menu
    Copy the full SHA
    d81f60e View commit details
    Browse the repository at this point in the history
  2. removes use of sc_client::Client from sc_finality_grandpa (#5030)

    * removes use of sc_client::Client from sc_finality_grandpa
    
    * code formatting
    
    * code formatting
    
    * removes use of sc_client::Client from sc_finality_grandpa
    seunlanlege authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    6e6d06c View commit details
    Browse the repository at this point in the history
  3. Remove deprecated host functions (#5038)

    Sadly we need to keep one function `ext_blake2_256`. This function is
    manually defined in `sp-core`.
    bkchr authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    06fae63 View commit details
    Browse the repository at this point in the history
  4. removes use of sc_client::Client from sc_basic_authorship (#5050)

    * removes use of sc-client from sc-basic-authorship
    
    * refactor use of ProposerFactory
    
    * correct dep path
    seunlanlege authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    8c22368 View commit details
    Browse the repository at this point in the history
  5. pallet-transaction-payment clean up (#5070)

    * Formatting clean up
    
    * Introduce separate setters for the fees.
    pepyakin authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    850ffec View commit details
    Browse the repository at this point in the history
  6. *: Rename prometheus-exporter crate to substrate-prometheus-end… (#5076)

    This patch renames the crate for the following two reasons:
    
    1. The prometheus-exporter crate introduces native in-process Prometheus
    style instrumentation to the Substrate project. Within the Prometheus
    ecosystem the term "exporter" is used for external processes exposing
    metrics for e.g. the Linux Kernel. In-process exposition would be
    described via the term "endpoint".
    
    2. "prometheus-exporter" is generic and ignores the fact that it is only
    usable within the context of Substrate. In addition the name
    "prometheus-exporter" is already taken on crates.io.
    mxinden authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    e769ac4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f41677d View commit details
    Browse the repository at this point in the history
  8. prepping for Alpha.3 (#5080)

    * Bump to alpha.3
    
    * update gitlab-ci
    gnunicorn authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    013c1ee View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2020

  1. Propagate DispatchError for benchmarks. (#5075)

    * Propagate DispatchError for benchmarks.
    
    * Apply review suggestions.
    
    * Use RuntimeString.
    
    * fix expect
    
    Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    seerscode and bkchr authored Feb 28, 2020
    Configuration menu
    Copy the full SHA
    6653f4b View commit details
    Browse the repository at this point in the history
  2. Add options to overwrite range bounds in benchmark command. (#5072)

    * Add --mins --maxs to benchmark command.
    
    * Apply review suggestions.
    seerscode authored Feb 28, 2020
    Configuration menu
    Copy the full SHA
    6b27391 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5ec7d4 View commit details
    Browse the repository at this point in the history
  4. Remove more instances of futures01 (#4633)

    * Start removing last few instances of futures01
    
    * Use to_poll on wasm
    
    * Revert "Use to_poll on wasm"
    
    This reverts commit 1c61728.
    
    * Fix fg test
    
    * Upgrade network test futures
    
    * Update offchain hyper version
    
    * Update service test
    
    * bump tokio to 0.2.10
    
    * Removed some unneeded tokios
    
    * fixes
    
    * fix run_until_all_full
    
    * Make service test debuggable
    
    * Update client/offchain/src/api/http.rs
    
    Co-Authored-By: Demi Obenour <48690212+DemiMarie-parity@users.noreply.github.com>
    
    * Add service_test to test-int output
    
    * nitpicking
    
    * Finally fix test
    
    * Give up and revert client/serviec/test
    
    * Revert gitlab ci too
    
    Co-authored-by: Demi Obenour <demi@parity.io>
    expenses and Demi-Marie authored Feb 28, 2020
    Configuration menu
    Copy the full SHA
    29cee59 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2020

  1. Make export blocks default to json on stdout (#5090)

    * Make export blocks default to json on stdout
    
    * Multiline instead of single line to stay under 100 cols
    
    * Change --json flag to --binary, defaulting to json
    pscott authored Mar 2, 2020
    Configuration menu
    Copy the full SHA
    3beb09d View commit details
    Browse the repository at this point in the history
  2. Offence reporting returns a result (#5082)

    * Offence reporting returns a result
    
    * Bump spec_version
    
    * Use unwrap instead of assertions
    
    * Fix more review grumbles
    montekki authored Mar 2, 2020
    Configuration menu
    Copy the full SHA
    675f6b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1808b93 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    65ad8e9 View commit details
    Browse the repository at this point in the history
  5. Make sure we remove a peer on disconnect in gossip (#5104)

    * Make sure we remove peers on disconnect in gossip state machine
    
    * Clear up the code
    
    * Add a comment
    bkchr authored Mar 2, 2020
    Configuration menu
    Copy the full SHA
    7e383ed View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Expose state-db memory info (#5110)

    This exposes memory statistics from the state-db.
    bkchr authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    9fb3a7f View commit details
    Browse the repository at this point in the history
  2. Change extrinsic_count to extrinsic_index in pallet-utility (#5044)

    Co-authored-by: Benjamin Kampmann <ben.kampmann@googlemail.com>
    joepetrowski and gnunicorn authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    798390f View commit details
    Browse the repository at this point in the history
  3. Add more metrics to prometheus (#5034)

    * Add a few things
    
    * Add finality_grandpa_round
    
    * fix fg tests
    
    * Nitpicks
    
    * Nitpicks
    
    * Fix name of prometheus crate
    expenses authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    a201f34 View commit details
    Browse the repository at this point in the history
  4. Update to SCALE 1.2.0 (#5113)

    This updates `parity-scale-codec` to `1.2.0`, which includes multiple
    performance improvements and a fix that bounds the capacity of a vector
    at decoding.
    bkchr authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    870540b View commit details
    Browse the repository at this point in the history
  5. Lazy payouts (#4474)

    * TODOs
    
    * Remove superfluous:
    
    * partial implementation
    
    * full implementation
    
    * fix preferences
    
    * update comments
    
    * upgrade test WIP
    
    * fix more tests
    
    * fix cutoff
    
    * fix saturation
    
    * comment
    
    * upgrade mock
    
    * upgrade test
    
    * WIP migration
    
    * WIP migration
    
    * remove slot stake stuff
    
    * fix merge
    
    * migration of ledger
    
    * remove equalize from test
    
    * add test
    
    * fix
    
    * update doc
    
    * fix compilation
    
    * improve test readibility
    
    * improve doc
    
    * fix most todo
    
    * fix migration and test
    
    * remove println
    
    * WIP
    
    * add test and spec
    
    * weight
    
    * update doc
    
    * safer end_era
    
    * fix exposure of conversion
    
    * Revert "safer end_era"
    
    This reverts commit 72ff737.
    
    * fix useless put
    
    * exposure clipped
    
    * doc
    
    * fix payout with clipped
    
    * fix node runtime
    
    * add doc
    
    * pluggable and generalized staking module
    
    * remove print
    
    * update doc
    
    * refactor
    
    * improve documentation and implementation
    
    * fix test
    
    * Fix test
    
    * fix test
    
    * fix test
    
    * fix remove lowest stake from exposure, not biggest.
    
    * nomination index arguments in nominator_payout
    
    * add test
    
    * try to fix offence
    
    * apply slashed and bond eras until active era
    
    * doc
    
    * update spec version
    
    * add test upgrade from previous test environment
    
    * Apply suggestions from code review
    
    Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * nominators upgrade has been cleaned
    
    * dynamic history depth implementation
    
    * make current_era - history_depth included
    
    * Change equality check to start era to less than or equal
    
    * Use era specific validator prefs
    
    * Add print statement and comment about start era if <
    
    * fix next_reward overflow
    
    * make more check for bad era claim for zero cost
    
    * small refactor
    
    * code refactor + fix use of deprecated storage
    
    * fix wasm build
    
    * add comment
    
    * Fix tests
    
    * remove outdated comment
    
    * Apply suggestions from code review
    
    Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * gather active era information into one storage
    
    Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    3 people authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    75116bd View commit details
    Browse the repository at this point in the history
  6. impl on_runtime_upgrade

    gui1117 committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    01aebec View commit details
    Browse the repository at this point in the history