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

On the next runtime code reset remove PoC-1 hack #237

Closed
pepyakin opened this issue Jun 23, 2018 · 1 comment
Closed

On the next runtime code reset remove PoC-1 hack #237

pepyakin opened this issue Jun 23, 2018 · 1 comment
Labels
I7-refactor Code needs refactoring.

Comments

@pepyakin
Copy link
Contributor

pepyakin commented Jun 23, 2018

See paritytech/polkadot#236
Possibly related #227

@pepyakin pepyakin added the I7-refactor Code needs refactoring. label Jun 23, 2018
@pepyakin pepyakin changed the title On the next runtime code reset make a cleanup On the next runtime code reset remove PoC-1 hack Jun 23, 2018
@rphmeier
Copy link
Contributor

Merging this with #227

JoshOrndorff pushed a commit to moonbeam-foundation/substrate that referenced this issue Apr 21, 2021
* Updates alphanet/stagenet staking genesis

* fix formatting

* Set genesis issuance to 10M

* format spec files

* Update runtime/src/lib.rs

Co-authored-by: Amar Singh <[email protected]>

* Fixes the relay spec template

* Fixes release github CI for parachain specs

* Updates Embedded Parachain specs

* Fixes spec formatting

* Fixes specs for 10m Issuance

* Fixes script and block weight

* Removes line limit for bash

* Updates embedded sp[ecs

* fixes embedded spec fomatting

* Fixes STAKER list in scripts

* Removing special condition for author_filter

* Fix code formatting

* Embeds new genesis for stagenet/alphanet

* Adds permission to execute on moonbeam docker image

* Fixes stagenet embedded relaychain

Co-authored-by: Amar Singh <[email protected]>
liuchengxu added a commit to chainx-org/substrate that referenced this issue Aug 23, 2021
* Fix the slashing in Staking

These are a few glitches that makes the slashing take no effect:

- T::FullIdentificationOf uses the () impl, resulting in the failure of
converting the validator to offender.
- `MinimumPenalty` and `OffenceServerity` are not intialized.

* Change const MIGRATION_SESSION_OFFSET to type parameter

* Add root call for setting minimum_penalty and offence_severity

* .

* Slash the offender based on its reward

* Add set_sessions_per_era()

* Fix typo

* Fix offence_severity genesis initialization
helin6 pushed a commit to boolnetwork/substrate that referenced this issue Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I7-refactor Code needs refactoring.
Projects
None yet
Development

No branches or pull requests

2 participants