From 2406d6283abad149d2c4075a0902960deaeb750c Mon Sep 17 00:00:00 2001 From: 0xsuryansh Date: Mon, 22 Jul 2024 16:59:54 +0530 Subject: [PATCH] chore: fmt imports in price registry Signed-off-by: 0xsuryansh --- contracts/src/v0.8/ccip/PriceRegistry.sol | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contracts/src/v0.8/ccip/PriceRegistry.sol b/contracts/src/v0.8/ccip/PriceRegistry.sol index 1a6a0905429..931ab3eb88e 100644 --- a/contracts/src/v0.8/ccip/PriceRegistry.sol +++ b/contracts/src/v0.8/ccip/PriceRegistry.sol @@ -11,10 +11,10 @@ import {Internal} from "./libraries/Internal.sol"; import {Pool} from "./libraries/Pool.sol"; import {USDPriceWith18Decimals} from "./libraries/USDPriceWith18Decimals.sol"; -import {IReceiver} from "../keystone/interfaces/IReceiver.sol"; -import {EnumerableSet} from "../vendor/openzeppelin-solidity/v4.8.3/contracts/utils/structs/EnumerableSet.sol"; import {KeystoneFeedsPermissionHandler} from "../keystone/KeystoneFeedsPermissionHandler.sol"; +import {IReceiver} from "../keystone/interfaces/IReceiver.sol"; import {KeystoneFeedDefaultMetadataLib} from "../keystone/lib/KeystoneFeedDefaultMetadataLib.sol"; +import {EnumerableSet} from "../vendor/openzeppelin-solidity/v4.8.3/contracts/utils/structs/EnumerableSet.sol"; /// @notice The PriceRegistry contract responsibility is to store the current gas price in USD for a given destination chain, /// and the price of a token in USD allowing the owner or priceUpdater to update this value. @@ -463,7 +463,6 @@ contract PriceRegistry is /// @param metadata Arbitrary metadata associated with the report (not used in this implementation). /// @param report Encoded report containing an array of `ReceivedCCIPFeedReport` structs. function onReport(bytes calldata metadata, bytes calldata report) external { - (bytes10 workflowName, address workflowOwner, bytes2 reportName) = metadata._extractMetadataInfo(); _validateReportPermission(msg.sender, workflowOwner, workflowName, reportName);