Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adds fund12 cont snapshot | NPG-000 #692

Merged
merged 4 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ jobs:
working-directory: "C:\\${{ github.event.repository.name }}"
run: choco install -y protoc openssl sqlite postgresql14

- uses: actions/upload-artifact@v4
with:
name: choco_logs
path: C:\ProgramData\chocolatey\logs\*
coire1 marked this conversation as resolved.
Show resolved Hide resolved

- name: Set PostgreSQL env variables
working-directory: "C:\\${{ github.event.repository.name }}"
shell: powershell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@ INSERT INTO event (
extra,
cast_to
) VALUES (
100,
'Fund 100',
'Catalyst Testnet - Fund 100',
'2024-01-15 21:45:00', -- Registration Snapshot Time
'2024-01-15 22:00:00', -- Snapshot Start.
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
NULL, -- Review Rewards
'2024-02-28 04:00:00', -- Start Time
'2023-12-30 18:00:00', -- End Time
'2024-02-28 04:00:00', -- Insight Sharing Start
'2024-02-28 04:00:00', -- Proposal Submission Start
'2024-02-28 04:00:00', -- Refine Proposals Start
'2024-02-28 04:00:00', -- Finalize Proposals Start
'2024-02-28 04:00:00', -- Proposal Assessment Start
'2024-02-28 04:00:00', -- Assessment QA Start
'2024-02-28 09:00:00', -- Voting Starts
'2024-03-13 13:00:00', -- Voting Ends
'2024-03-22 02:00:00', -- Tallying Ends
'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
NULL, -- Block 0 Data
NULL, -- Block 0 Hash
1, -- Committee Size
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Define F100 IdeaScale parameters.
INSERT INTO config (id, id2, id3, value) VALUES (
'ideascale,
'100',
'ideascale',
'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 F100 params for event with row_id = 100.
-- Use F12 params for event with row_id = 12.
INSERT INTO config (id, id2, id3, value) VALUES (
'event',
'ideascale_params',
'100',
'{"params_id": "F100"}'
'12',
'{"params_id": "F12"}'
) ON CONFLICT (id, id2, id3) DO UPDATE
SET value = EXCLUDED.value;
Loading