- Feb 06, 2019
-
-
Bastian Köcher authored
* Make runtime macros work without required `macro_use` * Adds node-template * Adds node-template-release tool * Fixes building `node-template` and improve the release * Add `profile.release` by release script to remove warning * Adds script for releasing the node template * Fixes compilation after master merge * Port node-template to edition 2018 * Remove license * Fixes compilation after master merge * Add `node-template-release.sh` into the CI * WIP Ci integrate node template (#1701) * copy artifacts to s3 bucket latest path * typo * bucket name * Update wasm files
-
* Update libp2p * Some more diagnostics * 30 seconds back to 5 seconds * Bump libp2p-core and improve test * Fix runtime Cargo.lock * More work * Finish upgrade to libp2p 0.3 * Add a maximum of 60 seconds for the rounds * Remove env_logger * Update Cargo.lock * Update Cargo.lock in test-runtime * Fix test compilation * Make the test pass * Add identify addresses to Kademlia * Don't connect to nodes we're already connected to * Add warning for non-Substrate nodes * Fix external address not added * Start in Enabled mode
-
Sergei Pepyakin authored
* Migrate the indicies crate to 2018 edition. * Use .cloned() instead of .map(|x| x.clone()) * Update documentation.
-
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 69231784. * 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 5f0d4df3. * Revert "Revert me: Panic on double allocate/free" This reverts commit a114df7d. * 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 f46fa0d0. * 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 32dfa1d0. 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
-
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
-