Skip to content

Commit

Permalink
chore: restore fund12 times | NPG-000 (#714)
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
kukkok3 committed Sep 24, 2024
1 parent a87b904 commit d6f361f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- F13
-- F12
INSERT INTO event (
row_id,
name,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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",
Expand All @@ -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;

0 comments on commit d6f361f

Please sign in to comment.