Open hats-bug-reporter[bot] opened 1 year ago
The updateDeploymentBlockNumber
does not exist because that variable cannot change.
Since the admin is not a variable that's needed to synch in the oracle we do not emit an event for it. The AcceptGovernance
event could be useful just to check maybe how many times the governance has been transferred, and also seems weird that automatically a governance was "accepted" without any action by that address. So the system was designed this way.
Also i don't think this issue should be labeled as a bug, but more as an "informational/recommendation" issue.
Github username: @Rotcivegaf Submission hash (on-chain): 0x6c6df446b8fc2037770878f4aaf14ed6604763b123073196a56460b30825d5b8 Severity: low
Description:
Description
The
initialize
function not emit theAcceptGovernance
event when change thegovernance
slotAlso not emit a event when the slot
deploymentBlockNumber
changeThis would affect the offchain reading of events
Recommendation
Add the events: