Skip to content

Commit

Permalink
script: comment removed interface of owned multicaller
Browse files Browse the repository at this point in the history
  • Loading branch information
TuDo1403 committed Jul 11, 2024
1 parent 9d8ad83 commit 965d395
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions script/20231106-config-prelaunch/20231106_SubmitReservedNames.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ contract Migration__20231106_SubmitReservedNames is Migration {
address[] memory tos;
string[] memory labels;
(tos, labels) = _parseData("./script/20231106-param-prelaunch/data/finalReservedNames.json");
mintBatch(multicall, duration, rns, resolver, tos, labels);
// mintBatch(multicall, duration, rns, resolver, tos, labels);
}

function mintBatch(
OwnedMulticaller multicall,
uint64 duration,
RNSUnified rns,
address resolver,
address[] memory tos,
string[] memory labels
) public {
vm.broadcast(config.getSender());
multicall.multiMint(rns, LibRNSDomain.RON_ID, resolver, duration, tos, labels);
}
// function mintBatch(
// OwnedMulticaller multicall,
// uint64 duration,
// RNSUnified rns,
// address resolver,
// address[] memory tos,
// string[] memory labels
// ) public {
// vm.broadcast(config.getSender());
// multicall.multiMint(rns, LibRNSDomain.RON_ID, resolver, duration, tos, labels);
// }

function _parseData(string memory path) internal view returns (address[] memory tos, string[] memory labels) {
string memory raw = vm.readFile(path);
Expand Down

0 comments on commit 965d395

Please sign in to comment.