From 6a34d8ffdb3df5c0db15cbb787a9112f4d6abc91 Mon Sep 17 00:00:00 2001 From: Matt Yang Date: Wed, 18 Oct 2023 02:11:42 -0400 Subject: [PATCH] nit: move struct --- contracts/src/v0.8/ccip/Router.sol | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/src/v0.8/ccip/Router.sol b/contracts/src/v0.8/ccip/Router.sol index 7ff4dc5c17..85d309da10 100644 --- a/contracts/src/v0.8/ccip/Router.sol +++ b/contracts/src/v0.8/ccip/Router.sol @@ -29,16 +29,16 @@ contract Router is IRouter, IRouterClient, ITypeAndVersion, OwnerIsCreator { error InvalidRecipientAddress(address to); error BadARMSignal(); - struct OnRamp { - uint64 destChainSelector; - address onRamp; - } - event OnRampSet(uint64 indexed destChainSelector, address onRamp); event OffRampAdded(address offRamp); event OffRampRemoved(address offRamp); event MessageExecuted(bytes32 messageId, uint64 sourceChainSelector, address offRamp, bytes32 calldataHash); + struct OnRamp { + uint64 destChainSelector; + address onRamp; + } + // solhint-disable-next-line chainlink-solidity/all-caps-constant-storage-variables string public constant override typeAndVersion = "Router 1.0.0"; // We limit return data to a selector plus 4 words. This is to avoid