Daohub-io/cap9

Procedure#Call Capability (Ewasm)

Latrasis opened this issue · 1 comments

We need to include a test in tests/syscalls/call.ts that:

  • Creates two procedures, procedure A and B
  • Proc A is given a procedure#call capability that designates it is allowed to execute proc B
  • Proc B is given a storage#write capability , that designates it is allowed to write to address 0x7.
  • Proc A receives a 32 byte value, invokes it's capability to pass on the value to Proc B, which stores the value at address 0xdeadbeef.

Procedure A should use the #proc_call defined in the cap9-std crate

Closed with #172