hats-finance / Metrom-0xfdfc6d4ac5807d7460da20a3a1c0c84ef2b9c5a2

Smart contracts for the Metrom project.
GNU General Public License v3.0
0 stars 0 forks source link

Incompatibility of Solidity Version with Some Chains #5

Open hats-bug-reporter[bot] opened 1 month ago

hats-bug-reporter[bot] commented 1 month ago

Github username: @0xmahdirostami Twitter username: 0xmahdirostami Submission hash (on-chain): 0x49dc91be7d105d0afdf1d1de7368e3674aee43ff04a0a95efa91650b94ca46c0 Severity: low

Description: Description\

As mentioned by sponsors, the plan is to deploy this contract on all major EVM chains. However, the current Solidity version used in the contract is not compatible with some chains, such as Arbitrum.

Revised Code File (Optional)\

To ensure compatibility across all major EVM chains, it is recommended to use a more compatible Solidity version, such as 0.8.19.

luzzif commented 1 month ago

This is something we would need to handle but it was also an expected thing, henche why this was included in the project's CONTRIBUTING.md and why the evm_version parameter must be set correctly by the deployer. The Solidity version itself should not be the problem here. Check out the CONTRIBUTING.md here.