Skip to content

Commit

Permalink
fixup! chore(walletFactory): start -> prepare for compat
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Aug 16, 2023
1 parent 7ab1087 commit 09a5602
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,10 @@ import {
publishDepositFacet,
} from '../../../src/walletFactory.js';

/** @type {ContractMeta} */
export const meta = {
upgradability: 'canUpgrade',
};
harden(meta);

/**
* @type {typeof import('../../../src/walletFactory.js').start}
* @type {typeof import('../../../src/walletFactory.js').prepare}
*/
export const start = async (zcf, privateArgs, baggage) => {
export const prepare = async (zcf, privateArgs, baggage) => {
// copy paste from original contract, with type imports fixed and sayHelloUpgrade method added to creatorFacet)
const { agoricNames, board, assetPublisher } = zcf.getTerms();

Expand Down

0 comments on commit 09a5602

Please sign in to comment.