Submitted by leastwood.
Miners are able to rewrite a chains history if they dislike the VRF output used by the protocol. Consider the following example:
The PoolTogether team is aware of this issue but is yet to mitigate this attack vector fully.
Consider adding a confirmation time between when the actual VRF request was made and when it was later fulfilled on-chain. This could be as few as 5 blocks, reducing the probability of an effective chain reorganization to extremely close to 0.
asselstine (PoolTogether) acknowledged:
Alex the Entreprenerd (judge) commented:
Alex the Entreprenerd (judge) commented:
