From 479ff701ec76393d3f746fddf4130c2f14a8b665 Mon Sep 17 00:00:00 2001 From: Stefano Cunego <93382903+kukkok3@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:05:01 +0200 Subject: [PATCH] feat: adds fund13 prod cont snap (#715) # 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 --- ...und12_event.sql => 00001_fund13_event.sql} | 38 +++++++++---------- ...d12_params.sql => 00002_fund13_params.sql} | 16 ++++---- 2 files changed, 27 insertions(+), 27 deletions(-) rename src/event-db/stage_data/prod/{00001_fund12_event.sql => 00001_fund13_event.sql} (71%) rename src/event-db/stage_data/prod/{00002_fund12_params.sql => 00002_fund13_params.sql} (91%) diff --git a/src/event-db/stage_data/prod/00001_fund12_event.sql b/src/event-db/stage_data/prod/00001_fund13_event.sql similarity index 71% rename from src/event-db/stage_data/prod/00001_fund12_event.sql rename to src/event-db/stage_data/prod/00001_fund13_event.sql index c2dc9d45a2..a805c3096c 100644 --- a/src/event-db/stage_data/prod/00001_fund12_event.sql +++ b/src/event-db/stage_data/prod/00001_fund13_event.sql @@ -1,4 +1,4 @@ --- F100 +-- F13 INSERT INTO event ( row_id, name, @@ -26,25 +26,25 @@ INSERT INTO event ( extra, cast_to ) VALUES ( - 12, - 'Fund 12', - 'Catalyst - Fund 12', - '2024-06-18 21:45:00', -- Registration Snapshot Time - '2024-06-18 22:00:00', -- Snapshot Start. - 50000000, -- Voting Power Threshold - 1, -- Max Voting Power PCT + 13, + 'Fund 13', + 'Catalyst - Fund 13', + '2024-11-20 21:45:00', -- Registration Snapshot Time + '2024-11-20 22:00:00', -- Snapshot Start. + 25000000, -- Voting Power Threshold + 100, -- Max Voting Power PCT NULL, -- Review Rewards - '2024-04-17 11:00:00', -- Start Time - '2024-07-24 09: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-06-27 12:00:00', -- Voting Starts - '2024-07-11 11:00:00', -- Voting Ends - '2024-07-24 09:00:00', -- Tallying Ends + '2024-10-01 09:00:00', -- Start Time + '2024-12-25 19:00:00', -- End Time + '2024-10-01 09:00:00', -- Insight Sharing Start + '2024-10-01 09:00:00', -- Proposal Submission Start + '2024-10-01 09:00:00', -- Refine Proposals Start + '2024-10-01 09:00:00', -- Finalize Proposals Start + '2024-10-01 09:00:00', -- Proposal Assessment Start + '2024-10-01 09:00:00', -- Assessment QA Start + '2024-11-28 12:00:00', -- Voting Starts + '2024-12-12 11:00:00', -- Voting Ends + '2024-12-25 19:00:00', -- Tallying Ends NULL, -- Block 0 Data NULL, -- Block 0 Hash 1, -- Committee Size diff --git a/src/event-db/stage_data/prod/00002_fund12_params.sql b/src/event-db/stage_data/prod/00002_fund13_params.sql similarity index 91% rename from src/event-db/stage_data/prod/00002_fund12_params.sql rename to src/event-db/stage_data/prod/00002_fund13_params.sql index 41e029843c..e168dc96ba 100644 --- a/src/event-db/stage_data/prod/00002_fund12_params.sql +++ b/src/event-db/stage_data/prod/00002_fund13_params.sql @@ -1,7 +1,7 @@ --- Define F100 IdeaScale parameters. +-- Define F113 IdeaScale parameters. INSERT INTO config (id, id2, id3, value) VALUES ( 'ideascale', - '12', + '13', '', '{ "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": "f12_project_team", + "proposer_relevant_experience": "f13_project_team", "public_key": "ada_payment_address__", - "funds": ["f12_requested_funds", "requested_funds_in_ada","requested_funds_coti"] + "funds": ["f13_requested_funds", "requested_funds_in_ada","requested_funds_coti"] }, "extra_field_mappings": { "metrics": "key_metrics_to_measure", "goal": "how_does_success_look_like_", - "solution": "f12_proposal_solution", + "solution": "f13_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 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;