-
Notifications
You must be signed in to change notification settings - Fork 73
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
feat: Add account authority transfer wrapper #525
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
The IDL is currently broken -- it needs to be auto-generated and added in the correct instruction |
Signed-off-by: denton <denton24646@gmail.com>
e047890
to
e3e5b66
Compare
Signed-off-by: denton <denton24646@gmail.com>
Signed-off-by: denton <denton24646@gmail.com>
Signed-off-by: Denton X <dan@mrgn.group>
Signed-off-by: denton <denton24646@gmail.com>
Signed-off-by: denton <denton24646@gmail.com>
Signed-off-by: denton <denton24646@gmail.com>
Signed-off-by: Denton X <dan@mrgn.group>
Signed-off-by: denton <denton24646@gmail.com>
Signed-off-by: denton <denton24646@gmail.com>
Signed-off-by: denton <denton24646@gmail.com>
6f802ff
to
29c3872
Compare
"name": "oracleKeys", | ||
"type": { | ||
"array": ["publicKey", 5] | ||
} | ||
"name": "oracleKey", | ||
"type": "publicKey" |
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.
Is this ok or a breaking change? Not sure why the diff.
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.
Technically this is a breaking change, but one localized to an admin instruction, so only drawback would be to have to
- adapt any client making use of it (e.g. the squads UI which is anyway not ready on that side), and
- use a versioned approach to indexing past txs using this struct, which is a very minor use case
So it's fine
@@ -1306,7 +1533,7 @@ | |||
{ | |||
"name": "accountFlags", | |||
"docs": [ | |||
"The flas that indicates the state of the account.", | |||
"The flags that indicate the state of the account.", |
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.
I assume this is safe to change?
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.
docstring? yes
Adds the ability to create the new transfer account authority ix from the TS API.
See mrgnlabs/marginfi-v2#163 for more information on the implementation.
Signed-off-by: denton denton24646@gmail.com