TempleGold can be minted only possible on source chain Arbitrum. mint()
function includes onlyArbitrum
modifier which checks if current chain is arbitrum by matching immutable saved chainId. The issue is, There is always a possibility of a chain being hard forked, it has happened with Ethereum in the past. In case of a hard fork, the actual chainID could change but contract will be using same chainId which will DOS the minting functionlties which affect overall staking and Auction ecosystem aroung templeGold
TempleGold can only be minted on the source chain, Arbitrum. The mint()
function includes the onlyArbitrum
modifier, which checks if the current chain is Arbitrum by matching an immutable saved chainId. However, there is always a possibility of a chain being hard-forked, as has happened with Ethereum in the past. In case of a hard fork, the actual chainId
could change, but the contract will be using the same immutable chainId
. This will cause a pause for the minting functionality, affecting the overall staking and auction ecosystem around TempleGold
Pause on minting TempleGold token
Manual
Do not use an immutable chainId
to check if the current chain is Arbitrum. Consider implementing a more flexible chain identification method that can adapt to changes such as chain forks
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.