Integrate SP auctions for app deployment #2

Merged
nabarun merged 42 commits from ng-integrate-auction into main 2024-10-18 12:37:01 +00:00
Showing only changes of commit 2a3c5de132 - Show all commits

View File

@ -14,7 +14,6 @@ import {
} from './entity/Deployment'; } from './entity/Deployment';
import { AppDeploymentRecord, AppDeploymentRemovalRecord, AuctionData, PackageJSON } from './types'; import { AppDeploymentRecord, AppDeploymentRemovalRecord, AuctionData, PackageJSON } from './types';
import { getConfig, sleep } from './utils'; import { getConfig, sleep } from './utils';
import { ApplicationDeploymentAuction } from './entity/Project';
const log = debug('snowball:registry'); const log = debug('snowball:registry');
@ -33,9 +32,11 @@ export class Registry {
constructor (registryConfig: RegistryConfig) { constructor (registryConfig: RegistryConfig) {
this.registryConfig = registryConfig; this.registryConfig = registryConfig;
// const gasPrice = Util.getGasPrice(registryConfig.fee.gasPrice);
this.registry = new LaconicRegistry( this.registry = new LaconicRegistry(
registryConfig.gqlEndpoint, registryConfig.gqlEndpoint,
registryConfig.restEndpoint, registryConfig.restEndpoint,
// Pass gasPrice
{ chainId: registryConfig.chainId } { chainId: registryConfig.chainId }
); );
} }