- Feb 08, 2020
-
-
Alexander Popiak authored
* rename StorageMap::exists(key) to ::contains_key(key) * bump impl_version
-
- Feb 07, 2020
-
-
Cecile Tonglet authored
* Initial commit Forked at: be075893 Parent branch: origin/master * Update Cargo.lock * Cargo.lock * Add missing features of libsecp256k1 * Update dependencies
-
Shawn Tabrizi authored
-
Bastian Köcher authored
* Fix CLI setup again We need to set `config_dir` and `database_path` for almost every command. This fixes `purge-chain` and also adds a test to make sure we don't break it again. * Adds missing test files * Split methods
-
Cecile Tonglet authored
-
Bastian Köcher authored
-
Wei Tang authored
* pow: re-add support for algorithms where only linear verification is possible * Remove unused generic parameters * Clone impl for PowBlockImport
-
Nikolay Volf authored
* update sp-runtime * total update * usage informant * update to crates.io version * update Cargo.lock * update dummy update * fix todo * cleanup * avoid custom impl * Update client/transaction-pool/graph/src/future.rs Co-Authored-By: Tomasz Drwięga <[email protected]> * remove another custom impl * remove another custom impl * add kb in report * update Cargo.lock * review suggestions * --amend * --amend * bump parity-util-mem to 0.5.0 * bumps * update macro and versions * add to grafana * naming Co-authored-by: Tomasz Drwięga <[email protected]>
-
Marcio Diaz authored
* Enable trace timings logs for transaction factory.
-
- Feb 06, 2020
-
-
Nikolay Volf authored
-
Wei Tang authored
* babe: pass epoch data via intermediates * Switch to use Box<dyn Any> for intermediates * Set intermediate.epoch to be Option * Fix proposer should put out an empty intermediate * Remove unnecessary encode/decode * Add EpochData to block_import_params in slot worker * Fix aura compile * Fix integration test
-
Wei Tang authored
* Init epoch changes module * Initial integration of new epoch changes module for BABE * Fix all initial compile errors * rename: digest -> digests * Fix babe tests * Bump impl_version * Fix more test issues * Remove test flag for tree It unfortunately won't work for multiple crates. * Update cargo lock * Fix duplicate parking_lot version * Add missing license header
-
gabriel klawitter authored
* build for pre-tags * shallow clone rustdocs
-
Bastian Köcher authored
* FreeingBumpAllocator: Initialize the heads to `u32::max_value()` `self.heads` can point to an element with the index `0` in the heap. This would make the allocator fail to reuse this element. * Simplify the `PREFIX_SIZE` handling
-
Cecile Tonglet authored
These are a few changes I missed during the refactoring. 1. Initialization issue and boilerplate Most importantly: part of the `Configuration` initialization was done in `sc_cli::init`. This means the user can not benefit from this initialization boilerplate if they have multiple `Configuration` since `sc_cli::init` can only be called once. 2. Boilerplate for `VersionInfo` and `Configuration` I'm also answering to the critic of @bkchr on the initialization using version: https://github.com/paritytech/substrate/pull/4692/files/bea809d4c14a2ede953227ac885e3b3f9771c548#r372047238 This will allow initializing a `Configuration` and provide the version by default. 3. Loading the `chain_spec` explicitly In the past it was done automatically but in some cases we want to delay this. I moved the code to `Configuration.load_spec()` so it can be called later on. `chain_spec` can also be written directly to the `Configuration` without using this `load_spec` helper. 4. [deleted] 5. Fixing issue that prevents the user to override the port In the refactoring I introduced a bug by mistake that could potentially prevent the CLI user to override the ports if defaults where provided for these ports (only on cumulus). 6. Change task_executor from Box to Arc This is useful for cumulus where we have 2 nodes with 2 separate Configuration that need to spawn tasks to the same runtime. 7. Renamed TasksExecutorRequired to TaskExecutor For consistency. This is related to https://github.com/paritytech/cumulus/issues/24 This is the continuation (and hopefully the end of) #4692
-
Marcio Diaz authored
-
Bastian Köcher authored
* Fix memory leak in runtime interface We used `slice::from_raw_parts` in runtime-interface which did not free the memory afterwards. This pr changes it to `Vec::from_raw_parts` to make sure `drop` is called properly and the values are freed. * Check that `len` is non-zero * Adds comment
-
Arkadiy Paronyan authored
-
Jimmy Chu authored
* Restructure node-template so it is clear that node, runtime, and pallets are separated * Separating to mock and tests * restructuring runtime to top-level * updated release script * updated Cargo.lock
-
Nikolay Volf authored
-
- Feb 05, 2020
-
-
André Silva authored
* node: disable grandpa automatic finality fallback * node: bump spec_version
-
André Silva authored
-
Sergey Pepyakin authored
* Don't require `store` and `store_mut` in `SandboxCapabilities`. * Simplify the sandbox a bit
-
Gavin Wood authored
* Merge branch 'gav-split-balanecs-vesting' into gav-upsub # Conflicts: # Cargo.lock # cli/Cargo.toml # collator/Cargo.toml # primitives/Cargo.toml # runtime/common/Cargo.toml # runtime/common/src/claims.rs # runtime/kusama/Cargo.toml # runtime/polkadot/Cargo.toml # service/Cargo.toml * Update client/src/client.rs * Update client/src/client.rs * Fix merge conflict Co-authored-by: Bastian Köcher <[email protected]>
-
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]>
-