Skip to content

Wasmer3 VM and session development#59

Merged
krl merged 97 commits intomainfrom
vmx
Oct 14, 2022
Merged

Wasmer3 VM and session development#59
krl merged 97 commits intomainfrom
vmx

Conversation

@krl
Copy link
Copy Markdown
Contributor

@krl krl commented Sep 2, 2022

No description provided.

@krl krl added mark:next Strategic issues related to next versions of Testnet and mid/long term plans team:Core Low Level Core Development Team (Rust) labels Sep 2, 2022
krl and others added 27 commits September 2, 2022 16:22
Replaced new with ephemeral

WIP implementation of linear

WIP volatile memory support

WIP reinstanted instance tunable

WIP clean-up

WIP fixed vm guard access issue, test file path issue

WIP save_volatile and restore_volatile

WIP added session id

WIP committment mechanism

Clean-up and fixed warnings

Turned on all tests which are on in vmx

Clean-up, not needed files, path, printlns

Introduced memory freshness type

Improved error handling

Formatting

Boxed error to address clippy

Fix clippy error

Formatting

Fixed several clippy errors

Two more clippy errors

Addressing clippy errors for too large Err

Addressing clippy errors for too large Err 2
miloszm and others added 20 commits October 13, 2022 14:07
This is done due to the fact that emitting events during a `query` is
nonsensical and should never happen.
Session Commits Persistence Implementation
To make this possible, a running instance has to be made accessible
through an `Env`. In this implementation, we purposefully leak the
instance and place a pointer to it in the call stack. While the stack
element exists in the call stack, mutable references to this instance
are valid. When this element is dropped, all references to it become
invalid.

This works due to the fact that the stack element is guaranteed to
exists for the duration of a call.

Resolves #83
@ureeves ureeves marked this pull request as ready for review October 14, 2022 19:32
@ureeves ureeves requested review from miloszm and ureeves October 14, 2022 19:33
@ureeves
Copy link
Copy Markdown
Contributor

ureeves commented Oct 14, 2022

Lets merge this to main since we're abandoning the hatchery

@krl krl merged commit 4194732 into main Oct 14, 2022
@krl krl deleted the vmx branch October 14, 2022 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mark:next Strategic issues related to next versions of Testnet and mid/long term plans team:Core Low Level Core Development Team (Rust)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants