-
Notifications
You must be signed in to change notification settings - Fork 80
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
extract VM trait to it's own crate #1343
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1343 +/- ##
==========================================
- Coverage 90.75% 84.04% -6.71%
==========================================
Files 139 143 +4
Lines 27343 29264 +1921
==========================================
- Hits 24814 24596 -218
- Misses 2529 4668 +2139
|
fb14d19
to
27b175f
Compare
|
||
use cid::Cid; | ||
use fil_actors_runtime::runtime::{builtins::Type, Primitives}; | ||
// TODO: drop the dependency on fil_actors_runtime and have a suitable replacement abstraction here | ||
pub use fil_actors_runtime::runtime::{builtins::Type, Primitives}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The VM just uses a u32. That might be sufficient here.
For Primitives maybe we need a new trait which will duplciate that, but also add in the externs. Basically the stuff thatneeds to be injected into any VM from the outside.
Please file an issue for the TODO and reference it here. I trust you'll follow up shortly here.
27b175f
to
77c30c3
Compare
77c30c3
to
b1ee35d
Compare
#1327
No code changes are made in this PR apart from a relocation of the shared VM trait and associated utils/types into a separate crate.