Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: disable slashing #184

Merged
merged 9 commits into from
Mar 29, 2021
Merged

feat!: disable slashing #184

merged 9 commits into from
Mar 29, 2021

Conversation

martinfridrich
Copy link
Contributor

Description

Delay slashing to infinity so slashes can be canceled with sudo

Related Issue

#145

@martinfridrich martinfridrich changed the title feat:disable slashing feat(runtime):disable slashing Mar 25, 2021
@martinfridrich martinfridrich changed the title feat(runtime):disable slashing feat: disable slashing Mar 25, 2021
@auto-add-label auto-add-label bot added the enhancement New feature or request label Mar 25, 2021
Copy link
Contributor

@green-jay green-jay left a comment

Choose a reason for hiding this comment

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

just ooc, is the equivocation fix somehow related to slashing?

type SlashCancelOrigin = EnsureOneOf<
AccountId,
EnsureRoot<AccountId>,
pallet_collective::EnsureProportionAtLeast<_3, _4, AccountId, CouncilCollective>,
Copy link
Contributor

Choose a reason for hiding this comment

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

as there will be only once council member, EnsureMember makes a bit more sense

Copy link
Contributor Author

@martinfridrich martinfridrich Mar 26, 2021

Choose a reason for hiding this comment

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

I have to fix babe/grandpa equivocations at first for slashing to start to work. I can make it in 2 issues/PRs if we want

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok so the slashing wasn't working in the first place, got it. Probably no need to split it at this point.

@jak-pan jak-pan changed the title feat: disable slashing feat!: disable slashing Mar 28, 2021
@auto-add-label auto-add-label bot added breaking-change and removed enhancement New feature or request labels Mar 28, 2021
@jak-pan
Copy link
Contributor

jak-pan commented Mar 28, 2021

Bump runtime and spec_version pls

@jak-pan
Copy link
Contributor

jak-pan commented Mar 29, 2021

Oops. I'll fix this.

@jak-pan jak-pan merged commit 3f702f8 into master Mar 29, 2021
@mrq1911 mrq1911 deleted the feat/disable_slashing branch April 6, 2021 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants