Closed code423n4 closed 2 years ago
https://github.com/code-423n4/2022-02-tribe-turbo/blob/66f27fe51083f49f7935e3fe594ab2380b75dee8/src/modules/TurboSavior.sol#L2 https://github.com/ethereum/solidity/blob/develop/Changelog.md#089-2021-09-29
Use a buggy version of solidity with immutable.
The contract use immutable, and this solidity version defined in the pragma has some issues with them, as you can see here.
Use at least 0.8.9
the line you linked shows we use 0.8.10
Per the sponsor comment, the finding is invalid
Lines of code
https://github.com/code-423n4/2022-02-tribe-turbo/blob/66f27fe51083f49f7935e3fe594ab2380b75dee8/src/modules/TurboSavior.sol#L2 https://github.com/ethereum/solidity/blob/develop/Changelog.md#089-2021-09-29
Vulnerability details
Impact
Use a buggy version of solidity with immutable.
Proof of Concept
The contract use immutable, and this solidity version defined in the pragma has some issues with them, as you can see here.
Recommended Mitigation Steps
Use at least 0.8.9