- Jun 01, 2020
-
-
Pierre Krieger authored
* Add a substrate-networking grafana dashboard * Capitalize data source * Do changes
-
- May 30, 2020
-
-
Pierre Krieger authored
-
- May 29, 2020
-
-
Bastian Köcher authored
* Make `Proposer` consume its reference on `propose` A proposer must be created per new round, so it makes sense to have the proposer consume its own reference. * Remove `ProposerInner`
-
Bernhard Schuster authored
Co-authored-by:
Bernhard Schuster <bernhard@parity.io>
-
- May 28, 2020
-
-
Bastian Köcher authored
* Enable the `runtime-wasm` for wasm builds This enables the `runtime-wasm` feature for wasm builds. The feature is not mandatory and will only be activated if it exists in the `Cargo.toml`. * Fix compilation * Update docs * Uprgade version * Apply suggestions from code review
-
Gavin Wood authored
-
Shawn Tabrizi authored
* split `finalize_proposal` to approve and disapprove * Add test * Add root `disapprove_proposal` * Update approve logic after voting period passes
-
Sergey Pepyakin authored
* Don't store the storage size offset in the contract itself. * Clean the AccountDb code a bit * Use `storage_size: 0` when creating AliveContractInfo * Count empty storage items. * Update frame/contracts/src/account_db.rs Co-authored-by:
Nikolay Volf <nikvolf@gmail.com> * Use more clear wording. Co-authored-by:
Alexander Theißen <athei@users.noreply.github.com> * Change the order of decrement and increment for storage size Co-authored-by:
Nikolay Volf <nikvolf@gmail.com> Co-authored-by:
Alexander Theißen <athei@users.noreply.github.com>
-
Alexander Theißen authored
* Make post dispatch fee consistent with a direct calculation * Remove unnecessary `saturated_into` calls * Add test with negative multipliers * Added regression test * Test improvements
-
Bernhard Schuster authored
* feat/offchain/storage: add remove interface method * feat/offchain/storeage: add remote to StorageValueRef * feat/offchain/storage: add storage lock * fix/review: Apply suggestions from code review Co-authored-by:
Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-authored-by:
Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com> * refactor/offchain/storage/lock: introduce `Lockable` trait part 1 of 2 * chore/offchain/rename: _remove -> clean * feat/offchain/storage/lock: add TimeAndBlock based part 2 of 2 * fix/offchain/storage/lock: block and time expiry must be && not || * chore/offchain/storage: minor fmt doc comments * doc/comment: prefer markdown emphasis over CAPS * doc/comment: rewrap multiline module level docs * doc/comment: rephrase * impl sleep_until and use the actual time for the test env * feat/test: add more tests, ignore some sample impl doctests * fix/review: Apply suggestions from code review Co-authored-by:
Nikolay Volf <nikvolf@gmail.com> * doc/comment: better description * fix/review: Apply suggestions from code review Co-authored-by:
Nikolay Volf <nikvolf@gmail.com> * chore/storage: lifetime cleanup * fix/cleanup: trait bounds, cargo-spellcheck + extra explanations * fix/doc: periods +- * fix/review: Apply suggestions from code review Co-authored-by:
Tomasz Drwięga <tomusdrw@users.noreply.github.com> * cleanup: remove explicit lifetime bound, copy -> clone * fix/review: make trait Lockable contain only static, try_lock should not return Err(Option<L>), * chore/lifetimes: remove a couple of lifetime bounds which the compiler can figure out * refactor: migrate to an instant based * fix/feedback: fix, reduce, rename, docs update pending * docs/reword: adjust to changed code * fix/offchain/testing: timestamp and sleep_until shall not block * chore/lines: lines must < 100 chars * fix/docs: add missing pub field doc comments * refactor/x: try_lock does not need to return an Option<_> * refactor/simplify: a better way of waiting for a lock to resolve * docs: consistency * fix/line: < 100 * fix/doctest/use: avoid crate:: * fix/doctest: * * fix/review: remove unused trait bound * fix/review: pretty by const fn * fix/review: reduce default timeout to 20s * docs: grammar * fix/review: add with_block_deadline * doc: revamp BlockNumberProvider documentation to be less frame centric * chore: fmt * docs: add missing doc comment Co-authored-by:
Bernhard Schuster <bernhard@parity.io> Co-authored-by:
Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-authored-by:
Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com> Co-authored-by:
Nikolay Volf <nikvolf@gmail.com>
-
Gavin Wood authored
-
Kian Paimani authored
* Clean * Better doc * Better better doc * Again better doc * Fix indemt * Update frame/staking/src/lib.rs * Update frame/staking/src/lib.rs * Better test Co-authored-by:
Gavin Wood <gavin@parity.io>
-
- May 27, 2020
-
-
Pierre Krieger authored
* Improve the log messages printed when a listener closes * Oops, didn't finish the expired listen addrs thing
-
Pierre Krieger authored
* Add a warning when the user passes a legacy PeerId * Update client/network/src/config.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Shawn Tabrizi authored
* Test zero balance account with pays::no * Update frame/transaction-payment/src/lib.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Nikolay Volf authored
* improve logging * Update client/transaction-pool/graph/src/validated_pool.rs Co-authored-by:
Tomasz Drwięga <tomusdrw@users.noreply.github.com> * address review and make uniform Co-authored-by:
Tomasz Drwięga <tomusdrw@users.noreply.github.com>
-
Pierre Krieger authored
* Move methods from Peerset to peers structs * Remove priority_only from peersstate * Refactor PSM * Don't test private fields * Update sc_network * Remove wrong comment * Also fix small stupidity when setting reserved_only * Put back priority_group * Restore priority groups as before * Apply suggestions from code review Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> * Do the reserved only change * Update client/peerset/src/lib.rs Co-authored-by:
Arkadiy Paronyan <arkady.paronyan@gmail.com> * Use HashSet::difference Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by:
Arkadiy Paronyan <arkady.paronyan@gmail.com>
-
Kian Paimani authored
* Make Get const friendly * Better doc * Grumble * Better doc * Clean runtime files more
-
Pierre Krieger authored
-
Nikolay Volf authored
-
Xiliang Chen authored
* add failing test for multiply_by_rational * fix BigUint * fix length * bump version * merge tests
-
- May 26, 2020
-
-
Bastian Köcher authored
* Make `wasm-builder` check before copy/write files if the content is the same * Update utils/wasm-builder/src/lib.rs Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com>
-
Bastian Köcher authored
If we are running `--dev` chain, we should forbid the `--chain` argument. The `--dev` chain is always special by only having one authority etc and some other chain spec is probably not setup for this correctly. In the end `--dev` is just a shortcut for `--validator --alice`.
-
Bastian Köcher authored
There was a bug which related in required files not being tracked of being modified. This pr fixes this bug by making sure we ignore version requirements for path dependencies and git dependencies. This also ensures that we only track `.rs` or `.toml` files. Another improvement is that we only include paths which don't contain a `Cargo.toml` if this `Cargo.toml` does not belongs to the package being processed. This prevents that sub-crates are added to the tracked files, while not being part of the dependencies.
-
Pierre Krieger authored
* Don't iterate over peers in generic_proto::behaviour::poll * Improve comment * Rework to use DelayIds
-
Marcio Diaz authored
-
Benjamin Kampmann authored
-
Gavin Wood authored
* Filter calls. * Remove old proxy code * Docs and repot * Update frame/utility/src/tests.rs Co-authored-by:
Marcio Diaz <marcio.diaz@gmail.com> * fix test * Grumble * Bump runtime version * fix * Attempt general fix Co-authored-by:
Marcio Diaz <marcio.diaz@gmail.com> Co-authored-by:
NikVolf <nikvolf@gmail.com>
-
- May 25, 2020
-
-
Benjamin Kampmann authored
-
Bastian Köcher authored
-
Benjamin Kampmann authored
-
Pierre Krieger authored
-
pscott authored
* Add Delay and info logging * Switch from Duration to Delay in enum declaration * Remove sleep from import_blocks fn * Set back constans and remove unnecessary code * Fix hot loop * Reset timer once poll is ready, not when it's pending
-
Sergey Pepyakin authored
-
Kian Paimani authored
* Events and better log for staking. * Fix build * Update frame/staking/src/lib.rs Co-authored-by:
Marcio Diaz <marcio.diaz@gmail.com> Co-authored-by:
Marcio Diaz <marcio.diaz@gmail.com>
-
Nikolay Volf authored
* add read-only externalities * sanity checks * cleanup * Update primitives/state-machine/src/read_only.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * fix typo * add error exit code if nothing was run Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Arkadiy Paronyan authored
* Use directories instead of app_dirs * Use local data dir
-
- May 23, 2020
-
-
Kian Paimani authored
* Fist draft of offchain weights * Round of review feedback * Update frame/staking/src/lib.rs * Fix fuzzer * Remove some redundant comment * Weight refund for submit solution -- potentially revert. * First version with custom trimming of the result. * Update frame/staking/src/benchmarking.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update frame/staking/src/benchmarking.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Apply suggestions from code review Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> Co-authored-by:
thiolliere <gui.thiolliere@gmail.com> * Update frame/staking/src/benchmarking.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update frame/staking/src/benchmarking.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Some improvements * Benchmark submit solution without phragmen (PR for First draft of offchain phragmen weights) (#6073) * implementation of new benchmark * address comments * replace test * Update frame/staking/src/lib.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * update weight * Fix refund * Clean and rady for final bench * Fix line-wdith * Fix gitlab build * Fix line-wdith * Fix test macro * Update frame/staking/src/lib.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update frame/staking/src/benchmarking.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Better length check * Update frame/staking/src/lib.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update final weight coefficients * Update frame/staking/src/lib.rs * Apply suggestions from code review * Update frame/staking/src/testing_utils.rs * Try and fix the line-width * Revert "Try and fix the line-width" This reverts commit b4e284727220085b9b3daf7682c4bbf29621da09. * Try and fix the line-width the correct way * Revert "Try and fix the line-width the correct way" This reverts commit 04fce128e851c9584f9f0d708a5a73cae799d8c8. Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> Co-authored-by:
thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Gavin Wood <gavin@parity.io>
-
Bastian Köcher authored
* Don't clone values when calculating storage root Instead of cloning all the keys and values of the overlay when calculating the storage root, we pass all the values by reference. This should probably bring some performance improvements when calculating the storage root. * no cow version (#6113) Co-authored-by:
cheme <emericchevalier.pro@gmail.com>
-
- May 22, 2020
-
-
thiolliere authored
-