From 9457f0c3e5d4e9448d4920602e0e72920bdca7b5 Mon Sep 17 00:00:00 2001 From: Charles Dusek Date: Thu, 13 Jun 2024 19:43:48 +0000 Subject: [PATCH] Add sqrt prod over drops error --- x/market/types/errors.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x/market/types/errors.go b/x/market/types/errors.go index d46da63..97b43b8 100644 --- a/x/market/types/errors.go +++ b/x/market/types/errors.go @@ -64,4 +64,6 @@ var ( ErrOrderFilled = sdkerrors.Register(ModuleName, 27, "order already filled") // nolint: gomnd // ErrProductLessThanExpected - product is less than expected ErrProductLessThanExpected = sdkerrors.Register(ModuleName, 28, "product less than expected") // nolint: gomnd + // ErrSqrtProdDropRatio - sqrt product over drops ratio inconsistency + ErrSqrtProdDropRatio = sdkerrors.Register(ModuleName, 29, "sqrt prod over drop less than expected") // nolint: gomnd )