Open himanshuchawla009 opened 5 months ago
it is due to back to back update metadata server which trying to acquire lock before update server data
Recent commit on multiwallet account introduce another syncMetadata which update the metadata during initializing new user account
In the setupTkey function in, for new user account, it will
initalize Tkey
backupMetadataShare
updateFactorDescription
All above call will update the metadata server
login to one mpc account with manualSync = false
check if corekitInstance.tkey.latestCloudMetadata is not undefined
call backupMetadataShare with different factor key back to back on fast internet
Speculation :
it is due to back to back update metadata server which trying to acquire lock before update server data
Recent commit on multiwallet account introduce another syncMetadata which update the metadata during initializing new user account
In the setupTkey function in, for new user account, it will
initalize Tkey
backupMetadataShare
updateFactorDescription
All above call will update the metadata server
Testing Strategy
login to one mpc account with manualSync = false
check if corekitInstance.tkey.latestCloudMetadata is not undefined
call backupMetadataShare with different factor key back to back on fast internet