Closed kfastov closed 2 months ago
also @kfastov i think we need to upgrade the repo to the 0.8.19 version cause i think linea contracts is not backwards compatible so itβs best to upgrade your implementation to 0.8.19 or use the caret to make your contracts forward compatible ^0.8.15
1. Upgrade to v0.8.19: Update your project to use Solidity v0.8.19. This ensures full compatibility with the Linea contracts.
2. Use Caret Versioning: In your Solidity contracts, specify the version with a caret to allow for forward compatibility:
pragma solidity ^0.8.15;
2. This means your contracts will be compatible with any compiler version from v0.8.15 up to, but not including, v0.9.0.
3. Run Tests and Check Dependencies: After upgrading, thoroughly test your project to ensure everything works as expected and check that all dependencies are compatible with the new version.
does this answer satisfy your question ser?
Hi @Jemiiah ! That's a good point. Also we'll be able to use more recent release versions of OZ and other dependencies. But I think it's better to start working on this issue after merging all pending PRs.
@kfastov that sounds like a solid plan. Iβll be waiting for the prs to get merged
Hi @kfastov , I think we should upgrade to 0.8.19, so it can be compatible with the linear contracts.
also I the original state bridge repo is compatible with latter versions too.
if they did the semver right, upgrading from 0.8.15 to 0.8.19 will cause no backward incompatible issue (we only update the patch version - major.minor.patch
)
But it's safer to check Solidity changelog carefully before proceeding
v0.8.15: https://github.com/ethereum/solidity/blob/develop/Changelog.md#0815-2022-06-15
...
v0.8.19: https://github.com/ethereum/solidity/blob/develop/Changelog.md#0819-2023-02-22
@Jemiiah the PRs are merged now, and I can assign this issue to you if you want, but I want to warn you that it's no longer part of ODHack because it's over
sorry @kfastov i saw this information late I would love to take the work regardless
also @kfastov what does that mean if itβs no longer part of ODHack
also @kfastov what does that mean if itβs no longer part of ODHack
Hi @Jemiiah ! It means that I can't guarantee that this contribution will be 100% rewarded π
okay @kfastov that still sounds promising ππ Iβll get right into it ππ
Cool cool! I'll change the description a bit to better fit the goal
Alright thanks π
I think it can be closed now
Hey team,
I'm thinking about importing Linea base contracts and interfaces directly from their repository. However, there's an issue: Linea contracts require Solidity v0.8.19, while our repo is on v0.8.15.
We chose this version to match the original state bridge repo. But do we really need to stick with v0.8.15, or can we upgrade to v0.8.19?
Updates from smart guys in the comments:
world-id-state-bridge
contracts use caret version