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: add support for custom drip amounts #23

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

zivkovicmilos
Copy link
Member

Description

This PR introduces the ability for requests to contain a drip amount. The faucet operator can specify a max drip amount per request.

If the drip amount is not present in the request (backwards compatibility), the maximum faucet drip amount is used.

Copy link
Collaborator

@leohhhn leohhhn left a comment

Choose a reason for hiding this comment

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

Looks good, apart from a possible typo 💯

handler.go Outdated Show resolved Hide resolved
@zivkovicmilos zivkovicmilos merged commit f72cfa2 into main Mar 13, 2024
3 checks passed
@zivkovicmilos zivkovicmilos deleted the feat/add-custom-amounts branch March 13, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants