When calling frontend_data_provider.get_trove_assets_info(), the total amount of yang deposited in Shrine should be used to calculate the ShrineAssetInfo struct instead of the trove's balance.
Additionally, I used this as an opportunity test the upgradable component and added an upgrade script for both devnet and sepolia. I have tested the devnet script, and will execute the sepolia script after review.
When calling
frontend_data_provider.get_trove_assets_info()
, the total amount of yang deposited in Shrine should be used to calculate theShrineAssetInfo
struct instead of the trove's balance.Additionally, I used this as an opportunity test the upgradable component and added an upgrade script for both devnet and sepolia. I have tested the devnet script, and will execute the sepolia script after review.