You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: remove onlyOwner modifier and gate the slashing logic behind the BoltChallenger
We need to integrate the challenger logic to gate slashing requests.
Context
Slashing requests are currently gated behind an onlyOwner function. To remove this permissioned requirement,
we need to use the challenger as oracle for slashing requests. This is essentially a way to determine if the
slashing request is legit and should be executed or not.
The way we do this is by reading from the challenger's storage to see if a breached challenge occurred.
The text was updated successfully, but these errors were encountered:
Task
As outlined in this comment:
bolt/bolt-contracts/src/contracts/BoltSymbioticMiddleware.sol
Line 376 in ce4b85b
We need to integrate the challenger logic to gate slashing requests.
Context
Slashing requests are currently gated behind an
onlyOwner
function. To remove this permissioned requirement,we need to use the challenger as oracle for slashing requests. This is essentially a way to determine if the
slashing request is legit and should be executed or not.
The way we do this is by reading from the challenger's storage to see if a breached challenge occurred.
The text was updated successfully, but these errors were encountered: