-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Ensure that the spl-token 2 native mint account is owned by the spl-token 2 program #11966
Conversation
880818a
to
73d6df4
Compare
@ryoqun - I'd appreciate your careful eye here too. We want to ship this to 1.2 ASAP |
4f4d94e
to
2e82dd6
Compare
3ead8c6
to
d993400
Compare
Pull request has been modified.
f46b450
to
10b17ca
Compare
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.
lgtm with nits.
I also lightly tested this locally. there is no problem.
However, ci is failing...
Sorry, was trying to get this wrapped up before 🛏️. There's a number of tests that get angry about the new mint account that gets added automatically when in development operating mode. Flipping those tests to use the stable operating mode makes them happy again |
…oken 2 program. Workaround for solana-labs/solana-program-library#374 until spl-token 3 is shipped
Codecov Report
@@ Coverage Diff @@
## master #11966 +/- ##
=======================================
Coverage 82.1% 82.1%
=======================================
Files 333 333
Lines 78106 78175 +69
=======================================
+ Hits 64151 64237 +86
+ Misses 13955 13938 -17 |
@@ -3257,6 +3283,49 @@ impl Bank { | |||
self.set_compute_budget(compute_budget); | |||
} | |||
|
|||
fn reconfigure_token2_native_mint(self: &mut Bank) { |
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.
@Lichtso 👋
Workaround for solana-labs/solana-program-library#374 until spl-token 3 is shipped