Fix program tests after cherry-picks

This commit is contained in:
Christian Kamm 2023-12-07 13:23:18 +01:00
parent 509afb01b6
commit d6f46bec70
4 changed files with 0 additions and 6 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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()
@ -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()
@ -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()

View File

@ -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()