Skip to content

Commit c695c1e

Browse files
committed
chore: linting
1 parent 39b1a7f commit c695c1e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

contracts/modules/tokenizer/TokenizerModule.sol

+4-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ contract TokenizerModule is
133133
/// @dev Enforced to be only callable by the upgrader admin
134134
/// @param tokenTemplate The address of the token template to upgrade
135135
/// @param newTokenImplementation The address of the new token implementation
136-
function upgradeWhitelistedTokenTemplate(address tokenTemplate, address newTokenImplementation) external restricted {
136+
function upgradeWhitelistedTokenTemplate(
137+
address tokenTemplate,
138+
address newTokenImplementation
139+
) external restricted {
137140
if (tokenTemplate == address(0)) revert Errors.TokenizerModule__ZeroTokenTemplate();
138141
if (newTokenImplementation == address(0)) revert Errors.TokenizerModule__ZeroTokenTemplateImplementation();
139142
if (!_getTokenizerModuleStorage().isWhitelistedTokenTemplate[tokenTemplate])

test/modules/tokenizer/TokenizerModule.t.sol

+3-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,9 @@ contract TokenizerModuleTest is BaseTest {
327327
address newTokenTemplateImpl = address(new OwnableERC20(address(ownableERC20Beacon)));
328328

329329
vm.startPrank(u.admin);
330-
vm.expectRevert(abi.encodeWithSelector(Errors.TokenizerModule__TokenTemplateNotWhitelisted.selector, address(0x1234)));
330+
vm.expectRevert(
331+
abi.encodeWithSelector(Errors.TokenizerModule__TokenTemplateNotWhitelisted.selector, address(0x1234))
332+
);
331333
tokenizerModule.upgradeWhitelistedTokenTemplate(address(0x1234), address(newTokenTemplateImpl));
332334
vm.stopPrank();
333335
}

0 commit comments

Comments
 (0)