Skip to content

Commit

Permalink
Merge pull request #7487 from Agoric/markn-ertp-more-jessie-checks
Browse files Browse the repository at this point in the history
refactor(ertp): jessie-check where easy
  • Loading branch information
mergify[bot] authored Apr 24, 2023
2 parents 6aec458 + 539ab5d commit cf84dc7
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ERTP/src/displayInfo.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import { Fail } from '@agoric/assert';
import { mustMatch } from '@agoric/store';

Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

export * from './amountMath.js';
export * from './issuerKit.js';
export * from './typeGuards.js';
2 changes: 2 additions & 0 deletions packages/ERTP/src/legacy-payment-helpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import { mustMatch } from '@agoric/store';
import { E } from '@endo/far';
import { AmountMath } from './amountMath.js';
Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/mathHelpers/copyBagMathHelpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import {
keyEQ,
makeCopyBag,
Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/mathHelpers/copySetMathHelpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import {
keyEQ,
makeCopySet,
Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/mathHelpers/natMathHelpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import { Nat, isNat } from '@endo/nat';

import '../types-ambient.js';
Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/mathHelpers/setMathHelpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import { passStyleOf } from '@endo/marshal';
import {
assertKey,
Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/payment.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import { initEmpty } from '@agoric/store';
import { prepareExoClass } from '@agoric/vat-data';

Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/paymentLedger.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

/* eslint-disable no-use-before-define */
import { isPromise } from '@endo/promise-kit';
import { mustMatch, M, keyEQ } from '@agoric/store';
Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/transientNotifier.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import { makeScalarBigWeakMapStore } from '@agoric/vat-data';
import { provideLazy } from '@agoric/store';
import { makeNotifierKit } from '@agoric/notifier';
Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/typeGuards.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

import { M, matches } from '@agoric/store';

export const BrandShape = M.remotable('Brand');
Expand Down
2 changes: 2 additions & 0 deletions packages/ERTP/src/types-ambient.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @jessie-check

/// <reference types="ses"/>

/**
Expand Down

0 comments on commit cf84dc7

Please sign in to comment.