- Nov 13, 2018
-
-
Pierre Krieger authored
-
Bastian Köcher authored
* Move `initialise_block` into `Core` trait as it is crucial calling the API functions * Switch to first version of new runtime API implementation * Fixes bug in tests * Reenable asserts * Directly use the `TestAPI` in the tests * Start improving the api traits :100644 100644 898aadc7 49217199 M Cargo.lock :100644 100644 61570436 465ed664 M core/client/src/backend.rs :100644 100644 5d0c886b 64d710fd M core/client/src/block_builder.rs :100644 100644 c447855e 5ecbe474 M core/client/src/client.rs :100644 100644 139cef13 f90dbf3d M core/client/src/error.rs :100644 100644 2800c503 3298e66a M core/client/src/runtime_api.rs :100644 100644 affa1c5c 809b08bc M core/primitives/src/lib.rs :100644 100644 2877dfa9 d5547413 M core/sr-api/Cargo.toml :100644 100644 9a49784d 6a625a03 M core/sr-api/src/lib.rs :100644 100644 7c28e1c7 a1a444a9 M core/sr-primitives/src/traits.rs :100644 100644 2e113ab6 dcc01a6d M srml/metadata/Cargo.toml :100644 100644 ea722a70 0809531a M srml/metadata/src/lib.rs * Refactoring * Move `sr-api` into client and more refactoring * Fixes tests * Some documentation and cleanup * Fixes compilation after rebase * More refactoring and more documentation * Makes `substrate-client` compilable on `wasm` On `wasm` it basically just exports the runtime api stuff. * Fixes grumbles * Updates wasm files after rebasing the master * Remove TODO comment * Remove whitespaces * Fixes after rebasing master * Another rebase, another fix commit
-
Svyatoslav Nikolsky authored
* forks support in changes trie storage * moved convert_hash to primitives * optimize ChangesTrieRootsStorage::root when anchor is canonicalized
-
- Nov 12, 2018
-
-
Luke Schoen authored
docs: Extends #999. Remove disused package readmes. Rename to sr-metadata. Fix Readme Rustdoc names (#1016) * docs: Remove safe-mix since is no longer local dependency * docs: Fix existing packages link. Still only includes Substrate Core * docs: Remove empty package Readmes. Remove old docs links. Rename to Readme * docs: Remove link to old docs * misc: Merge latest from master. Renaem to sr-metadata. Fix list of RustDoc package names * Rename substrate-metadata to sr-metadata, since it is in the "srml" subdirectory * Change example to use package name that opens all packages in RustDocs * Fix list of packages names that are available to open in RustDocs * fix typo * fix ordering of CLI options and add missing backslash
-
Sergey Pepyakin authored
* Rename Config → Schedule. * Fetch and pass config. * Integrate config everywhere. * <<<E as Ext>::T as Trait> → <<E::T as Trait> * Update roots * Cache existential_deposit * Update COMPLEXITY.md * Update roots.
-
azban authored
* test-utils: add chain-spec-builder cli * style changes, mostly indentation * fix padding * add issue to todo * more style fixes * share seed padding with keystore * fix master rebase error
-
Andrew Jones authored
* Add properties to chain spec * Read properties as serde_json::Value * Use a serde json::map::Map directly for properties * Add type alias for json Map * Update chain_spec.rs
-
Gav Wood authored
* Remove superfluous serde requirements. * Try to ensure hash is serde * Fixups * Building again * Attempt to reenable Block (doesn't build) * Fixes compilation for node cli * Fixes test compilation * Fix wasm * Fix tests * Remove unneeded changes * Fix up comments * Reenable some code * Compile error when origin misused. * Remove unnecessary includes of `serde_derive` * Cleanups
-
Pierre Krieger authored
* Only reconnect if topology changed * Minor changes
-
- Nov 09, 2018
-
-
David authored
* WIP * Use latest lip2p master
-
Sergey Pepyakin authored
-
- Nov 07, 2018
-
-
Luke Schoen authored
-
Tomasz Drwięga authored
* Finalised blocks PubSub * Finalised head RPC. * Unify spelling.
-
- Nov 06, 2018
-
-
Hero Bird authored
* [core/primitives] Update crunchy 0.1 => 0.2 * [core/primitives] Update fixed-hash 0.2 => 0.3.0-beta * [core/primitives] Update `uint` 0.4 => 0.5.0-beta * [core/state-machine] Fix errors emerged by fixed-hash update * [core/state-db] Fix errors that emerged from fixed-hash update * [core/sr-io] Fix errors that emerged from the fixed-hash update * [core/trie] Fix errors emerged from fixed-hash updates * [core/trie] Make use of new Hash::as_fixed_bytes_mut method in tests * [core/sr-primitives] Fix errors emerged from updating fixed-hash * [core/executor] Fix errors that emerged from fixed-hash update * [core/test-runtime] Fix errors that emerged from updating fixed-hash * [core/test-runtime] Fix an error that emerged from fixed-hash update * [core/transaction-pool] Fix errors that emerged from updating fixed-hash * Add From<u64> impl for hash types defined in core/primitives * [core/client/db] Fix errors that emerged from fixed-hash update * [core/{client/network/rpc}]: Fix errors emerged by fixed-hash update * [node/{cli/executor/runtime}]: Fix errors emerged by updating fixed-hash * [core/network]: Fix bug in parsing constant str * Update Cargo.lock - Add crunchy 0.2.1 - fixed-hash 0.2.2 => 0.3.0-beta.3 - Add static-assertions 0.2.5 - uint 0.4.1 => 0.5.0-beta.1 * [core/primitives]: Add fixed-hash/rustc-hex feature for FromStr impl * [core/primitives] No longer provide From<u64> impl for hash types if byteorder support is not enabled * [core/primitives] Revert to using From impl again in primitives tests * [core/..] Fix some bugs that emerged by recent fixed-hash updates * Update a bunch of Cargo.lock files * [core/state-db] Re-add whitespace between attr and extern crate/mod * [core/primitives] Fix bug in From<u64> impl for hash types using the wrong feature guard
-
- Nov 05, 2018
-
-
Sergey Pepyakin authored
* Sandbox mem IO according to COMPLEXITY.md * Fix tests. * Update root hash for deploying contract test.
-
Pierre Krieger authored
-
- Nov 01, 2018
- Oct 31, 2018
-
-
Sergey Pepyakin authored
-
- Oct 27, 2018
-
-
guanqun authored
-
Benjamin Kampmann authored
* Generalize BlockImport - move ImportBlock, BlockOrigin, ImportResult into shared sr-primitives - let Consensus provide and traits again - update consensus traits to latest development - implement traits on client::Client, test_client::TestClient - update RHD to use the new import_block API * Move ImportBlock into consensus-common * Send import notification in aura tests * Integrating aura into service * Make Signatures more generic * Aura Block Production with the given key * run aura on the thread pool * start at exact step start in aura * Add needed wasm blob, in leiu of better solutions. * Make API ids consistent with traits and bring upstream for sharing. * Add decrease_free_balance to Balances module * Encode `Metadata` once instead of two times * Bitops include xor * Upgrade key module. * Default pages to somewhat bigger. * Introduce upgrade key into node * Add `Created` event
-
guanqun authored
* use :vis in macro_rules! * use :vis in meta
-
- Oct 26, 2018
-
-
Luke Schoen authored
-
Luke Schoen authored
* docs: Remove safe-mix since is no longer local dependency * docs: Fix existing packages link. Still only includes Substrate Core
-
- Oct 25, 2018
-
-
Bastian Köcher authored
-
- Oct 23, 2018
-
-
Tomasz Drwięga authored
-
- Oct 20, 2018
-
-
Gav Wood authored
* Remove nonsense code and options, fix score and generally make subkey work. * Rename Demo -> Node
-
Gav Wood authored
* Add Assets module * Fixes * Fix * Update comments * Support `GenesisConfig` without any fields Fixes: #923 * Do not generate an empty `GenesisConfig`, instead generate no `GenesisConfig`
-
- Oct 19, 2018
-
-
Bastian Köcher authored
* Move `chain_spec` into `node-cli` * Fixes tests * Adds `construct_simple_service` and `construct_service_factory` macros * Remove the `node-service` crate * Add some documentation * Fixes compilation on stable
-
Svyatoslav Nikolsky authored
* moved DigestItem impl to impl_outer_log * Enable backtrace collecting on the CI * internal module is not required in impl_outer_log * Revert "internal module is not required in impl_outer_log" This reverts commit 54304469. * Revert "moved DigestItem impl to impl_outer_log" This reverts commit 8872bbee. * Revert "Revert "moved DigestItem impl to impl_outer_log"" This reverts commit 47afd596. * Revert "Revert "internal module is not required in impl_outer_log"" This reverts commit 9ae64001. * More diagnostics * check if only 1 test fails * test is back + some "traces" * removed some traces * removed "traces"
-
- Oct 18, 2018
-
-
Wei Tang authored
* Implement a non generic version of child delta trie * Use delta_trie_root in state_machine * Expand InMemory backend to support multi-storage * Create Consolidate trait * Fix all crate compile and remove unused OverlayedChanges::drain * Implement child storage root support and overlay changes * Add child storage reader * Add child storage writer * Implement child storage cleaning * Fix light backend compile * Add all required ext functions for wasm executor * Add ext def to io * Add all io functions * Fix nostd compile * Add simple test * Remove unnecessary vec copy in child_storage_root_transaction * Use values_mut/for_each to make it shorter * Use extend to shorter a for loop * Move record_all_keys to trie so it's easier to generic them later * space -> tab * Remove to_owned in debug format * Clean out all to_owned * Break debug_trace to multiple lines * Remove 0.. * UserError copy/paste typo * Replace Vec::from_raw_parts by slice::from_raw_parts * Use iter::empty() * Wrap some long lines * Wrap a missing line * Remove unnecessary map https://github.com/paritytech/substrate/pull/856#discussion_r226222663 * Call ext_free after from_raw_parts * Fix tests in other crates
-
Bastian Köcher authored
-
Bastian Köcher authored
* Adds new `ProvideInherent` trait Also implements the new trait for `srml/consensus` and `srml/timestamp`. * Adds `impl_outer_inherent!` macro * Reexport macros from `alloc` * Introduce `RuntimeString` and fix `ProvideInherent` on `no_std` * Replace `VersionString` with `RuntimeString` * Improvements for `impl_outer_inherent!` * Make `construct_runtime!` support `impl_outer_inherent!` * Fixes after rebase * Whitespace
-
Tomasz Drwięga authored
* Revert "Revert runtime changes." This reverts commit 01a7d1aa. * Parallel queue reads. * Avoid recursion in best iterator.
-
snd authored
* resolve #780 * in import tx insert after retracting so blocks don't disappear * adapt db/cache to changes to db/utils * db/light: remove old hash lookup insertion * renames * improve naming * improve naming * db/utils: improve docs for block lookup key stuff * db/light/note_finalized: adapt to changes for issue #780 * db/light/cht/tests: add assertions for HASH_LOOKUP * simplify addresses https://github.com/paritytech/substrate/pull/890#discussion_r226009746 * break long line addresses https://github.com/paritytech/substrate/pull/890#discussion_r226002211 * Whitespace
-
- Oct 17, 2018
-
-
Tomasz Drwięga authored
* Implement Ready/Future events. * Trigger invalid notification. * Clearing stale transactions test. * Fix RPC test.
-
Svyatoslav Nikolsky authored
* changes trie pruning * add comment * do not prune changes tries on archive nodes
-
- Oct 16, 2018
-
-
Gav Wood authored
* Try to make everything compact * Make `Clone` work * Fix * Move contracts and balances over to compact encoding * Session and timestamp are compact * Sataking uses compact numbers * Treasury now compact * Compact Democracy * Council is compact * Fix
-
Bastian Köcher authored
* Adds new `check_inherents` function to the `BlockBuilder` API * Switch to `check_inherents` in `node-consensus` * Remove `CheckedBlock`, because it is not required anymore * Fixes after rebase * Fixes compilation on stable
-
Pierre Krieger authored
-