Open Stebalien opened 9 months ago
@Stebalien for making the new custom syscall (for example math::doubleme
) available to the wasm actor, I am thinking about creating a new crate containing the custom kernel and syscall, then in the wasm test actor, import that syscall module which I can then call to invoke the custom syscall, makes sense?
There's nothing special about the SDK (it's just a crate). You should be able to put that code inside your custom actor itself.
Basically, we need to make sure we can attach a new syscall to an FVM instance from a different crate. We should write an integration test that: