From 5f80b5bad5002b9234b89f8b8aeaa4938ee43963 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Fri, 26 Jan 2024 14:46:17 -0600 Subject: [PATCH] fix: use dapp-offer-up by default (#8630) * use dapp-game-pieces (in agoric-labs) by default * feat: use dapp-offer-up in @agoric/dapp * fix(integration-test): update initOptions with '--dapp-template' parameter * fix(integration-test): set --dapp-template at registry.sh level * Revert "fix(integration-test): update initOptions with '--dapp-template' parameter" This reverts commit 2097951e7ebc39a0438d95e987972f9f71279ef5. * Revert "fix(integration-test): set --dapp-template at registry.sh level" This reverts commit 8ec4ed33fe9e7e0a8cca2d4eb0d0dc35cb64ab1d. * fix(integration-test): add --dapp-template parameter to myMain command * fixup! fix(integration-test): add --dapp-template parameter to myMain command --------- Co-authored-by: Luqi Pan Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- packages/agoric-cli/src/main.js | 2 +- packages/agoric-cli/tools/getting-started.js | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/agoric-cli/src/main.js b/packages/agoric-cli/src/main.js index 348be6b869a8..e9a2dac64b6b 100644 --- a/packages/agoric-cli/src/main.js +++ b/packages/agoric-cli/src/main.js @@ -20,7 +20,7 @@ import followMain from './follow.js'; import walletMain from './open.js'; import { makeWalletCommand } from './commands/wallet.js'; -const DEFAULT_DAPP_TEMPLATE = 'dapp-fungible-faucet'; +const DEFAULT_DAPP_TEMPLATE = 'dapp-offer-up'; const DEFAULT_DAPP_URL_BASE = 'https://github.com/Agoric/'; const DEFAULT_DAPP_BRANCH = undefined; diff --git a/packages/agoric-cli/tools/getting-started.js b/packages/agoric-cli/tools/getting-started.js index 3b1c2b8f667a..cf632432a8f0 100644 --- a/packages/agoric-cli/tools/getting-started.js +++ b/packages/agoric-cli/tools/getting-started.js @@ -105,7 +105,13 @@ export const gettingStartedWorkflowTest = async (t, options = {}) => { initOptions.push(...opts); } t.is( - await myMain(['init', ...initOptions, 'dapp-foo']), + await myMain([ + 'init', + '--dapp-template', + 'dapp-fungible-faucet', + ...initOptions, + 'dapp-foo', + ]), 0, 'init dapp-foo works', );