From 2a3c5de13280247777ce9135da0551507a3c0ab5 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 } ); }