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

refactor: separate faucet funding from validation #300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gregdhill
Copy link
Member

Signed-off-by: Gregory Hill [email protected]

We saw a number of timeouts on testnet when vaults were waiting for the faucet to respond. This change allows the faucet to respond immediately if the funding request is valid and then spawns a separate task to submit and watch the transaction(s). My plan was to batch and return the extrinsic hash to subscribe in the vault client but that is not possible (paritytech/subxt#559). My proposed next step is to simply retry registration if the client does not have sufficient funds or we could wait for the account to have sufficient funds before continuing.

@sander2
Copy link
Member

sander2 commented Jul 26, 2022

This change in isolation will break the funding process, so I don't think it's a good idea to merge without having the vault side ready

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