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

LockedGold.slash() should only payout to reporters who are registered on Accounts #8828

Closed
yorhodes opened this issue Oct 20, 2021 · 0 comments · Fixed by #8854
Closed

LockedGold.slash() should only payout to reporters who are registered on Accounts #8828

yorhodes opened this issue Oct 20, 2021 · 0 comments · Fixed by #8854

Comments

@yorhodes
Copy link
Contributor

Expected Behavior

Revert on non accounts in LockedGold.slash()

Current Behavior

ie signer accounts can receive lockedgold which will never be retrievable (signers cannot create accounts)

@yorhodes yorhodes changed the title LockedGold.slash() should only payout to reporters who are registered on Accounts LockedGold.slash() should only payout to reporters who are registered on Accounts Oct 20, 2021
@mergify mergify bot closed this as completed in #8854 Nov 8, 2021
mergify bot pushed a commit that referenced this issue Nov 8, 2021
### Description

Slashing is incentivized with a reward of locked CELO going from the slashee to the reporter. Locked CELO is tied to accounts from the Accounts core contract, so we require that reporters have created an account.

### Other changes

Reworded a description string for an unrelated test.

### Tested

Unit tests.

### Related issues

- Fixes #8828

### Backwards compatibility

This change doesn't change storage layouts or function signatures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants