Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix runtime build #264

Closed
wants to merge 1 commit into from
Closed

Fix runtime build #264

wants to merge 1 commit into from

Conversation

svyatonik
Copy link
Contributor

@svyatonik svyatonik added the A0-please_review Pull request needs code review. label Jun 29, 2018
@@ -580,7 +580,7 @@ impl<T: Trait> Module<T> {
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);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't be needed...

@gavofyork
Copy link
Member

See #266

@svyatonik svyatonik closed this Jun 29, 2018
@svyatonik svyatonik deleted the fix_runtime_build branch June 29, 2018 09:28
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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants