Skip to content
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

feat: pre-fill address and amount in create-fuels faucet #2434

Merged
merged 8 commits into from
Jun 13, 2024

Conversation

Dhaiwat10
Copy link
Member

Summary

After this PR, whenever someone opens the faucet page, the inputs will be pre-filled with default values so they can just click the button and get funds.

Closes #2389

@Dhaiwat10 Dhaiwat10 added the feat Issue is a feature label May 31, 2024
@Dhaiwat10 Dhaiwat10 self-assigned this May 31, 2024
@Dhaiwat10 Dhaiwat10 changed the title feat: pre-fill address and amount in create-fuels template feat: pre-fill address and amount in create-fuels faucet May 31, 2024
maschad
maschad previously approved these changes Jun 4, 2024
Copy link
Member

@arboleya arboleya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After the great addition below, we must consider increasing the template coverage:

A quick new step/assertion here should do it.

@Dhaiwat10 Dhaiwat10 enabled auto-merge (squash) June 12, 2024 04:16
@arboleya arboleya added this to the 0.x mainnet milestone Jun 12, 2024
Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
45.56%(+0.12%) 38.78%(+0.21%) 42.15%(-0.08%) 45.32%(+0.11%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
🔴 packages/abi-coder/src/encoding/coders/EnumCoder.ts 95.91%
(+16.75%)
92.85%
(+15.93%)
100%
(+0%)
95.91%
(+16.75%)

@Dhaiwat10 Dhaiwat10 merged commit e9720df into master Jun 13, 2024
20 checks passed
@Dhaiwat10 Dhaiwat10 deleted the dp/create-fuels-template-enhancements branch June 13, 2024 18:30
maschad pushed a commit that referenced this pull request Jun 17, 2024
* feat: pre-fill address and amount in `create-fuels` template

* update changeset

* add an integration test for the faucet page

* disable .only

* fix lint error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a default amount distributed from faucet
5 participants