Skip to content
Cosmopediaby Unity Nodes
DiscussionsHub ProposalsProp 818 DiscussionForum ↗

Prop 818 Discussion

Hub Proposals30 posts2,379 views44 likesLast activity Aug 2023
DA
David_FortsonOP
Aug 2023 1

Greetings Cosmonauts, 818 has gone up without a forum venue for community dialogue. LOA Labs validator is opening it up here to complement the discussion on Twitter and elsewhere. Why this is such a fascinating and consequential governance proposition? See @dimiandre twitter post: "… Prop 818 on is so much fun Assuming that no one votes for the best of the network but only for their own interests we have: - Validators voting yes to free some space in set and harm a competitor - Validators voting no so that they expect others to do the same in case they mess up something - Validators voting yes/no because they are enemy/friends - Validators voting abstain cause they don’t want to jump on either side and play fake friends with everyone - Delegators not affected voting yes to decrease supply of atom - Delegators affected voting veto for their own interest - Delegators not affected voting no/veto chasing a possible airdrop And many more! Do you see any other conflict of interest possibilities? The usd value of the slashed tokens would be around 2.3M" Why this needed to go onchain without coming to the Forum first as is normally expected as outlined by Informal:…

Excerpt (1186 of 1739 characters). Read the whole post on the forum ↗

JT
jtremback
Aug 2023 6

Double signing slashing has two goals: • Make it harder for malicious validators to organize a cartel to double spend by showing different chain states to multiple victims. • Act as a disincentive for ambivalent validators to sign on any chain state they see, for example signing on to multiple states created by a double spending attack (this is called the nothing at stake problem ). On the first point, it’s not possible for validators to double spend without at least 1/3 of the voting power participating. They simply won’t have enough signatures to create a valid alternate block. In this case, it doesn’t appear that the validators were actually attempting to double spend. A real double spending attempt would have required a much larger number of validators to participate, and they would also have had to have a plan to show alternate histories to multiple clients, for example sending the same tokens through multiple bridges or exchanges. There’s an extremely low probability that this is what they were doing. The second point is a little more subtle, but it doesn’t appear that this is what happened either. The nothing at stake problem is a scenario where multiple forks are…

Excerpt (1199 of 2081 characters). Read the whole post on the forum ↗

KA
Kamikaza731
Aug 2023 1

I feel like I am out of the loop and I am not sure what has happened here so can anyone explain? There doesn’t seem to be a lot of details in the prop. The only detail is to use neutron cli to see the data.

Once you understand how to use any cosmos cli you should be able to get any data from any cosmos chain but I don’t think many people know how to use cli + not everyone has linux to install cli and use it just to check the necessary data for this prop.

SE
serejandmyself
Aug 2023 2

Thanks for the comments. Here is our explanation: https://twitter.com/cosmos_voice/status/1689667475451887616

WA
waqarmmirza
Aug 2023

i have concluded it, in the context of non-consensus breaking upgarde, neutron team communication and the whole ICS.

Did the said vals doublesign? yes.
Was it their fault? No.
What should be the vote? NWV/No

KA
Kamikaza731
Aug 2023 1

Ok I saw your tweet and I am still confused. So you did a double sign but weren’t slashed? I know ICS is still new but this seems like a bug or missing feature. Currently looking at mintscan and you are still in active set. As for reason of slashing I agree that this wasn’t intentional and sometimes with rushed cli updates this is bound to happen. Realaty is every time swiching to newer version without a proper vote, time, cosmovisor setup and a planed schedule of release can lead to human error, even though it is considered a soft fork it usually has to be done within limited time. But unfortunately “it is a part of the job”. Maybe some softer punishment should be enacted instead of tombstone like 0.1% slash. I think tombstone punishment is too hars for something like this. Some other solution should be considered for this problem. I am aware this is more of a safety feature but this is something to consider. Also I would like to point out similar thing have happened on Comdex and Huahua chain and they reverted tombstone. I can’t say that I know the technical behind how they did this I just wanted to point out that this problem exist on every chain based on cosmos SDK…

Excerpt (1195 of 1397 characters). Read the whole post on the forum ↗

AI
aidan
Aug 2023 2

When optimistic slashing was introduced, my understanding was that the reason to gov gate slashing was to prevent false positives (consumer chains triggering slashes through code) and protect the Hub. It seems like the definition of false positive is shifting also to include real equivocation that wasn’t intended to be malicious.

This seems reasonable, especially if the framing is that these are training wheels to allow for ICS to be live in production (I could see validators not being willing to run ICS chains without this). Or maybe optimistic slashing is just better because validators mostly double-sign on accident, and other chains should add it.

I do have some questions about this from the consumer chain POV

  • Are these just training wheels? Or will optimistic slashing also be added to the Hub?
  • Will governance be able to accurately judge whether future double signs are accidental?
  • Does this change the incentive structure for validators to double-sign?
SE
serejandmyself
Aug 2023

ICS double signing is made that way because it’s new. It was originally intended to be designed via a proposal to be able to understand situations like this one (imo).

Yes, that’s correct, on a couple of chains, the networks were reverted 1 block to save validators in similar cases

KA
Kamikaza731
Aug 2023 1

Yes I digged a bit around docs still going through so this is actualy a normal feature than a gov vote needs to be made so “social slashing” could happen leaving power to slash in the hands of the people. Since this is the case i will go through the evidence on neutron when I have the time and make a decision. Since this currently looks as a human error rather than malicious attack i will probably vote a no on this prop.

CO
Cosmic_Validator
Aug 2023 3

aidan: Are these just training wheels? Or will optimistic slashing also be added to the Hub? According to the ‘Slashing updates in replicated security post’: “We received feedback from some validators and community members that it would be too risky to slash based solely on information transmitted from the consumer chain. The concern is that some malicious code on a consumer chain could send fake slash packets and slash a validator that had not committed any infractions.” So this double-sign slashing implementation done via governance instead of directly is because of this risk of potential fake slash packets from consumer chains mentioned above, therefore for the Cosmos Hub itself since this risk doesn’t exist double-sign slashing would continue as always. Also, it is mentioned “Instead of slashing and tombstoning validators who double sign on consumer chains immediately, it will go through a governance vote first. This modification will add an extra layer of safety, while still punishing validators who violate the rules of consensus. Double signing is extremely rare in practice.” jtremback: • NO if we are actually worried about an attempted attack…

Excerpt (1195 of 1762 characters). Read the whole post on the forum ↗

SE
serejandmyself
Aug 2023 2

Going to post a link to our own explanation again:

twitter.com

Citizen Cosmos

To Cosmos and Neutron, As some of you know, prop 818: mintscan.io/cosmos/proposa… proposes to Punish Equivocation on Neutron by Pupmos and Citizen Cosmos due to a doublesign event on Neutron, a first of its kind on an ICS chain. Our explanation. A 🧵:

Hopefully this can help people to make up their own minds. Our goal here is to be as clear as possible to what has happened

JT
jtremback
Aug 2023 5

aidan: • Are these just training wheels? Or will optimistic slashing also be added to the Hub? These are just training wheels. Work is in progress here to make slashing automatic on the Hub, and end governance gating. There are not plans to add anything like this to the Hub. However, I would be in support of a mechanism like Anoma’s cubic slashing , or Ethereum’s correlation penalty to let validators who make mistakes and are not part of a coordinated attack get off with a smaller slash. aidan: • Will governance be able to accurately judge whether future double signs are accidental? If there’s any question that a double sign could have been part of a double spend attack attempt, I think that governance will slash them. aidan: • Does this change the incentive structure for validators to double-sign? I don’t think so. There is no benefit to double signing unless you are part of a cartel of 1/3+ double signing on the same block, as part of a double spend attack with carefully crafted alternate histories. In this case I think that the validators involved would be slashed. There is no reason for a validator to just double sign…

Excerpt (1196 of 1508 characters). Read the whole post on the forum ↗

DA
David_Fortson
Aug 2023 1

All of this - thanks Jehan.

ZA
zaki_iqlusion
Aug 2023 3

To me another goal of slashing in Cosmos is to strongly incentivize a culture of operation excellence among Cosmos Hub validators.

Cosmos validators have always been advised to run TMKMS or horcrux in production. Each of these applications provides additional double sign protection but also protects against a host of other potential threats to the network like malicious node binaries getting access to keys or an attacker getting access to keys via a compromising the only validator node.

The double spend incidents are indicative a significant decay in validator operational practices.

ZA
zaki_iqlusion
Aug 2023 5

@David_Fortson I do not view this governance proposal as discretionary. Once I was aware of the equivocation, I feel obligated to put it up for a vote.

There is also the issue that evidence must be processed promptly for the security model to hold. So the idea of posting first to the forum seems inappropriate.

DA
David_Fortson
Aug 2023

Yep - I get that. I pasted in the section from Informal’s blog above that outlined why this needed to go on chain ASAP. Appreciate the prompt action and understand why.

CO
Cosmos_Nanny
Aug 2023

Thanks Jehan. Is Ethereum’s correlation penalty similar to the proportional slashing module? Link not working.

FR
freak12techno
Aug 2023 2

:hamster: Quokka Stake here.

Seems like a clear NO for us. This is not a malicious behaviour, this is just a validators’ error, and we have quite a lot of cases of tombstones on other chains during the upgrades, and all of these times such tombstones were either discarded (like on Evmos), or reverted via a separate chain upgrade. We do not see why we should treat it any different here. NWV seems like a bad option here for us, as it’s not a harmful proposal, it’s a proposal we do not agree with.

Additionally, we should also keep in mind that ICS is still in the adoption phase, so there are not that many validators who has a lot of experience running consumer chains and knowing all the internals, so mistakes may happen.

SE
serejandmyself
Aug 2023 1

This precisely. Its ironic how everyone has forgot that similar cases already happened before, but with much larger validators

JA
jacobgadikian
Aug 2023
zaki_iqlusion:

I do not view this governance proposal as discretionary.

I agree with this sentiment to the degree that I think it might make a lot of sense to automate these governance proposals. Instead of passing a/a consumer chain could pass a governance proposal to the hub.

Thank you for spending the time to make the governance proposal by the way.

my big question

Do we want to add a layer of meat to the machines?

I remember saying in 792 that I felt that Cosmos excels with social consensus, and I most certainly still think that.

Right now humans are most likely to be able to make more accurate decisions about these slashes.

The trouble is, it’s really a rather unpleasant choice to be making.

@aidan seems to be saying that he’s basically okay with these changes (and it matters because he is a team member of a consumer chain) but if her reading his commentary correctly he does have some concern about degraded security, and I think that should be all of our concerns.

TO
tom
Aug 2023

hi

i can understand why this discussion is important,
what makes me doubtful is why so much diverse opinions there among validators.

to me it’s quite simple:

we can get a non-subjective proof that nothing was malicious → NO

we can’t - whatever the reason of that “neglicence” → YES

i really hope the YES wins.

otherwise Hub security standing is… marred.

SE
serejandmyself
Aug 2023

we can get a non-subjective proof that nothing was malicious → Yes, we can and we have

JT
jtremback
Aug 2023

I was on the fence yesterday, but I’ve changed my personal vote to a solid YES on 818. It is true that accidental double signs don’t really cause any damage, and this was obviously accidental. One can imagine a lot of different ways to reduce punishments for accidental double signs, for instance quadratic slashing, but that is not the intention of governance-gating ICS slashes. The intention of governance-gating ICS slashes is to avoid a scenario where a malfunctioning or malicious consumer chain generates completely bogus slash packets, and that is not what happened here. While it may not have been intentional, the validators involved did sign two blocks at the same height. Legitimate slash packets were sent correctly from the consumer chain and were received by the Hub. Without governance-gating, they would have been slashed right away. Furthermore, this governance-gating is a temporary feature. Work is currently underway on code that will slash validators automatically on the Hub by cryptographically verifying equivocation evidence. This new code would also have slashed the validators in 818 automatically. From a theoretical perspective, blocking these particular…

Excerpt (1194 of 1418 characters). Read the whole post on the forum ↗

MA
Marty
Aug 2023 3

Can you point me to somewhere I can read more about this? Thank you!

JA
jacobgadikian
Aug 2023 1

Marty, @serejandmyself made a very good twitter thread on this topic: https://twitter.com/cosmos_voice/status/1689667475451887616?s=20 Here’s another one on the anti-slash point of view: https://twitter.com/0xSpaydh/status/1690372872731086848?s=20 Personally, I am pro-slash, but I want to temper these words a bit. @serejandmyself is a great contributor to the ecosystem. I hate voting to slash them. I don’t think that it is as they say “just following orders” though. I think that the right choice here is to follow the way the software is written. This is not the kind of slash that we added the governance slashing to prevent. I could come up with only one reason not to slash @pupmos and @serejandmyself . Here it is: [Sane Defaults] Universal use of remote signers Conversation The community consensus is quite clear that using a remote signer is the correct way to configure one’s validator. Why doesn’t Notional use a remote signer? human error I personally call validators after they get slashed. In the case of this most recent slashon the hub, one of them is a dog and so I haven’t called them. The other is @serejandmyself and I haven’t called…

Excerpt (1197 of 1324 characters). Read the whole post on the forum ↗

MZ
mzonder
Aug 2023 1

“Slashing updates in replicated security” introduction:

“We received feedback from some validators and community members that it would be too risky to slash based solely on information transmitted from the consumer chain. The concern is that some malicious code on a consumer chain could send fake slash packets and slash a validator that had not committed any infractions.”

Did malicious code send fake slash packets? - no, packets are valid, it was validator mistake.

Is this mistake related to any ICS innovation? - no, deleteting priv_val_state during halted chain is a common (and well known) validator mistake. There is no difference in upgrading procedure on consumer chain or independed chain.

Was “Slashing in RS” created to forgive HUB validators for their mistakes? Ok, but where the line is?

JA
jacobgadikian
Aug 2023
mzonder:

Was “Slashing in RS” created to forgive HUB validators for their mistakes? Ok, but where the line is?

no, it wasn’t.

You are correct.

JA
jacksteroo
Aug 2023 1

I feel this is an exercise of social consensus when the automated slashing is intendedly not implemented at this stage, and the validator community and proposers of 818 is making an example out of Pupmos and Citizen Cosmos. I’m still dissatisfied with the rather short post-mortem tweet by Citizen Cosmos and Pupmos tweet was definitely lackluster, a 5% slashing is minimal and is a slap in the hand. A tombstone is not acceptable, but it should be if it happens again (employ a 3-strikes rule) At this stage, this proposal is novelty at best, and serves as a reminder that we should strive for operational excellence and do our best to adhere to avoid double signing at all cost. Having multiple keys in multiple nodes for the sake of near 100% operator uptime is not acceptable. I’d rather see individual node operators miss a few blocks, happening gradually across all node operators to implement hard fork upgrades, in order to maintain 100% network uptime (maintaining 2/3 majority consensus), rather than near 100% operator uptime with potential double signing missteps. Being quick to act to help with a network upgrade shouldn’t take priority over operational excellence. Due to that…

Excerpt (1199 of 1277 characters). Read the whole post on the forum ↗

PS
Psinn
Aug 2023 1

Validators should get slashed (appropriate + sm amount) and simply learn from it, no?

JA
jacobgadikian
Aug 2023 1

Yeah absolutely.

The reason that we eventually vetoed this proposal is that it’s technically flawed. That doesn’t mean that we disagree with the intent of the proposal and in fact notional supports slashing in cases of equivocation and does not wish to see that change.

← Back to Discussions