Skip to content

Commit

Permalink
fix deploy fork scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mcclurejt committed Jun 28, 2024
1 parent 0c521b1 commit 4b6656c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/deploy-fork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ npx hardhat registry:add --name RETH_30_DAY --value 1 --network mainnet_fork --c

# Extract the deployed contract addresses to `artifacts/addresses.json`
# for use with the delvtech/infra address server.
cat ./deployments.local.json | jq ".mainnet_fork | {
cat ./deployments.local.json | jq '.mainnet_fork | {
dai14Day: .DAI_14_DAY.address,
dai30Day: .DAI_30_DAY.address,
steth14Day: .STETH_14_DAY.address,
steth30Day: .STETH_30_DAY.address,
reth14Day: .RETH_14_DAY.address,
reth30Day: .RETH_30_DAY.address,
factory: .FACTORY.address,
hyperdriveRegistry: .MAINNET_FORK_REGISTRY.address,
}" >./artifacts/addresses.json
hyperdriveRegistry: .["DELV Hyperdrive Registry"].address,
}' >./artifacts/addresses.json
cp ./deployments.local.json ./artifacts/
2 changes: 1 addition & 1 deletion scripts/format-devnet-addresses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ cat deployments.local.json | jq '.anvil | {
erc4626Hyperdrive: .ERC4626_HYPERDRIVE.address,
stethHyperdrive: .STETH_HYPERDRIVE.address,
factory: .FACTORY.address,
hyperdriveRegistry: .ANVIL_REGISTRY.address,
hyperdriveRegistry: .["DELV Hyperdrive Registry"].address,
}' >./artifacts/addresses.json

0 comments on commit 4b6656c

Please sign in to comment.