From f799eaf829c2cb090598b53f3c5db1128c457dd1 Mon Sep 17 00:00:00 2001 From: Jiajia-Cui Date: Tue, 26 Mar 2024 12:50:50 +0000 Subject: [PATCH] feat: update validation on market and position decimals --- protocol/0070-MKTD-market-decimal-places.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/0070-MKTD-market-decimal-places.md b/protocol/0070-MKTD-market-decimal-places.md index 4e1c9e5f6..e39f918ca 100644 --- a/protocol/0070-MKTD-market-decimal-places.md +++ b/protocol/0070-MKTD-market-decimal-places.md @@ -70,8 +70,8 @@ Trades of course result in transfers. The amounts transferred (for the trade as ## Acceptance criteria - As a user, I can propose a market with a different precision than its settlement asset - - This proposal is valid if the precision is NOT greater than the settlement asset (0070-MKTD-001). For product spot: (0070-MKTD-016) - - This proposal is NOT valid if the precision is greater than the settlement asset (0070-MKTD-002). For product spot: (0070-MKTD-009) + - This proposal is valid if the precision is NOT greater than the settlement asset precision - position precision (0070-MKTD-021). For product spot: (0070-MKTD-022) + - This proposal is NOT valid if the precision is greater than the settlement asset precision - position precision (0070-MKTD-023). For product spot: (0070-MKTD-024) - Assert that the settlement calculation can be correctly calculated when: - settlement data precision is > than the settlement asset precision (i.e. settlement data has more precision (decimal places) than the settlement asset and precision will be lost) (0070-MKTD-018) - settlement data precision is < than the settlement asset precision (i.e. settlement data has less precision (decimal places) than the settlement asset and no precision will be lost) (0070-MKTD-019)