onflow / flow-core-contracts

Cadence smart contracts that define core functionality of the Flow protocol
https://onflow.org
The Unlicense
87 stars 50 forks source link

Adds Events for nodes that get rewards slashed #446

Open joshuahannan opened 1 week ago

joshuahannan commented 1 week ago

Issue To Be Solved

When nodes' stakes or rewards are slashed, there should be events that indicate what was slashed and how much.

Suggest A Solution

May need some more discussion about what kind of events and new parameters are needed

Context

Block explorers want to show this information so that Flow can be more transparent

bjartek commented 1 week ago

It would also be nice to compile a list of previous slashings so that we can have an offchain record of them atleast for transparency @vishalchangrani