-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add virtualization host functions #3520
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
Open
athei
wants to merge
36
commits into
master
Choose a base branch
from
at/virt_host_fn
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 14 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
da665f8
Add RISC-V functionality to pallet-contracts
athei af8ef2c
fmt
athei 1669b38
clippy
athei a3c4a6d
Apply suggestions from code review
athei c3c70b9
Merge branch 'master' into at/virt_host_fn
athei be58bd0
toml format
athei 4442518
Update substrate/primitives/virtualization/src/native.rs
athei 03e68b5
Add log target and demote potentially spammy logs
athei aec550b
Move transmute into a From impl
athei f498567
Add prdoc
athei a3df06d
Move host functions out of sp-io
athei 6226160
Fix rust doc
athei 055c662
temporary: enable trace logging for polkavm
athei 7187146
temporary: only test virt
athei 63da97f
Create PolkaVM config from env
athei 5858762
temporary: enable polkavm tracing
athei 9ee99a0
Use Sync metering for now (Async is not working, yet)
athei f1e50a8
temporary: switch to generic sandbox for tests
athei 889b082
Revert CI changes
athei b78eb76
Allow insecure in order to run the generic sandbox
athei 3876120
Use interpreter for now
athei 96f33b2
Reduce call depth limit to account for new items in host state
athei ea3e773
Merge branch 'master' into at/virt_host_fn
athei b67fdad
Added new syscalls used by PolkaVM
athei 3e8a99b
Merge branch 'master' into at/virt_host_fn
athei 1a14d55
Revert "Reduce call depth limit to account for new items in host state"
athei 0750203
Merge branch 'master' into at/virt_host_fn
athei 55617c5
Merge branch 'master' into at/virt_host_fn
athei 48a47bb
Guard building riscv code behind feature
athei 87ad52c
Also guard executor tests
athei d7f0488
Apply suggestions from code review
athei d375147
Merge branch 'master' into at/virt_host_fn
athei 19e2e27
Update substrate/primitives/wasm-interface/src/lib.rs
athei 79df157
Merge branch 'master' into at/virt_host_fn
athei 44f3520
Remove sp_std
athei 97d0fd7
Merge branch 'master' into at/virt_host_fn
athei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,12 @@ | ||
| title: Add virtualization host functions | ||
|
|
||
| doc: | ||
| - audience: Node Dev | ||
| - audience: Runtime Dev | ||
| description: | | ||
| Add experimental support for virtualization host functions. Those allow the runtime | ||
| to spawn and run PolkaVM instances. Not for production use, yet. | ||
|
|
||
| crates: | ||
| - name: sp-virtualization | ||
| - name: sc-executor-wasmtime |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.