livepeer / protocol

Livepeer protocol
MIT License
152 stars 45 forks source link

[delta-audit] treasury: Avoid overriding vote of non self-bonding accounts #626

Closed victorges closed 1 year ago

victorges commented 1 year ago

What does this pull request do? Explain your changes. (required) This fixes a finding from the audit regarding on overriding votes. It addresses the problem of delegating to a non-transcoder account and then overriding their votes imprperly.

The known corner cases that can trigger this inconsistency are:

Specific updates (required)

How did you test each of these updates (required) yarn test to be deployed on devnet

Does this pull request close any open issues? Fixes:

Checklist: