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

my zoabi changes I needed to do for zod #5

Closed
wants to merge 1 commit into from
Closed

Conversation

panges2
Copy link

@panges2 panges2 commented Feb 23, 2022

changed cargo.toml, added more types that I used in types.rs and changed some stuff in lib.rs to have Account(mut). Note: to change cargo.toml edition back to 2021

…ged some stuff in lib.rs to have Account(mut). Note: to change cargo.toml edition back to 2021
@@ -303,6 +306,7 @@ struct Deposit<'info> {
pub state_signer: AccountInfo<'info>,
#[account(mut)]
pub cache: AccountInfo<'info>,
#[account(mut)]
pub authority: Signer<'info>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this one needs to be mut? Shouldn't a payer be added instead?

@@ -323,6 +327,7 @@ struct Withdraw<'info> {
pub state_signer: AccountInfo<'info>,
#[account(mut)]
pub cache: AccountInfo<'info>,
#[account(mut)]
Copy link
Contributor

Choose a reason for hiding this comment

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

same

@cherryman cherryman closed this Jul 15, 2022
@cherryman cherryman deleted the phils-changes branch July 15, 2022 16:41
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.

None yet

3 participants