Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should upgrade @openzeppelin/contracts version in use #377

Open
cdsiren opened this issue Feb 20, 2024 · 3 comments
Open

Should upgrade @openzeppelin/contracts version in use #377

cdsiren opened this issue Feb 20, 2024 · 3 comments

Comments

@cdsiren
Copy link

cdsiren commented Feb 20, 2024

You guys mind upgrading to the latest? Issue report here:

https://security.snyk.io/vuln/SNYK-JS-OPENZEPPELINCONTRACTS-1570170

@cdsiren cdsiren changed the title Security issue in @openzeppelin/contracts version in use Should upgrade @openzeppelin/contracts version in use Feb 20, 2024
@NotCoffee418
Copy link

Is there a reason this cannot be done or is it just that nobody has done it yet?

@NotCoffee418
Copy link

Looks like it can't be done without upgrading the contracts to solidity >=0.8.0.
This repo relies on OpenZeppelin components components that no longer exist in the new version.
But the repo is already in a state it's no longer compatible or safe to rely on in any contract.
I was about to tackle it but it seems too much work without someone giving the okay on this.

@srikanth-programmer
Copy link

use this "@openzeppelin/contracts": "^3.4.2"
and compiler options as
compilers: [
{
version: "0.7.6",
settings: {
evmVersion: "istanbul",
optimizer: {
enabled: true,
runs: 1000,
},
},
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants