Skip to content

Commit

Permalink
docs: distinguish Rose from Rex with comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Mar 5, 2024
1 parent 1be077b commit 486bc8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contract/test/market-actors.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ export const payerPete = async (
};

/**
* Rose expects to receive `shared.toSend` amounts.
* She expects initial balances to be empty;
* and relies on `wellKnown.assetKind` to make an empty amount from a brand.
*
* @param {import('ava').ExecutionContext} t
* @param {{ wallet: import('./wallet-tools.js').MockWallet, }} mine
* @param {{ toSend: AmountKeywordRecord }} shared
Expand Down Expand Up @@ -107,6 +111,9 @@ export const receiverRose = async (t, { wallet }, { toSend }) => {
};

/**
* Rex expects to receive `shared.toSend` amounts.
* Rex doesn't check his initial balances
*
* @param {import('ava').ExecutionContext} t
* @param {{ wallet: import('./wallet-tools.js').MockWallet, }} mine
* @param {{ toSend: AmountKeywordRecord }} shared
Expand Down

0 comments on commit 486bc8b

Please sign in to comment.