From d6f361f0c5a67d5dcc04654c3b158f56d6722a77 Mon Sep 17 00:00:00 2001 From: Stefano Cunego <93382903+kukkok3@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:58:20 +0200 Subject: [PATCH] chore: restore fund12 times | NPG-000 (#714) # Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. 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 --- ...und13_event.sql => 00001_fund12_event.sql} | 40 +++++++++---------- ...d13_params.sql => 00002_fund12_params.sql} | 16 ++++---- 2 files changed, 28 insertions(+), 28 deletions(-) rename src/event-db/stage_data/dev/{00001_fund13_event.sql => 00001_fund12_event.sql} (70%) rename src/event-db/stage_data/dev/{00002_fund13_params.sql => 00002_fund12_params.sql} (91%) diff --git a/src/event-db/stage_data/dev/00001_fund13_event.sql b/src/event-db/stage_data/dev/00001_fund12_event.sql similarity index 70% rename from src/event-db/stage_data/dev/00001_fund13_event.sql rename to src/event-db/stage_data/dev/00001_fund12_event.sql index d3022263aa..1b958c65af 100644 --- a/src/event-db/stage_data/dev/00001_fund13_event.sql +++ b/src/event-db/stage_data/dev/00001_fund12_event.sql @@ -1,4 +1,4 @@ --- F13 +-- F12 INSERT INTO event ( row_id, name, @@ -26,25 +26,25 @@ INSERT INTO event ( extra, cast_to ) VALUES ( - 13, - 'Fund 13', - 'Catalyst Testnet - Fund 13', - '2024-10-12 11:00:00', -- Registration Snapshot Time - '2024-10-12 11:15:00', -- Snapshot Start. - 2500000, -- Voting Power Threshold - 100, -- Max Voting Power PCT + 12, + 'Fund 12', + 'Catalyst Testnet - Fund 12', + '2024-05-12 11:00:00', -- Registration Snapshot Time + '2024-05-12 11:15:00', -- Snapshot Start. + 50000000, -- Voting Power Threshold + 1, -- Max Voting Power PCT NULL, -- Review Rewards - '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-12-20 10:00:00', -- Tallying Ends + '2024-05-02 15:00:00', -- Start Time + '2024-06-13 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-05-13 11:00:00', -- Voting Starts + '2024-05-17 10:00:00', -- Voting Ends + '2024-06-13 07:00:00', -- Tallying Ends NULL, -- Block 0 Data NULL, -- Block 0 Hash 1, -- Committee Size @@ -75,4 +75,4 @@ SET name = EXCLUDED.name, committee_size = EXCLUDED.committee_size, committee_threshold = EXCLUDED.committee_threshold, extra = EXCLUDED.extra, - cast_to = EXCLUDED.cast_to; + cast_to = EXCLUDED.cast_to; \ No newline at end of file diff --git a/src/event-db/stage_data/dev/00002_fund13_params.sql b/src/event-db/stage_data/dev/00002_fund12_params.sql similarity index 91% rename from src/event-db/stage_data/dev/00002_fund13_params.sql rename to src/event-db/stage_data/dev/00002_fund12_params.sql index 5a93f9133c..41e029843c 100644 --- a/src/event-db/stage_data/dev/00002_fund13_params.sql +++ b/src/event-db/stage_data/dev/00002_fund12_params.sql @@ -1,7 +1,7 @@ --- Define F13 IdeaScale parameters. +-- Define F100 IdeaScale parameters. INSERT INTO config (id, id2, id3, value) VALUES ( 'ideascale', - '13', + '12', '', '{ "group_id": 31051, @@ -17,14 +17,14 @@ INSERT INTO config (id, id2, id3, value) VALUES ( "proposals": { "field_mappings": { "proposer_url": ["relevant_link_1", "website__github_repository__or_any_other_relevant_link__", "relevant_link_3"], - "proposer_relevant_experience": "f11_project_team", + "proposer_relevant_experience": "f12_project_team", "public_key": "ada_payment_address__", - "funds": ["f11_requested_funds", "requested_funds_in_ada","requested_funds_coti"] + "funds": ["f12_requested_funds", "requested_funds_in_ada","requested_funds_coti"] }, "extra_field_mappings": { "metrics": "key_metrics_to_measure", "goal": "how_does_success_look_like_", - "solution": "f11_proposal_solution", + "solution": "f12_proposal_solution", "brief": "challenge_brief", "importance": "importance", "full_solution": "please_describe_your_proposed_solution", @@ -51,11 +51,11 @@ INSERT INTO config (id, id2, id3, value) VALUES ( ) ON CONFLICT (id, id2, id3) DO UPDATE SET value = EXCLUDED.value; --- Use F13 params for event with row_id = 13. +-- Use F12 params for event with row_id = 12. INSERT INTO config (id, id2, id3, value) VALUES ( 'event', 'ideascale_params', - '13', - '{"params_id": "F13"}' + '12', + '{"params_id": "F12"}' ) ON CONFLICT (id, id2, id3) DO UPDATE SET value = EXCLUDED.value;