code-423n4 / 2022-02-tribe-turbo-findings

1 stars 0 forks source link

Wrong pragma #15

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

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

transmissions11 commented 2 years ago

the line you linked shows we use 0.8.10

GalloDaSballo commented 2 years ago

Per the sponsor comment, the finding is invalid