Skip to content

Commit

Permalink
feat: checking 0 rollup address + comment fixes + new deployment address
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 21, 2022
1 parent 80b7d20 commit a9d5308
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployments/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"YearnBridge": "0xE71A50a78CcCff7e20D8349EED295F12f0C8C9eF",
"ERC4626Bridge": "0x3578D6D5e1B4F07A48bb1c958CBfEc135bef7d98",
"DataProvider": "0xB4319947947781FFe91dDf96A32aF2D4693FEf64",
"UniswapDCABridge": "0x94679A39679ffE53B53b6a1187aa1c649A101321"
"UniswapDCABridge": "0x5594808e8A7b44da9D2382E6d72ad50a3e2571E0"
}
1 change: 1 addition & 0 deletions src/deployment/base/BaseDeployment.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ abstract contract BaseDeployment is Test {
}

(ROLLUP_PROCESSOR, TO_IMPERSONATE) = getRollupProcessorAndLister();
require(ROLLUP_PROCESSOR != address(0), "RollupProcessor address resolved to 0");
emit log_named_address("Rollup at", ROLLUP_PROCESSOR);
}

Expand Down
2 changes: 1 addition & 1 deletion src/deployment/uniswap/UniswapDeployment.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contract UniswapDeployment is BaseDeployment {
vm.broadcast();
UniswapBridge bridge = new UniswapBridge(ROLLUP_PROCESSOR);

emit log_named_address("Example uniswap deployed to", address(bridge));
emit log_named_address("Uniswap bridge deployed to", address(bridge));

address[] memory tokens = new address[](2);
tokens[0] = DAI;
Expand Down

0 comments on commit a9d5308

Please sign in to comment.