From 5bde36228d18d0fe73094816f1f91f808a953dc3 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Fri, 4 Oct 2024 14:07:29 +0530 Subject: [PATCH] Set gas price in Registry instantiation --- packages/backend/src/registry.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/registry.ts b/packages/backend/src/registry.ts index 6bf751e4..64179193 100644 --- a/packages/backend/src/registry.ts +++ b/packages/backend/src/registry.ts @@ -14,7 +14,6 @@ import { } from './entity/Deployment'; import { AppDeploymentRecord, AppDeploymentRemovalRecord, AuctionData, PackageJSON } from './types'; import { getConfig, sleep } from './utils'; -import { ApplicationDeploymentAuction } from './entity/Project'; const log = debug('snowball:registry'); @@ -33,9 +32,11 @@ export class Registry { constructor (registryConfig: RegistryConfig) { this.registryConfig = registryConfig; + // const gasPrice = Util.getGasPrice(registryConfig.fee.gasPrice); this.registry = new LaconicRegistry( registryConfig.gqlEndpoint, registryConfig.restEndpoint, + // Pass gasPrice { chainId: registryConfig.chainId } ); }