Function: broadcastResults(uint64 chainId)
This function is used to broadcast the voting results of the current week to the chain with chainId
.
Inputs
chainId
Control: Arbitrary.
Constraints: None.
Impact: Chain ID.
Branches and code coverage
Intended branches
Invoke
_broadcastResults()
to broadcast the results.Refund unused ETH.
Negative behavior
Revert if the epoch has not been finalized.