- Jan 31, 2020
-
-
Gavin Wood authored
* client/finality-grandpa: Add regression test observer polling network Ensure `Future` implementation of `ObserverWork` is polling its `NetworkBridge`. Regression test for bug introduced in d4fbb897 and fixed in 7d58ceeb . When polled, `NetworkBridge` forwards reputation change requests from the `GossipValidator` to the underlying `dyn Network`. This test triggers a reputation change by calling `GossipValidator::validate` with an invalid gossip message. After polling the `ObserverWork` which should poll the `NetworkBridge`, the reputation change should be forwarded to the test network. * Nits Co-authored-by: Max Inden <[email protected]>
-
Benjamin Kampmann authored
* Adding Serde:Deserialise to UncheckExtrinsics to be able to use the ChainApi RPC from the client side * Update primitives/runtime/src/generic/unchecked_extrinsic.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Tomasz Drwięga authored
* Initial version. * Fix tests. * Refactor using StorageValueRef. * Add tests and apply review suggestions. * Bump runtime. Co-authored-by: Gavin Wood <[email protected]>
-
thiolliere authored
-
Sergey Pepyakin authored
* Small follow-up docs improvements in rent module * Update frame/contracts/src/rent.rs Co-Authored-By: thiolliere <[email protected]> * Use a shorter version of the sentence Co-authored-by: thiolliere <[email protected]>
-
Sergey Pepyakin authored
* Initial approach * Introduce the pallet-contracts-common crate * Add rent::compute_rent_projection * Wire everything together * Fix build error. * Rename EvictionDate → EvictionAt. * Clean. * Renaming and cleaning. * Add documentation for rent_projection RPC. * Add documentation for rent_projection runtime API. * Refactor rent_budget. Merge it with subsistence_treshold. * Bump impl_version * Constrain RPC impl with Block::Header::Number. * Rename pallet-contracts-common into -primitives * Add a comment for `compute_rent_projection` on the usage * Small tidying
-
Eric authored
* Update to the latest crate names * Add to post initial rename fixes
-
Nikolay Volf authored
-
Bastian Köcher authored
* Cleanup transaction pool deps * Fix it properly * Fix doc test
-
Cecile Tonglet authored
-
Bastian Köcher authored
-
- Jan 30, 2020
-
-
Bastian Köcher authored
* Expose information about the extrinsic in the metadata This pr exposes some information about the extrinsic used in the runtime via metadata. The following information are exposed: - Version of the extrinsic - List of all signed extensions used by the extrinsic. * Increment `spec_version`
-
Sergey Pepyakin authored
To my knowledge, we don't keep wasm blobs checked in anymore.
-
Cecile Tonglet authored
It changes the way we extended the CLI functionalities of substrate to allow more flexibility. (If this was not clear, here is another version: it changes the `sc_cli` API to allow more flexibility). This touches a few important things: - the startup of the async task with tokei: This was in node and node-template and I moved it to substrate. The idea is to have 1 time the code that handles unix signals (SIGTERM and SIGINT) properly. It is however possible to make this more generic to wait for a future instead and provide only a helper for the basic handling of SIGTERM and SIGINT. - increased the version of structopt and tokei - no more use of structopt internal's API - less use of generics Related to #4643 and https://github.com/paritytech/cumulus/pull/42: the implementation of "into_configuration" and "get_config" are similar but with better flexibility so it is now possible in cumulus to have the command-line arguments only of the run command for polkadot if we want Related to https://github.com/paritytech/cumulus/issues/24 and https://github.com/paritytech/cumulus/issues/34 : it will now be possible to make a configuration struct for polkadot with some overrides of the default parameters much more easily.
-
Cecile Tonglet authored
I don't see any good reason to build with --release to test this but this step takes 8-8:30 min on the CI and I suspect we would save some time by using the debug build instead.
-
- Jan 29, 2020
-
-
Tomasz Drwięga authored
-
Max Inden authored
Patch d4fbb897 reintegrated the periodic neighbor packet worker, by moving its logic into a `Future` implementation on `NetworkBridge` which needs to be polled by its upper layer. Polling by the upper layer was implemented within the `Future` implementation of the `VoterWork` struct but not within the `Future` implementation of the `ObserverWork` struct. This patch adds polling of the `NetworkBridge` to the latter.
-
Gavin Wood authored
* Identity should bound additional fields * ump rutnime
-
Gavin Wood authored
-
Bastian Köcher authored
* Add `get_global` for `Sandbox` This pr adds `get_global` to retrieve a `global` variable from an instantiated sandbox wasm blob. * Bump `spec_version` * Update primitives/wasm-interface/src/lib.rs Co-Authored-By: Sergei Pepyakin <[email protected]> * `get_global` -> `get_global_val` Co-authored-by: Sergei Pepyakin <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
Pierre Krieger authored
-
brenzi authored
-
Gavin Wood authored
* Remove free transaction dos vectors. * Bump spec version * Indentation. * Update frame/support/src/weights.rs Co-authored-by: Bastian Köcher <[email protected]>
-
thiolliere authored
* LinkedMap doesn't implement StoragePrefixedMap * fix test
-
Sergey Pepyakin authored
-
thiolliere authored
-
Benjamin Kampmann authored
* adding license fields to all crates * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
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
-