- Jan 07, 2019
-
-
Gav Wood authored
* Invulnerabiity from slashing * Update srml/staking/src/lib.rs Co-Authored-By: gavofyork <[email protected]>
-
cheme authored
* Missing trait def on two calls. Slight mcla refact on transfo. * Allways provide GenesisConfig even when useless (for runtime module export). * Revert "Allways provide GenesisConfig even when useless (for runtime module" This reverts commit 84a29bc592023d1ee107519c58693ec19dbde2d2. * Fix Vec usage (from rstd).
-
Wei Tang authored
* Unify primitive types with parity-ethereum * Update primtive-types patch version * Fix merge issue * Add necessary fixed-hash features * Fix node-primitives compile * Reexport impl_serde::serialize as bytes to avoid path changes
-
Luke Schoen authored
* fix: Add assertions to prevent excess votes and computation, and to end council seat election when no empty seats * Add assertion to prevent a vote from voters that provide a list of votes that exceeds the desired seats length, since otherise an attacker may be able to submit a very long list of `votes` that far exceeds the amount of candidates and waste more computation than a reasonable voting bond would cover. Added additional associated test that may be run with `cargo test -p srml-council` * Add assertion so expired council seats are not up for election when desired seat count changes during the voting period such that there are no longer any empty seats * Update comment to refer to `reporter` instead of `who` (target of inactivity), since the origin is the `reporter` * Update commment to refer more specifically to how many vote indexes, since `InactiveGracePeriod` is measured in vote indexes * Update comment for `ApprovalsOf` since previously the comment was a duplicate of the comment for `LastActiveOf`'s * Create variable to refer to `retaining_seats` to improve readability * Reference Notes: https://hackmd.io/nr6kPD2sR4urmljtvHs0CQ * WIP - length votes should be less than length candidates. pushing changes for reference so can fix * fix: Amount of candidate approval votes cannot exceed candidates amount. Candidates amount must be over zero. * Fix so that amount of candidate approval votes cannot exceed amount of candidates (instead of desired seats) * Add assertion to `set_approvals` such that amount of candidates to receive approval votes must be greater than zero. Add associated test * fix: Remove assertion preventing votes when empty seats is 0 * review-fix: Replace with is_zero and add corresponding test * Update seats.rs * Update seats.rs
-
asynchronous rob authored
-
Aton authored
* must pass sub_matches to function, so that could get `<num>` in revert * revert should del current best index block, not prev block
-
- Jan 06, 2019
-
-
Arkadiy Paronyan authored
* Fixed ancestry search - block queue interaction * Style
-
Shawn Tabrizi authored
Documentation says the `default` macro expands to `Module, Call, Storage, Event<T>, Config`, but it actually uses the generic config: `Module, Call, Storage, Event<T>, Config<T>`
-
André Silva authored
* core: fix bug on ondemand dispatch after a request was dispatched to the last peer the dispatch would loop forever on subsequent requests that aren't able to be fulfilled by any of the peers, since the last peer wasn't updated. * core: try to dispatch all pending ondemand requests
-
- Jan 04, 2019
-
-
* Support custom fork choice rule * Remove unneeded reexport * Fix network compile
-
- Dec 31, 2018
-
-
- Dec 29, 2018
-
-
asynchronous rob authored
-
Arkadiy Paronyan authored
-
- Dec 27, 2018
-
-
- Dec 23, 2018
-
-
kyegupov authored
-
- Dec 22, 2018
-
-
Bastian Köcher authored
* Make `deposit_event` work with none generic events `fn deposit_event() = default` will now be used for none generic events `fn deposit_event<T>() = default` is now for generic events. * Update wasm files * Fixes some spelling mistakes * Update wasm and fix new module
-
Wei Tang authored
-
- Dec 21, 2018
-
-
* node: remove grandpa authority flags * node: exit-guard grandpa and aura spawned futures * node: wait for futures to stop running on shutdown * core: run connectivity tests on same ports * core: pass on_exit future when starting aura and grandpa * node: add issue number to todo * core: fix aura and grandpa tests
-
Gav Wood authored
* Sudo module * Fix comment * Fix errors * Fix test * Update hashes * Final test fixes and build * Final hex change
-
André Silva authored
-
Gav Wood authored
-
- Dec 20, 2018
-
-
Gav Wood authored
-
Arkadiy Paronyan authored
-
Tomasz Drwięga authored
* Call a state before block was imported. * Add test to check if it works correctly.
-
cheme authored
* Add a 'default' field to metadata. It contains code to generate the default value. * wasm update * Make 'default' field an `Option` * Boxed fn is not static, that won't be fine * static fn won't do it to as it cannot get T param, will try fat trait * Fat pointer over phantom data compatible with static instantiation * DecodeDifferent is cool, using it for decoding. * using once cell to do what would require copying lazy_static internals. * Remove cache when no_std (non compatible deps) * wasm bins update * Fuse tooling struct and enum derive.
-
Mohanson authored
* Fix usage error in README * Flow the advice
-
- Dec 19, 2018
-
-
cheme authored
* Clean space from types when converting to string * Missing cases. * Add unit test for complex type, complete clean fn.
-
Wei Tang authored
* node/runtime: Avoid duplicate dependency via package reexport * core/test-runtime: Avoid duplicate dependency via package reexport * Update lock file
-
Jaco Greeff authored
-
-
- Dec 17, 2018
-
-
Gav Wood authored
-
Gav Wood authored
* Add new testnet * Rename * Update lib.rs * Rename ctd. * Remove BBQ Birch Testnet reference from Readme * Fix comment * Update keys
-
* Consensus data added with generic use in service/src/consensus.rs. This may need to change. * refactor consensus service a bit
-
Tomasz Drwięga authored
* Implement health endpoint. * Expose health API.
-
Bastian Köcher authored
-
- Dec 16, 2018
-
-
Sergei Pepyakin authored
-
- Dec 15, 2018
-
-
* core: support broadcasting consensus message to all peers * grandpa: remove liveness oracle * node: always start grandpa on full nodes * core: don't check for grandpa justifications on failed block imports * core: fix network connectivity test
-
- Dec 14, 2018
-
-
Luke Schoen authored
* Update SRML Assets: add total supply query, refactor with specific unit tests, update assertions * Add feature and tests to allow querying total supply * Add assertion and tests to ensure that transfer amount is greater than or equal to one unit * Replace broad `it_works` function test with various specific unit tests * Fix `destroy` function by moving assertion before the action * Fix typos `Transfered` should be `Transferred`, `requried` should be `required` * Reference: https://hackmd.io/nr6kPD2sR4urmljtvHs0CQ?view#Assets-Module * refactor: Order imports alphabetically * review-fix: Replace non-zero check with shorter equivalent * review-fix: Restore order of non-zero assertion and destroy account * Update lib.rs
-
- Dec 13, 2018
-
-
* Optionally long lock voting * Lock voting. * Fix tests * Comment update * Comments * Minor grumbles * Docs.
-