- Aug 01, 2019
-
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
This commit splits the `DoSlash` trait in two traits: `DoReward` and `DoSlash` The reasons for it, is that we want reward based on the `total slashed amount` but the entire amount doesn't necessarily be rewarded. Some part of the total slashed amount might need to transmitted to some other part such as `treasory`. Thus, instead we return the total slash and `ReportSlashing` has to determine what to do with the total slashed amount. In other words, the concrete misconduct type determines what to do.
-
thiolliere authored
* make staking add_reward_points_to_validator public * make storage private * bump version
-
Pierre Krieger authored
* Documentation and small cleanup in panic-handler * Apply suggestions from code review Co-Authored-By: Sergei Pepyakin <[email protected]>
-
Sergey Pepyakin authored
* Switch to deferred actions * Make restore_to a deferred action. * Bump version. * Review fixes.
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
* Replace the telemetry Mutex with a channel * Don't return Err() if channel is full * Change polling pattern * Add more issue numbers
-
André Silva authored
-
- Jul 31, 2019
-
-
Niklas Adolfsson authored
-
Pierre Krieger authored
-
ddorgan authored
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
Bastian Köcher authored
* Don't set `HEAP_PAGES` in `BasicExternalities` * Fix test
-
- Jul 30, 2019
-
-
Tomasz Drwięga authored
This reverts commit fb28e115.
-
Bastian Köcher authored
* Update schnorrkel to `0.7.0` * Apply suggestions from code review Co-Authored-By: DemiMarie-parity <[email protected]> * Increase `spec_version`
-
André Silva authored
* node: update BABE authority ids in staging testnet config * node: update flaming fir chain spec
-
André Silva authored
* babe: don't execute median algorithm * babe: checked sub in median calculation * node: bump impl_version to make ci happy * babe: remove forbid dead_code
-
Arkadiy Paronyan authored
* Reorg test * Fixed informant misreporting reorgs * Update cache when reorg is caused by applying finality * Test for finality reorg * Simplified test * Typo Co-Authored-By: André Silva <[email protected]>
-
Jim Posen authored
Partly due to interaction with #3191.
-
Niklas Adolfsson authored
-
Pierre Krieger authored
* Stop block import after error * Better diagnostic on error
-
Niklas Adolfsson authored
-
Jim Posen authored
* srml-contracts: Forbid remaining uses of float types. * Bump node runtime impl version.
-
André Silva authored
* srml: babe: add expected block time constant * srml: babe: expose epoch duration constant * node: bump spec_version * core: don't use moment type in test-runtime * babe: add docs regarding c parameter
-
- Jul 29, 2019
-
-
Niklas Adolfsson authored
-
Pierre Krieger authored
* Allow creating a ChainSpec from a Vec<u8> * Line widths * Embedded -> Binary * Remove from_embedded
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Jim Posen authored
* CLI execution flag for import-blocks and factory. * Fix minimum_balance bug with CLI factory.
-
* core/network: Fix bad import %s/runtime_primitives/sr_primitives/ * Cargo.lock: Update consensus-common-primitives parity-codec version * core/consensus/common: Remove obsolete package path
-
Kian Paimani authored
* refactor sr_primitives. * Fix try build error. * Line-width * Ui test. * Final fixes. * Fix build again. * bring back ui test. * Fix unsigned import. * Another ui fix. * Also refactor substrate-primitives * Fix benchmarks. * Fix doc test. * fix doc tests
-
Max Inden authored
The goal of the commit is to be able to retrieve the current set of authorities without needing to know the concrete consensus mechanism in place. In order to achieve the above this commit introduces the `core/consensus/common/primitives` crate, declaring the `ConsensusApi` runtime API. In addition it implements the above mentioned trait definition in `node/runtime` by returning the current authorities of the BABE consensus mechanism.
-
* srml-contracts: Change Ext interface to pass-by-value. * srml-contracts: Refactor ExecutionContext to reduce duplication. * srml-contracts: Refactor contracts Module to reduce duplication. * Bump node runtime impl version.
-
-
thiolliere authored
-
Pierre Krieger authored
-
- Jul 28, 2019
-
-
Pierre Krieger authored
* Switch consensus-common to new futures * Fix tests * More tests fixing * Make Proposer, OnSlot and SyncOracle mut * Make the Environment mut as well * Fix test * Fix Babe tests * Babe fixes * Fix CLI service tests * Fix Babe tests * Remove unnecessary trait bound * Inline the code of BlockBuilder and AuthoringApi * Remove warning lint * Bounds simplification * Imports simplification * Don't panic on bad generated block * Code style * Add doc example * Remove dependency on aura * Order dependencies alphabetically * Minor style
-
- Jul 27, 2019
-
-
Pierre Krieger authored
* Minor cleanup in native_executor.rs * Fix tests
-