-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
59 changed files
with
1,606 additions
and
681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[package] | ||
name = "skw-vm-engine-cli" | ||
version = "0.0.0" | ||
authors = ["SkyeKiwi <[email protected]>", "Near Inc <[email protected]>"] | ||
publish = false | ||
edition = "2021" | ||
license = "GPL-3.0" | ||
readme = "README.md" | ||
categories = ["wasm"] | ||
repository = "https://github.com/skyekiwi/skyekiwi-network" | ||
homepage = "https://github.com/skyekiwi/skyekiwi-network" | ||
description = """ | ||
A command line wrapper around `skw-vm-engine.` | ||
All error messages that can be raised during the contract execution are raised by `skw-vm-engine` | ||
and the all effects of computing the execution result of a smart contract are encapsulated inside `skw-vm-engine`. | ||
One can use `skw-vm-engine-cli` to test the smart contracts, e.g. with integration tests | ||
to make sure it has expected behavior once deployed to the blockchain. | ||
""" | ||
|
||
[dependencies] | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1" | ||
clap = "=3.0.0-beta.2" | ||
clap_derive = "=3.0.0-beta.2" | ||
base64 = "0.13" | ||
strum = "0.20" | ||
num-rational = "0.3" | ||
tracing-span-tree = "0.1" | ||
|
||
skw-vm-host = { path = "../skw-vm-host", features = ["costs_counting"]} | ||
skw-vm-engine = { path = "../skw-vm-engine", features = ["wasmer2_vm"] } | ||
skw-vm-primitives = { path = "../skw-vm-primitives" } | ||
|
||
[dev-dependencies] | ||
hex = "0.4" | ||
near-test-contracts = { git = "https://github.com/near/nearcore" } | ||
|
||
[features] | ||
default = [] |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[package] | ||
name = "near-vm-runner" | ||
name = "skw-vm-engine" | ||
version = "0.0.0" | ||
authors = ["SkyeKiwi <[email protected]>","Near Inc <[email protected]>"] | ||
publish = false | ||
edition = "2021" | ||
license = "GPL-3.0" | ||
readme = "README.md" | ||
categories = ["wasm"] | ||
repository = "https://github.com/nearprotocol/nearcore" | ||
homepage = "https://github.com/nearprotocol/nearcore" | ||
repository = "https://github.com/skyekiwi/skyekiwi-network" | ||
homepage = "https://github.com/skyekiwi/skyekiwi-network" | ||
description = """ | ||
This crate implements the specification of the interface that Near blockchain exposes to the smart contracts. | ||
This crate implements the specification of the interface that SkyeKiwi Network secret contract runtime. | ||
""" | ||
|
||
[dependencies] | ||
|
@@ -24,11 +24,14 @@ wasmi = "0.10.0" | |
lru = "0.7.2" | ||
|
||
anyhow = { version = "1.0.19", optional = true } | ||
near-vm-logic = { path = "../near-vm-logic", default-features = false, features = [] } | ||
near-vm-errors = { path = "../near-vm-errors" } | ||
|
||
skw-vm-host = { path = "../skw-vm-host", default-features = false, features = [] } | ||
skw-vm-primitives = { path = "../skw-vm-primitives" } | ||
|
||
lazy_static = "1.4.0" | ||
near-primitives = { git = "https://github.com/near/nearcore", tag = "crates-0.11.0" } | ||
near-stable-hasher = { git = "https://github.com/near/nearcore", tag = "crates-0.11.0" } | ||
|
||
cached = "0.23.0" | ||
tracing = { version = "0.1", default-features = false } | ||
threadpool = "1.8.1" | ||
|
@@ -40,8 +43,5 @@ wat = "1.0.40" | |
base64 = "0.13" | ||
|
||
[features] | ||
# all vms enabled for now | ||
default = [] | ||
no_cpu_compatibility_checks = [] | ||
no_cache = [] | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.