- Nov 07, 2019
-
-
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.
-
Arkadiy Paronyan authored
* Header-only sync for old forks * Simplified blocks-count * Update core/consensus/common/src/block_import.rs Co-Authored-By: Marcio Diaz <[email protected]>
-
Tomasz Drwięga authored
* Limit longevity of im-online heartbeats. * Unused import. * Use parameter for session duration.
-
Arkadiy Paronyan authored
* Network stats * Fixed tests
-
Arkadiy Paronyan authored
-
- Nov 04, 2019
-
-
Kian Paimani authored
* Bump rpc deps * Update core/test-runtime/src/genesismap.rs Co-Authored-By: Bastian Köcher <[email protected]>
-
Tengfei Niu authored
* remove unused import * fix test error
-
brenzi authored
* introduced "with_crypto" feature and applied switches like in substrate-api-client fork * introduced "with_crypto" feature and applied switches like in substraTEE-worker fork * distinguishing core::hash vs std::hash * @bkchr's review requests fulfilled * fixes * revert dependency upgrade ed25519-dalek * added full_crypto features to all crates using app_crypto! macro * fixing CI complaints. * fix again * adding CI test for with_crypto feature * added full_crypto for ecdsa. now builds wit h--no-deafault-features --features with_crypto * remove --release from CI test * @bkchr requested changes. moved full_crypto CI test to build stage * fixing no_std issue * CI fresh copy from srml-staking * gitlab CI with +nightly * solved no-feature-in-macro dilemma * cosmetics * Update core/application-crypto/src/sr25519.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update core/application-crypto/src/ed25519.rs Co-Authored-By: Bastian Köcher <[email protected]> * even more simple * undo line delete * refactoring app_crypto macro. splitting functionalities based on full_crypto feature * whitespace cosmetics
-
- Nov 03, 2019
-
-
Wei Tang authored
* srml-evm: init the basic structures * srml-evm: finish executor implementation * srml-evm: implement balance deposit and withdraw * srml-evm: implement the actuall call/create * srml-evm: use crates.io version of evm * srml-evm: fix no-std compile * Remove dependency patch * Update to evm 0.14 * Use double map for account storage * Add precompiles support * Add some basic docs * Use runtime_io::chain_id() * Update srml/evm/src/lib.rs Co-Authored-By: Xiliang Chen <[email protected]> * Update srml/evm/src/lib.rs Co-Authored-By: Xiliang Chen <[email protected]> * Fix WithdrawReason * Unique saturate balance to u128 * Unique saturate withdraw to u128 * Remove extern crate alloc * Move account code to a separate storage and use ref for convert_account_id * More match cause for error message * Fix potential interger overflow * Use decode_len for fetching code length
-
joe petrowski authored
-
Tomasz Drwięga authored
* Add pre-dispatch checks for ValidateUnsigned * Deprecate ValidateUnsigned. * Bump specversion. * Fix test.
-
Tomasz Drwięga authored
* Don't send a heartbeat if already online. * Remove env_logger. * Update lock. * Bump runtime. * Merge master
-
Bastian Köcher authored
-
- Nov 02, 2019
-
-
Bastian Köcher authored
* Implement color output for wasm builder * Fix `Cargo.lock`
-
thiolliere authored
-
- Nov 01, 2019
-
-
Kian Paimani authored
* Add serde to phragmen * Update lock file * and bump a version * and bump a version again * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * revert impl-tarit for tuple update * revert session. * Revert "revert session." This reverts commit 98086c9d. * Revert "revert impl-tarit for tuple update" This reverts commit 28a7fdde.
-
Benjamin Kampmann authored
* expose offchain worker storage prefix * add docs * move STORAGE_PREFIX to primitives
-
Benjamin Kampmann authored
* Move config path generation into the service config for reusability * Make NoCostum Default and fix tests * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * remove function not used anymore * Make path into an option * remove database_path function and call it directly * remove helper functions, use consts
-
Jim Posen authored
* executor: Move runtime caching out of WasmRuntime interface. The runtime version is now fetched and cached at a higher level, not within the WasmRuntime trait implementations. * executor: Require successful querying of runtime version.
-
Bastian Köcher authored
-
Marcio Diaz authored
* Comment local_cache propagation * Add test * Deny cache when modifications are unknown * Fix indentation
-
Caio authored
* Implement Debug for some structures `NetworkConfiguration`, `TransportConfig`, `NodeKeyConfig` and `Secret`. Needs a new release of the `rust-libp2p` crate. This PR is just a reminder. * Explicitly separate `std` and `core` * Add manual implementation for Secret
-
Jim Posen authored
* executor: Use non wasmi-specific execution in tests. * executor: Move all runtime execution tests into tests file. * executor: Use test_case macro to easily execute tests with different Wasm execution methods. * executor: Convert errors to strings with Display, not Debug. * node-executor: Rewrite benchmarks with criterion. They were not passing compilation before and criterion seems to be more widely used in Substrate. * executor: Begin implementation of Wasm runtime. The implementation demonstrates the outline of the execution, but does not link against the external host functions. * executor: Define and implement basic FunctionExecutor. The SandboxCapabilities::invoke is still left unimplemented. * executor: Implement host function trampoline generation. * executor: Instantiate and link runtime module to env module. * executor: Provide input data during wasmtime execution. * executor: Implement SandboxCapabilites::invoke for wasmtime executor. * executor: Integrate and test wasmtime execution method. * executor: Improve FunctionExecution error messages. * Scope the unsafe blocks to be smaller. * Rename TrampolineState to EnvState. * Let EnvState own its own compiler instead of unsafe lifetime cast. * Refactor out some common wasmi/wasmtime logic. * Typos and cosmetic changes. * More trampoline comments. * Cargo.lock update. * cli: CLI option for running Substrate with compiled Wasm execution. * executor: Switch dependency from fork to official wasmtime repo. * Quiet down cranelift logs. * Explicitly catch panics during host calls. We do this to ensure that panics do not cross language boundaries. * Additional checks and clarifications in make_trampoline. * Fixes after merge from master and panic safety for wasmtime instantiation.
-
* authority-discovery: futures 03 Future * make ci happy * use futures timer instead of tokio timer * Update core/authority-discovery/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * remove tokio 01 runtime * trigger build * kill futures01 * rename futures
-
Gavin Wood authored
* Add AllGood event for im_online * Another event just in case. * Bump runtime
-
Pierre Krieger authored
-