-
Notifications
You must be signed in to change notification settings - Fork 2
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
"Create account" app exhibits incorrect behavior with "Try again" button in Firefox #259
Comments
Regarding the balance check, there is additional cost for transaction that transfers funds from invite account to real account. So maybe that causes the 'insufficient funds' error. Gas price for that transaction is hard-coded to 0.0001 which is too small amount I think. But in any case, the app waits for transfer to complete before continuing with registration. Here is the relevant function: fdp-create-account/src/pages/register/register.tsx Lines 171 to 206 in 66f9320
And regarding the retry mechanism, there isn't anything that can be done in application level. Because the whole registration process is encapsulated inside the fdp-storage register method. We already discussed that fdp-storage needs to be modified to return an request object that can be used to track progress of registration and ability to retry only certain steps of registration. The fdp-contracts library already supports that: I think there was an issues for this feature in fdp-storage but I'm not sure. But anyway we can't modify app's behavior until this gets implemented in fdp-storage. |
It looks like the problem is this fairDataSociety/fdp-contracts#21. It is not possible to create an account with a balance of less than 0.01. |
The issue occurred under the following circumstances:
Here is the address of the generated wallet for reference: https://sepolia.etherscan.io/address/0x275fb5ddeae027a95d4db746586eaf1063fc22e3
Error after transferring funds from the invite to the new wallet.
Trying registering again after top-up the wallet.
Trying registering after running Bee node.
The text was updated successfully, but these errors were encountered: