* subkey build, cargo audit
* some fixes
* cleanup
* review
* not to be launched on PRs
* not to be launched on PRs 2
* check-runtime should run on PRs only
* changed only to except, easier to read
* fix no jobs ran
* only: rewrites when it's last
* only: -branches wasn't needed
* benching subkey build
* benching subkey build 2
* subkey check
* not for 1.0
* cleanup
* first --unclean-- working version of locks and weight decay
* Refactor voter activity history.
* Tuning offset calculation and tests
* Remove print.
* Configurable decay ratio.
* Remove spaces.
* Name for activity.
* Fix some style
* Re-write voters as chunked map-vec.
* Adds panic todo.
* Fix some of the grumbles.
* Fix some of the grumbles.
* Chunked approvals vector.
* Introduce voter_index for set_approvas in favor of complexity.
* Add a bit more docs
* Add boolean approvals as scalar.
* Some cleanups TODO removes.
* enhance some error checking.
* No more double_map
* Combined voter info and fee.
* Fix global tests
* Bump.
* Fix line length
* Fix error message.
* Kill As<T>.
* Final fix.
* _Further_ kill As.
* Proper imbalance for fee.
* Bump.
* Fix spacing.
* Update
* Address grumbles.
* Line width.
* Require --locked when building runtime
* Update locks
* Do it in a different way
* Accidentally reverted Cargo.lock
* pass on arguments in build.sh scripts
* Drop import_lock from client, move it into backend, impl default version via static mutex
* still need to allow depcretion because of client.backend
* additional docs
* Remove default impl of get_import_lock, impl on instances
* Bump parking_lot to 0.8.0 accross the board
* Switch to `TestClientBuilder` and support generating LongestChain
* Make sure test-client works without the wasm blob
* Use `TestClientBuilder` in more places
* Nonlinear locking and cleanups
* Bump runtime version
* Minor cleanup
* Fix tests
* Fix council tests
* Fix flaw in turnout counting
* Initial work on referendum schedules
* Refactor council-democracy interface.
* Fix build
* Update srml/democracy/src/lib.rs
Co-Authored-By: Luke Schoen <ltfschoen@users.noreply.github.com>
* Update srml/democracy/src/lib.rs
Co-Authored-By: Luke Schoen <ltfschoen@users.noreply.github.com>
* Tests compile again
* Tests!
* Update todo
* Fix build
* Ensure votes arer not double-counted on member-transitions
* Extra logic for normal council changes
* Typo
* A few grumbles addressed.
* Add some benchmarks for phragmen
* Fix dep. import.
* Clean up with some macros.
* more details.
* Fix dual import.
* Remove wrong assertions.
* Add a few more.
* restored test_consensus
* restored test_sync
* run integration tests only on CI
* use single test-thread for integration tests
* post-merge fix
* panic when integration test runs for too long
* add some traces to integration logs
* manual wait -> timeout
* post-merge fix
* post-merge fix
* Some initial re-organization.
* Text looking decent. No Example Yet.
* Clarify that using block rewards is jsut an example.
* Clarify the purpose of OnDilution.
* Update lib.rs
* Bump jsonrpc & generate clients.
* Initial version of JSON-RPC client.
* Re-wort
* Remove spurious `#[derive(Encode, Decode)]`
They did not compile, since `Encode` and `Decode` are deliberately not
implemented for `usize`.
Fixes#2742.
* Re-write rpc-client example.
* Update to jsonrpc=12.0.0
* Remove unnecessary import
* Bump version.
* Revert version bump.
* Bump again.
* Try to fix runtime panic
Does not work
* Fix trivial typo
* Add runtime support for `PreRuntime` and `Consensus` digests
Fixes c7d1204ce5
* Fix silly compile error.
* Fix overly-long lines
Also remove some in-progress code that would not wind up being useful
anyway.
* Respond to review comments
* delete `unset RUSTC_WRAPPER` from scripts/common.sh
* delete unnecessary `use aura::AURA_ENGINE_ID` from
`node/runtime/src/lib.rs`
* add comments explaining why `PreRuntime` and `Consensus` must be
special-cased in `core/sr-primitives/lib.rs`
* switch to using `$crate::rstd::marker::PhantomData` in
`impl_outer_log!`
* improve documentation of `DigestItem::Seal`
* Fix compilation and add proof that we do not panic
Also fix some warnings.
* Apply suggestions from code review
Mostly for readability
Co-Authored-By: Sergei Pepyakin <s.pepyakin@gmail.com>
* Apply suggestions from code review
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
* $crate::rstd::marker::PhantomData → Default::default()
The import is still needed, as `Default::default()` can’t be used in
patterns.
* Bump `spec_version`
Also do some reformatting.
* State pinning in client
* Canonicalization queue
* Fixed prioritization queue
* possible fix of "hash mismatch"
* Check for pinned discarded states
* Release state before finalization
* Style
* Style
* Add support for tuples in `OnNewAccount` hook
* Bump impl version
* Use `for_each_tuple` with `OnNewAccount` hook
* Update `OnFreeBalanceZero` to also use `for_each_tuple`
* Fix spelling/typo
* Bump spec again
* Update srml/support/src/traits.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
* Update srml/system/src/lib.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
* Nonlinear locking and cleanups
* Bump runtime version
* Minor cleanup
* Fix tests
* Fix council tests
* Fix flaw in turnout counting
* fix: lock_voting_should_work_with_delegation test
* chore: fix comment refering to unexisting function
* Added priority groups
* Added a test
* Whitespace
* Added add/remove single peer API
* Added a warning
* Fixed removing reserved peer
* Fixed build
* Made some methods private and made get_priority_group return an Option