Skip to content

Commit

Permalink
feat: implement the comms vat driver for testing the comms vat
Browse files Browse the repository at this point in the history
  • Loading branch information
FUDCo committed Apr 9, 2021
1 parent 235957b commit 6793925
Show file tree
Hide file tree
Showing 3 changed files with 878 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/SwingSet/src/vats/comms/clist-kernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ export function makeKernel(state, syscall, stateKit) {
return null;
}
insistVatType('promise', kfpid);
const lpid = provideLocalForKernel(kfpid);
const doNotSubscribeSet = new Set();
doNotSubscribeSet.add(kfpid);
const lpid = provideLocalForKernel(kfpid, doNotSubscribeSet);
insistPromiseIsUnresolved(lpid);
changeDeciderFromKernelToComms(lpid);
subscribeKernelToPromise(lpid);
Expand Down
Loading

0 comments on commit 6793925

Please sign in to comment.