Skip to content

fix: rectify shrine assets in frontend data provider #583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 30, 2024
Merged

fix: rectify shrine assets in frontend data provider #583

merged 10 commits into from
May 30, 2024

Conversation

tserg
Copy link
Collaborator

@tserg tserg commented May 23, 2024

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.

@tserg tserg requested a review from milancermak May 23, 2024 04:05
@tserg tserg mentioned this pull request May 27, 2024
Copy link
Contributor

@milancermak milancermak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

The addrs in README will also need updating after the whole deploy process.

@tserg
Copy link
Collaborator Author

tserg commented May 29, 2024

Note: The devnet dump file needs to be updated.

@tserg tserg merged commit bfc0746 into main May 30, 2024
1 check passed
@tserg tserg deleted the fix/fdp branch May 30, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants