Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: switch to release build and bump deps in near-mock-vm #556

Merged
merged 6 commits into from
Jun 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
416 changes: 289 additions & 127 deletions near-mock-vm/Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions near-mock-vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ nothing = []
[dependencies]
serde_json = "1.0"
base64 = "0.12"
wasm-bindgen = "0.2.60"
wasm-bindgen = "0.2.70"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.1.3"
js-sys = "0.3.37"
near-sdk = { git="https://github.com/near/near-sdk-rs", branch = "add_wasm_mock_vm" }
near-sdk = "3.1.0"
near-vm-errors = "2.2.0"
near-vm-logic = "2.2.0"
near-vm-logic = "=4.0.0-pre.1"
pwasm-utils = "0.12.0"
parity-wasm = "0.41.0"
wasmparser = "0.51.4"
Expand Down
2 changes: 1 addition & 1 deletion near-mock-vm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"scripts": {
"build": "yarn build:wasm && yarn build:vm",
"build:wasm": "yarn wasm-pack build --target nodejs --debug",
"build:wasm": "yarn wasm-pack build --target nodejs --release",
"build:vm": "yarn tsc -p vm",
"test": "yarn asb assembly/__tests__/main.ts --target debug && node vm/tests/test && yarn test:bin",
"test:ci": "yarn build:vm && yarn test",
Expand Down
6 changes: 3 additions & 3 deletions near-mock-vm/pkg/near_mock_vm.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/* tslint:disable */
/* eslint-disable */
/**
*/
export function main(): void;
/**
* @param {any} wasm_bytes
* @returns {any}
*/
Expand All @@ -11,9 +14,6 @@ export function inject_contract(wasm_bytes: any): any;
export function test_memory(mem: any): void;
/**
*/
export function main(): void;
/**
*/
export class VM {
free(): void;
/**
Expand Down
Loading