- Jul 01, 2020
-
-
David authored
* Fix mocking multiple http calls in the same function call Fixes an issue where a function call would perform more than one http request and wait for each to complete before proceeding. The `RequestId` comes from the length of the `requests` collection in the `OffchainState` and if a request is completed before the next one starts it will be removed and the "next expected" will be off by one. This PR tries to fix that by using a request counter that tracks how many requests have been performed so that we can `remove()` items from the `expected_requests` at the right index. I suspect that this is a sub-optimal soluton and perhaps requests and their mocks should live side by side in the same collection, e.g. in a tuple of `(PendingRequest, Option<ExpectedRequest>)`. * Update primitives/core/src/offchain/testing.rs Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> * Update primitives/core/src/offchain/testing.rs Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> * Panic on overflow * Update primitives/core/src/offchain/testing.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Use a Deque and push/pop expected requests * fix test Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Denis_P authored
* debug (ci): ci config [skip ci] * debug (ci): fix runtime benchmarks * fix identity benchmarks * fix utility benchmarks * Revert "debug (ci): ci config [skip ci]" This reverts commit 081b175b5e95604520c79ea4e5822b84ea35ddaa. * change (ci): touch ci config to run CI Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by:
Gav Wood <gavin@parity.io>
-
Wei Tang authored
-
Bastian Köcher authored
* Update to make cargo-deny happy * Remove cargo deny from CI * change (ci): run cargo deny only on tags and schedules Co-authored-by:
Denis P <denis.pisarev@parity.io>
-
- Jun 30, 2020
-
-
André Silva authored
* grandpa: replace Result<(), ()> with Option<()> * grandpa: replace &Option<T> with Option<&T> * grandpa: cleanup local id and keystore usages * grandpa: return bool on check_message_signature * grandpa: fix erroneous log message on startup * grandpa: fix test
-
Bastian Köcher authored
* Start * Remove debug println * Add tests
-
Bastian Köcher authored
-
Nikolay Volf authored
* proposer benchmark * update cargo.lock
-
Ashley authored
* WIP * Making progress * Almost ready * Get service tests compiling * Fix node screenshot * Line widths * Fix node cli tests * Fix node cli warning * ChainComponents -> ServiceComponents, fix tests * make spawn_handle public * Remove spawnnamed impl for taskmanager * Move the keep alive stuff to the task manager * Move the telemetry, base path, rpc keep_alive to the service builder * Make the task manager keep alive an internal detail * Rewrite the browser start_client future * Remove run_node etc * Revert my personal changes to browser-demo/build.sh * use |config| * Add a runtime_version function to SubstrateCli * Reexport role and runtime version from sc cli * Update Cargo.lock * runtime_version -> native_runtime_version * Pass chain spec to native_runtime_version for polkadot * Fix line widths * Traitify ServiceComponents Client
-
Bastian Köcher authored
* Fix tx-pool returning the same transaction multiple times This fixes a bug that lead to returning the same transaction multiple times when iterating the `ready` iterator. Internally the transaction was kept in the `best` list and could be duplicated in that list be re-inserting it again. This `best` list is using a `TransactionRef` which internally uses a `insertion_id`. This `insertion_id` could lead to the same transaction being inserted multiple times into the `best` list. * Update client/transaction-pool/src/testing/pool.rs Co-authored-by:
Nikolay Volf <nikvolf@gmail.com> Co-authored-by:
Nikolay Volf <nikvolf@gmail.com>
-
Luke Schoen authored
-
Thomas Scholtes authored
-
Toralf Wittner authored
* Update to libp2p-0.20.0 * Update to `libp2p-0.20.1`. Co-authored-by:
Pierre Krieger <pierre.krieger1708@gmail.com>
-
- Jun 29, 2020
-
-
Shawn Tabrizi authored
* Allow `retract_tip` on `tip_new` * initial migration code * test migration * make pub * bump spec
-
- Jun 28, 2020
-
-
chenwei authored
-
Shawn Tabrizi authored
-
- Jun 26, 2020
-
-
Pierre Krieger authored
* Increase the limit for the maximum size of the telemetry name * Fix test
-
Xiliang Chen authored
* implement Contains for pallet-membership * bump version
-
Cecile Tonglet authored
-
Cecile Tonglet authored
* Initial commit Forked at: cfa0e0d3 Parent branch: origin/master * Remove @cecton from CODEOWNERS
-
s3krit authored
-
Gavin Wood authored
* Refactor as_sub to make things clearer. - `as_sub` becomes `as_alternative` - `as_sub_limited` becomes `as_derivative` - `as_alternative` and `as_derivative` generate a mutually exclusive set of accounts. * Test fix * Add test * Fix test * Remove `as_alternative`. * Docs.
-
Pierre Krieger authored
* Fix an extra semi-colon yielding a wrong error * Update client/cli/src/commands/run_cmd.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
- Jun 25, 2020
-
-
Benjamin Kampmann authored
Co-authored-by:
Martin Pugh <pugh@s3kr.it>
-
Alexander Theißen authored
This still assumes that the client did not start any transactions before calling into runtime. This is the case for benchmarking as long as either NativeWhenPossible or AlwaysWasm exection strategy is chosen. Using any other will result in a panic.
-
Ricardo Rius authored
-
Tomasz Drwięga authored
-
s3krit authored
-
Shaopeng Wang authored
* Update stale docstring with 'EnsureOneOf' introduced. * Apply review suggestions.
-
thiolliere authored
* bound unsigned when necessary * convert more type to AtLeast32BitUnsigned * Update primitives/arithmetic/src/traits.rs Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * doc refactor * line reorganize Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com>
-
Maciej Hirsz authored
* feat: Include genesis hash in system.connected message for telemetry * chore: Spread call arguments into multiline * chore: Removed commented code
-
Shawn Tabrizi authored
* payout creates controller * update benchmarks * oops * fix session benchmarks * Update weights * fix line width
-
Max Inden authored
Remove burden on user to build polkadot-js apps Docker image locally in order to get started. Update Prometheus config fixing target name.
-
Kian Paimani authored
-
Kian Paimani authored
* Panic on invalid * Fix return * Fix refund
-
Kian Paimani authored
* Update CODEOWNERS * Cleanup CODEOWNERS * Remove myself as a code owner I don’t work on consensus anymore. * Update CODEOWNERS Co-authored-by:
Sergei Shulepov <sergei@parity.io> Co-authored-by:
Demi M. Obenour <demi@parity.io> Co-authored-by:
Nikolay Volf <nikvolf@gmail.com>
-
- Jun 24, 2020
-
-
Shawn Tabrizi authored
* initial mockup * add and wipe * track writes * start to add to pipeline * return all reads/writes * Log reads and writes from bench db * causes panic * Allow multiple commits * commit before ending benchmark * doesn't work??? * fix * Update lib.rs * switch to struct for `BenchmarkResults` * add to output * fix test * line width * @Kianenigma review * Add Whitelist to DB Tracking in Benchmarks Pipeline (#6405) * hardcoded whitelist * Add whitelist to pipeline * Remove whitelist pipeline from CLI, add to runtime * clean-up unused db initialized whitelist * Add regression analysis to DB Tracking (#6475) * Add selector * add tests * debug formatter for easy formula * Update client/db/src/bench.rs Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by:
arkpar <arkady.paronyan@gmail.com> Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com>
-
André Silva authored
-
thiolliere authored
* WIP * handle where clause in benchmarking * doc * maybe better syntax * line width
-
Tomasz Drwięga authored
* Split the code. * Restructure. * Split tests. * Self-review. * Break lines. * Move tests out. * Rename CheckEra -> CheckMortality but keep backwards compatibility * Update frame/system/src/extensions/check_mortality.rs * Don't rename the IDENTIFIER for now. Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-