Skip to content

Commit

Permalink
Fix deploy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aviggiano committed Jul 9, 2024
1 parent 6d9a33e commit 1c16b0e
Show file tree
Hide file tree
Showing 6 changed files with 1,023 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ for i in {0..5}; do halmos --loop $i; done

```bash
source .env
RCP_URL=$RPC_URL CHAIN_NAME=$CHAIN_NAME DEPLOYER_ADDRESS=$DEPLOYER_ADDRESS yarn deploy-testnet --broadcast
RPC_URL=$RPC_URL CHAIN_NAME=$CHAIN_NAME DEPLOYER_ADDRESS=$DEPLOYER_ADDRESS yarn deploy-testnet --broadcast
```

## Onchain
Expand Down
499 changes: 499 additions & 0 deletions broadcast/Deploy.s.sol/84532/run-1720560852.json

Large diffs are not rendered by default.

499 changes: 499 additions & 0 deletions broadcast/Deploy.s.sol/84532/run-latest.json

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions deployments/84532.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"commit": "6d9a33e",
"deployments": {
"PriceFeed": "0x2269b2A8E66D3E919176562bef8688A2f760aE99",
"Size-implementation": "0x2353D836865Db0911dc68e170fC40E1d84B66228",
"Size-proxy": "0x1b4Da605eB61d005c9dA7fc12A4403D1b3F89D2f"
},
"networkName": "base-sepolia",
"parameters": {
"feeRecipient": "0xf7164d2fc05350c75387fa6c0cc4f97634ca9451",
"owner": "0xf7164d2fc05350c75387fa6c0cc4f97634ca9451",
"sequencerUptimeFeed": "0x0000000000000000000000000000000000000000",
"usdc": "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
"usdcAggregator": "0xd30e2101a97dcbaebcbc04f14c3f624e67a35165",
"usdcHeartbeat": 1320,
"variablePool": "0x07ea79f68b2b3df564d0a34f8e19d9b1e339814b",
"weth": "0x4200000000000000000000000000000000000006",
"wethAggregator": "0x4adc67696ba383f43dd60a9e78f2c97fbbfc7cb1",
"wethHeartbeat": 1320
}
}
3 changes: 2 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@

[rpc_endpoints]
sepolia = "https://sepolia.infura.io/v3/${API_KEY_INFURA}"
base_sepolia = "https://base-sepolia.infura.io/v3/${API_KEY_INFURA}"
base_sepolia = "https://base-sepolia.g.alchemy.com/v2/${API_KEY_ALCHEMY}"
anvil = "http://127.0.0.1:8545"

[etherscan]
sepolia = { key = "${API_KEY_ETHERSCAN}" }
base_sepolia = { key = "${API_KEY_ETHERSCAN}" }

[fmt]
sort_imports = true
Expand Down
2 changes: 1 addition & 1 deletion script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ contract DeployScript is BaseScript, Networks, Deploy {
parameters.push(Parameter({key: "wethAggregator", value: Strings.toHexString(networkParams.wethAggregator)}));
parameters.push(Parameter({key: "usdcAggregator", value: Strings.toHexString(networkParams.usdcAggregator)}));
parameters.push(Parameter({key: "wethHeartbeat", value: Strings.toString(networkParams.wethHeartbeat)}));
parameters.push(Parameter({key: "usdcHeartbeat", value: Strings.toString(networkParams.wethHeartbeat)}));
parameters.push(Parameter({key: "usdcHeartbeat", value: Strings.toString(networkParams.usdcHeartbeat)}));
parameters.push(
Parameter({key: "sequencerUptimeFeed", value: Strings.toHexString(networkParams.sequencerUptimeFeed)})
);
Expand Down

0 comments on commit 1c16b0e

Please sign in to comment.