- May 12, 2020
-
-
Paweł Nguyen authored
* Fix minor typos on im-online documentation * Update frame/im-online/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Pierre Krieger authored
-
Max Inden authored
Substrate was previously running both a chain specific Kademlia DHT as well as the `/ipfs/kad/1.0.0` Kademlia DHT for backwards compatibility. (See 4db45a85 for details.) With the end of the transition period this commit removes the former only leaving the latter and thus preventing the discovery of incompatible nodes via Kademlia.
-
Pierre Krieger authored
* Spawn the network worker with spawn_blocking * Some comment adjustments * Fix shutdown not working
-
Pierre Krieger authored
-
Svyatoslav Nikolsky authored
-
André Silva authored
* babe: fix formatting * babe: re-use same epoch data in epoch_authorship rpc method
-
Ashley authored
-
André Silva authored
* primitives: move reporting key type to common key types * session: remove useless methods on MembershipProof * grandpa: remove std special-casing when checking signatures * grandpa: add some more docs * grandpa: use proper error types rather than strings
-
André Silva authored
-
Max Inden authored
An `UntilImported` stream wraps a `Stream` of incoming messages and waits for blocks those messages are based on before passing the messages on. The above `Stream` of incoming messages implements `Unpin`, thus there is no need to use `pin_project` on the `UntilImported` struct. Instead one only has to add the `Unpin` trait bound on the `I` trait parameter.
-
Shawn Tabrizi authored
* Split operational and normal weight * Update other parts of the code * relatively minor changes to add/fix behavior * Limit reported block weight for fee adjustment * fix test * explicit match * Move common logic out * Update frame/system/src/lib.rs Co-authored-by: Gavin Wood <[email protected]> * API improvement @bkchr Co-authored-by: Gavin Wood <[email protected]>
-
Bastian Köcher authored
* Optimize `decode_len` Instead of reading the full storage value into the runtime, we only read at maximum `5bytes` from the storage into the runtime. Furthermore this drops any handling with regards to set default values in `decl_storage!`. If the value does not exists or the decoding of the length fails, it will return `None`. To prevent people from messing stuff up, this feature relies on the `StorageDecodeLength` trait that is sealed by `frame-support` (aka only implementable inside this crate). * Some clean ups * Update frame/support/src/storage/mod.rs Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Alexander Popiak <[email protected]>
-
Pierre Krieger authored
* Allow passing multiple --log CLI options * Comment typo
-
- May 11, 2020
-
-
Bastian Köcher authored
* Update initialize tests for latest rust stable * Update more tests * AHHH * Fix `runtime-interface` test * ------------------------______________---------------------- * ...
-
Jimmy Chu authored
* Minor update on example-offchain-worker code and comment Signed-off-by: Jimmy Chu <[email protected]> * Update frame/system/src/offchain.rs Co-authored-by: Bastian Köcher <[email protected]>
-
Pierre Krieger authored
* Small fix to block response completion reporting * while -> if
-
Rakan Alhneiti authored
* Add crypto identifier to RuntimeAppPublic * Update primitives/application-crypto/src/traits.rs Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
Pierre Krieger authored
-
Denis_P authored
-
Jon Häggblad authored
* babe: don't repeatedly lookup keys in authorship rpc function Expose a new function `claim_slot_using_keypars` in Babe so that the `babe_epochAuthorship` can lookup authorship for all slots in the epoch without repeatedly looking up keys in the keystore. Time to run the `babe_epochAuthorship` RPC call goes from 7s to 25ms on a local dev chain on my machine. * babe: pass reference to slice instead of ref to Vec * babe: fix bunch of clippy warnings
-
Kian Paimani authored
* fix this damn wrong staking test. * Update frame/staking/src/tests.rs * assert on balnce as well * Make it a bit better.
-
Nikolay Volf authored
* change propagation * add bound
-
Alexander Popiak authored
-
- May 10, 2020
-
-
Nikolay Volf authored
* add database type for impot benchmarks * add backend to name
-
- May 09, 2020
-
-
Jaco Greeff authored
-
- May 08, 2020
-
-
Arkadiy Paronyan authored
* Update wasmtime (#5822) * update wasmtime * update tests * Update client/executor/wasmtime/src/host.rs Co-Authored-By: Bastian Köcher <[email protected]> * wip * use master-candidate * update with patches * update versions Co-authored-by: Bastian Köcher <[email protected]> * Bump version * Added parallel execution test Co-authored-by: Nikolay Volf <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Joshy Orndorff authored
* WIP * WIP
-
- May 07, 2020
-
-
Wei Tang authored
* Remove "simple declaration of the `Module` type" comments * Bump runtime impl version * Update bin/node/runtime/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Bastian Köcher authored
-
Pierre Krieger authored
-
thiolliere authored
* fix and add benchs * Update frame/democracy/src/benchmarking.rs Co-authored-by: Alexander Popiak <[email protected]> * bump spec version * Revert "bump spec version" This reverts commit 01233117dee575490bc71a4730cdc4351a4013ad. Co-authored-by: Alexander Popiak <[email protected]>
-
Shawn Tabrizi authored
* Update system weights * Use maximum block weight for scheduler * Update offences to use full block * Move weight inside if statement * Add one read to offences `on_initialize` * Delete factory test * Revert "Delete factory test" This reverts commit 8f95aacd63a028ef1b415185b45367b4140d86fd. * Revert "Add one read to offences `on_initialize`" This reverts commit 7df7ebc73625ed79b14086f13c247d4058ee87d6. * Revert "Move weight inside if statement" This reverts commit 87277d07913a7d1868eeee85ef4673f51ee4013b. * Revert "Update offences to use full block" This reverts commit 0bbe0ce18e9419b032157f7d37dea6481078cdc0. * Use scheduler in Sudo * Apply suggestions from code review Co-authored-by: Alexander Popiak <[email protected]> * Revert "Use scheduler in Sudo" This reverts commit 95bd2768dfea100bdf682cf4fe6c0f46e8e1f66e. * remove max extrinsic weight (it does nothing useful) * fix tests * introduce `sudo_unchecked_weight` * bump spec version * scheduler 80 percent of maximum * Update `set_changes_trie_config` weight * Update bin/node/runtime/src/lib.rs * Update frame/democracy/src/tests.rs * Update tests.rs * update based on feedback Co-authored-by: Alexander Popiak <[email protected]>
-
Bastian Köcher authored
-
Bastian Köcher authored
* Merge Substrate master before checking Polkadot companion * Also merge polkadot/master into the companion pr branch * Set email and user name
-
Nikolay Volf authored
-
Arkadiy Paronyan authored
-
Bastian Köcher authored
This reverts commit e5163380. We found some bugs that we first need to fix.
-
Shawn Tabrizi authored
* Add root dispatch to scheduler * Move encode operation upwards * fix benchmark * extend extrinsics * add some clarifying comments * start to add benchmarking * finish weights * remove double encode * bump spec * Update weights * more accurate weights * bump base weight
-
Shawn Tabrizi authored
-