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: Use async faucet transactions and support wait/reload #310

Closed
wants to merge 5 commits into from

Conversation

alex-stone
Copy link
Contributor

What changed? Why?

This makes it so that our faucet transactions will be created on the server-side without waiting for confirmation and then will be able to be waited-on / polled from the SDK.

This allows us to have more stable faucet implementations (since there are fewer persistent connections across multiple services / clients) and will return a resource that can be more useful on the SDK side of things.

Qualified Impact

This makes it so that when you call wallet.faucet() or address.faucet() it returns a faucet transaction that is not necessarily confirmed yet.

This makes it so that we use the transaction payload in the faucet
transaction resource as the source of truth.
This makes it so that our faucet transactions will be created on
the server-side without waiting for confirmation and then will be
able to be waited-on / polled from the SDK.

This allows us to have more stable faucet implementations (since there
are fewer persistent connections across multiple services / clients)

and will return a resource that can be more useful on the SDK side
of things.
@cb-heimdall
Copy link

cb-heimdall commented Oct 30, 2024

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@alex-stone alex-stone closed this Oct 30, 2024
@alex-stone alex-stone deleted the stone/async-faucet-tx branch October 30, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants