- Mar 10, 2020
-
-
thiolliere authored
* add documentation and optimise payout_validator a bit * bump spec version to be safe this is just in case clipped exposure and exposure have different fields own and total. This shouldn't be the case but better be safe in case storage is wrong. * Update frame/staking/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
Bastian Köcher authored
Up to now `wasm-builder` iterated over all packages that were not part of the wasm workspace and added the files to the `rerun-if-changed` list. However, this included to many files and resulted in needless re-compilations in `Cumulus` for example.
-
Bastian Köcher authored
* Remove `secp256k1` from WASM build * Bring back full public key parse on native * Add extra method to create from a full public key
-
Gavin Wood authored
* Sort address types and mark reserved. * Typos * Fix warning
-
s3krit authored
-
Denis_P authored
* test run warnings test * fix dependency * fail on warnings is now necessary
-
Ashley authored
* Update to libp2p 0.16.2 * Use libp2ps implementation of a wasm websocket transport * Remove explicit Configuration type in node-cli Co-authored-by: Pierre Krieger <[email protected]>
-
Bastian Köcher authored
* Don't include `:code` by default in storage proofs (#5060) * Adds test to verify that the runtime currently is always contained in the proof * Start passing the runtime wasm code from the outside * Fix compilation * More build fixes * Make the test work as expected now :) * Last fixes * Fixes benchmarks * Review feedback * Apply suggestions from code review Co-Authored-By: Sergei Pepyakin <[email protected]> * Review feedback * Fix compilation Co-authored-by: Sergei Pepyakin <[email protected]> * Fix compilation and change the way `RuntimeCode` works * Fix tests * Switch to `Cow` Co-authored-by: Benjamin Kampmann <[email protected]> Co-authored-by: Sergei Pepyakin <[email protected]>
-
Max Inden authored
* client/service/src/builder.rs: Add build_info metric Add static Prometheus metric exposing the chain name, the version and the commit. * client/service/src/builder.rs: Move node_role to static metrics The Prometheus metrics `node_role` is static and thus there is no need to keep a reference of it within `ServiceMetrics`. This follows the example of the `build_info` metric. * client/service/src/builder.rs: Adjust indentation
-
Igor Matuszewski authored
* offchain: Simplify bits of http code * offchain: Sort dev-dependencies * deps: Bump parity-multiaddr to 0.7.3 Fixes build failure when using: rustc 1.43.0-nightly (96bb8b31c 2020-03-05). * offchain: Raise FD limit for HTTP tests * offchain: Reword the comment on increasing the test fd limit
-
Bastian Köcher authored
-
- Mar 09, 2020
-
-
André Silva authored
* grandpa: only gossip commits to peers on the same set * grandpa: track commits uniquely by round and set * grandpa: fix communication test * grandpa: add tests for commit gossip handling * grandpa: add missing docs
-
thiolliere authored
-
Max Inden authored
* client/network-gossip: Merge GossipEngine and GossipEngineInner Given that GossipEngine and GossipEngineInner are not shared between threads anyone (public interface + background tasks), neither depends on being Send or Sync. Thus one can merge the two as done in this patch. One only needs to wrap an `Arc<Mutex<>>` around the whole structure when the owner (e.g. finality-grandpa) needs to share the gossip engine between threads. * client/finality-grandpa: Wrap GossipEngine in Arc Mutex & lock it on use GossipEngine in itself has no need to be Send and Sync, given that it does not rely on separately spawned background tasks anymore. Given that finality-grandpa shares the `NetworkBridge` potentially between threads its components need to be clonable, thus this patch wraps `GossipEngine` in an `Arc<Mutex<>>`.
-
Bastian Köcher authored
-
Jianping Deng authored
-
Shawn Tabrizi authored
* Update logic to cancel_deferred_slash * More idiomatic * bump spec Co-authored-by: Gavin Wood <[email protected]>
-
Marcio Diaz authored
* Init macro * Refactor function. * Add feature * vested transfer benchmark * Fix features * Forgot to push this fix * bump impl * Nits. Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Mar 06, 2020
-
-
Gavin Wood authored
* Second migration fix * Fix check-runtime script * Another fix to the CI * Revert changes. * Bump runtime
-
André Silva authored
-
Pierre Krieger authored
* Fix NotificationStreamClosed reported when it shouldn't * Fix test * Add test * Update client/network/src/protocol.rs Co-Authored-By: Bastian Köcher <[email protected]> * Oops, fix test Co-authored-by: Bastian Köcher <[email protected]>
-
Nikolay Volf authored
* remove all from members * add test
-
Gavin Wood authored
-
Ashley authored
-
André Silva authored
* client: fix notification sinks leak during initial sync * client: add test for notification sink cleanup * Make it compile * Further cleanup * client: fix test for notification sinks cleanup Co-authored-by: Bastian Köcher <[email protected]>
-
Nikolay Volf authored
* add state/database caches to prometheus * also state-db memory * use suggestions from review
-
Alexander Krupenkin authored
-
Joshy Orndorff authored
-
thiolliere authored
* fix staking bug * add some guarantee note in SessionManager while it is not fixed in staking * bumpd impl version
-
André Silva authored
-
Bastian Köcher authored
* Revert "Build block without checking signatures (#4916)" This reverts commit e50f6109. * Some further clean ups
-
- Mar 05, 2020
-
-
Gavin Wood authored
* Revert "use fixed quote (#5135)" This reverts commit 8bf855b0 . * Upgrade failure version * Update frame/staking/reward-curve/Cargo.toml Co-Authored-By: André Silva <[email protected]> * Ahh I'm dumb Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Gavin Wood authored
* Add some metrics * Address concerns
-
Gavin Wood authored
-
Gavin Wood authored
* Remove `Backend::destroy_state` This removes the `destroy_state` function of `Backend` and instead moves the functionality into the `Drop` implementation of the state. This makes it much easier to work with the state, as the user no longer needs to call` destroy_state` manually. However, it requires that we switch from `RwLock` to `ReentrantMutex` as while importing a block we maybe need to lock again in `drop`. * Bring back the `RwLock` and some other clean ups * Fix compilation
-
Gavin Wood authored
The only up-to-date deployment of PolkadotJS apps is currently on https://polkadot.js.org/apps/. https://substrate-ui.parity.io is only useful as deliberately kept outdated version of Apps, to be used for projects still on Substrate 1.0 It cannot be used with the up-to-date chains running the Substrate 2.0 codebase, and probably won't be maintained much longer.
-
Gavin Wood authored
-
Gavin Wood authored
-
Gavin Wood authored
* Don't remove invalid transactions when skipping. * Use a special kind of extrinsic instead of arbitrary limit. * Fix txpool tests. * Attempt to create more blocks. * Bump lock Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Nikolay Volf <[email protected]>
-
Benjamin Kampmann authored
* removes use of sc_client::Client from sc-rpc * remove Client impl from sc-finality-benches * remove client impl from sc-finality-grandpa * read_proof accepts iterator * remove generic Executor param from ExecutorProvider * fix long ass line * code style changes * merge with master Co-authored-by: Arkadiy Paronyan <[email protected]>
-