Skip to content

Commit 2917a1b

Browse files
committed
Fix OpenZeppelin version to 4.5.0
1 parent b63dcf7 commit 2917a1b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"devDependencies": {
2424
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
2525
"@nomiclabs/hardhat-waffle": "^2.0.3",
26-
"@openzeppelin/contracts": "^4.2.0",
26+
"@openzeppelin/contracts": "4.5.0",
2727
"@typechain/ethers-v5": "^9.0.0",
2828
"@typechain/hardhat": "^4.0.0",
2929
"@types/chai": "^4.3.0",

scripts/solc_abigen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# GH_TOKEN: ${{ secrets.GH_TOKEN }}
77

88
SOLC_VER="v0.8.9+commit.e5eed63a"
9-
OPENZEPPELIN="openzeppelin-contracts-4.2.0" # if change, also need to change the url in dld_solc
9+
OPENZEPPELIN="openzeppelin-contracts-4.5.0" # if change, also need to change the url in dld_solc
1010
GETH_VER="geth-alltools-linux-amd64-1.10.7-12f0ff40" # for abigen
1111
CNTRDIR="contracts" # folder name for all contracts code
1212
GO_REPO=https://${GH_TOKEN}@github.com/celer-network/sgn-v2
@@ -26,7 +26,7 @@ dld_solc() {
2626
curl -L "https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-${SOLC_VER}" -o solc && chmod +x solc
2727
sudo mv solc /usr/local/bin/
2828
# only need oz's contracts subfolder, files will be at $CNTRDIR/$OPENZEPPELIN/contracts
29-
curl -L "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/v4.2.0.tar.gz" | tar -xz -C $CNTRDIR $OPENZEPPELIN/contracts/
29+
curl -L "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/v4.5.0.tar.gz" | tar -xz -C $CNTRDIR $OPENZEPPELIN/contracts/
3030
}
3131

3232
dld_abigen() {

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@
581581
"@types/sinon-chai" "^3.2.3"
582582
"@types/web3" "1.0.19"
583583

584-
"@openzeppelin/contracts@^4.2.0":
584+
"@openzeppelin/contracts@4.5.0":
585585
version "4.5.0"
586586
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.5.0.tgz#3fd75d57de172b3743cdfc1206883f56430409cc"
587587
integrity sha512-fdkzKPYMjrRiPK6K4y64e6GzULR7R7RwxSigHS8DDp7aWDeoReqsQI+cxHV1UuhAqX69L1lAaWDxenfP+xiqzA==

0 commit comments

Comments
 (0)