Skip to content

Commit

Permalink
fix: upgrade openzeppelin/upgrades to work with latest anvil
Browse files Browse the repository at this point in the history
  • Loading branch information
bard committed Jan 2, 2024
1 parent 0a29df1 commit 481d96d
Show file tree
Hide file tree
Showing 3 changed files with 544 additions and 84 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ WORKDIR /app
# https://github.com/foundry-rs/foundry/issues/5906
RUN curl -L https://foundry.paradigm.xyz | bash

# install a previous versions that doesn't have the rpc method hardhat_metadata.
# hardhat expects an integer but the output from anvil is an hex string
RUN ~/.foundry/bin/foundryup -v nightly-34f684ddfacc5b2ed371353ba6f730c485616ffe
RUN ~/.foundry/bin/foundryup

ENV PATH="$PNPM_HOME:$PATH"

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@nomiclabs/hardhat-solhint": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.5",
"@openzeppelin/hardhat-upgrades": "^1.22.1",
"@openzeppelin/hardhat-upgrades": "^1.28.0",
"@primitivefi/hardhat-dodoc": "^0.2.3",
"@typechain/ethers-v5": "^7.2.0",
"@typechain/hardhat": "^2.3.1",
Expand Down
Loading

0 comments on commit 481d96d

Please sign in to comment.