From ca9c83e84bfd90a3cc10f85ecb089b8d816a6ebd Mon Sep 17 00:00:00 2001 From: Eric Bolten Date: Mon, 21 Aug 2023 15:52:04 -0500 Subject: [PATCH] comment on v2.0 allowed positions --- steward/src/cellars.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/steward/src/cellars.rs b/steward/src/cellars.rs index 66bd0c30..a6b449a5 100644 --- a/steward/src/cellars.rs +++ b/steward/src/cellars.rs @@ -22,6 +22,8 @@ pub const ALLOWED_V2_0_SETUP_ADAPTORS: [(&str, &str); 1] = [(CELLAR_RYUSD, ADAPT pub const ALLOWED_V2_2_CATALOGUE_ADAPTORS: [(&str, &str); 0] = []; pub const ALLOWED_V2_5_CATALOGUE_ADAPTORS: [(&str, &str); 0] = []; +// due to position size limits in v2.0, positions must be added and removed from the limited list +// and thus approved positions need to be allowed to be re-added, hence this large list pub const ALLOWED_V2_0_POSITIONS: [(&str, u32); 20] = [ (CELLAR_RYUSD, 1), (CELLAR_RYUSD, 2),