@neo-one/node-vm
Advanced tools
Comparing version 3.2.0-preview5 to 3.3.1-rc1
@@ -5,2 +5,22 @@ { | ||
{ | ||
"version": "3.3.0", | ||
"tag": "@neo-one/node-vm_v3.3.0", | ||
"date": "Wed, 05 May 2021 03:33:55 GMT", | ||
"comments": { | ||
"dependency": [ | ||
{ | ||
"comment": "Dependency @neo-one/client-common version bump from ^3.1.0 to ^3.3.0." | ||
}, | ||
{ | ||
"comment": "Updating dependency \"@neo-one/utils\" from `^3.1.0` to `^3.2.0`" | ||
} | ||
], | ||
"minor": [ | ||
{ | ||
"comment": "Updates for Preview5" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "3.1.0", | ||
@@ -7,0 +27,0 @@ "tag": "@neo-one/node-vm_v3.1.0", |
# Change Log - @neo-one/node-vm | ||
This log was last generated on Mon, 08 Feb 2021 21:00:42 GMT and should not be manually modified. | ||
This log was last generated on Wed, 05 May 2021 03:33:55 GMT and should not be manually modified. | ||
## 3.3.0 | ||
Wed, 05 May 2021 03:33:55 GMT | ||
### Minor changes | ||
- Updates for Preview5 | ||
## 3.1.0 | ||
@@ -6,0 +13,0 @@ Mon, 08 Feb 2021 21:00:42 GMT |
import { TriggerType, VMState } from '@neo-one/client-common'; | ||
import { Block, LoadContractOptions, LoadScriptOptions, SerializableContainer, SnapshotName } from '@neo-one/node-core'; | ||
import { Block, LoadContractOptions, LoadScriptOptions, SerializableContainer, SnapshotName, VMProtocolSettingsIn } from '@neo-one/node-core'; | ||
import BN from 'bn.js'; | ||
@@ -12,2 +12,3 @@ import { EngineMethods } from './Methods'; | ||
readonly gas: BN; | ||
readonly settings: VMProtocolSettingsIn; | ||
} | ||
@@ -27,7 +28,6 @@ interface ApplicationEngineDispatcher { | ||
get faultException(): string | undefined; | ||
create({ trigger, container, persistingBlock, gas, snapshot }: CreateOptions): boolean; | ||
create({ trigger, container, persistingBlock, gas, snapshot, settings }: CreateOptions): boolean; | ||
execute(): VMState; | ||
loadScript({ script, rvcount, flags, scriptHash, initialPosition }: LoadScriptOptions): boolean; | ||
push(item: string): boolean; | ||
stepOut(): any; | ||
loadContract({ hash, method, pcount, flags }: LoadContractOptions): boolean; | ||
@@ -34,0 +34,0 @@ checkScript(): any; |
@@ -10,2 +10,3 @@ "use strict"; | ||
const converters_1 = require("./converters"); | ||
const utils_1 = require("./utils"); | ||
class ApplicationEngine { | ||
@@ -55,3 +56,3 @@ constructor(dispatcher) { | ||
} | ||
create({ trigger, container, persistingBlock, gas, snapshot }) { | ||
create({ trigger, container, persistingBlock, gas, snapshot, settings }) { | ||
return this.dispatch({ | ||
@@ -65,2 +66,3 @@ method: 'create', | ||
snapshot, | ||
settings: utils_1.validateProtocolSettings(settings), | ||
}, | ||
@@ -94,7 +96,2 @@ }); | ||
} | ||
stepOut() { | ||
return this.dispatch({ | ||
method: 'stepout', | ||
}); | ||
} | ||
loadContract({ hash, method, pcount, flags }) { | ||
@@ -101,0 +98,0 @@ return this.dispatch({ |
/// <reference types="node" /> | ||
import { VMProtocolSettingsIn, VMProtocolSettingsReturn } from '@neo-one/node-core'; | ||
import { ApplicationEngine, CreateOptions } from './ApplicationEngine'; | ||
import { BaseMethods, EngineMethods, ProtocolSettings, ProtocolSettingsReturn, SnapshotMethods, TestMethods } from './Methods'; | ||
import { BaseMethods, EngineMethods, SnapshotMethods, TestMethods } from './Methods'; | ||
import { SnapshotHandler } from './SnapshotHandler'; | ||
@@ -11,3 +12,3 @@ import { DispatcherFunc } from './types'; | ||
readonly levelDBPath?: string; | ||
readonly protocolSettings?: ProtocolSettings; | ||
readonly protocolSettings?: VMProtocolSettingsIn; | ||
} | ||
@@ -28,3 +29,3 @@ export declare class Dispatcher { | ||
reset(): void; | ||
getConfig(): ProtocolSettingsReturn; | ||
getConfig(): VMProtocolSettingsReturn; | ||
updateSnapshot(key: Buffer, id: number, value: Buffer): boolean; | ||
@@ -31,0 +32,0 @@ readSnapshot(key: Buffer, id: number): Buffer | undefined; |
@@ -35,1 +35,12 @@ /// <reference types="node" /> | ||
}; | ||
export declare const InvalidLongError: { | ||
new (): { | ||
readonly name: string; | ||
readonly code: string; | ||
message: string; | ||
stack?: string | undefined; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
stackTraceLimit: number; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InvalidByteError = exports.InvalidIntError = exports.InvalidUIntError = void 0; | ||
exports.InvalidLongError = exports.InvalidByteError = exports.InvalidIntError = exports.InvalidUIntError = void 0; | ||
const utils_1 = require("@neo-one/utils"); | ||
@@ -8,3 +8,4 @@ exports.InvalidUIntError = utils_1.makeErrorWithCode('INVALID_UINT', (num) => `Expected number to be a 32-bit unsigned integer. Got: ${num}`); | ||
exports.InvalidByteError = utils_1.makeErrorWithCode('INVALID_BYTE', (num) => `Expected number to be an 8-bit signed integer. Got: ${num}`); | ||
exports.InvalidLongError = utils_1.makeErrorWithCode('INVALID_LONG', () => `Expected 'long' input to be defined`); | ||
//# sourceMappingURL=errors.js.map |
@@ -0,26 +1,7 @@ | ||
import { VMProtocolSettingsIn, VMProtocolSettingsReturn } from '@neo-one/node-core'; | ||
import { DefaultMethods, DispatchMethod } from '../types'; | ||
interface InitArgs { | ||
readonly path?: string; | ||
readonly settings?: ProtocolSettings; | ||
readonly settings?: VMProtocolSettingsIn; | ||
} | ||
export interface ProtocolSettings { | ||
readonly magic?: number; | ||
readonly addressVersion?: number; | ||
readonly standbyCommittee?: readonly string[]; | ||
readonly committeeMembersCount?: number; | ||
readonly validatorsCount?: number; | ||
readonly seedList?: readonly string[]; | ||
readonly millisecondsPerBlock?: number; | ||
readonly memoryPoolMaxTransactions?: number; | ||
} | ||
export interface ProtocolSettingsReturn { | ||
readonly magic: number; | ||
readonly addressVersion: number; | ||
readonly standbyCommittee: readonly string[]; | ||
readonly committeeMembersCount: number; | ||
readonly validatorsCount: number; | ||
readonly seedList: readonly string[]; | ||
readonly millisecondsPerBlock: number; | ||
readonly memoryPoolMaxTransactions: number; | ||
} | ||
export interface BaseMethods extends DefaultMethods { | ||
@@ -31,4 +12,4 @@ readonly init: DispatchMethod<boolean, InitArgs>; | ||
readonly dispose: DispatchMethod<boolean>; | ||
readonly get_config: DispatchMethod<ProtocolSettingsReturn>; | ||
readonly get_config: DispatchMethod<VMProtocolSettingsReturn>; | ||
} | ||
export {}; |
/// <reference types="node" /> | ||
import { CallFlags, TriggerType, UInt160Hex, VMState } from '@neo-one/client-common'; | ||
import { LoadContractOptions, PushArgs, SerializedScriptContainer, SnapshotName } from '@neo-one/node-core'; | ||
import { LoadContractOptions, PushArgs, SerializedScriptContainer, SnapshotName, VMProtocolSettingsIn } from '@neo-one/node-core'; | ||
import { LogReturn, StackItemReturn } from '../converters'; | ||
@@ -12,2 +12,3 @@ import { DefaultMethods, DispatchMethod } from '../types'; | ||
readonly snapshot?: SnapshotName; | ||
readonly settings: VMProtocolSettingsIn; | ||
} | ||
@@ -34,4 +35,3 @@ interface LoadScriptVMArgs { | ||
readonly push: DispatchMethod<boolean, PushArgs>; | ||
readonly stepOut: DispatchMethod<boolean>; | ||
} | ||
export {}; |
import { Params, Source, TSQL } from '@neo-one/edge'; | ||
import { Settings } from '@neo-one/node-core'; | ||
import { ProtocolSettings } from './Methods'; | ||
import { Settings, VMProtocolSettingsIn } from '@neo-one/node-core'; | ||
import { DefaultMethods, DispatcherFunc } from './types'; | ||
@@ -11,12 +10,4 @@ export declare const constants: { | ||
export declare const createCSharpDispatchInvoke: <Methods extends DefaultMethods>(options: EdgeOptions) => DispatcherFunc<Methods>; | ||
export declare const blockchainSettingsToProtocolSettings: (settingsIn: Settings) => { | ||
magic: number; | ||
addressVersion: number; | ||
standbyCommittee: string[]; | ||
committeeMembersCount: number; | ||
validatorsCount: number; | ||
millisecondsPerBlock: number; | ||
memoryPoolMaxTransactions: number; | ||
}; | ||
export declare const validateProtocolSettings: (settings: ProtocolSettings) => ProtocolSettings; | ||
export declare const blockchainSettingsToProtocolSettings: (settingsIn: Settings) => VMProtocolSettingsIn; | ||
export declare const validateProtocolSettings: (settings: VMProtocolSettingsIn) => VMProtocolSettingsIn; | ||
export {}; |
@@ -35,2 +35,5 @@ "use strict"; | ||
memoryPoolMaxTransactions: settingsIn.memoryPoolMaxTransactions, | ||
maxTraceableBlocks: settingsIn.maxTraceableBlocks, | ||
maxTransactionsPerBlock: settingsIn.maxTransactionsPerBlock, | ||
nativeUpdateHistory: settingsIn.nativeUpdateHistory, | ||
}); | ||
@@ -41,3 +44,3 @@ const numIsUint = (num) => num >= 0 && num < 2 ** 32 - 1; | ||
exports.validateProtocolSettings = (settings) => { | ||
const { magic, addressVersion, committeeMembersCount, validatorsCount, millisecondsPerBlock, memoryPoolMaxTransactions, } = settings; | ||
const { magic, addressVersion, committeeMembersCount, validatorsCount, millisecondsPerBlock, memoryPoolMaxTransactions, maxTraceableBlocks, maxTransactionsPerBlock, } = settings; | ||
if (magic !== undefined && !numIsUint(magic)) { | ||
@@ -61,2 +64,8 @@ throw new errors_1.InvalidUIntError(magic); | ||
} | ||
if (maxTraceableBlocks !== undefined && !numIsUint(maxTraceableBlocks)) { | ||
throw new errors_1.InvalidUIntError(maxTraceableBlocks); | ||
} | ||
if (maxTransactionsPerBlock !== undefined && !numIsUint(maxTransactionsPerBlock)) { | ||
throw new errors_1.InvalidUIntError(maxTransactionsPerBlock); | ||
} | ||
return settings; | ||
@@ -63,0 +72,0 @@ }; |
import { TriggerType, VMState } from '@neo-one/client-common'; | ||
import { Block, LoadContractOptions, LoadScriptOptions, SerializableContainer, SnapshotName } from '@neo-one/node-core'; | ||
import { Block, LoadContractOptions, LoadScriptOptions, SerializableContainer, SnapshotName, VMProtocolSettingsIn } from '@neo-one/node-core'; | ||
import BN from 'bn.js'; | ||
@@ -12,2 +12,3 @@ import { EngineMethods } from './Methods'; | ||
readonly gas: BN; | ||
readonly settings: VMProtocolSettingsIn; | ||
} | ||
@@ -27,7 +28,6 @@ interface ApplicationEngineDispatcher { | ||
get faultException(): string | undefined; | ||
create({ trigger, container, persistingBlock, gas, snapshot }: CreateOptions): boolean; | ||
create({ trigger, container, persistingBlock, gas, snapshot, settings }: CreateOptions): boolean; | ||
execute(): VMState; | ||
loadScript({ script, rvcount, flags, scriptHash, initialPosition }: LoadScriptOptions): boolean; | ||
push(item: string): boolean; | ||
stepOut(): any; | ||
loadContract({ hash, method, pcount, flags }: LoadContractOptions): boolean; | ||
@@ -34,0 +34,0 @@ checkScript(): any; |
@@ -6,2 +6,3 @@ import { CallFlags, common, TriggerType, VMState } from '@neo-one/client-common'; | ||
import { convertLog, parseStackItems } from './converters'; | ||
import { validateProtocolSettings } from './utils'; | ||
export class ApplicationEngine { | ||
@@ -51,3 +52,3 @@ constructor(dispatcher) { | ||
} | ||
create({ trigger, container, persistingBlock, gas, snapshot }) { | ||
create({ trigger, container, persistingBlock, gas, snapshot, settings }) { | ||
return this.dispatch({ | ||
@@ -61,2 +62,3 @@ method: 'create', | ||
snapshot, | ||
settings: validateProtocolSettings(settings), | ||
}, | ||
@@ -90,7 +92,2 @@ }); | ||
} | ||
stepOut() { | ||
return this.dispatch({ | ||
method: 'stepout', | ||
}); | ||
} | ||
loadContract({ hash, method, pcount, flags }) { | ||
@@ -97,0 +94,0 @@ return this.dispatch({ |
/// <reference types="node" /> | ||
import { VMProtocolSettingsIn, VMProtocolSettingsReturn } from '@neo-one/node-core'; | ||
import { ApplicationEngine, CreateOptions } from './ApplicationEngine'; | ||
import { BaseMethods, EngineMethods, ProtocolSettings, ProtocolSettingsReturn, SnapshotMethods, TestMethods } from './Methods'; | ||
import { BaseMethods, EngineMethods, SnapshotMethods, TestMethods } from './Methods'; | ||
import { SnapshotHandler } from './SnapshotHandler'; | ||
@@ -11,3 +12,3 @@ import { DispatcherFunc } from './types'; | ||
readonly levelDBPath?: string; | ||
readonly protocolSettings?: ProtocolSettings; | ||
readonly protocolSettings?: VMProtocolSettingsIn; | ||
} | ||
@@ -28,3 +29,3 @@ export declare class Dispatcher { | ||
reset(): void; | ||
getConfig(): ProtocolSettingsReturn; | ||
getConfig(): VMProtocolSettingsReturn; | ||
updateSnapshot(key: Buffer, id: number, value: Buffer): boolean; | ||
@@ -31,0 +32,0 @@ readSnapshot(key: Buffer, id: number): Buffer | undefined; |
@@ -35,1 +35,12 @@ /// <reference types="node" /> | ||
}; | ||
export declare const InvalidLongError: { | ||
new (): { | ||
readonly name: string; | ||
readonly code: string; | ||
message: string; | ||
stack?: string | undefined; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
stackTraceLimit: number; | ||
}; |
@@ -5,3 +5,4 @@ import { makeErrorWithCode } from '@neo-one/utils'; | ||
export const InvalidByteError = makeErrorWithCode('INVALID_BYTE', (num) => `Expected number to be an 8-bit signed integer. Got: ${num}`); | ||
export const InvalidLongError = makeErrorWithCode('INVALID_LONG', () => `Expected 'long' input to be defined`); | ||
//# sourceMappingURL=errors.js.map |
@@ -0,26 +1,7 @@ | ||
import { VMProtocolSettingsIn, VMProtocolSettingsReturn } from '@neo-one/node-core'; | ||
import { DefaultMethods, DispatchMethod } from '../types'; | ||
interface InitArgs { | ||
readonly path?: string; | ||
readonly settings?: ProtocolSettings; | ||
readonly settings?: VMProtocolSettingsIn; | ||
} | ||
export interface ProtocolSettings { | ||
readonly magic?: number; | ||
readonly addressVersion?: number; | ||
readonly standbyCommittee?: readonly string[]; | ||
readonly committeeMembersCount?: number; | ||
readonly validatorsCount?: number; | ||
readonly seedList?: readonly string[]; | ||
readonly millisecondsPerBlock?: number; | ||
readonly memoryPoolMaxTransactions?: number; | ||
} | ||
export interface ProtocolSettingsReturn { | ||
readonly magic: number; | ||
readonly addressVersion: number; | ||
readonly standbyCommittee: readonly string[]; | ||
readonly committeeMembersCount: number; | ||
readonly validatorsCount: number; | ||
readonly seedList: readonly string[]; | ||
readonly millisecondsPerBlock: number; | ||
readonly memoryPoolMaxTransactions: number; | ||
} | ||
export interface BaseMethods extends DefaultMethods { | ||
@@ -31,4 +12,4 @@ readonly init: DispatchMethod<boolean, InitArgs>; | ||
readonly dispose: DispatchMethod<boolean>; | ||
readonly get_config: DispatchMethod<ProtocolSettingsReturn>; | ||
readonly get_config: DispatchMethod<VMProtocolSettingsReturn>; | ||
} | ||
export {}; |
/// <reference types="node" /> | ||
import { CallFlags, TriggerType, UInt160Hex, VMState } from '@neo-one/client-common'; | ||
import { LoadContractOptions, PushArgs, SerializedScriptContainer, SnapshotName } from '@neo-one/node-core'; | ||
import { LoadContractOptions, PushArgs, SerializedScriptContainer, SnapshotName, VMProtocolSettingsIn } from '@neo-one/node-core'; | ||
import { LogReturn, StackItemReturn } from '../converters'; | ||
@@ -12,2 +12,3 @@ import { DefaultMethods, DispatchMethod } from '../types'; | ||
readonly snapshot?: SnapshotName; | ||
readonly settings: VMProtocolSettingsIn; | ||
} | ||
@@ -34,4 +35,3 @@ interface LoadScriptVMArgs { | ||
readonly push: DispatchMethod<boolean, PushArgs>; | ||
readonly stepOut: DispatchMethod<boolean>; | ||
} | ||
export {}; |
import { Params, Source, TSQL } from '@neo-one/edge'; | ||
import { Settings } from '@neo-one/node-core'; | ||
import { ProtocolSettings } from './Methods'; | ||
import { Settings, VMProtocolSettingsIn } from '@neo-one/node-core'; | ||
import { DefaultMethods, DispatcherFunc } from './types'; | ||
@@ -11,12 +10,4 @@ export declare const constants: { | ||
export declare const createCSharpDispatchInvoke: <Methods extends DefaultMethods>(options: EdgeOptions) => DispatcherFunc<Methods>; | ||
export declare const blockchainSettingsToProtocolSettings: (settingsIn: Settings) => { | ||
magic: number; | ||
addressVersion: number; | ||
standbyCommittee: string[]; | ||
committeeMembersCount: number; | ||
validatorsCount: number; | ||
millisecondsPerBlock: number; | ||
memoryPoolMaxTransactions: number; | ||
}; | ||
export declare const validateProtocolSettings: (settings: ProtocolSettings) => ProtocolSettings; | ||
export declare const blockchainSettingsToProtocolSettings: (settingsIn: Settings) => VMProtocolSettingsIn; | ||
export declare const validateProtocolSettings: (settings: VMProtocolSettingsIn) => VMProtocolSettingsIn; | ||
export {}; |
@@ -30,2 +30,5 @@ import { common } from '@neo-one/client-common'; | ||
memoryPoolMaxTransactions: settingsIn.memoryPoolMaxTransactions, | ||
maxTraceableBlocks: settingsIn.maxTraceableBlocks, | ||
maxTransactionsPerBlock: settingsIn.maxTransactionsPerBlock, | ||
nativeUpdateHistory: settingsIn.nativeUpdateHistory, | ||
}); | ||
@@ -36,3 +39,3 @@ const numIsUint = (num) => num >= 0 && num < 2 ** 32 - 1; | ||
export const validateProtocolSettings = (settings) => { | ||
const { magic, addressVersion, committeeMembersCount, validatorsCount, millisecondsPerBlock, memoryPoolMaxTransactions, } = settings; | ||
const { magic, addressVersion, committeeMembersCount, validatorsCount, millisecondsPerBlock, memoryPoolMaxTransactions, maxTraceableBlocks, maxTransactionsPerBlock, } = settings; | ||
if (magic !== undefined && !numIsUint(magic)) { | ||
@@ -56,2 +59,8 @@ throw new InvalidUIntError(magic); | ||
} | ||
if (maxTraceableBlocks !== undefined && !numIsUint(maxTraceableBlocks)) { | ||
throw new InvalidUIntError(maxTraceableBlocks); | ||
} | ||
if (maxTransactionsPerBlock !== undefined && !numIsUint(maxTransactionsPerBlock)) { | ||
throw new InvalidUIntError(maxTransactionsPerBlock); | ||
} | ||
return settings; | ||
@@ -58,0 +67,0 @@ }; |
@@ -197,4 +197,2 @@ /Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Dispatcher.deps.json | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Neo.dll | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Neo.VM.dll | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Newtonsoft.Json.dll | ||
@@ -245,2 +243,7 @@ /Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/RocksDbNative.dll | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/EdgeJs.dll | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Neo.dll | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Neo.VM.dll | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Neo.pdb | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Neo.VM.pdb | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/Neo.VM.xml | ||
/Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/bin/Debug/netcoreapp3.0/EdgeJs.pdb | ||
@@ -247,0 +250,0 @@ /Users/spencercorwin/neo-one/packages/neo-one-node-vm/lib/obj/Debug/netcoreapp3.0/Dispatcher.csprojAssemblyReference.cache |
@@ -27,3 +27,10 @@ { | ||
"netcoreapp3.0": { | ||
"projectReferences": {} | ||
"projectReferences": { | ||
"/Users/spencercorwin/neo-vm/src/neo-vm/neo-vm.csproj": { | ||
"projectPath": "/Users/spencercorwin/neo-vm/src/neo-vm/neo-vm.csproj" | ||
}, | ||
"/Users/spencercorwin/neo/src/neo/neo.csproj": { | ||
"projectPath": "/Users/spencercorwin/neo/src/neo/neo.csproj" | ||
} | ||
} | ||
} | ||
@@ -56,10 +63,2 @@ }, | ||
}, | ||
"Neo-NEO-ONE-Fork": { | ||
"target": "Package", | ||
"version": "[3.0.0-preview5, )" | ||
}, | ||
"Neo-VM-N1-Fork": { | ||
"target": "Package", | ||
"version": "[3.0.0-preview5, )" | ||
}, | ||
"RocksDbNative": { | ||
@@ -98,4 +97,154 @@ "target": "Package", | ||
} | ||
}, | ||
"/Users/spencercorwin/neo-vm/src/neo-vm/neo-vm.csproj": { | ||
"version": "3.0.0-rc1", | ||
"restore": { | ||
"projectUniqueName": "/Users/spencercorwin/neo-vm/src/neo-vm/neo-vm.csproj", | ||
"projectName": "Neo-VM-N1-Fork", | ||
"projectPath": "/Users/spencercorwin/neo-vm/src/neo-vm/neo-vm.csproj", | ||
"packagesPath": "/Users/spencercorwin/.nuget/packages/", | ||
"outputPath": "/Users/spencercorwin/neo-vm/src/neo-vm/obj/", | ||
"projectStyle": "PackageReference", | ||
"crossTargeting": true, | ||
"configFilePaths": [ | ||
"/Users/spencercorwin/.nuget/NuGet/NuGet.Config" | ||
], | ||
"originalTargetFrameworks": [ | ||
"netcoreapp3.0" | ||
], | ||
"sources": { | ||
"https://api.nuget.org/v3/index.json": {} | ||
}, | ||
"frameworks": { | ||
"netcoreapp3.0": { | ||
"projectReferences": {} | ||
} | ||
}, | ||
"warningProperties": { | ||
"warnAsError": [ | ||
"NU1605" | ||
] | ||
} | ||
}, | ||
"frameworks": { | ||
"netcoreapp3.0": { | ||
"imports": [ | ||
"net461", | ||
"net462", | ||
"net47", | ||
"net471", | ||
"net472", | ||
"net48" | ||
], | ||
"assetTargetFallback": true, | ||
"warn": true, | ||
"downloadDependencies": [ | ||
{ | ||
"name": "Microsoft.AspNetCore.App.Ref", | ||
"version": "[3.0.1, 3.0.1]" | ||
} | ||
], | ||
"frameworkReferences": { | ||
"Microsoft.NETCore.App": { | ||
"privateAssets": "all" | ||
} | ||
}, | ||
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/3.1.401/RuntimeIdentifierGraph.json" | ||
} | ||
} | ||
}, | ||
"/Users/spencercorwin/neo/src/neo/neo.csproj": { | ||
"version": "3.0.0-rc1", | ||
"restore": { | ||
"projectUniqueName": "/Users/spencercorwin/neo/src/neo/neo.csproj", | ||
"projectName": "Neo-NEO-ONE-Fork", | ||
"projectPath": "/Users/spencercorwin/neo/src/neo/neo.csproj", | ||
"packagesPath": "/Users/spencercorwin/.nuget/packages/", | ||
"outputPath": "/Users/spencercorwin/neo/src/neo/obj/", | ||
"projectStyle": "PackageReference", | ||
"crossTargeting": true, | ||
"configFilePaths": [ | ||
"/Users/spencercorwin/neo/NuGet.Config", | ||
"/Users/spencercorwin/.nuget/NuGet/NuGet.Config" | ||
], | ||
"originalTargetFrameworks": [ | ||
"netcoreapp3.0" | ||
], | ||
"sources": { | ||
"https://api.nuget.org/v3/index.json": {}, | ||
"https://www.myget.org/F/neo/api/v3/index.json": {} | ||
}, | ||
"frameworks": { | ||
"netcoreapp3.0": { | ||
"projectReferences": { | ||
"/Users/spencercorwin/neo-vm/src/neo-vm/neo-vm.csproj": { | ||
"projectPath": "/Users/spencercorwin/neo-vm/src/neo-vm/neo-vm.csproj" | ||
} | ||
} | ||
} | ||
}, | ||
"warningProperties": { | ||
"warnAsError": [ | ||
"NU1605" | ||
] | ||
} | ||
}, | ||
"frameworks": { | ||
"netcoreapp3.0": { | ||
"dependencies": { | ||
"Akka": { | ||
"target": "Package", | ||
"version": "[1.4.16, )" | ||
}, | ||
"BouncyCastle.NetCore": { | ||
"target": "Package", | ||
"version": "[1.8.8, )" | ||
}, | ||
"K4os.Compression.LZ4": { | ||
"target": "Package", | ||
"version": "[1.2.6, )" | ||
}, | ||
"Microsoft.AspNetCore.Server.Kestrel": { | ||
"target": "Package", | ||
"version": "[2.2.0, )" | ||
}, | ||
"Microsoft.AspNetCore.WebSockets": { | ||
"target": "Package", | ||
"version": "[2.2.1, )" | ||
}, | ||
"Microsoft.EntityFrameworkCore.Sqlite": { | ||
"target": "Package", | ||
"version": "[5.0.2, )" | ||
}, | ||
"Microsoft.Extensions.Configuration.Json": { | ||
"target": "Package", | ||
"version": "[3.1.3, )" | ||
} | ||
}, | ||
"imports": [ | ||
"net461", | ||
"net462", | ||
"net47", | ||
"net471", | ||
"net472", | ||
"net48" | ||
], | ||
"assetTargetFallback": true, | ||
"warn": true, | ||
"downloadDependencies": [ | ||
{ | ||
"name": "Microsoft.AspNetCore.App.Ref", | ||
"version": "[3.0.1, 3.0.1]" | ||
} | ||
], | ||
"frameworkReferences": { | ||
"Microsoft.NETCore.App": { | ||
"privateAssets": "all" | ||
} | ||
}, | ||
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/3.1.401/RuntimeIdentifierGraph.json" | ||
} | ||
} | ||
} | ||
} | ||
} |
{ | ||
"name": "@neo-one/node-vm", | ||
"version": "3.2.0-preview5", | ||
"version": "3.3.1-rc1", | ||
"description": "NEO•ONE C# Wrapper for Neo3 VM", | ||
@@ -17,5 +17,5 @@ "main": "./dist/cjs/index", | ||
"@neo-one/edge": "^15.0.0", | ||
"@neo-one/node-core": "3.2.0-preview5", | ||
"@neo-one/client-common": "3.2.0-preview5", | ||
"@neo-one/utils": "^3.1.0", | ||
"@neo-one/node-core": "3.3.1-rc1", | ||
"@neo-one/client-common": "3.3.1-rc1", | ||
"@neo-one/utils": "3.3.0-rc1", | ||
"bn.js": "^5.0.0" | ||
@@ -22,0 +22,0 @@ }, |
# NEO•ONE | ||
This branch is under heavy development during our migration to [N3](https://neo.org/). Please see the [master-2.x](https://github.com/neo-one-suite/neo-one/tree/master-2.x) branch for currently published source code. | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=shield)](#contributors) | ||
@@ -4,0 +6,0 @@ [![CircleCI](https://circleci.com/gh/neo-one-suite/neo-one.svg?style=shield)](https://circleci.com/gh/neo-one-suite/neo-one) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 327 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
110960893
692
19358
46
569
+ Added@neo-one/client-common@3.3.1-rc1(transitive)
+ Added@neo-one/client-full-common@3.3.1-rc1(transitive)
+ Added@neo-one/node-core@3.3.1-rc1(transitive)
+ Added@neo-one/utils@3.3.0-rc1(transitive)
- Removed@neo-one/client-common@3.2.0-preview5(transitive)
- Removed@neo-one/client-full-common@3.2.0-preview5(transitive)
- Removed@neo-one/node-core@3.2.0-preview5(transitive)
- Removed@neo-one/utils@3.2.1(transitive)
Updated@neo-one/node-core@3.3.1-rc1
Updated@neo-one/utils@3.3.0-rc1