Skip to content

Commit

Permalink
deps: remove extra oz deps (ethereum-optimism#3504)
Browse files Browse the repository at this point in the history
There were open zeppelin contracts defined in the top level
`package.json` as well as in each of the individual packages.
We want to be very explicit with the version of the contract
dependencies that are used. I believe that the versions local
to the packages were being used instead of the globally defined
versions, removing them from the top level `package.json` will
ensure this.

Co-authored-by: Matthew Slipper <[email protected]>
  • Loading branch information
tynes and mslipper authored Sep 20, 2022
1 parent 249a8ed commit b982aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@
"dependencies": {
"@changesets/cli": "^2.16.0",
"@codechecks/client": "^0.1.11",
"@ethersproject/abstract-provider": "^5.7.0",
"@openzeppelin/contracts": "^4.3.2",
"@openzeppelin/contracts-upgradeable": "^4.3.2"
"@ethersproject/abstract-provider": "^5.7.0"
}
}
7 changes: 1 addition & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3176,7 +3176,7 @@
dependencies:
"@octokit/openapi-types" "^9.5.0"

"@openzeppelin/[email protected]", "@openzeppelin/contracts-upgradeable@^4.3.2":
"@openzeppelin/[email protected]":
version "4.7.1"
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-4.7.1.tgz#f63fc384255d6ac139e0a2561aa207fd7c14183c"
integrity sha512-5EFiZld3DYFd8aTL8eeMnhnaWh1/oXLXFNuFMrgF3b1DNPshF3LCyO7VR6lc+gac2URJ0BlVcZoCfkk/3MoEfg==
Expand Down Expand Up @@ -3211,11 +3211,6 @@
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.7.3.tgz#939534757a81f8d69cc854c7692805684ff3111e"
integrity sha512-dGRS0agJzu8ybo44pCIf3xBaPQN/65AIXNgK8+4gzKd5kbvlqyxryUYVLJv7fK98Seyd2hDZzVEHSWAh0Bt1Yw==

"@openzeppelin/contracts@^4.3.2":
version "4.3.3"
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.3.3.tgz#ff6ee919fc2a1abaf72b22814bfb72ed129ec137"
integrity sha512-tDBopO1c98Yk7Cv/PZlHqrvtVjlgK5R4J6jxLwoO7qxK4xqOiZG+zSkIvGFpPZ0ikc3QOED3plgdqjgNTnBc7g==

"@openzeppelin/contracts@^4.4.0":
version "4.4.0"
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.4.0.tgz#4a1df71f736c31230bbbd634dfb006a756b51e6b"
Expand Down

0 comments on commit b982aae

Please sign in to comment.