I have read a fair bit about slashing but have not actually experienced it. Nor do I want to, at least on a production network!
I have my own application chain on a single machine to play with, but want to actually intentionally create a slashing situation so I can see for myself how it works, in terms of changes to all the different accounts and pools in the system.
So by two validators using the same key, you mean two nodes, both which have the same contents of “priv_validator_key.json”, but where the actual cosmos user accounts for each of the two validators is different?
My understanding is not super clear on how user accounts relate to the priv_validator_key. But I assume the latter is the key that each validator signs with. So if two different validator nodes signed with the same key, that would be the doublespend we are trying to simulate?
I am trying to do this on my own custom application chain, but certainly will keep in mind that I can do that with the docker-compose network in the gaia repo.