Skip to content

Commit

Permalink
fix deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
mejango committed Nov 18, 2024
1 parent a3b440e commit 65f0c5f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ contract Deploy is Script, Sphinx {
JBPrices prices = new JBPrices{salt: keccak256(abi.encode(CORE_DEPLOYMENT_NONCE))}(
directory, permissions, projects, safeAddress()
);
JBTokens tokens = new JBTokens{salt: keccak256(abi.encode(CORE_DEPLOYMENT_NONCE))}(
directory, new JBERC20{salt: keccak256(abi.encode(CORE_DEPLOYMENT_NONCE))}()
);

directory.setIsAllowedToSetFirstController(
address(
Expand All @@ -78,9 +81,7 @@ contract Deploy is Script, Sphinx {
projects: projects,
rulesets: rulesets,
splits: splits,
tokens: new JBTokens{salt: keccak256(abi.encode(CORE_DEPLOYMENT_NONCE))}(
directory, new JBERC20{salt: keccak256(abi.encode(CORE_DEPLOYMENT_NONCE))}()
),
tokens: tokens,
trustedForwarder: TRUSTED_FORWARDER
})
),
Expand All @@ -99,9 +100,7 @@ contract Deploy is Script, Sphinx {
rulesets: rulesets,
prices: prices
}),
tokens: new JBTokens{salt: keccak256(abi.encode(CORE_DEPLOYMENT_NONCE))}(
directory, new JBERC20{salt: keccak256(abi.encode(CORE_DEPLOYMENT_NONCE))}()
),
tokens: tokens,
feelessAddresses: feeless,
permit2: _PERMIT2,
trustedForwarder: TRUSTED_FORWARDER
Expand Down

0 comments on commit 65f0c5f

Please sign in to comment.