From 812b2ba153e15dc63fbf69b2fbacac6c90f2eb8d Mon Sep 17 00:00:00 2001 From: spannercode Date: Wed, 28 Aug 2024 09:22:24 +0200 Subject: [PATCH] Update Proposal to include cc, pool and dRep votes --- tests/govtool-backend/models/TestData.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/govtool-backend/models/TestData.py b/tests/govtool-backend/models/TestData.py index cf24c5532..e4eb7e3ec 100644 --- a/tests/govtool-backend/models/TestData.py +++ b/tests/govtool-backend/models/TestData.py @@ -29,13 +29,15 @@ class Proposal(TypedDict): abstract: Optional[str] motivation: Optional[str] rationale: Optional[str] - metadata: Optional[dict] - references: Optional[list] - yesVotes: int - noVotes: int - abstainVotes: int - metadataStatus: str - metadataValid: bool + dRepYesVotes: int + dRepNoVotes: int + dRepAbstainVotes: int + ccYesVotes: int + ccNoVotes: int + ccAbstainVotes: int + poolYesVotes: int + poolNoVotes: int + poolAbstainVotes: int class Drep(TypedDict):