diff --git a/contract/src/contract.js b/contract/src/contract.js index a5787b5..c4a823a 100644 --- a/contract/src/contract.js +++ b/contract/src/contract.js @@ -1,13 +1,15 @@ // @ts-check +/* global harden */ import '@agoric/zoe/exported.js'; -import { Far } from '@endo/marshal/src/make-far.js'; +import '@agoric/network/exported.js'; +import { Far } from '@endo/marshal'; import { ICS27ICAProtocol } from './ica.js'; /** * * @type {ContractStartFn} */ -const start = async () => { +const start = () => { const creatorFacet = Far('creatorFacet', { // The creator of the instance can be called by the creator }); diff --git a/contract/src/ica.js b/contract/src/ica.js index be3446d..e0880ea 100644 --- a/contract/src/ica.js +++ b/contract/src/ica.js @@ -1,5 +1,5 @@ // @ts-check -import { Far } from '@endo/marshal/src/make-far.js'; +import { Far } from '@endo/marshal'; import { assert, details as X } from '@agoric/assert'; import { TxBody } from 'cosmjs-types/cosmos/tx/v1beta1/tx.js'; import { Any } from 'cosmjs-types/google/protobuf/any.js';