This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Closed
Conversation
gavofyork
reviewed
Jun 29, 2018
| let total = noms.iter().map(Self::voting_balance).fold(Zero::zero(), |acc, x| acc + x); | ||
| for n in noms.iter() { | ||
| //let r = Self::voting_balance(n) * reward / total; // correct formula, but might overflow with large slash * total. | ||
| let quant = T::Balance::sa(1usize << 31); |
Member
|
See #266 |
JoshOrndorff
pushed a commit
to moonbeam-foundation/substrate
that referenced
this pull request
Apr 21, 2021
liuchengxu
added a commit
to chainx-org/substrate
that referenced
this pull request
Aug 23, 2021
* Various fixes * Correct init * Add name and url in endowed intentions * Update wasm * Init tokens vote weight of endowed * 10 blocks per session * Take care of precision between price and cross chain assets * Update wasm * Fix/spot quotationss (paritytech#260) rename online&add some event * compile wasm * compile wasm * Fix run bug * new genesis * Add straging telemetry url * update genesis * Fix bridge storage name (paritytech#263) * Fix bridge storage name Signed-off-by: koushiro <[email protected]> * Add pub Signed-off-by: koushiro <[email protected]> * Update new wasm * update genesis * Adjust penalty as 0 * update genesis * Fix/handicap (paritytech#264) * fix handicap * Let auth3 is charlie * Rebuild
liuchengxu
added a commit
to autonomys/substrate
that referenced
this pull request
Jun 3, 2022
…lkadot Format cumulus and polkadot in the original form
helin6
pushed a commit
to boolnetwork/substrate
that referenced
this pull request
Jul 25, 2023
* Use async-trait * Use async-trait for store trait too
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details: https://travis-ci.org/paritytech/polkadot/jobs/398106422#L546