Skip to content

Commit

Permalink
Deployments
Browse files Browse the repository at this point in the history
Note couldn't get verify to work yet
Also zkEVM somehow dropped but then rematerialized a tx so the addresses are off.  Not a big deal, zkEVM is off in a lot of ways.
  • Loading branch information
Tritium-VLK committed Oct 19, 2024
1 parent 5364751 commit c81f856
Show file tree
Hide file tree
Showing 11 changed files with 869 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std.git
url = https://github.com/foundry-rs/forge-std
110 changes: 110 additions & 0 deletions broadcast/InjectorInfraDeployment.s.sol/10/run-latest.json

Large diffs are not rendered by default.

98 changes: 98 additions & 0 deletions broadcast/InjectorInfraDeployment.s.sol/100/run-latest.json

Large diffs are not rendered by default.

100 changes: 100 additions & 0 deletions broadcast/InjectorInfraDeployment.s.sol/1101/run-latest.json

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions broadcast/InjectorInfraDeployment.s.sol/137/run-latest.json

Large diffs are not rendered by default.

110 changes: 110 additions & 0 deletions broadcast/InjectorInfraDeployment.s.sol/34443/run-latest.json

Large diffs are not rendered by default.

102 changes: 102 additions & 0 deletions broadcast/InjectorInfraDeployment.s.sol/42161/run-latest.json

Large diffs are not rendered by default.

98 changes: 98 additions & 0 deletions broadcast/InjectorInfraDeployment.s.sol/43114/run-latest.json

Large diffs are not rendered by default.

110 changes: 110 additions & 0 deletions broadcast/InjectorInfraDeployment.s.sol/8453/run-latest.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ ethereum = "${ETHEREUM_RPC_URL}"
fraxtal = "${FRAXTAL_RPC_URL}"
gnosis = "${GNOSIS_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"
zkevm = "${ZKEVM_RPC_URL}"
avalanche = "${AVALANCHE_RPC_URL}"
mode = "${MODE_RPC_URL}"

7 changes: 4 additions & 3 deletions foundry_scripts/InjectorInfraMultiChainDeployment.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ contract InjectorInfraMultiChainDeployment is Script {
constructor() {
availableChains[Chains.ARBITRUM] = "arbitrum";
availableChains[Chains.BASE] = "base";
availableChains[Chains.ETHEREUM] = "ethereum";
availableChains[Chains.FRAXTAL] = "fraxtal";
availableChains[Chains.GNOSIS] = "gnosis";
availableChains[Chains.OPTIMISM] = "optimism";
Expand All @@ -57,14 +56,16 @@ contract InjectorInfraMultiChainDeployment is Script {

// @note the array can be updated depending on your target chains to deploy
// @note by default the script will deploy in all chains available in the toml file
Chains[] memory targetDeploymentChains = new Chains[](6);
Chains[] memory targetDeploymentChains = new Chains[](8);

targetDeploymentChains[0] = Chains.ARBITRUM;
targetDeploymentChains[1] = Chains.BASE;
targetDeploymentChains[2] = Chains.ETHEREUM;
targetDeploymentChains[3] = Chains.GNOSIS;
targetDeploymentChains[4] = Chains.OPTIMISM;
targetDeploymentChains[5] = Chains.POLYGON;
targetDeploymentChains[6] = Chains.AVALANCHE;
targetDeploymentChains[7] = Chains.ZKEVM;
targetDeploymentChains[8] = Chains.MODE;
// @note fraxtal rpc gives sometimes problems

for (uint256 i = 0; i < targetDeploymentChains.length; i++) {
Expand Down

0 comments on commit c81f856

Please sign in to comment.