- May 05, 2020
-
-
Benjamin Kampmann authored
-
Benjamin Kampmann authored
-
Benjamin Kampmann authored
-
Arkadiy Paronyan authored
-
Wei Tang authored
-
- May 04, 2020
-
-
Jon Häggblad authored
* grandpa: wire up basic RPC call * grandpa: make it compile against GRANDPA with expose round state * grandpa: use shared voter state to expose RPC endpoint * grandpa: restructure into nested structs * grandpa: return background rounds too * grandpa: return error when endpoint not ready * grandpa: collect grandpa rpc deps * grandpa: decide to use concrete AuthorityId in finality-grandpa-rpc * grandpa: remove unncessary type annotation * grandpa: move error code to const * grandpa: remove unnecessary WIP comment * grandpa: remove Id type parameter for SharedVoterState * grandpa: update tests to add shared_voter_state in parameters * grandpa: remove old deprecated test * grandpa: fix getting the correct set_id * grandpa: make SharedVoterState a struct * grandpa: wrap shared_voter_state in rpc_setup * grandpa: replace spaces with tabs * grandpa: limit RwLock write attempt to 1 sec * grandpa: add missing doc comments and remove some pub * Apply suggestions from code review Co-Authored-By: Tomasz Drwięga <[email protected]> Co-Authored-By: Hernando Castano <[email protected]> * grandpa: update function name call after change in finality-grandpa * grandpa: group pub use and only export voter::report * grandpa: add missing docs * grandpa: extract out structs used for json serialization * grandpa: stick to u32 for fields intended for js * grandpa: move Error type to its own file * grandpa: group pub use better * Apply code review suggestion Co-authored-by: Bastian Köcher <[email protected]> * grandpa: use correct version of finality-granpda in rpc crate * grandpa: add back basic rpc unit test * grandpa: replace SharedVoterState::new() with empty() * node: cleanup grandpa::SharedVoterState usage in macro * grandpa: remove VoterState error variant * grandpa: enable missing futures compat feature * grandpa: fix typo in error variant * grandpa: remove test_utils * grandpa: allow mocking rpc handler components * grandpa: rename serialized to report in rpc module * grandpa: add proper test for RPC * grandpa: update to finality-grandpa v0.12.1 Co-authored-by: André Silva <[email protected]> Co-authored-by: Demi Obenour <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Wei Tang authored
* vrf: remove Raw* types * babe: remove Raw* types * pallet-babe: switch representation of RawVRFOutput to Randomness * pallet-babe: calculate inout within the pallet * Remove make_transcript duplication * Bump spec version * Fix frame tests * and_then -> map * Always enable u64_backend * Fix nostd compile * fix import: should not use std * Remove unused definition of RawVRFOutput * Remove unused import of RuntimeDebug Co-authored-by: Gavin Wood <[email protected]>
-
Bastian Köcher authored
* Expose that `BasicQueue` expects blocking spawn Up to now `BasicQueue` expected a closure that to spawn a `Future`. This was expected to be a closure that spawns a blocking future. However, this wasn't documented anywhere. This pr introduces a new trait `SpawnBlocking` that exposes this requirement to the outside. * Feedback
-
Arkadiy Paronyan authored
* Use header cache for state_at * Fixed warnings * Update client/db/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Nikolay Volf authored
* 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]>
-
Pierre Krieger authored
* Report tasks panics in metrics * Renames * Renames
-
Bastian Köcher authored
-
- Apr 30, 2020
-
-
André Silva authored
* grandpa: update to v0.12.0 * grandpa: fix tests * grandpa: better validation of authority set invariants * grandpa: avoid duplicating invalid authority list check * grandpa: add missing doc * grandpa: better validation of expect proofs * grandpa: fix test compilation * grandpa: fix tests * grandpa: add test for AuthoritySet invariants * grandpa: bump finality-grandpa to v0.12.0
-
Pierre Krieger authored
-
Joshy Orndorff authored
-
Bastian Köcher authored
* Export state cli * More work * Fix tests * Make it work * Fix compilation * Apply suggestions from code review
-
Pierre Krieger authored
-
Nikolay Volf authored
* replace replace with take * Update client/api/src/cht.rs Co-authored-by: Bastian Köcher <[email protected]> * Update client/api/src/cht.rs Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Arkadiy Paronyan authored
* purge-chain accepts --db option * print DB info on startup * Small refactoring * Added back &self * Add DatabaseParams for PurgeChain, ImportParams and ExportBlocks * Don't force default value * Remove unused fields * Update client/cli/src/commands/export_blocks_cmd.rs * Fix stuff Co-authored-by: Cecile Tonglet <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Arkadiy Paronyan authored
* Optimized collecting pending block requests * Make sure request iterator is consumed
-
- Apr 29, 2020
-
-
pscott authored
* Spawn tasks instead of pushing them to background_tasks * Remove unnecessary mut keyword for self * Remove background_tasks field in ServiceBuilder
-
Saqib Rokadia authored
* Adding optional public addresses for use in network configurations to allow for proxies in front of a node. * Apply suggestions from code review Co-Authored-By: Cecile Tonglet <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Cecile Tonglet <[email protected]> Co-authored-by: Pierre Krieger <[email protected]>
-
Web3 Philosopher authored
-
pscott authored
Co-Authored-By: Pierre Krieger <[email protected]>
-
Benjamin Kampmann authored
Co-Authored-By: Bastian Köcher <[email protected]>
-
Benjamin Kampmann authored
-
Arkadiy Paronyan authored
-
- Apr 28, 2020
-
-
André Silva authored
-
Pierre Krieger authored
* Add metrics about block requests * Apply suggestions from code review Co-Authored-By: Max Inden <[email protected]> Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Max Inden <[email protected]>
-
Web3 Philosopher authored
* Drop client from sc-network and sc-client-db, move LongestChain to sc-client-api * move leaves, cht, in_mem to sc-client-api, drop client from sc-finality-grandpa * drop sc-service from sc-rpc * drop sc-service from sc-consensus-aura * drop sc-client from manual-seal and babe * drop sc-client from utils/frame/rpc/system and utils/frame/benchmarking-cli * drop sc-client from bin/node and bin/node-template * drop sc-client * fix tests * remove check -p sc-client from gitlab.yml * fix warnings * fixes ui test * fix light client tests * adds associated Client type to AbstractService * adds UsageProvider to Client * fixed ui test, again * tried and failed to get node-cli to compile for wasm * thanks to tomaka for helping me get node-cli to compile for wasmm * ui test pls pas
🙏🏾 * all tests passing 🪄 * no_run documentation code * rm -f documentation code * ClientProvider * fix mega trait * move LongestChain to sc-consensus, use adds minimal bounds to AbstractService::Client * adds license to sc-consensus Co-authored-by: Benjamin Kampmann <[email protected]> -
Wei Tang authored
-
Cecile Tonglet authored
* Initial commit Forked at: c13ad416 Parent branch: origin/master * Fix remaining issues with unsafe_pruning * Revert "Fix remaining issues with unsafe_pruning" This reverts commit 9c42c2f9. * Just remove is_dev
-
- Apr 27, 2020
-
-
André Silva authored
-
Cecile Tonglet authored
* Initial commit Forked at: a516cf29 Parent branch: origin/master * Add method with_default_block_announcer to ServiceBuilder
-
Arkadiy Paronyan authored
* Optimize pinning * Ref counting state backend * Style Co-Authored-By: Wei Tang <[email protected]> * Update Cargo.lock * Handle empty node Co-authored-by: Wei Tang <[email protected]>
-
Pierre Krieger authored
-
- Apr 25, 2020
-
-
Joshy Orndorff authored
-
- Apr 24, 2020
-
-
André Silva authored
* babe: remove error fallbacks from threshold calculation * babe: fix indent * babe: fix domain * babe: fix compilation * babe: improve expect * babe: add one more note about p's limit
-
Max Inden authored
Instead of logging value-found-event-handling failures or value-put failures on error level, log them on debug level only additionally recording them via Prometheus. Motivation is that both events can happen in "normal" operations and thus clutter the logs.
-
Wei Tang authored
* babe: secondary blocks with VRF * Fix node runtime compile * Fix test-utils runtime interface * Fix babe tests * typo: v == 2 * babe: support online configuration upgrades * Fix rpc tests * Fix runtime version tests * Switch to use NextConfigDescriptor instead of changing runtime interface * Fix tests * epoch-changes: map function that allows converting with different epoch types * Add migration script for the epoch config change * Fix docs for PrimaryAndSecondaryVRFSlots * Add docs of `SecondaryVRF` in babe crate * babe-primitives: Secondary -> SecondaryPlain * babe-client: Secondary -> SecondaryPlain * Fix migration tests * test-utils-runtime: Secondary -> SecondaryPlain * Fix missing name change in test-utils-runtime * Fix migration: Epoch should be EpochV0 * Update client/consensus/babe/src/lib.rs Co-Authored-By: André Silva <[email protected]> * Fix new epochChanges version * Fix babe-primitives naming changes * Fix merge issues in babe-client Co-authored-by: André Silva <[email protected]> Co-authored-by: André Silva <[email protected]>
-