From cd7e6324c4c558e4010d8cf18b4b99c29ef81faf Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Thu, 12 Sep 2024 16:41:11 -0500 Subject: [PATCH] chore: don't pass zcf thru context in examples --- packages/orchestration/src/examples/send-anywhere.contract.js | 1 - .../orchestration/src/examples/staking-combinations.contract.js | 1 - packages/orchestration/src/examples/swap.contract.js | 1 - 3 files changed, 3 deletions(-) diff --git a/packages/orchestration/src/examples/send-anywhere.contract.js b/packages/orchestration/src/examples/send-anywhere.contract.js index ebe77f1af7d..d288d7694c8 100644 --- a/packages/orchestration/src/examples/send-anywhere.contract.js +++ b/packages/orchestration/src/examples/send-anywhere.contract.js @@ -45,7 +45,6 @@ const contract = async ( // orchestrate uses the names on orchestrationFns to do a "prepare" of the associated behavior const orchFns = orchestrateAll(flows, { - zcf, contractState, localTransfer: zoeTools.localTransfer, }); diff --git a/packages/orchestration/src/examples/staking-combinations.contract.js b/packages/orchestration/src/examples/staking-combinations.contract.js index 209b328f674..2158a4560bb 100644 --- a/packages/orchestration/src/examples/staking-combinations.contract.js +++ b/packages/orchestration/src/examples/staking-combinations.contract.js @@ -133,7 +133,6 @@ const contract = async ( makeCombineInvitationMakers, makeExtraInvitationMaker, flows, - zcf, zoeTools, }); diff --git a/packages/orchestration/src/examples/swap.contract.js b/packages/orchestration/src/examples/swap.contract.js index fa2a7e0bff1..e726d371cf1 100644 --- a/packages/orchestration/src/examples/swap.contract.js +++ b/packages/orchestration/src/examples/swap.contract.js @@ -62,7 +62,6 @@ const contract = async ( const { brands } = zcf.getTerms(); const { stakeAndSwap } = orchestrateAll(flows, { - zcf, localTransfer: zoeTools.localTransfer, });