From b6b31741622b732a47a7a4df858160f87a8c69f9 Mon Sep 17 00:00:00 2001 From: skrrb Date: Mon, 12 Feb 2024 11:27:39 +0100 Subject: [PATCH] fuzz: place_order_pegged handle OpenOrdersFull err --- programs/openbook-v2/fuzz/fuzz_targets/multiple_orders.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/openbook-v2/fuzz/fuzz_targets/multiple_orders.rs b/programs/openbook-v2/fuzz/fuzz_targets/multiple_orders.rs index 1e579161e..94cd4e7b8 100644 --- a/programs/openbook-v2/fuzz/fuzz_targets/multiple_orders.rs +++ b/programs/openbook-v2/fuzz/fuzz_targets/multiple_orders.rs @@ -495,6 +495,7 @@ mod error_parser { e if e == OpenBookError::InvalidOrderPostMarket.into() => Corpus::Keep, e if e == OpenBookError::InvalidPostAmount.into() => Corpus::Keep, e if e == OpenBookError::InvalidPriceLots.into() => Corpus::Keep, + e if e == OpenBookError::OpenOrdersFull.into() => Corpus::Keep, e if e == OpenBookError::OraclePegInvalidOracleState.into() => Corpus::Keep, e if e == OpenBookError::WouldSelfTrade.into() => Corpus::Keep, e if e == TokenError::InsufficientFunds.into() => Corpus::Keep,