- Dec 21, 2019
-
-
* Migrate generic-asset, identity and im-online to decl_error * Update democracy tests * Update nicks test
-
- Dec 20, 2019
-
-
Joshy Orndorff authored
* initial rename * nitpick: add space in "chain spec" * Add comment to client spec.
-
Gavin Wood authored
Closes #4467 Co-authored-by: Bastian Köcher <[email protected]>
-
Tomasz Drwięga authored
-
* Migrate membership, nicks, scored-pool and session to decl_error * Fix tests * Update frame/scored-pool/src/tests.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Remove InsufficientBalance error from scored-pool * Replace Error::<Test, DefaultInstance> with Error::<Test, _> Co-authored-by: Shawn Tabrizi <[email protected]>
-
Arkadiy Paronyan authored
* Common shared parames getter * Expose more types from `service-builder` Co-authored-by: Bastian Köcher <[email protected]>
-
* Fix warnings and make CI working again * Fix test
-
Svyatoslav Nikolsky authored
-
Bastian Köcher authored
* Subkey add support for interactive password * Support inserting the URI from tty as well
-
- Dec 19, 2019
-
-
Shawn Tabrizi authored
* Update balances for `decl_error!` * Update for new `decl_error` * Fix staking tests * Use `ok_or` over `match`
-
André Silva authored
-
Stanislav Tkach authored
* Warn about using --rpc-external and --ws-external options * Apply review comments * Remove links placeholders * Add links to wiki
-
Gavin Wood authored
-
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
-
Ashley authored
-
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
-
Kian Paimani authored
-
- Dec 18, 2019
-
-
Tomasz Drwięga authored
* Document TransactionStatus and fix termination conditions. * Update client/rpc-api/src/author/mod.rs Co-Authored-By: Bastian Köcher <[email protected]>
-
Leo Arias authored
-
-
-
asynchronous rob authored
The finality-grandpa module needs two sets of functionalities from the network: 1. Everything gossip related, e.g. event_stream, write_notification, ... 2. The ability to set a fork sync request for a specific block hash. Instead of embedding (2) inside of (1) this patch extracts (2) from (1) having finality-grandpa depend on a `Network` that fulfills the `network_gossip::Network` trait and that can set block sync requests. On the one hand this improves the overall structure splitting things that don't logically belong together. On the other hand it does reintroduce a lot of trait bounds within finality-grandpa.
-
asynchronous rob authored
* RPC forwarders for adding reserved peers * implement service side of reserved-peer RPCs * Clean up unnecessary format! invocation Co-Authored-By: Niklas Adolfsson <[email protected]> * add some tests for the new RPC methods * remove redundant `data` field Co-Authored-By: Tomasz Drwięga <[email protected]>
-
Weiliang Li authored
-
Wei Tang authored
pallet-evm: default implementation for FeeCalculator and ConvertAccountId and separate gas price (#4424) * Default implementation for FeeCalculator and ConvertAccountId and separate gas price * Styling fixes and some docs addition * TruncateConvertAccountId -> HashTruncateConvertAccountId * Fix compile
-
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
-
Shawn Tabrizi authored
* Update assets to `decl_error` * Update aura to `decl_error` * Update authority discovery to `decl_error` * Update collective to `decl_error` * Update evm to `decl_error!` * Fix error with replace * Revert "Update authority discovery to `decl_error`" This reverts commit 26e8f3c56656963d847e984c6f2c8e1f88014899. * Revert "Update aura to `decl_error`" This reverts commit 8f17c44ca8375a4a755710aaab7ad4d9522c4376. * Update democracy to `decl_error` * Update finality-tracker to `decl_error` * Update grandpa to `decl_error` * `assert` to `ensure` in dispatchable function
-
Gavin Wood authored
* Fix the subkey error message * Fix check_benchmarks
-
Gavin Wood authored
* Remove incorrect assumption that runners-up were sorted by account * Fix * Update lib.rs
-
- Dec 17, 2019
-
-
joe petrowski authored
-
Shawn Tabrizi authored
* Dust moves from reserved <-> free if below ED * Add dust information to `ReapedAccount` event * Introduce `BalanceSet` event * More cleanly written `set_balance` logic
-
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
-
Wei Tang authored
-
Niklas Adolfsson authored
* rewrite me * [cli]: make `BlockNumber` generic * cleanup
-
Bastian Köcher authored
* Fix contruct_runtime * Update lib.rs * Update event.rs * Update event.rs * Update event.rs * Update event.rs * Update event.rs * Update event.rs * Update event.rs Back to where we started * Update chain_spec.rs * Update genesis.rs * Fix it properly
-
Svyatoslav Nikolsky authored
-
Gavin Wood authored
* Fix naming of utility crate (it's a legit pallet) * Additional bits
-
Stanislav Tkach authored
-
Stanislav Tkach authored
-
thiolliere authored
-