- Jan 29, 2020
-
-
Pierre Krieger authored
-
Bastian Köcher authored
A light client can not be a validator, so we should not set `authority == true` in dev mode.
-
- Jan 28, 2020
-
-
Edwin authored
* Rpc api for offchain storage * Replace Vec<u8> to Bytes, replace Mutex to RwLock * Remove pub * Modify copyright year
-
Hoani Bryson authored
* Remove unneccessary duplication in generic asset create * Increment impl_version due to refactoring generic_asset
-
Tomasz Drwięga authored
* Display error message when checking has_api. * Cargo.lock.
-
philipstanislaus authored
* Add SS58 network identifier for Centrifuge * Bump version
-
Joshy Orndorff authored
* Update template to use decl_error * Test for error on template * Comments * Reorder decl_* blocks: storage, event, error, module * Remove TODOs * Clarify comment on type Error = Error<T>
-
Bastian Köcher authored
* Print extrinsic failed error always, not just on import Before we printed the error of a transaction only when importing a block, this pr changes it to print the error also at building the block. * Increment `impl_version`
-
Tomasz Drwięga authored
* Make sure to destroy state in case of error. * Update client/src/call_executor.rs * Update client/src/call_executor.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Toralf Wittner authored
-
Bastian Köcher authored
* WASM runtime switch to import memory Up to now runtimes have exported their memory. To unify it with sandboxing, this pr switches runtimes to import memory as well. From a functional perspective, exporting/importing memory makes no difference to the runtime. To provide backwards compatibility, WASM exported memory is still supported. * Revert debug stuff * Revert some stuff
-
- Jan 27, 2020
-
-
Pierre Krieger authored
* Fixes for libp2p 0.15 * More work * Update libp2p * Update to libp2p 0.15
-
Nikolay Volf authored
* transaction pool changes * service & network changes * address review * reduce future pool
-
thiolliere authored
* remove default hasher from decl_storage! * fix decl_storage declarations
-
gabriel klawitter authored
-
Sergey Pepyakin authored
* Refactor and comment `rent` module. * impl_version bump * Add doc for Exempt * Simplify code. * Update bin/node/runtime/src/lib.rs Co-Authored-By: thiolliere <[email protected]> * Update frame/contracts/src/exec.rs Co-Authored-By: Hero Bird <[email protected]> Co-authored-by: thiolliere <[email protected]> Co-authored-by: Hero Bird <[email protected]>
-
* Simply remove references to frame_consensus * More thorough re-write * Update frame/session/src/lib.rs Co-Authored-By: thiolliere <[email protected]> * on_initialize is not dispatchable * Attempt to fix test. * Actually fix test. * Actually ran passing test. * Update frame/session/src/lib.rs Co-Authored-By: thiolliere <[email protected]> Co-authored-by: thiolliere <[email protected]>
-
Nikolay Volf authored
* shuffle tests * update tests * inc_nonce -> increment_nonce
-
Web3 Philosopher authored
* instant/manual seal unbounded queues are evil Apply suggestions from code review Co-Authored-By: Robert Habermeier <[email protected]> add fork tests, docs, remove todos moar docs Update client/consensus/manual-seal/src/rpc.rs Co-Authored-By: Robert Habermeier <[email protected]> remove unbound generic, parameter, docs, deps, code style changes Apply suggestions from code review Co-Authored-By: Tomasz Drwięga <[email protected]> code style chnges remove unused deps, remove dep renames, check if block is empty before importing, use ? for error propagation fix tests log errors for instant seal use debug code style changes, updated copyright dates use txpool::Pool instead of BasicPool, code style changes fixed tests * fix tests * requested changes from review * check inherents len * rebase
-
- Jan 25, 2020
-
-
Sergey Pepyakin authored
* Quick and dirty impl. * Clean up * Check the signatures. * Fix tests. * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Ignore non function members. Co-authored-by: Bastian Köcher <[email protected]>
-
- Jan 24, 2020
-
-
thiolliere authored
* improve decl storage parsing * remove hidding detail macro * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]>
-
Bastian Köcher authored
* Introduces `author_hasKey` and `author_hasSessionKeys` rpc endpoints Both endpoints can be used to check if a key is present in the keystore. - `hasKey` works on with an individual public key and key type. It checks if a private key for the given combination exists in the keystore. - `hasSessionKeys` works with the full encoded session key blob stored on-chain in `nextKeys`. This requires that the given blob can be decoded by the runtime. It will return `true`, iff all public keys of the session key exist in the storage. Fixes: https://github.com/paritytech/substrate/issues/4696 * Update client/rpc-api/src/author/error.rs Co-Authored-By: Nikolay Volf <[email protected]> * Indentation Co-authored-by: Nikolay Volf <[email protected]>
-
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 d9837d7d and 5f80929d. * 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.
-