sechub
HomeServicesAssetsJobsFindingsTicketsGovCheck
Guest Mode. Click here to sign in and access all features

    Inconsistent Solidity versions throughout the codebase

    Blast the balloon SC Audit

    Severity
    Informational
    Status
    Fixed
    Location(s)

    BlastTheBalloonBase.sol#L2

    IBlastPoints.sol#L2

    IERC20withDec.sol#L2

    BlastTheBalloonErrors.sol#L2

    BTB.sol#L2

    BTBRandom.sol#L2

    BTBStorage.sol#L2

    Description

    Throughout the codebase there are several different versions of Solidity being targeted by the source files. In some cases ranges are accepted via the ^ operator.

    Recommendation

    It is recommended to specifically target only one Solidity version in the source code. 0.8.10 is the newest out of the users versions. Also, do not use the ^ caret operator. Ranged Solidity compilation versions are discouraged as to not introduce slight variations that initially do not appear as breaking changes, or compiler changes that may have undiscovered vulnerabilities.

    Comments
    No comments yet

    Inconsistent Solidity versions throughout the codebase

    Blast the balloon SC Audit

    Severity
    Informational
    Status
    Fixed