Skip to content
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

bigz/market-initializer-improve #413

Merged
merged 17 commits into from
Apr 6, 2023
Merged

Conversation

0xbigz
Copy link
Member

@0xbigz 0xbigz commented Mar 30, 2023

No description provided.

@0xbigz 0xbigz added the program label Apr 4, 2023
programs/drift/src/instructions/admin.rs Outdated Show resolved Hide resolved
programs/drift/src/instructions/admin.rs Outdated Show resolved Hide resolved
)]
pub state: Box<Account<'info, State>>,
#[account(
init,
Copy link
Member

Choose a reason for hiding this comment

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

this will cause it to try to initialize the perp market account. we want to delete it. see how we do it for delete user

Copy link
Member Author

Choose a reason for hiding this comment

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

made another change, would appreciate if you gave more detail (cant tell by looking at delete_user exactly how the rent/closure happens)

@crispheaney crispheaney merged commit 51c8be0 into master Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants