-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add an Amulet faucet to the vesting demo app #145
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
Changes from all commits
da50696
48860ed
c5aa349
3604b68
78c747a
2d840c6
71f8ba8
3339f16
dd5cffd
eba73b2
62510e3
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 |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ | |
| export default { | ||
| 'canton-connect/src/**/*.{ts,tsx,js,jsx}': () => 'pnpm -C canton-connect test', | ||
| 'canton-dappbooster/src/**/*.{ts,tsx,js,jsx}': () => 'pnpm -C canton-dappbooster test', | ||
| 'dapp/frontend/src/**/*.{ts,tsx,js,jsx}': () => 'pnpm -C dapp/frontend test', | ||
| // One task for the whole doc gate, under the name CI uses: typedoc resolves both packages in a | ||
|
Collaborator
Author
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. Claude REALLY likes putting comments everywhere, eh? Well, me too, that's what I'm doing right now. Fuck you, Claude. |
||
| // single run anyway, so splitting it per package bought a second and two ways to drift. | ||
| // Snippets live in the READMEs as well as in the doc blocks, so a doc edit re-runs the compile. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -144,6 +144,21 @@ export const buildSplitCommand = ( | |
| expectedDso: args.dso, | ||
| }) | ||
|
|
||
| // One fixed amount, so a tap is a button and not a form. | ||
| export const TAP_AMOUNT = '100' | ||
|
|
||
| // LocalNet and devnet only: the DSO does not carry this choice on a real network. | ||
|
Collaborator
Author
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. This is obvious unless they're gifting CC and we don't know about it, but oh well... |
||
| export const buildTapCommand = ( | ||
| templateId: string, | ||
| amuletRulesCid: string, | ||
| args: { openMiningRound: string; receiver: string }, | ||
| ) => | ||
| exercise(templateId, amuletRulesCid, 'AmuletRules_DevNet_Tap', { | ||
| receiver: args.receiver, | ||
| amount: TAP_AMOUNT, | ||
| openRound: args.openMiningRound, | ||
| }) | ||
|
|
||
| export const buildAcceptCommand = ( | ||
| templateId: string, | ||
| pendingCid: string, | ||
|
|
||
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.
Just another thing I thought we had already in place and usually would belong into another PR.