onflow / onflow/flow-core-contracts

Adds Events for nodes that get rewards slashed

Open
#446 1 comment 1 reaction 1 assignee View on GitHub

@joshuahannan is already working on this.

Since Sep 26, 2024.

Feature Feedback good first issue Improvement Needs Definition
Dominant language
Cadence
Stars
93
Forks
53
PR merge metrics
No merged PRs in 30d

Description

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
  • An event when the staking admin sets the nodes to slash that indicates which nodes are being slashed
  • Updates to the rewards events that indicate how much was slashed for each node

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.