tasit-apps icon indicating copy to clipboard operation
tasit-apps copied to clipboard

Load account progress from blockchain (MyAccountScreen)

Open marcelomorgado opened this issue 5 years ago • 2 comments

The MyAccountScreen is looking to redux state to show creation progress - use already written code (from helpers/index.js > restoreCreationStateOfAccountFromBlockchain) to check progress from the blockchain.

Should this screen update the redux state (same logic as MyAssetsScreen)?

marcelomorgado avatar Apr 19 '19 14:04 marcelomorgado

Should this screen update the redux state (same logic as MyAssetsScreen)?

Yeah, I think so, if what we get differs from what we have stored locally. Perhaps we can even share some logic with the other screen on how to handle this "diff-ing"

pcowgill avatar Apr 19 '19 14:04 pcowgill

I'll note that we'll continue to show the tx links using the actionId's that we originally persisted when sending the Tasit actions, and we don't yet want to go down the rabbit hole of finding those tx from the blockchain using the addresses we know.

So when we persist the local account state based on the state of the blockchain, let's be sure not to overrwite actionId's

pcowgill avatar Apr 19 '19 14:04 pcowgill