- Dec 24, 2019
-
-
Sergey Pepyakin authored
-
Sergey Pepyakin authored
* Clean imports in wasmi_execution * Replace `interpret_runtime_api_result` with `pointer_and_len_from_u64`. * Extract sc-executor-common crate * Extract `sc-executor-wasmi` into its own crate * Extract `sc-executor-wasmtime` into its own crate. * Add missing headers. * Clean and docs * Docs for sc-executor-wasmi * Expand a comment about sandboxing * Fix assert_matches * Rename (un)pack_ptr_and_len and move them into util module * Remove wasmtime errors in sc-executor-common
-
Tomasz Drwięga authored
* Fix transaction replacements. * Test. * Fix typo. * Update client/transaction-pool/graph/src/ready.rs Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Stanislav Tkach authored
* Migrate election-phragmen * Migrate elections * Migrate contracts module * Update authorship module * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]>
-
- Dec 23, 2019
-
-
gabriel klawitter authored
* ci: increase git cloning depth to 100 * check_runtime: verify shallow git clones to contain origin/master * check_runtime: fetch master branch
-
Stanislav Tkach authored
-
Nikolay Volf authored
-
- Dec 22, 2019
-
-
Gavin Wood authored
-
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
-
* 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 26e8f3c5. * Revert "Update aura to `decl_error`" This reverts commit 8f17c44c. * 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
-