From b6cb825d6de2a3b7ed37fddc7af10c8eedcce08d Mon Sep 17 00:00:00 2001 From: ppedziwiatr Date: Tue, 25 Apr 2023 13:52:19 +0200 Subject: [PATCH] v1.4.3-beta.1 --- package.json | 2 +- src/__tests__/integration/basic/vrf.test.ts | 14 ++++---------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 128b82f..f46e16b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "warp-contracts", - "version": "1.4.3-beta.0", + "version": "1.4.3-beta.1", "description": "An implementation of the SmartWeave smart contract protocol.", "types": "./lib/types/index.d.ts", "main": "./lib/cjs/index.js", diff --git a/src/__tests__/integration/basic/vrf.test.ts b/src/__tests__/integration/basic/vrf.test.ts index 8734761..83218d1 100644 --- a/src/__tests__/integration/basic/vrf.test.ts +++ b/src/__tests__/integration/basic/vrf.test.ts @@ -17,7 +17,7 @@ import { LoggerFactory } from '../../../logging/LoggerFactory'; import { ArweaveGatewayInteractionsLoader } from '../../../core/modules/impl/ArweaveGatewayInteractionsLoader'; import { LexicographicalInteractionsSorter } from '../../../core/modules/impl/LexicographicalInteractionsSorter'; import { DeployPlugin } from 'warp-contracts-plugin-deploy'; -import { VRFPlugin } from "warp-contracts-plugin-vrf"; +import { VRFPlugin } from 'warp-contracts-plugin-vrf'; const EC = new elliptic.ec('secp256k1'); const key = EC.genKeyPair(); @@ -144,9 +144,7 @@ describe('Testing the Profit Sharing Token', () => { }); it('should allow to test VRF on a standard forLocal Warp instance', async () => { - const localWarp = WarpFactory.forLocal(1823) - .use(new DeployPlugin()) - .use(new VRFPlugin()); + const localWarp = WarpFactory.forLocal(1823).use(new DeployPlugin()).use(new VRFPlugin()); const { contractTxId: vrfContractTxId } = await localWarp.deploy({ wallet, @@ -178,9 +176,7 @@ describe('Testing the Profit Sharing Token', () => { }); it('should allow to test VRF on a standard forLocal Warp instance in strict mode', async () => { - const localWarp = WarpFactory.forLocal(1823) - .use(new DeployPlugin()) - .use(new VRFPlugin()); + const localWarp = WarpFactory.forLocal(1823).use(new DeployPlugin()).use(new VRFPlugin()); const { contractTxId: vrfContractTxId } = await localWarp.deploy({ wallet, @@ -212,9 +208,7 @@ describe('Testing the Profit Sharing Token', () => { }); it('should allow to test VRF on a standard forLocal Warp instance with internal writes', async () => { - const localWarp = WarpFactory.forLocal(1823) - .use(new DeployPlugin()) - .use(new VRFPlugin()); + const localWarp = WarpFactory.forLocal(1823).use(new DeployPlugin()).use(new VRFPlugin()); const { contractTxId: vrfContractTxId } = await localWarp.deploy({ wallet,