-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use dapp-offer-up by default #8630
Changes from 3 commits
c263f3b
b3ad188
2097951
8ec4ed3
9c7dc74
cf37902
35acc3d
9196b92
3c69847
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -103,6 +103,7 @@ export const gettingStartedWorkflowTest = async (t, options = {}) => { | |||||
if (process.env.AGORIC_INIT_OPTIONS) { | ||||||
const opts = JSON.parse(process.env.AGORIC_INIT_OPTIONS); | ||||||
initOptions.push(...opts); | ||||||
initOptions['--dapp-template'] = 'dapp-fungible-faucet'; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pretty sure I commented on this earlier, but this isn't correct. The option needs to be set earlier so it can be overridden by env options. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mhofman I ended up updating the parameter in |
||||||
} | ||||||
t.is( | ||||||
await myMain(['init', ...initOptions, 'dapp-foo']), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the easiest is to put the default options here
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ohhh I see. Updated the PR to do that and tests are passing now, thank you! Omitted Ref:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh right |
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expect the integration tests would need to be updated as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the integration tests"?
hmm.. I see https://github.com/Agoric/agoric-sdk/blob/master/.github/workflows/integration.yml#L39
programming in yaml... I'm struggling to follow... seems to lead to...
https://github.com/Agoric/agoric-sdk/blob/master/scripts/registry.sh
But I don't see any use of
yarn create @agoric/dapp
. What am I missing?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agoric-sdk/.github/workflows/integration.yml
Line 97 in d61be8d
Leads to
agoric-sdk/scripts/registry.sh
Line 110 in d61be8d
The current getting started steps are captured in that script and another.
While neither reference the new dapp-create, that package is just a wrapper for the agoric cli.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another? what other? Perhaps all will become clear if I study some ci logs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes,
registry.sh
triggers a yarn command inagoric-cli
after setting up some environment variablesagoric-sdk/scripts/registry.sh
Line 117 in d61be8d
which ultimately bottoms out in https://github.com/Agoric/agoric-sdk/blob/d61be8d7fbda7dd3846cba38f8829e36bfae92a4/packages/agoric-cli/tools/getting-started.js