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

[BUG]: invoke_system_call rpc does not fallback to thunks #827

Closed
1 task done
sgerbino opened this issue Oct 13, 2023 · 0 comments · Fixed by #828
Closed
1 task done

[BUG]: invoke_system_call rpc does not fallback to thunks #827

sgerbino opened this issue Oct 13, 2023 · 0 comments · Fixed by #828
Assignees
Labels
bug Something isn't working

Comments

@sgerbino
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Calling a system call that is implemented via thunk returns an error.

// CALL
const result = await provider.call("chain.invoke_system_call", {
  name: "get_object",
  args: utils.encodeBase64url(ser),
});

// ERROR
{"error":"system call 303 is implemented via thunk","code":1,"id":303}

Expected behavior

The call should execute a return the expected result.

Steps to reproduce

No response

Environment

- OS:

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant