- Oct 04, 2018
-
-
- Oct 03, 2018
-
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
guanqun authored
* remove one map implementation in test * remove one map macro * remove one map macro * remove one map macro
-
- Oct 01, 2018
-
-
Pierre Krieger authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
* Global unique subscription ids. * Fix tests.
-
- Sep 30, 2018
-
-
Arkadiy Paronyan authored
* Auxiliary data storage in client backend * Runtime error handling
-
Arkadiy Paronyan authored
-
Sergey Pepyakin authored
* Fix `sandbox::Memory` lifecycle for no_std env * Retain memories in env_def builder and instance * Add scoped memory creation to test RC semantics * Add deploying_wasm_contract_should_work test. * Fix sandboxed memory set function.
-
Arkadiy Paronyan authored
-
Sergey Pepyakin authored
-
- Sep 29, 2018
-
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
-
Arkadiy Paronyan authored
* Consensus cleanup * Fixed DB initialization issue * Spacing
-
Arkadiy Paronyan authored
* Limit gossip for non-authorities * Random shuffle
-
Pierre Krieger authored
* No longer use a channel for custom protocols * Fix warnings * Add graceful shutdown and comments * Minor cleanups * Add warning if queue goes over threshold * Increase threshold * Address grumble
-
Svyatoslav Nikolsky authored
* changes_trie * changs_trie: continue * changes_trie: adding tests * fixed TODO * removed obsolete ExtrinsicChanges * encodable ChangesTrieConfiguration * removed polkadot fle * fixed grumbles * ext_storage_changes_root returns u32 * moved changes trie root to digest * removed commented code * read storage values from native code * fixed grumbles * fixed grumbles * missing comma * key changes proof generation + query * fix grumbles * check that changes trie config is not changed by block.finalize() * fixed changes trie config check
-
Bastian Köcher authored
The metadata call does not work anymore with JSON and just returns an opaque blob.
-
- Sep 28, 2018
-
-
Arkadiy Paronyan authored
* Started substrate tests * Sync test * Test updates * Improved tests * Use on-chain block delay * Parallel test execution * Otimized tests * Logging * Fixed racing test * Fixed compilation * Fixed timestamp test * Removed rlp dependency * Minor fixes * Fixed tests * Removed best_block_id and resolved fdlimit issue * Whitespace * Use keyring * Style * Added API execution setting * Removed stale import
-
- Sep 27, 2018
-
-
snd authored
* pass correct header column to read_meta again fixes #826 * make COLUMN_META exist in a single place * pass COLUMN_META as arg for more consistency with other db utils * remove unused import
-
Gav Wood authored
* SS58 addresses in BFT Closes #590 * Fix wasm compile
-
Bastian Köcher authored
* Removes `rlp` dependency * Enable warnings about unused crates in the CI * Remove all the unused crates * Make tests working again
-
Gav authored
-
asynchronous rob authored
-
Gav Wood authored
-
Gav Wood authored
* Fixes for staging testnet * Fix codec versioning * Comment unneeded trace * Update lib.rs * Update parity-codec * Add script to update wasm deps and update them. * Update hashes * Add BBQ Birch testnet * it's default-features, apparently. * Use simpler version spec for parity codec * Typo
-
Arkadiy Paronyan authored
-
Bastian Köcher authored
-
Arkadiy Paronyan authored
* Protocol ID configurable in the chain spec * Removed obsolete const
-
-
Arkadiy Paronyan authored
* Fixed spec to json serialization * Fixed tests
-
guanqun authored
-
- Sep 26, 2018
-
-
* add stub for Client.best_chain_containing_block_hash * add fn blockchain::Backend::leaf_hashes * fix typo * sketch out Client.best_chain_containing_block_hash * fix indent * Blockchain.leaf_hashes -> Blockchain.leaves * add unimplemented! stub impls for Blockchain.leaves * start impl of Blockchain.leaves for in-memory client db * Client.best_chain_containing...: check canonical first and make compile * first rough attempt at maintaining leaf list in in-memory db * fix tab indent * add test best_chain_containing_single_block * add failing test best_chain_containing_with_fork * pub use client::blockchain; in test-client to prevent circular dep in client tests * best_chain_containing_with_single_block: improve and test leaves * far improve in-memory Backend::leaves impl * test blockchain::Backend::leaves more thoroughly * handle more edge cases in blockchain::Backend::leaves impl for in memory * fix test best_chain_containing_with_fork (two distinct test blocks had same hash) * make best_chain_containing_block_hash pass existing tests * improve docstring for Blockchain::leaves * Client.best_chain_containing: some cleanup. support max_block_number * best_chain_containing: remove broken outcommented fast check for best = canonical * remove blank line * best_block_containing: return None if target_hash not found * best_chain_containing: add unreachable! at end of function * improve tests for best_chain_containing * renames * more elaborate test scenario for best_containing * best_containing: fix restriction of search through maybe_max_number * best_containing: tests for restriction of search * get rid of unnecessary clones * replace Client::new_in_mem by new_with_backend which is useful for testing backends * add test_client::new_with_backend for testing different backend impls * add test for in_mem::Backend::leaves * remove unused imports * in_mem test_leaves: simplify * flesh out tests for in_mem leaves impl * remove tests for leaves from client which are now covered in implementing module * improve comment * add Client.new_in_mem again * unwrap in test_client::new_with_backend * make test_client::BlockBuilderExt work not just with in-mem backend * make test client ext not just work with in mem backend * add failing Backend.leaves test for client-db * update Cargo.lock * replace KeccakHasher with Blake2Hasher * refactor address grumble https://github.com/paritytech/substrate/pull/740#discussion_r217822862 * refactor using NumberFor address grumble https://github.com/paritytech/substrate/pull/740#discussion_r217823341 * add test that exposes possible problem * update docstring for Client.best_containing * extract test for Backend.leaves for reuse * improve test blockchain_header_and_hash_return_blocks_from_canonical_chain_given_block_numbers * extract test_blockchain_query_by_number_gets_canonical to easily test multiple impls * remove whitespace * remove todo * Client.best_containing: pre-empt search loop when target in canonical * best_containing: prevent race condition by holding import lock * add todo * extract leaf list update code into function * add comment * client-db: use in-memory-kvdb for tests * use BTreeSet to store leaves for in-mem which is faster and simpler * add docstring * add comments and fix formatting * add initial raw version of LeafSet * remove Client::update_leaves which has been superceded by LeafSet * use LeafSet in in-mem backend * keccak -> blake2 * don't reexport codec traits in primitives addresses https://github.com/paritytech/substrate/pull/740#discussion_r219538185 * fix rebase mistake * improve LeafSet and use it in state-db * correct Transfer nonces to fix ApplyExtinsicFailed(Stale) * use given backend in canoncal test * kill dead tree-route code in util * fix warnings * tests for leafset * reorganizations in in_mem backend * fix reorganization canon block logic * DB commit and safe reversion on write error * fix style nits
-
Guanqun Lu authored
* state-db: remove the assertion and replace it with Result<> * state-db: unit test fixes * comment fixes * typo fix
-
Guanqun Lu authored
* state-db: typo fixes * use fmt::Result for 'fmt' * state-db: typo fixes * state-db: use the same pattern to pass the parameter * state-db: follow the same style
-
* Rewrite the libp2p networking * Fix erroneous replacement during rebase * Update libp2p * Update libp2p * Remove the logic error about useless substreams * Use the new NodeHandler system of libp2p * Commit the Cargo.lock * Upgrade yamux * Forward port latest changes * Fix compilation issues * Implement the external URL * Update to latest networking fixes * Forward port rest of v0.2 * Fix reserved peers being dropped when we're full
-
- Sep 25, 2018
-
-
* state pruning after window even when nothing is finalized * rename and alter canonicalization delay * fix constant * address grumbles * add comment on canonicality vs finality
-
Arkadiy Paronyan authored
* Fixed extrinsic encoding * Reserve heuristic * Fixed no-std build
-
Tomasz Drwięga authored
* Graph transaction pool. * Start future implementation. * Future -> Ready promotions. * Replacement logic. * Clear extern crates, add docs. * Move hash externally. * Implement remove_invalid * Implement ready transactions pruning. * Move & rename. * Add some logs. * Clean up deps. * Use Member trait. * Add missing docs, elaborate on the proof. * Expand on docs and proofs.
-