- Jan 16, 2020
-
-
Nikolay Volf authored
-
- Jan 15, 2020
-
-
asynchronous rob authored
* Make Proposer instantiation potentially async. * fix node-service test * fix basic-authority doc-test * only block once on futures in test * use async/await
-
asynchronous rob authored
* reset a couple of versions down from v0.2.0 * Unstablise browser-utils (very new) and grafana-data-source (going to be replaced with prometheus sometime) * unmark a bunch more client crates for stabilization * fix versions in Cargo.tomls * Downgrade network-test * Set frame-metadata version to `10.0.0` * Hide and documented storage generator as internal api * Downgrade `sp-externalities` * Downgrade `sc-cli` * Downgrade sc-executor et al to 0.8.0 * Downgrade sp-state-machine to 0.8.0 * Downgrade pallet-contracts et al to 0.8.0 * Downgrade sp-sandbox to 0.8.0 * downgrade pallet-evm to 0.8.0 * Downgrade pallet-staking to 0.8.0 2.0 should be implementation of lazy payout alongside all the fixes of current module * Downgrade node-transaction-factory to 0.8.0 * frame pallets are 2.0.0 Co-authored-by: Ashley <[email protected]> Co-authored-by: Pierre Krieger <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Sergei Pepyakin <[email protected]> Co-authored-by: Wei Tang <[email protected]> Co-authored-by: thiolliere <[email protected]> Co-authored-by: Marcio Diaz <[email protected]>
-
- Jan 14, 2020
-
-
* Add `pallet-society` and `pallet-recovery` to substrate node * Add `OnReapAccount` * Fixes and replaces nicks with identity
-
Ashley authored
* Switch service to futures03 * Fix tests * Fix service test and cli * Re-add Executor trait to SpawnTaskHandle * Fix node-service * Update babe * Fix browser node * Update aura * Revert back to tokio-executor to fix runtime panic * Add todo item * Fix service tests again * Timeout test futures * Fix tests * nits * Fix service test * Remove zstd patch * Re-add futures01 to aura and babe tests as a dev-dep * Change failing test to tee * Fix node * Upgrade tokio * fix society * Start switching grandpa to stable futures * Revert "Start switching grandpa to stable futures" This reverts commit 9c197634 . * Fix utils * Revert substrate service test * Revert gitlab Co-authored-by: thiolliere <[email protected]>
-
- Jan 13, 2020
-
-
Xiliang Chen authored
* pass target to PaysFee trait and allow batch call to be free if all its calls are free * bump version * fix error
-
- Jan 10, 2020
-
-
Kian Paimani authored
* fix is_runner() * add a test * Bump
-
Bastian Köcher authored
* Extend `Proposer` to optionally generate a proof of the proposal * Something * Refactor sr-api to not depend on client anymore * Fix benches * Apply suggestions from code review Co-Authored-By: Tomasz Drwięga <[email protected]> * Apply suggestions from code review * Introduce new `into_storage_changes` function * Switch to runtime api for `execute_block` and don't require `H256` anywhere in the code * Put the `StorageChanges` into the `Proposal` * Move the runtime api error to its own trait * Adds `StorageTransactionCache` to the runtime api This requires that we add `type NodeBlock = ` to the `impl_runtime_apis!` macro to work around some bugs in rustc :( * Remove `type NodeBlock` and switch to a "better" hack * Start using the transaction cache from the runtime api * Make it compile * Move `InMemory` to its own file * Make all tests work again * Return block, storage_changes and proof from Blockbuilder::bake() * Make sure that we use/set `storage_changes` when possible * Add test * Fix deadlock * Remove accidentally added folders * Introduce `RecordProof` as argument type to be more explicit * Update client/src/client.rs Co-Authored-By: Tomasz Drwięga <[email protected]> * Update primitives/state-machine/src/ext.rs Co-Authored-By: Tomasz Drwięga <[email protected]> * Integrates review feedback * Remove `unsafe` usage * Update client/block-builder/src/lib.rs Co-Authored-By: Benjamin Kampmann <[email protected]> * Update client/src/call_executor.rs * Bump versions Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Benjamin Kampmann <[email protected]>
-
Tomasz Drwięga authored
* Add documentation to signed transactions and actually make them work. * Fix naming and bounds. * Forgotten import. * Remove warning. * Make accounts optional, fix logic. * Split the method to avoid confusing type error message. * Move executor tests to integration. * Add submit transactions tests. * Make `submit_transaction` tests compile * Remove a file that was accidently committed * Add can_sign helper function. * Fix compilation. * Add a key to keystore. * Fix the tests. * Remove env_logger. * Fix sending multiple transactions. * Remove commented code. * Bring back criterion. * Remove stray debug log. * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Make sure to initialize block correctly. * Initialize block for offchain workers. * Add test for transaction validity. * Fix tests. * Review suggestions. * Remove redundant comment. * Make sure to use correct block number of authoring. * Change the runtime API. * Support both versions. * Bump spec version, fix RPC test. Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Shawn Tabrizi authored
* Initial run and gun at `OnReapAccount` * Fix some imports * More fixes * Whitespace * More wack-a-mole * Gotta catch em all * Update lib.rs * Small doc update * Whitespace
-
- Jan 09, 2020
-
-
Arkadiy Paronyan authored
-
Pierre Krieger authored
* Entirely update substrate-telemetry to futures 0.3 * Add a Closed error * Update to libp2p 0.14 * More work * More work * More work * More work * Fix warnings * Remove unwrap() * Work on tests fixing * Fix network tests * Fix external network tests * Update libp2p and restore Yamux in discovery test * Ignore DNS if initializatio nfails * Restore variables ordering * Forgot browser-utils * Fix downfall after merge * Fix tests
-
* First draft * Initial work on tests * Add tests. * Ensure old members can't tip. * Fix complexity * Update node runtime * Build fix. * build fix * Fix tests * Fix tests * Refactor Contains impl for tests * Introduce new way to avoid impl Contains conflicts * Fixes * Docs. * Docs. * Typo * Whitespace * Docs * Typo * Formatting * Update frame/treasury/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update frame/treasury/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update frame/treasury/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Apply suggestions from code review Co-Authored-By: Shawn Tabrizi <[email protected]> * Add provisional weights. Co-authored-by: Shawn Tabrizi <[email protected]>
-
Marcio Diaz authored
* Implement rebond: allowing to re-bond stake unbonded.
-
- Jan 08, 2020
-
-
Arkadiy Paronyan authored
-
- Jan 07, 2020
-
-
Ashley authored
* Squash * Fix keystore on wasm * Update utils/browser/Cargo.toml Co-Authored-By: Benjamin Kampmann <[email protected]> * export console functions * Use an Option<PathBuf> in keystore instead of cfg flags * Add a KeystoreConfig * Update libp2p * Bump kvdb-web version * Fix cli * Upgrade versions * Update wasm-bindgen stuff Co-authored-by: Benjamin Kampmann <[email protected]>
-
- Jan 06, 2020
-
-
André Silva authored
* client: add a block blacklist extension * test-utils: fix client construction * client: fix rustdoc test
-
- Jan 05, 2020
-
-
Shawn Tabrizi authored
-
- Jan 03, 2020
-
-
Max Inden authored
Previously one would create a sender and receiver channel pair, pass the sender to the `build_network_future` through the service builder and funnel network events returned from polling the network service into the sender to be consumed by the authority discovery module owning the receiver. With recent changes it is now possible to register an `event_stream` with the network service directly, thus one does not need to make the detour through the `build_network_future`.
-
Nikolay Volf authored
-
Tomasz Drwięga authored
* Fix period of offchain transactions. * Calculate period dynamically. * Convert to u64.
-
ddorgan authored
Co-authored-by: Bastian Köcher <[email protected]>
-
- Jan 02, 2020
-
-
Bastian Köcher authored
-
Nikolay Volf authored
* update libp2p * update toml files also
-
Nikolay Volf authored
* Insert key via node RPC. * somewhat address the reivew * Update bin/utils/subkey/src/rpc.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update bin/utils/subkey/src/rpc.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update bin/utils/subkey/src/main.rs Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Nikolay Volf authored
-
- Dec 28, 2019
-
-
Bastian Köcher authored
* Fix cli for structopt 0.3.7 and pin to that version This is just some hotfix to make everything compile. In the future it will require another pr to not depend on internals of StructOpt, but that will probably also require some additions to StructOpt itself. To not break the code again with another StructOpt, this also pins the StructOpt version. * Fix benches * Fix for fix
-
- Dec 27, 2019
-
-
Nikolay Volf authored
-
Bastian Köcher authored
* Support loading the URI from a file in subkey * Fix tests
-
- Dec 26, 2019
-
-
Nikolay Volf authored
* initial block import handler * fix node template * fix error message * fix error message again * final fixes * fix node template again
-
- Dec 24, 2019
-
-
Xiliang Chen authored
-
- Dec 22, 2019
-
-
Gavin Wood authored
* Add subaccounts functionality * More work * Multisig prototyped with tests * Add timepoints to prevent replay * Remove TODO * Check for the right owner in cancel. * Test the timepoint stuff * Batch works with any origin * Refactor tuples into structs. * Finalise function docs/complexity and also add proper weights. * Fix wasm * Module-level docs * Fix typo * Runtime fix * Better deposit system; more tests. * Fix typo * Switch +1 for -1 * Add Blake2_128Concat; fix insecurity; change return policy. * Fix typo * Update frame/utility/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update frame/utility/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update bin/node/runtime/src/lib.rs Co-Authored-By: Sergei Pepyakin <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Sergei Pepyakin <[email protected]>
-
- Dec 21, 2019
-
-
Wei Tang authored
* Clearer definition for custom ss58 address formats * Fix subkey compile
-
- Dec 20, 2019
-
-
Arkadiy Paronyan authored
* Common shared parames getter * Expose more types from `service-builder` Co-authored-by: Bastian Köcher <[email protected]>
-
Bastian Köcher authored
* Subkey add support for interactive password * Support inserting the URI from tty as well
-
- Dec 19, 2019
-
-
Shawn Tabrizi authored
* Fix fees * Add comment to explain saturated multiply accumulate * Fix final fee calculation * Fix doc * improve doc * grumble * Update tests * Fix executor tests
-
Bastian Köcher authored
* Make `decl_error!` errors usable This pr implements support for returning errors of different pallets in a pallet. These errors need to be declared with `decl_error!`. The pr changes the following: - Each dispatchable function now returns a `DispatchResult` which is an alias for `Result<(), DispatchError>`. - `DispatchError` is an enum that has 4 variants: - `Other`: For storing string error messages - `CannotLookup`: Variant that is returned when something returns a `sp_runtime::LookupError` - `BadOrigin`: Variant that is returned for any kind of bad origin - `Module`: The error of a specific module. Contains the `index`, `error` and the `message`. The index is the index of the module in `construct_runtime!`. `error` is the index of the error in the error enum declared by `decl_error!`. `message` is the message to the error variant (this will not be encoded). - `construct_runtime!` now creates a new struct `ModuleToIndex`. This struct implements the trait `ModuleToIndex`. - `frame_system::Trait` has a new associated type: `ModuleToIndex` that expects the `ModuleToIndex` generated by `construct_runtime!`. - All error strings returned in any module are being converted now to `DispatchError`. - `BadOrigin` is the default error returned by any type that implements `EnsureOrigin`. * Fix frame system benchmarks
-
- Dec 18, 2019
-
-
Drew Stone authored
* Add linear back-off for aura slot workers * logging * Use slot from header * Get network id for Edgeware and add to subkey
-
Gavin Wood authored
* Fix the subkey error message * Fix check_benchmarks
-
- Dec 17, 2019
-
-
Benjamin Kampmann authored
* clean up cargo.toml syntax * bumping versions to 2.0 * bump networking to 0.8 * move consensus down to 0.8 * bump consensus pallets to 0.8.0, too * Upping babe and aura pallets * add remaining, missing version definitions * missed some
-