chore: lint
This commit is contained in:
@@ -3,7 +3,7 @@ import fs from 'fs';
|
||||
import ArLocal from 'arlocal';
|
||||
import Arweave from 'arweave';
|
||||
import { JWKInterface } from 'arweave/node/lib/wallet';
|
||||
import {Contract, getTag, LoggerFactory, SmartWeave, SmartWeaveNodeFactory, SmartWeaveTags} from '@smartweave';
|
||||
import { Contract, getTag, LoggerFactory, SmartWeave, SmartWeaveNodeFactory, SmartWeaveTags } from '@smartweave';
|
||||
import path from 'path';
|
||||
import { addFunds, mineBlock } from './_helpers';
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable */
|
||||
import { ContractData, ContractType, CreateContract, FromSrcTxContractData, SmartWeaveTags } from '@smartweave/core';
|
||||
import Arweave from 'arweave';
|
||||
import { LoggerFactory } from '@smartweave/logging';
|
||||
@@ -41,7 +42,7 @@ export class DefaultCreateContract implements CreateContract {
|
||||
const module = await WebAssembly.instantiate(src, dummyImports());
|
||||
// @ts-ignore
|
||||
if (!module.instance.exports.type) {
|
||||
throw new Error(`No info about source type in wasm binary. Did you forget to export global "type" value`);
|
||||
throw new Error(`No info about source type in wasm binary. Did you forget to export global "type" value?`);
|
||||
}
|
||||
// @ts-ignore
|
||||
const type = module.instance.exports.type.value;
|
||||
|
||||
Reference in New Issue
Block a user