F-2024-0002·stale-compiler
Compiler version with known assembly bugs
TL;DR
on-chain-relayer compiles with Solidity ~0.8.14, a version with known assembly-related bugs. Recommend upgrading to ~0.8.15+.
Severity
LOW
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description
Description
The on-chain-relayer package relies on compiler version ^0.8.14, known to have bugs affecting assembly code blocks. While the current code does not appear to be impacted, it is strongly recommended to upgrade to the latest Solidity version, or at least to ^0.8.15, which addresses the documented assembly bugs.
03Section · Impact
Impact
Future code changes that introduce assembly blocks could be exposed to known compiler bugs, even though the current code path is unaffected.
04Section · Recommendation
Recommendation
Upgrade the Solidity compiler to the latest version to ensure the integrity and security of the contracts.
05Section · Resolution
Resolution
RedStone: Fixed in commit 198c17ee5123fbcc654b9490c8ea2d0857638705.
Status
Fixed
Fix commit
198c17ee5123