Enhance free registration account handling
Description
Attachments
1
image-20220510-223236.png
10 May, 2022
is blocked by
Activity
Eric Butz May 25, 2022 at 9:46 PM
Eric Butz
May 25, 2022 at 9:46 PM
on reg-uat
Registered two handles 5 minutes apart. Only received email for first registration.
Sending to UAT.
·
Andrey Vinichenko May 25, 2022 at 10:20 AM
Andrey Vinichenko
May 25, 2022 at 10:20 AM
·
Pawel Mastalerz May 24, 2022 at 5:29 PM
Pawel Mastalerz
May 24, 2022 at 5:29 PM
UAT:
Tried registration twice and got 2 emails, 3 minutes apart
Spec calls for email to be sent no more than once every 24 hrs
·
Eric Butz May 23, 2022 at 8:20 PM
Eric Butz
May 23, 2022 at 8:20 PM
Sending to UAT. The process noted above in my Test Case comment worked and the address was registered using the backup account.
·
Eric Butz May 23, 2022 at 8:17 PM
Eric Butz
May 23, 2022 at 8:17 PM
Note that Pawel posted this to the Discord regarding the fallback account:
So I think the info at the top of this bug is incorrect and that this is the account that should be used. Which is the behavior I am seeing.
·
Done
Details
Details
Assignee
Reporter
Labels
Time tracking
1d 3h 15m logged
Components
Priority
Checklist
Open Checklist
Checklist
Open Checklist
Created May 2, 2022 at 8:29 PM
Updated May 30, 2022 at 3:38 PM
Resolved May 30, 2022 at 3:38 PM
This story covers the following enhancements:
Add Add a system level variable (does not need to be editable via Admin UI) which contains fallback account/permission. Use:
Account: dwhrcjzk2m1v
Permission: regaddress
When a registration (free or paid) fails with “Insufficient Funds” error, the reg site will:
Retry the registration using the fallback account/permission
Send an email to regsitenotif@fioprotocol.io including the following for failed tx:
Subject: Reg Site insufficient funds
Body:
Registration site got insufficient funds error when registering [insert FIO Domain or Address] on profile [insert Wallet profile name] using account [insert account name used] and permission [insert permission name]. You will receive this email once every 24 hrs or until issue is resolved.
Record time stamp of when last email was sent so that email notification is sent no more than once every 24 hrs.
Retry failed registrations
Also, we need to find a way to retry programatically all the failed registrations instead of doing it manually.
SQL example solution
sql example to add retry records for
'Insufficient funds to cover fee'
errors after 28 of April 2022 (registrations-search
updates required but not added in the sql example):