- Feb 05, 2020
-
-
Sergey Pepyakin authored
* Remove usage of unneeded Rust feature core_intrinsics * core::intrinsics::abort -> arch::wasm32::unreachable * Don't publish `core::intrinsics`. * Disable panic_handler and alloc_error_handler for no_std non wasm builds
-
Wei Tang authored
-
Pierre Krieger authored
* Print an error if listener is closed * Oops, forgot to commit this
-
Pierre Krieger authored
-
Pierre Krieger authored
-
- Feb 04, 2020
-
-
Wei Tang authored
* pallet-evm: log created address * Bump spec_version * Only emit Created event when ExitReason is Succeed
-
Demi Obenour authored
Hopefully this can be merged if the tests pass.
-
Bastian Köcher authored
When messing with the signature, we need to make sure that we acutally mess-up the signature. As the generated private/public key is random, the signature is random as well. It can happen that `bytes[0] == bytes[2]` which makes the test fail. We fix this problem by just inverting the bytes at `0` and `2`.
-
Gautam Dhameja authored
* Added GetCallMetadata for extrinsic calls. Co-Authored-By: Bastian Köcher <[email protected]> * Improved test for outer call metadata. * fixed review comments * removed dead code * fixed review suggestions * Update frame/support/src/dispatch.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Xiliang Chen authored
* add storage_getNextKey * RPC storage_getKeysPages * respect count * use iterator * improve * add tests * improve * add doc comments * Make prefix optional * update error * improve
-
- Feb 03, 2020
-
-
cheme authored
* Fix call to backend in child_storage_hash * child storage test.
-
Demi Obenour authored
This will hopefully reduce merge conflicts in the future
-
Wei Tang authored
* block_import: switch to Box<dyn Any> for intermediates representation * Use Cow and return Error instead of Option * Remove unused error * Distinguish NoIntermediate/InvalidIntermediate
-
Demi Obenour authored
This pulls in the latest release of *ring* and also removes some duplicate dependencies.
-
- Feb 01, 2020
-
-
Gavin Wood authored
* Introduce vesting to node, debug message for upgrades and fix them * Bump spec version
-
Wei Tang authored
* fork-tree: add support for find_node_mut_where * Update utils/fork-tree/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update utils/fork-tree/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update utils/fork-tree/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Fix calling name * Update utils/fork-tree/src/lib.rs Co-Authored-By: Robert Habermeier <[email protected]> * doc: be precise what is "least significant" index Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
Gav Wood authored
-
Gavin Wood authored
* Initially scoping out of the problem * Remove need for exiry in balance locks. * Remove expiry from locks. * Remove supefluous balance test * Amalgamate pieces of balance module * Split out vesting * Fix tests * Fixes for vesting. * Docs. * Weight docs. * Refactor things in terms of set_balances. * Switch out ED to be free + reserved. * Remove on_free_balance_zero and some docs. * Build fixes * Update frame/vesting/src/lib.rs Co-Authored-By: Xiliang Chen <[email protected]> * Update frame/vesting/src/lib.rs Co-Authored-By: Xiliang Chen <[email protected]> * Migration * Remove superfluous code. * Test fixes * Fix some tests * Fix repatriate reserve * Fixes * Add test for migration * Final cleanups * Fix * Indentation. * Undo unneeded referencing * Bump runtime version * Fixes Co-authored-by: Xiliang Chen <[email protected]>
-
Pierre Krieger authored
-
Nikolay Volf authored
-
Nikolay Volf authored
* increase limits, improve logging * format in kB
-
- 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 d9837d7d and fixed in 504b4e89 . 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 d9837d7d 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
-