Skip to content

Commit

Permalink
Fix program tests after cherry-picks
Browse files Browse the repository at this point in the history
  • Loading branch information
ckamm committed Dec 7, 2023
1 parent 509afb0 commit d6f46be
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion programs/mango-v4/tests/cases/test_basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,6 @@ async fn test_bank_deposit_limit() -> Result<(), TransportError> {
group,
admin,
mint: mints[0].pubkey,
fallback_oracle: Pubkey::default(),
options: mango_v4::instruction::TokenEdit {
deposit_limit_opt: Some(2000),
..token_edit_instruction_default()
Expand Down
1 change: 0 additions & 1 deletion programs/mango-v4/tests/cases/test_margin_trade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,6 @@ async fn test_margin_trade_deposit_limit() -> Result<(), BanksClientError> {
group,
admin,
mint: tokens[0].mint.pubkey,
fallback_oracle: Pubkey::default(),
options: mango_v4::instruction::TokenEdit {
deposit_limit_opt: Some(1000),
..token_edit_instruction_default()
Expand Down
3 changes: 0 additions & 3 deletions programs/mango-v4/tests/cases/test_serum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,6 @@ async fn test_serum_deposit_limits() -> Result<(), TransportError> {
group: group_with_tokens.group,
admin: group_with_tokens.admin,
mint: base_token.mint.pubkey,
fallback_oracle: Pubkey::default(),
options: mango_v4::instruction::TokenEdit {
deposit_limit_opt: Some(13000),
..token_edit_instruction_default()
Expand Down Expand Up @@ -1650,7 +1649,6 @@ async fn test_serum_deposit_limits() -> Result<(), TransportError> {
group: group_with_tokens.group,
admin: group_with_tokens.admin,
mint: base_token.mint.pubkey,
fallback_oracle: Pubkey::default(),
options: mango_v4::instruction::TokenEdit {
deposit_limit_opt: Some(0),
..token_edit_instruction_default()
Expand All @@ -1665,7 +1663,6 @@ async fn test_serum_deposit_limits() -> Result<(), TransportError> {
group: group_with_tokens.group,
admin: group_with_tokens.admin,
mint: quote_token.mint.pubkey,
fallback_oracle: Pubkey::default(),
options: mango_v4::instruction::TokenEdit {
deposit_limit_opt: Some(13000),
..token_edit_instruction_default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,6 @@ async fn test_token_conditional_swap_deposit_limit() -> Result<(), TransportErro
group,
admin,
mint: base_token.mint.pubkey,
fallback_oracle: Pubkey::default(),
options: mango_v4::instruction::TokenEdit {
deposit_limit_opt: Some(2500),
..token_edit_instruction_default()
Expand Down

0 comments on commit d6f46be

Please sign in to comment.