diff --git a/src/core/Warp.ts b/src/core/Warp.ts index d5fd5748..4d0480bd 100644 --- a/src/core/Warp.ts +++ b/src/core/Warp.ts @@ -118,9 +118,10 @@ export class Warp { async createSource( sourceData: SourceData, - wallet: ArWallet | CustomSignature | BundlerSigner + wallet: ArWallet | CustomSignature | BundlerSigner, + disableBundling: boolean = false ): Promise { - return await this.createContract.createSource(sourceData, wallet); + return await this.createContract.createSource(sourceData, wallet, disableBundling); } async saveSource(src: Transaction | DataItem, disableBundling?: boolean): Promise { diff --git a/tools/contract.ts b/tools/contract.ts index 7945b4cb..62fde2ba 100644 --- a/tools/contract.ts +++ b/tools/contract.ts @@ -19,7 +19,7 @@ async function main() { const rssUsedBefore = Math.round((process.memoryUsage().rss / 1024 / 1024) * 100) / 100; const warp = WarpFactory - .forMainnet({...defaultCacheOptions, inMemory: true}); + .forMainnet({...defaultCacheOptions, inMemory: true}) let wallet: JWKInterface = readJSON('./.secrets/33F0QHcb22W7LwWR1iRC8Az1ntZG09XQ03YWuw2ABqA.json');