- Feb 06, 2019
-
-
Wei Tang authored
* Update trie to v0.11 * Update wasm runtimes
-
Gregory Terzian authored
* rewrite network protocol/service to use channels * remove use of unwrap * re-introduce with_spec * remove unnecessary mut * remove unused param * improve with_spec, add with_gossip * rename job to task * style: re-add comma * remove extra string allocs * rename use of channel * turn TODO into FIXME * remove mut in match * remove Self in new * pass headers by value to network service * remove network sender from service * remove TODO * better expect * rationalize use of network sender in ondemand
-
gabriel klawitter authored
-
Bastian Köcher authored
* Rework how a runtime api calls into the runtime Now we generate a default implementation for each api call that calls a generated method `method_runtime_api_impl`. This newly generated method is the one that will be implemented by the `impl_runtime_apis` macro in the runtime for the client side. * Support `changed_in` to change runtime api function signatures * Update documentation * Fixes tests * Implement checking the api version with a predicate * Make the implementation backwards compatible with CC * Update wasm files after merge * Check for wasm runtime differences by building master and current branch * Update spec_version and wasm files * Fixes * Revert my changes * Remove `patch.crates-io` from test-runtime
-
* Temporarily pin trie to #2 * Use generic and delay trait object casting Rust does not support super-trait upcasting * Add PlainDB impl for Ephemeral * Add PlainDB trait alias for completeness * Use PlainDB for test TrieBackendStorage fetch We always check overlay first for a storage fetch, which already checked null data. Using PlainDB here makes it work nicer with other PlainDB overlays. * Update trie reference * Use HashDBRef in places when approriate * Use PlainDBRef in places when approriate * Update trie crate reference * Remove unused HashDB::keys * Patch dependencies * Fix cargolock * Update cargo lock again
-
Gav Wood authored
* Add OnInitialise handler. Closes #1686 * Fix typo * Fix wasm build * Add tests for initialise and finalise.
-
- Feb 05, 2019
-
-
Gav Wood authored
* Initial logic * Fix tests * Don't punish at all when everyone skipped * Typo * Fix tests. * Update srml/aura/src/lib.rs Co-Authored-By: gavofyork <[email protected]> * Simplification. * Bump runtime verions
-
Bastian Köcher authored
* Move `CODE` directly into `TestExternalities` This change allows tests to modify CODE in storage. * Update more hashes * Test * Move `code` back into a field of `TestExternalities` * Update wasm after master merge
-
* core: gossip: add missing docs * core: grandpa: lower log level on until_imported
-
Stanislav Tkach authored
-
Andrew Jones authored
-
Stanislav Tkach authored
-
gabriel klawitter authored
* add test for wasm runtime changes * use default container * disable cache for runtime source test * compare spec_versions directly
-
- Feb 04, 2019
-
-
Andrew Jones authored
* use local version of jsonrpc to test * Convert rpcs to test out in progress jsonrpc-derive api * Revert "Convert rpcs to test out in progress jsonrpc-derive api" This reverts commit 69231784171180d9bdb1bde1fcfd20f233357b17. * Convert to new jsonrpc-derive macro * Add RPC trait Metadata comment * Break up long pubsub attr lines * Update to 10.0.1 jsonrpc-* from crates.io * Remove typed::Subscriber prefixes * Remove empty comment
-
* core: grandpa: move consensus_changes to its own submodule * core: grandpa: move justification to its own submodule * core: grandpa: move environment to its own submodule * core: grandpa: move block import to its own submodule
-
Michael Müller authored
* Link substrate issue tracker in panic * Replace allocator with freeing-bump allocator * Revert me: Panic on double allocate/free * Revert me: Add shallow benchmark for a first impression * Revert "Revert me: Add shallow benchmark for a first impression" This reverts commit 5f0d4df39395eb55c9ec2d6fe1ed992533475fec. * Revert "Revert me: Panic on double allocate/free" This reverts commit a114df7d6cfc21d60af396ccca02e5c8205db6ce. * Rename heap to FreeingBumpHeapAllocator * Rename heap.rs to allocator.rs * Use sandbox heap * Move functions * Move variables into constructor * Revert "Move variables into constructor" This reverts commit f46fa0d0cdf4ea97760ccce58003b0d33f433743. * Remove unnecessary casts * Add comment for new parameter * Improve typing * Move variables into constructor * Avoid dynamic allocation * Remove unused variables * Revert "Link substrate issue tracker in panic" This reverts commit 32dfa1d02bcf881d1d514a930fcc0fdf3c5f8e08. In the meantime this was fixed in https://github.com/paritytech/substrate/pull/1667. * Improve naming * Only assert in debug mode * Remove dynamic allocation
-
Arkadiy Paronyan authored
-
Wei Tang authored
* Refactor aura and generalize slot worker * Fix bound issues * Change copyright to 2019 * Write deps minor version * Don't pass inherent_data_providers * Revert "Write deps minor version" This reverts commit 6d886702a899bfbdbbc609c0536e8abab2bc012c. * Fix merge issues
-
Bastian Köcher authored
-
Arkadiy Paronyan authored
-
- Feb 03, 2019
-
-
Stanislav Tkach authored
-
James Ray authored
* Add links for further info * Fix typo
-
James Ray authored
-
James Ray authored
-
- Feb 02, 2019
-
-
Bastian Köcher authored
* Don't panic if parameter can not be converted between node and native runtime * FIxes after merge * Use correct copyright year
-
- Feb 01, 2019
-
-
* core: fix predicate for dropping grandpa round messages * core: grandpa: drop commits topic on authority set change * core: gossip: only drop known messages based on expiration time * core: grandpa: don't broadcast commit messages * core: gossip: don't assume topics are header hashes * core: gossip: expire messages more agressively * core: grandpa: fix test environment * core: gossip: fix tests * core: gossip: track dead topics (and ignore messages) * core: gossip: test dead topic pruning
-
Arkadiy Paronyan authored
* Don't author blocks when offline * Increased canonicalization delay * Fixed test
-
asynchronous rob authored
* grandpa: consistent argument ordering in rebroadcast vs. network * use a round type
-
Arkadiy Paronyan authored
-
Tomasz Drwięga authored
* Limit block size in runtime, * Add test for basic authorship. * Store length of extrinsics instead of computing it. * Don't rely on note_extrinsic * Use hashed version of storage and write test. * Recompile runtime.
-
Svyatoslav Nikolsky authored
* make genesis state available on light client * RemoteOrLocalCallExecutor * code_is_executed_locally_or_remotely * OnDemandOrGenesisState tests * some comments
-
- Jan 31, 2019
-
-
Joshy Orndorff authored
* Fix minor error in chainspec generation command in readme * Fixed up remaining typo
-
Gav Wood authored
* Transaction signing payload is hashed first * Fix tests * Rebuild wasm * Fix tests * Only take payload hash when payload.len > 256 bytes. * Fix tests
-
* Check for disposed blocks * fixed changes_tries_with_digest_are_pruned_on_finalization * Indent Co-Authored-By: arkpar <[email protected]>
-
Stanislav Tkach authored
-
Sergei Pepyakin authored
* Declare storage in contracts module This adds storage declarations of the contract module to the runtime metadata and this ultimately gives ability to inspect the storage of contract module (except contracts storage) for polkadot ui * Bump the runtime version to 17. * Rebuild the binaries. * Rebuild * Rebuild [2]
-
Wei Tang authored
* Support edition 2018 for storage_items macro * Fix handle_wrap_internal
-
thiolliere authored
* update rhd and tri * .lock and wasm build
-
Gav Wood authored
* Update the date * fixed compilation
-
- Jan 30, 2019
-
-