v1.4.3-beta.1

This commit is contained in:
ppedziwiatr
2023-04-25 13:52:19 +02:00
committed by just_ppe
parent 83ddc3aa93
commit b6cb825d6d
2 changed files with 5 additions and 11 deletions

View File

@@ -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",

View File

@@ -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,