Skip to content

Commit 0d4c380

Browse files
committed
add rh token jar zero check
1 parent 95c84f0 commit 0d4c380

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

script/proposal-6/V4FeesProposal.s.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ contract V4FeeProposal is Script {
2626
Uniswap internal uniswap;
2727

2828
function run() public {
29+
require(Constants.Robinhood.TOKEN_JAR != address(0x00));
30+
2931
vm.createDir("./out/.seatbelt/", true);
3032
recorder.initialize("DeployV4FeeInfra");
3133
uniswap.loadLatest();

script/proposal-6/prereq/DeployV4FeeInfra.s.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ contract DeployV4FeeInfra is Script {
4040

4141
(address poolManager, address tokenJar, address postConfigOwner) = getAddresses(chainId);
4242

43+
if (chainId == Constants.Robinhood.CHAIN_ID) {
44+
require(Constants.Robinhood.TOKEN_JAR != address(0x00));
45+
}
46+
4347
vm.startBroadcast();
4448

4549
// -----------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)