Skip to content

Instantly share code, notes, and snippets.

@dckc
Created Nov 12, 2020
Embed
What would you like to do?
$ npx ava
tokenized video
Rejected promise returned by test. Reason:
Error {
message: '"brand" not found: (an object)',
}
› makeDetailedError (/home/connolly/projects/agoric/ag-sdk-orb/node_modules/ses/dist/ses.cjs:3437:17)
› fail (/home/connolly/projects/agoric/ag-sdk-orb/node_modules/ses/dist/ses.cjs:3582:19)
› baseAssert (/home/connolly/projects/agoric/ag-sdk-orb/node_modules/ses/dist/ses.cjs:3600:13)
› assertKeyExists (/home/connolly/projects/agoric/ag-sdk-orb/packages/store/src/weak-store.js:19:5)
› Object.get [as getByBrand] (/home/connolly/projects/agoric/ag-sdk-orb/packages/store/src/weak-store.js:27:7)
› getAmountMath (/home/connolly/projects/agoric/ag-sdk-orb/packages/zoe/src/zoeService/zoe.js:44:46)
› /home/connolly/projects/agoric/ag-sdk-orb/packages/zoe/src/cleanProposal.js:65:5
› Array.map (<anonymous>)
› coerceAmountKeywordRecord (/home/connolly/projects/agoric/ag-sdk-orb/packages/zoe/src/cleanProposal.js:64:34)
› cleanProposal (/home/connolly/projects/agoric/ag-sdk-orb/packages/zoe/src/cleanProposal.js:115:10)
› /home/connolly/projects/agoric/ag-sdk-orb/packages/zoe/src/zoeService/zoe.js:405:28
› async test/test-contract.js:65:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment