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

Add wasmtime implementation for the sandbox #53

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ad2c979
feat(sandbox/jit): mock the api of wasmtime implementation
clearloop Jan 6, 2021
73638f3
chore(sandbox/mod): move wasmi.rs and wasmtime.rs out of /src
clearloop Jan 11, 2021
96c8c10
feat(sandbox): wrap the fucking HostFuncType
clearloop Jan 12, 2021
e44a623
chore(sandbox/mod): move wasmi and wasmtime back to module packing fo…
clearloop Jan 13, 2021
f722129
feat(sandbox/wasmtime): mock the api of wasmtime executor
clearloop Jan 13, 2021
79e6e6a
feat(sandbox/wasmtime): extract memory operation from substrate/clien…
clearloop Jan 13, 2021
789c722
feat(sandbox/wasmtime): add guest externals
clearloop Jan 13, 2021
c992ee1
feat(sandbox/invoke): complete invoke method of instance
clearloop Jan 13, 2021
41dd19d
feat(sandbox/wasmtime): use lifetime for sandbox instances
clearloop Jan 13, 2021
1813947
feat(sandbox/wasmtime): wrap host functions into Func
clearloop Jan 14, 2021
245e640
feat(sandbox/wasmtime): clean useless code
clearloop Jan 14, 2021
716751e
feat(sandbox/wasmtime): remove lifetimes
clearloop Jan 14, 2021
afb6f69
feat(sandbox/wasmtime): force require static for state
clearloop Jan 14, 2021
4493ea8
feat(sandbox/wasmtime): hack the lifetime
clearloop Jan 15, 2021
9adeab7
feat(wasmtime/sandbox): use same store between imports and instance
clearloop Jan 16, 2021
edb172f
feat(sandbox/wasmtime): workable sandbox
clearloop Jan 16, 2021
45e2ad2
Merge remote-tracking branch 'origin/master' into sandbox/wasmtime
clearloop Jan 16, 2021
a6857e1
perf(sandbox/wasmtime): abstract commmon trap for both wasmi and wasm…
clearloop Jan 16, 2021
d0c1260
perf(sandbox/wasmtime): clean wasmi trap info
clearloop Jan 16, 2021
403a174
chore(submodule): switch to contracts/wasmtime as submodule
clearloop Jan 16, 2021
06ece42
feat(sandbox/wasmtime): complete wasmtime sandbox
clearloop Jan 16, 2021
901d2fa
perf(sandbox/wasmtime): perfect the error handling in wasmtime
clearloop Jan 19, 2021
4021e82
feat(sandbox/wasmtime): wrap wasmtime::Trap into imp::Trap
clearloop Jan 21, 2021
0c88ae9
feat(sandbox/wasmtime): use Vec<String> in Trap.trace
clearloop Jan 21, 2021
252e7b9
feat(sandbox/wasmtime): control WASM_BACKTRACE_DETAILS with env
clearloop Jan 21, 2021
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
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "vendor/substrate"]
path = vendor/substrate
url = https://github.com/patractlabs/substrate
branch = europa-contracts
branch = contracts/wasmtime
Loading