Skip to content

Commit

Permalink
New test DAO deployments (#96)
Browse files Browse the repository at this point in the history
* Add new Gitcoin deployment
* Add new PoolTogether deployment
  • Loading branch information
alexkeating authored Mar 25, 2024
1 parent 0c49282 commit 1c0bbf2
Show file tree
Hide file tree
Showing 5 changed files with 2,306 additions and 349 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

730 changes: 381 additions & 349 deletions broadcast/multi/WormholeL2FlexibleVotingDeploy.s.sol-latest/run.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions script/WormholeL2FlexibleVotingDeploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ contract WormholeL2FlexibleVotingDeploy is Script, ScriptConstants {
vm.envOr("CONTRACT_OWNER", msg.sender)
);

vm.broadcast();
// Through trial and error we determined this was the lowest gas limit
// for the L1 token bridge.
l1TokenBridge.updateGasLimit(500_000);

// Create L1 metadata bridge that sends proposal metadata to L2
vm.broadcast();
WormholeL1GovernorMetadataBridge l1MetadataBridge = new WormholeL1GovernorMetadataBridge(
Expand Down
12 changes: 12 additions & 0 deletions test/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ contract BaseConstants is CommonBase {
chainId: 80_001,
rpcUrl: vm.envOr("POLYGON_MUMBAI_RPC_URL", string("https://rpc.ankr.com/polygon_mumbai"))
});
chainInfos[11_155_111] = ChainConfig({
wormholeChainId: 10_002,
wormholeRelayer: 0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470,
chainId: 11_155_111,
rpcUrl: vm.envOr("SEPOLIA_RPC_URL", string("https://sepolia.optimism.io"))
});
chainInfos[11_155_420] = ChainConfig({
wormholeChainId: 10_005,
wormholeRelayer: 0x93BAD53DDfB6132b0aC8E37f6029163E63372cEE,
chainId: 11_155_420,
rpcUrl: vm.envOr("OPTIMISM_SEPOLIA_RPC_URL", string("https://1rpc.io/sepolia"))
});
return;
}
chainInfos[1] = ChainConfig({
Expand Down

0 comments on commit 1c0bbf2

Please sign in to comment.