Skip to content

Commit

Permalink
fixup! feat(SwingSet): Improve promise classification descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Dec 13, 2023
1 parent c21bb40 commit d46c81b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/SwingSet/misc-tools/classify-promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ const startZcfShape = M.splitRecord({
),
});

/** `getPayouts()` and `numWantsSatisfied()` methargs */
/** methargs for Zoe UserSeat `getOfferResult()`/`getPayouts()`/`numWantsSatisfied()` */
const methargsZoeSeatMethodShape = harden([
M.or('getPayouts', 'numWantsSatisfied'),
M.or('getOfferResult', 'getPayouts', 'numWantsSatisfied'),
[],
]);

Expand Down Expand Up @@ -579,14 +579,14 @@ const main = rawArgv => {
targetKref: invitationCreatorKref,
resultKpid: invitationKpid,
} = trace.request;
classify(`E(invitation)[${methargs[0]}](...)`, {
classify(`E(ZoeSeat)[${methargs[0]}](...)`, {
invitationSourceVatID,
invitationCreatorKref,
invitationKpid,
});
continue nextPromise;
}
classify(`unknown E(invitation)[${methargs[0]}](...)`, { trace });
classify(`unknown E(ZoeSeat)[${methargs[0]}](...)`, { trace });
continue nextPromise;
}
} else if (
Expand Down

0 comments on commit d46c81b

Please sign in to comment.