Skip to content

Commit

Permalink
Attempt fix fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
jgur-psyops committed Aug 28, 2024
1 parent 59eec2f commit 2ba05f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions clients/rust/marginfi-cli/src/entrypoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ pub enum Command {
},
}

#[allow(clippy::large_enum_variant)]
#[derive(Debug, Parser)]
pub enum GroupCommand {
Get {
Expand Down
4 changes: 2 additions & 2 deletions programs/marginfi/fuzz/src/account_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ impl AccountsState {
self.bump.alloc(fee_state_key),
false,
true,
self.bump.alloc(0),
&mut [],
self.bump.alloc(9999999),
self.allocate_dex_owned_account(256 +8),
self.bump.alloc(program_id),
false,
Epoch::default(),
Expand Down
2 changes: 1 addition & 1 deletion programs/marginfi/fuzz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl<'state> MarginfiFuzzContext<'state> {
fee_vault_authority.key,
bank.key,
);
let (fee_state_key, fee_state_bump) =
let (_fee_state_key, fee_state_bump) =
Pubkey::find_program_address(&[FEE_STATE_SEED.as_bytes()], &marginfi::id());

let oracle = state.new_oracle_account(
Expand Down

0 comments on commit 2ba05f2

Please sign in to comment.