If the players array will become big enough so the gas limit is not enough to calculate the tx, - it will be reverted. That would mean a denial of service, no one will be able to use the contract any more!
Each opcode in EVM requires gas to process calculations. The gas limit is 30mil for a tx, so if the calculations will demand more, the tx will be reverted. So when there will be "too much" players, the contract will become unreachable forever...
The contract won't be available any more, so all the assets will be lost
hardhat
Instead of the array, developers need to use a mapping to store current players, it will make everything much easier
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.