Skip to content

Commit a1956bb

Browse files
committed
evm: forge fmt
1 parent 44252c7 commit a1956bb

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

evm/forge/tests/TokenRouter.t.sol

+2-6
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,7 @@ contract TokenRouterTest is Test {
462462
vm.prank(makeAddr("ownerAssistant"));
463463
vm.expectRevert(abi.encodeWithSignature("NotTheOwner()"));
464464
router.updateRouterEndpoint(
465-
ARB_CHAIN,
466-
Endpoint({router: routerEndpoint, mintRecipient: mintRecipient}),
467-
ARB_DOMAIN
465+
ARB_CHAIN, Endpoint({router: routerEndpoint, mintRecipient: mintRecipient}), ARB_DOMAIN
468466
);
469467
}
470468

@@ -479,9 +477,7 @@ contract TokenRouterTest is Test {
479477

480478
vm.prank(makeAddr("owner"));
481479
router.updateRouterEndpoint(
482-
ARB_CHAIN,
483-
Endpoint({router: routerEndpoint, mintRecipient: mintRecipient}),
484-
domain
480+
ARB_CHAIN, Endpoint({router: routerEndpoint, mintRecipient: mintRecipient}), domain
485481
);
486482

487483
assertEq(router.getRouter(ARB_CHAIN), routerEndpoint);

evm/src/TokenRouter/assets/TokenRouterAdmin.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ abstract contract TokenRouterAdmin is ITokenRouterAdmin, Admin, State {
3030
revert ErrInvalidEndpoint(bytes32(0));
3131
}
3232

33-
mapping(uint16 chain => Endpoint) storage endpoints =
34-
getRouterEndpointState().endpoints;
33+
mapping(uint16 chain => Endpoint) storage endpoints = getRouterEndpointState().endpoints;
3534

3635
// When a router is disabled, we set the router universal address to zero, but we will leave
3736
// the mint recipient alone. So if the mint recipient is non-zero, this indicates that an

evm/src/interfaces/ITokenRouterAdmin.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ interface ITokenRouterAdmin {
2121
* @param domain The Circle domain for the specified `chain`.
2222
* @dev This function is only callable by the contract owner.
2323
*/
24-
function updateRouterEndpoint(uint16 chain, Endpoint memory endpoint, uint32 domain)
25-
external;
24+
function updateRouterEndpoint(uint16 chain, Endpoint memory endpoint, uint32 domain) external;
2625

2726
/**
2827
* @notice Disable a `router` endpoint for the specified Wormhole `chain`.

0 commit comments

Comments
 (0)