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 an integration test that defines a new syscall #1957

Open
Stebalien opened this issue Dec 18, 2023 · 2 comments
Open

Add an integration test that defines a new syscall #1957

Stebalien opened this issue Dec 18, 2023 · 2 comments
Assignees

Comments

@Stebalien
Copy link
Member

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:

  1. Constructs a custom FVM with a custom kernel/syscall.
  2. Calls the custom syscall from an actor.
@fridrik01
Copy link
Contributor

fridrik01 commented Dec 21, 2023

@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?

@Stebalien
Copy link
Member Author

Stebalien commented Dec 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants