Closed sherlock-admin3 closed 2 weeks ago
Upbeat Berry Panther
Low/Info
To prevent any unexpected issues, it is best practice to make the solidity compiler specific for your smart contracts before deployment
All files where pragma solidity has ^ instead of being a speific compiler version https://github.com/sherlock-audit/2024-07-sense-points-marketplace/blob/main/point-tokenization-vault/contracts/PointTokenVault.sol#L2
None
Could cause unexpected issues
pragma solidity =0.8.13
update ^ to = in the pragma solidity lines for all files
Upbeat Berry Panther
Low/Info
Solidity pragma compiler should be specific (remove ^)
Summary
To prevent any unexpected issues, it is best practice to make the solidity compiler specific for your smart contracts before deployment
Root Cause
All files where pragma solidity has ^ instead of being a speific compiler version https://github.com/sherlock-audit/2024-07-sense-points-marketplace/blob/main/point-tokenization-vault/contracts/PointTokenVault.sol#L2
Internal pre-conditions
None
External pre-conditions
None
Attack Path
None
Impact
Could cause unexpected issues
PoC
pragma solidity =0.8.13
Mitigation
update ^ to = in the pragma solidity lines for all files