Skip to content

Commit

Permalink
fix: post extraction improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Sep 28, 2023
1 parent ebbf264 commit 9170664
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/pegasus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@endo/far": "^0.2.21",
"@endo/init": "^0.5.59",
"@endo/nat": "^4.1.30",
"@endo/patterns": "^0.2.5",
"@endo/promise-kit": "^0.2.59"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/pegasus/src/pegasus.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// @ts-check

import { assert, details as X, Fail } from '@agoric/assert';
import { makeLegacyWeakMap, makeLegacyMap, M } from '@agoric/store';
import { M } from '@endo/patterns';
import { makeLegacyWeakMap, makeLegacyMap } from '@agoric/store';
import { E, Far } from '@endo/far';
import { atomicTransfer } from '@agoric/zoe/src/contractSupport/index.js';
import { makeSubscriptionKit } from '@agoric/notifier';
Expand Down
4 changes: 2 additions & 2 deletions packages/zoe/src/contractSupport/zoeHelpers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint @typescript-eslint/no-floating-promises: "warn" */
import { mustMatch, keyEQ } from '@agoric/store';
import { mustMatch, keyEQ, M } from '@endo/patterns';
import { E } from '@endo/eventual-send';
import { makePromiseKit } from '@endo/promise-kit';
import { AssetKind } from '@agoric/ertp';
Expand Down Expand Up @@ -201,7 +201,7 @@ export const depositToSeat = async (zcf, recipientSeat, amounts, payments) => {
reallocateAfterDeposit,
'temporary seat for deposit',
undefined,
harden({
M.splitRecord({
give: AmountKeywordRecordShape,
want: {},
exit: { onDemand: null },
Expand Down
3 changes: 1 addition & 2 deletions packages/zoe/src/contracts/auction/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* eslint @typescript-eslint/no-floating-promises: "warn" */
import { E } from '@endo/eventual-send';
import { mustMatch } from '@endo/patterns';
import { mustMatch, M } from '@endo/patterns';
import { Far } from '@endo/marshal';
import { TimeMath, RelativeTimeShape } from '@agoric/time';
import { M } from '@agoric/store';
import { AmountShape } from '@agoric/ertp';

// Eventually will be importable from '@agoric/zoe-contract-support'
Expand Down

0 comments on commit 9170664

Please sign in to comment.