From af4ef09c57484ac82caa42d3f1001d14d9385fbf Mon Sep 17 00:00:00 2001 From: Ayush Tiwari Date: Fri, 16 Aug 2024 13:38:04 +0530 Subject: [PATCH] refactor: lint fix --- .../500_marketplace/505_upgrade_royalties_registry.ts | 3 ++- .../deploy/500_marketplace/506_upgrade_order_validator.ts | 2 +- .../deploy/deploy/500_marketplace/508_exchange_setup.ts | 7 ++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/deploy/deploy/500_marketplace/505_upgrade_royalties_registry.ts b/packages/deploy/deploy/500_marketplace/505_upgrade_royalties_registry.ts index 67012f4027..cc6df8d927 100644 --- a/packages/deploy/deploy/500_marketplace/505_upgrade_royalties_registry.ts +++ b/packages/deploy/deploy/500_marketplace/505_upgrade_royalties_registry.ts @@ -9,7 +9,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { await catchUnknownSigner( deploy('RoyaltiesRegistry', { from: deployer, - contract: '@sandbox-smart-contracts/marketplace/contracts/RoyaltiesRegistry.sol:RoyaltiesRegistry', + contract: + '@sandbox-smart-contracts/marketplace/contracts/RoyaltiesRegistry.sol:RoyaltiesRegistry', proxy: { owner: upgradeAdmin, proxyContract: 'OpenZeppelinTransparentProxy', diff --git a/packages/deploy/deploy/500_marketplace/506_upgrade_order_validator.ts b/packages/deploy/deploy/500_marketplace/506_upgrade_order_validator.ts index afe086d2f8..30ede27758 100644 --- a/packages/deploy/deploy/500_marketplace/506_upgrade_order_validator.ts +++ b/packages/deploy/deploy/500_marketplace/506_upgrade_order_validator.ts @@ -10,7 +10,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { deploy('OrderValidator', { from: deployer, contract: - '@sandbox-smart-contracts/marketplace/contracts/OrderValidator.sol:OrderValidator', + '@sandbox-smart-contracts/marketplace/contracts/OrderValidator.sol:OrderValidator', proxy: { owner: upgradeAdmin, proxyContract: 'OpenZeppelinTransparentProxy', diff --git a/packages/deploy/deploy/500_marketplace/508_exchange_setup.ts b/packages/deploy/deploy/500_marketplace/508_exchange_setup.ts index 121fb8bba7..64e0a483ff 100644 --- a/packages/deploy/deploy/500_marketplace/508_exchange_setup.ts +++ b/packages/deploy/deploy/500_marketplace/508_exchange_setup.ts @@ -13,7 +13,7 @@ const func: DeployFunction = async function ( const EXCHANGE_ADMIN_ROLE = await read('Exchange', 'EXCHANGE_ADMIN_ROLE'); let sandContract; - let landContract + let landContract; if (hre.network.name === 'polygon') { sandContract = await deployments.get('PolygonSand'); landContract = await deployments.get('PolygonLand'); @@ -58,10 +58,7 @@ const func: DeployFunction = async function ( ); } - const currentLand = await read( - 'Exchange', - 'landContract' - ); + const currentLand = await read('Exchange', 'landContract'); if (currentLand != landContract.address) { await catchUnknownSigner( execute(