Closed kyriediculous closed 5 years ago
What does this pull request do? Explain your changes. (required) This PR replaces onlyTicketBroker with a newly introduced onlyVerifier modifier
onlyTicketBroker
onlyVerifier
Specific updates (required)
Verifier
bondingManager.slashTranscoder()
slashTranscoder
BondingManager.js
How did you test each of these updates (required) Adjusted & ran unit and integration tests
Does this pull request close any open issues? Fixes #315
Checklist:
What does this pull request do? Explain your changes. (required) This PR replaces
onlyTicketBroker
with a newly introducedonlyVerifier
modifierSpecific updates (required)
onlyVerifier
modifier that checks if the caller is theVerifier
contract (0x000...) in streamflowonlyTicketBroker
withonlyVerifier
onbondingManager.slashTranscoder()
slashTranscoder
unit tests inBondingManager.js
to call from the mock verifier instead of ticketBrokerHow did you test each of these updates (required) Adjusted & ran unit and integration tests
Does this pull request close any open issues? Fixes #315
Checklist: