- Jan 24, 2020
-
-
Nikolay Volf authored
* async/await in tx graph * review notes * remove unused typedef
-
Bastian Köcher authored
* Deposit event on `frame-system::set_code` * Update frame/system/src/lib.rs Co-authored-by: thiolliere <[email protected]>
-
Ashley authored
* Switch GrandPa to new futures * Work on making tests work * until_imported tests working again * Work on switching tests to stable futures * Modifications * Re-add test as #[ignore] * Don't ignore * Add manual unpins * Remove Header import * Return concrete Sink type * Switch to crates.io finality-grandpa version * Remove use statement that slipped in * Fix some nitpicks * Remove unpin from i * Fixed typo * Move futures01 to dev-deps * Fix nitpicks * Update client/finality-grandpa/src/communication/mod.rs Co-Authored-By: André Silva <[email protected]> * nitpicking Co-authored-by: Pierre Krieger <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Nikolay Volf authored
* Reduction. * Reformation. * add locked timer stuff * fix issues and introduce full pool * arrange together * fix benches * fix new_light * Add revalidation test case * review fixes * review fixes * use just ready future * address review
-
Jaco Greeff authored
-
- Jan 23, 2020
-
-
Hero Bird authored
-
* [contracts] add ext_tombstone_deposit * [contracts] update tombstone_deposit docs
-
Nikolay Volf authored
* Refactor and test spec block rules * address review * Update client/src/block_rules.rs Co-Authored-By: André Silva <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Bastian Köcher authored
-
* clinet/finality-grandpa: Make round_communication use bounded channel `round_communication` returns a `Sink` and a `Stream` for outgoing and incoming messages. The messages send into the `Sink` are forwarded down to the network as well as send back into the `Stream` to ensure the node processes its own messages. So far, to send messages into the `Sink` back into the `Stream`, an unbounded channel was used. This patch updates `round_communication` and `OutgoingMessages` to use a bounded channel. This is part of a greater effort to reduce the number of owners of components within `finality-grandpa` and `network` as well as to reduce the amount of unbounded channels. For details see d4fbb897 and f0c18520. * client/finality-grandpa: Import futures03::future::ready at the top * client/finality-grandpa: Make tests use compat of future 03 * client/finality-grandpa: Do not import ready into scope Instead of importing futures03::future::ready into the scope, only import futures::future03 into scope and call ready as furure03::ready.
-
Wei Tang authored
* consensus, pow: intermediate separation and fail * Fix compiles * Update primitives/consensus/common/src/block_import.rs Co-Authored-By: Robert Habermeier <[email protected]> * Update primitives/consensus/common/src/block_import.rs Co-Authored-By: Robert Habermeier <[email protected]> * Document what None means for `fork_choice` in block import params Co-authored-by: Robert Habermeier <[email protected]>
-
- Jan 22, 2020
-
-
Sergey Pepyakin authored
* Add fool protection and comment construct_block * Update bin/node/executor/tests/common.rs Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
This moves the wasm-allocator (`FreeingBumpHeapAllocator`) into its own crate `sp-allocator`. This new crate can theoretically provide multiple different allocators. Besides moving the allocator, this pr also makes `FreeingBumpHeapAllocator` compile on `no_std`.
-
Toralf Wittner authored
See #4702 for details.
-
asynchronous rob authored
-
Denis_P authored
* fixes trigger-contracts-ci job to actually depend on build-linux-substrate
-
Nikolay Volf authored
* remove and reformat * remove some more * commit Cargo.lock
-
Max Inden authored
* client/authority-discovery/Cargo.toml: Update dependency * client/authority-discovery: Pass packet payload and addresses as slice Starting with Bytes 0.5 `Vec<T>` does not implement `Buf`, but `&[T]` does.
-
Bastian Köcher authored
* Support `u128`/`i128` in runtime interface This implements support for `u128`/`i128` as parameters/return value in runtime interfaces. As we can not pass them as identity, as for the other primitives types, we pass them as an pointer to an `[u8; 16]` array. * Remove some unsafe code usage
-
- Jan 21, 2020
-
-
André Silva authored
-
Nikolay Volf authored
-
Nikolay Volf authored
-
* contracts: during execution -> contract trapped during execution This message confused many people so we are improving it to make clear what happened. * contracts: rename Event::Contract -> Event::ContractExecution * contracts: fix tests after ContractExecution renaming * contracts: Add Evicted and Restored events * fix doc comment * wrap to not go over (soft) 100 column line limit * add event deposit for eventual eviction upon pay_rent * contracts: adjust tests for the new events * emit Evicted event immediately and add tombstone flag bool
-
Pierre Krieger authored
* Pass an executor through the Configuration * Make tasks_executor mandatory * Fix tests
-
André Silva authored
-
Bastian Köcher authored
* Make debug builds more usable This pr makes debug builds more usable in terms of `cargo run -- --dev`. 1. `--dev` activates `--execution native`, iff `--execution` is not given or no sub `--execution-*` is given. 2. It was probably a mistake to compile WASM in debug for a debug build. So, we now build the WASM binary always as `release` (if not requested differently by the user). So, we trade compilation time for a better debug experience. * Make sure we only overwrite default values * Make it work * Apply suggestion
-
- Jan 20, 2020
-
-
Pierre Krieger authored
-
Bastian Köcher authored
Some fixes after: https://github.com/paritytech/substrate/pull/4502 This removes the unwanted `expect`s from `MultiSigner`. Instead we convert from full to compressed in `TryFrom` and can return an error on invalid input.
-
thiolliere authored
* Initial work * Fix most things * fix test * fix old comment * migration * fix * remove useless stuff * fix * less spaghetti implementation * fix initial session * fix
-
gabriel klawitter authored
* ci: increase retention for logs of tests to 144 hours * change to days
-
Max Inden authored
-
asynchronous rob authored
* deprecate chain_status field of network handshake * Update client/network/src/protocol/message.rs remove unneeded whitespace. Co-Authored-By: Pierre Krieger <[email protected]> Co-authored-by: Pierre Krieger <[email protected]>
-
asynchronous rob authored
* keep nominations after getting kicked with zero slash * rename next_key to maybe_next_key Co-Authored-By: Gavin Wood <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
Pierre Krieger authored
-
- Jan 19, 2020
-
-
By using `cfg(doc)`, we can generate docs for modules which are only available from `no_std`. This drastically improves the documentation for the developers.
-
- Jan 18, 2020
-
-
Gavin Wood authored
* Add rules and unfounding to society. * Docs and event * Extra bit of docs. * Cunningly reduce complexity * Remove candidates when unfounding. * Remove suspended candidates when unfounding, too.
-
Bastian Köcher authored
Adds a table to the rustdoc that shows how each individual type is passed between the wasm and the host side.
-
Xiliang Chen authored
-
- Jan 17, 2020
-
-
Shawn Tabrizi authored
* Ensure all votes are removed after tally * Fix comment
-
Max Inden authored
* client/finality-grandpa: Reintegrate gossip validator report stream The `finality-grandpa` `GossipValidator` is called by the `GossipEngine` in a synchronous fashion on each gossip message. Its main task is to decide whether to gossip the given message on, or whether to drop it. In addition it also updates the reputation of a node's peers based on the incoming gossip messages. To do so it needs to be able to report the reputation change which it does through an unbounded channel (in order to stay synchronous). Previously the receiving side of this channel would be handled by a new task, polling the channel and forwarding the changes to a clone of the `GossipEngine` that it would own. Instead the receiver of the above mentioned channel is now being polled by the `NetworkBridge` within its `Future::poll` implementation. Reputation changes are reported through the already existing `GossipEngine` instance within `NetworkBridge`. For details on the overall goal, see d4fbb897. * client/finality-grandpa: Remove exit future from test NetworkBridges
-