I am working on a scenario, where I have to upgrade my application and change account address type(from Substrate address to Ethereum address[similar to moonbeam unified account]).
I made the corresponding changes. There is code version A which supports Substrate address and code version B supports Ethereum address.
If I run code version B, it works fine. I am able to see balances of genesis accounts.
If I run code Version A and perform runtime upgrade for version B, balances of genesis accounts become zero after runtime upgrade.
Unfortunately I won't be able to share code but any help/thought would be appreciable.
Can someone please give me an idea what was happening inside?