File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 66# GH_TOKEN: ${{ secrets.GH_TOKEN }}
77
88SOLC_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
1010GETH_VER=" geth-alltools-linux-amd64-1.10.7-12f0ff40" # for abigen
1111CNTRDIR=" contracts" # folder name for all contracts code
1212GO_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
3232dld_abigen () {
Original file line number Diff line number Diff line change 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==
You can’t perform that action at this time.
0 commit comments