Skip to content

Commit 97bfdec

Browse files
committed
comment out some unnessary script code
1 parent 508549f commit 97bfdec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

script/DeployContracts.s.sol

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,13 @@ contract DeployContracts is Script {
184184
votingPowerExchange.grantRole(votingPowerExchange.EXCHANGER_ROLE(), defender);
185185

186186
// give exchanger some utility token
187-
utilityToken.mint(exchanger, 10_000 * 1e18);
187+
// utilityToken.mint(exchanger, 10_000 * 1e18);
188188
// exchanger should approve the votingPowerExchange to spend the utility token
189189
// here exchanger is deployer so we do this directly
190190
// change this method when exchanger is not deployer
191-
utilityToken.approve(address(votingPowerExchange), 10_000 * 1e18);
191+
// utilityToken.approve(address(votingPowerExchange), 10_000 * 1e18);
192+
// TODO: should let the outside exchanger to approve the exchange token.
193+
// TODO: And the exchanger address should hold some utility token for calling exchange function.
192194
vm.stopBroadcast();
193195

194196
return DeploymentResult({

0 commit comments

Comments
 (0)