Contracts Affected:
EggstravaganzaNFT.sol
EggVault.sol
EggHuntGame.sol
Description:
The contracts use an unspecific Solidity pragma (pragma solidity ^0.8.23;), which allows the code to compile with any version of Solidity from 0.8.23 onwards. This can lead to unexpected behavior if the code is compiled with a newer version of Solidity that introduces breaking changes or different behavior.
Impact:
Using an unspecific pragma increases the risk of compatibility issues and unexpected behavior when the code is compiled with a newer version of Solidity.
Proof of Concept:
Recommended Mitigation:
Specify a fixed Solidity version to ensure consistent behavior and compatibility. For example:
This ensures that the code is compiled with the intended version of Solidity, reducing the risk of unexpected behavior.
Floating pragma usage could lead to compilation inconsistencies
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.