- Nov 10, 2019
-
-
Bastian Köcher authored
* Adds first version of traits for generating the host functions * First steps of the procedural macro * Implements generation of the host extern functions * Prefix ext host function with snake case trait name * Implement host functions implementation on the host * Change `HostFunctions` interface * Implement `HostFunctions` for tuples * Make `WasmExecutor` generic over the host functions * Begin to add a test and make it compile * Make the test succeed * Add test to ensure that host functions are not found * It's alive! Make the `set_storage` test work * Add test for mutable references * Code cleanup and documentation etc * Add marker trait for types that should be passed as SCALE encoded * Inherit the visibility from the trait and more improvements * More impls and move them into their own file * Code simplification by dropping one trait * Give it a better name * Implement traits for arrays * Refactor cod...
-
André Silva authored
* srml-timestamp: define max timestamp drift in millis * srml-timestamp: suffix MAX_TIMESTAMP_DRIFT with unit
-
Arkadiy Paronyan authored
-
Arkadiy Paronyan authored
-
Tomasz Drwięga authored
-
* Add a --no-private-ipv4 CLI option * Fix tests * Fix tests
-
- Nov 09, 2019
-
-
Arkadiy Paronyan authored
-
Pierre Krieger authored
-
* Additional logging for the pool. * Long line.
-
Arkadiy Paronyan authored
-
Bastian Köcher authored
-
André Silva authored
* grandpa: remove the periodic block announcer * grandpa: remove periodic block announcer test
-
Arkadiy Paronyan authored
* Update best block on announcement * Added a test
-
- Nov 08, 2019
-
-
Joshy Orndorff authored
-
Arkadiy Paronyan authored
-
Tomasz Drwięga authored
-
André Silva authored
* grandpa: stricter gossip message filtering * gossip: remove filtered message on send_message * gossip: add test for tracking of broadcast attempts * grandpa: only restrict gossip if we're connected to more than 5 authorities * grandpa: add test for progressive gossip * grandpa: add test for gossip filtering on local non-authority node * grandpa: fix doc * gossip, grandpa: tabify * grandpa: relax filtering logic for global messages
-
thiolliere authored
-
Demi Obenour authored
* Remove dependency on hyper-tls This removes one of the dependencies on native-tls, and thus on OpenSSL. I will remove the other in a separate commit. * Remove the `HttpClient` enum It only had one variant. * Apply suggestions from code review Co-Authored-By: Pierre Krieger <[email protected]>
-
Arkadiy Paronyan authored
* Increase parallel downloads to 5 * CLI param
-
-
Weiliang Li authored
* clean node/cli/Cargo.toml * minor fix * clean node/runtime/Cargo.toml
-
- Nov 07, 2019
-
-
Jim Posen authored
* Correctly serialize code in chain spec as hex. Due to a bug, the runtime code was previously serialized as a JSON array of numbers, pretty printed one byte per line. * Remove panic in macro and whitelist attribute types for storage genesis config lines. * Use syn::Error to enforce whitelisted attributes on genesis config. * Blacklist genesis extra config line attributes instead of whitelist.
-
Arkadiy Paronyan authored
* Allow import without state verification * Explicit None Co-Authored-By: Robert Habermeier <[email protected]>
-
Jim Posen authored
-
Gavin Wood authored
* Refactor out MaxPossibleReward, fix staking arithmetic * Fix rounding error in test
-
Tomasz Drwięga authored
* Check polkadot compilation. * Fix git grep. * Make sure to update properly. Use commit hash instead.
-
Nikolay Volf authored
-
Arkadiy Paronyan authored
-
Ashley authored
* Added a public transfer_some function and a private transfer_inner fn * Move transfer_some to the end of the module impl to fix failing contracts test * Change whitespace * Remove needless change to transfer logic * Fix error * Update srml/balances/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Improve documentation and add test * Update srml/balances/src/lib.rs Co-Authored-By: Kian Paimani <[email protected]> * Switch to changing Currency trait instead
-
Arkadiy Paronyan authored
* Decrease reputation on bad transactions * Don't punish on duplicate transactions
-
Yuanchao Sun authored
* Also replace paths in [build-dependencies] * Update scripts/node-template-release/src/main.rs Co-Authored-By: Bastian Köcher <[email protected]> * Slightly reduce memory usage * Update scripts/node-template-release/src/main.rs Co-Authored-By: Bastian Köcher <[email protected]>
-
- Nov 06, 2019
-
-
Gavin Wood authored
* Treasury rewards should pay the remainder of the 10%.. * Event for deposits coming into treasury * Fix tests * Remove OnDilution
-
Bastian Köcher authored
* Make `TestExternalities` implement `Send` + `Sync` * Fixes offchain * Make it just `Send`
-
Bastian Köcher authored
-
Pierre Krieger authored
* Apply breaking changes of new libp2p versions * Oops, forgot to update version * Fix tests * Fix imports with WASM * Fix WASM for real * Update core/network/src/debug_info.rs Co-Authored-By: Roman Borschel <[email protected]> * Fix compilation
-
Arkadiy Paronyan authored
-
- Nov 05, 2019
-
-
Nikolay Volf authored
-
Bastian Köcher authored
- Add new crate `substrate-build-script-utils` to unify the code of `node`, `node-template` and `polkadot-node`. - The `node-cli` build script needs to search upwards for the `.git/HEAD` file to find it.
-
Gavin Wood authored
This reverts commit ac78c908.
-