From 5d4d14e58abf7713b4643a9c096bd34f8eceaa99 Mon Sep 17 00:00:00 2001 From: Joe Schnetzler Date: Tue, 7 Nov 2023 21:44:36 -0500 Subject: [PATCH] Update new imports --- contract/src/contract.js | 6 ++++-- contract/src/ica.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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';