From 0e3215cb63162bcf985ca9171dbb1cb9874781cd 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 ebe77f1af7df..d288d7694c84 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 209b328f6745..2158a4560bbb 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 fa2a7e0bff1b..e726d371cf16 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, });