File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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 ({
You can’t perform that action at this time.
0 commit comments