Skip to content
Request an audit

‹ All findings

Witnet is not available on some networks listed

MediumPoolTogether Prize Layer·Sherlock · Raffle · 16th May 2024CodebaseM-13

Summary

Witnet is not deployed on Blast, Linea, ZkSync, Zerion, so draws will not be possible there. Vaults can still be deployed and yield earned, so it will fail when trying to start or complete draws.

Vulnerability Detail

The sponsor intends to know concerns when deploying the protocol to the list of blockchains in the readme.

We're interested to know if there will be any issues deploying the code as-is to any of these chains

One of these issues is that Witnet is not supported on Blast, Linea, ZkSync or Zerion, so an alternative rng source must be used.

Prize vaults may still be deployed, accruing yield and sending it to the prize pool, but the prize pool will not be able to award draws and will only refund users when it shutdowns.

Impact

DoSed yield until the prize pool shutdown mechanism starts after the timeout.

Code Snippet

https://github.com/sherlock-audit/2024-05-pooltogether/blob/main/pt-v5-prize-pool/src/PrizePool.sol#L938 https://docs.witnet.io/smart-contracts/supported-chains

Tool used

Manual Review

Vscode

Recommendation

Use an alternative RNG source on the non supported chains.