From a87b90426f9594be68728848ca9831d04af15d2b Mon Sep 17 00:00:00 2001 From: Stefano Cunego <93382903+kukkok3@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:01:00 +0200 Subject: [PATCH] chore: Updates fund13 dev dates | NPG-000 (#713) # Description Adds fund13 to dev cont snapshot Fixes # (issue) _if applicable_ ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update ## How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [ ] Test A - [ ] Test B **Test Configuration**: _if applicable_ - Firmware version: - Hardware: - Toolchain: - SDK: **List of new dependencies**: _if applicable_ Provide a list of newly added dependencies in this PR, with the description of what are they doing and why do we need them. - Crate A: description - Crate B: description ## Checklist - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --- ...und12_event.sql => 00001_fund13_event.sql} | 28 +++++++++---------- ...d12_params.sql => 00002_fund13_params.sql} | 10 +++---- 2 files changed, 19 insertions(+), 19 deletions(-) rename src/event-db/stage_data/dev/{00001_fund12_event.sql => 00001_fund13_event.sql} (80%) rename src/event-db/stage_data/dev/{00002_fund12_params.sql => 00002_fund13_params.sql} (96%) diff --git a/src/event-db/stage_data/dev/00001_fund12_event.sql b/src/event-db/stage_data/dev/00001_fund13_event.sql similarity index 80% rename from src/event-db/stage_data/dev/00001_fund12_event.sql rename to src/event-db/stage_data/dev/00001_fund13_event.sql index 69eda8dddc..d3022263aa 100644 --- a/src/event-db/stage_data/dev/00001_fund12_event.sql +++ b/src/event-db/stage_data/dev/00001_fund13_event.sql @@ -1,4 +1,4 @@ --- F12 +-- F13 INSERT INTO event ( row_id, name, @@ -26,25 +26,25 @@ INSERT INTO event ( extra, cast_to ) VALUES ( - 12, - 'Fund 12', - 'Catalyst Testnet - Fund 12', + 13, + 'Fund 13', + 'Catalyst Testnet - Fund 13', '2024-10-12 11:00:00', -- Registration Snapshot Time '2024-10-12 11:15:00', -- Snapshot Start. - 50000000, -- Voting Power Threshold + 2500000, -- Voting Power Threshold 100, -- Max Voting Power PCT NULL, -- Review Rewards - '2024-05-02 15:00:00', -- Start Time - '2024-10-14 07:00:00', -- End Time - '2024-04-17 11:00:00', -- Insight Sharing Start - '2024-04-17 11:00:00', -- Proposal Submission Start - '2024-04-17 11:00:00', -- Refine Proposals Start - '2024-04-17 11:00:00', -- Finalize Proposals Start - '2024-04-17 11:00:00', -- Proposal Assessment Start - '2024-04-17 11:00:00', -- Assessment QA Start + '2024-09-20 10:00:00', -- Start Time + '2024-12-20 10:00:00', -- End Time + '2024-09-20 11:00:00', -- Insight Sharing Start + '2024-09-20 11:00:00', -- Proposal Submission Start + '2024-09-20 11:00:00', -- Refine Proposals Start + '2024-09-20 11:00:00', -- Finalize Proposals Start + '2024-09-20 11:00:00', -- Proposal Assessment Start + '2024-09-20 11:00:00', -- Assessment QA Start '2024-10-13 11:00:00', -- Voting Starts '2024-10-13 20:00:00', -- Voting Ends - '2024-10-14 07:00:00', -- Tallying Ends + '2024-12-20 10:00:00', -- Tallying Ends NULL, -- Block 0 Data NULL, -- Block 0 Hash 1, -- Committee Size diff --git a/src/event-db/stage_data/dev/00002_fund12_params.sql b/src/event-db/stage_data/dev/00002_fund13_params.sql similarity index 96% rename from src/event-db/stage_data/dev/00002_fund12_params.sql rename to src/event-db/stage_data/dev/00002_fund13_params.sql index afc2372f3a..5a93f9133c 100644 --- a/src/event-db/stage_data/dev/00002_fund12_params.sql +++ b/src/event-db/stage_data/dev/00002_fund13_params.sql @@ -1,7 +1,7 @@ --- Define F12 IdeaScale parameters. +-- Define F13 IdeaScale parameters. INSERT INTO config (id, id2, id3, value) VALUES ( 'ideascale', - '12', + '13', '', '{ "group_id": 31051, @@ -51,11 +51,11 @@ INSERT INTO config (id, id2, id3, value) VALUES ( ) ON CONFLICT (id, id2, id3) DO UPDATE SET value = EXCLUDED.value; --- Use F12 params for event with row_id = 12. +-- Use F13 params for event with row_id = 13. INSERT INTO config (id, id2, id3, value) VALUES ( 'event', 'ideascale_params', - '12', - '{"params_id": "F12"}' + '13', + '{"params_id": "F13"}' ) ON CONFLICT (id, id2, id3) DO UPDATE SET value = EXCLUDED.value;