Skip to content

Commit

Permalink
0x040 data for issue #136
Browse files Browse the repository at this point in the history
  • Loading branch information
code423n4 committed Sep 8, 2022
1 parent ad1efff commit 1a575f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/0x040-Q.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Low
- use a later solidity version
- Description
It's a better to use the latest compiler version. The actual compiled version is 0.8.11 (quite old) and the latest is 0.8.16.

- Mitigation
Update the version of solidity to 0.8.16.

https://github.com/code-423n4/2022-09-canto/blob/65fbb8b9de22cf8f8f3d742b38b4be41ee35c468/src/Swap/BaseV1-core.sol#L2
https://github.com/code-423n4/2022-09-canto/blob/65fbb8b9de22cf8f8f3d742b38b4be41ee35c468/src/Swap/BaseV1-periphery.sol#L3

0 comments on commit 1a575f6

Please sign in to comment.