-
Notifications
You must be signed in to change notification settings - Fork 71
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
Resize Reserves #165
Resize Reserves #165
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## v2.0.3_upcoming #165 +/- ##
===================================================
- Coverage 83.62% 83.14% -0.48%
===================================================
Files 50 50
Lines 18704 18811 +107
===================================================
Hits 15641 15641
- Misses 3063 3170 +107 ☔ View full report in Codecov by Sentry. |
|
||
let data: Vec<u8> = reserve_info.data.clone().borrow().to_vec(); | ||
|
||
assert!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not the patten we typically use for constraints
Remaining things:
Tested resize on beta:
https://solana.fm/tx/4uhFrsNuYpdqAMaKCZNriNweLp3kUUKdtLM1RmKjkFbA94fdtiQNyLFzFPopd8zRewT5xYBga6tbarqHbwXgxonL?cluster=mainnet-qn1
Pre resize account data:
post resize data