Skip to content

Commit

Permalink
feat: Update fund11 event db data | NPG-000 (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 committed Nov 2, 2023
1 parent ebd8943 commit cedc168
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 33 deletions.
2 changes: 1 addition & 1 deletion containers/event-db-migrations/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ publish:
COPY --dir ../../src/event-db+build/migrations ./migrations
IF [ "$data" = "historic" ]
COPY --dir ../../src/event-db+build/historic_data ./historic_data
COPY ../../src/event-db+build/stage_data ./stage_data
ELSE IF [ "$data" = "test" ]
COPY --dir ../../src/event-db+build/test_data ./test_data
END
COPY ../../src/event-db+build/refinery.toml .
COPY ../../src/event-db+build/stage_data ./stage_data

VOLUME /eventdb/tmp
COPY ./entry.sh .
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- F10
-- F11
INSERT INTO event (
row_id,
name,
Expand Down Expand Up @@ -26,25 +26,25 @@ INSERT INTO event (
extra,
cast_to
) VALUES (
0,
'Test Fund',
'Catalyst Dev Environment - Test Fund',
'1970-01-01 00:00:00', -- Registration Snapshot Time
'1970-01-01 00:00:00', -- Snapshot Start.
11,
'Fund 11',
'Catalyst Testnet - Fund 11',
'2023-11-01 21:00:00', -- Registration Snapshot Time
'2023-11-01 22:00:00', -- Snapshot Start.
450000000, -- Voting Power Threshold
1, -- Max Voting Power PCT
NULL, -- Review Rewards
'1970-01-01 00:00:00', -- Start Time
'1970-01-01 00:00:00', -- End Time
'1970-01-01 00:00:00', -- Insight Sharing Start
'1970-01-01 00:00:00', -- Proposal Submission Start
'1970-01-01 00:00:00', -- Refine Proposals Start
'1970-01-01 00:00:00', -- Finalize Proposals Start
'1970-01-01 00:00:00', -- Proposal Assessment Start
'1970-01-01 00:00:00', -- Assessment QA Start
'1970-01-01 00:00:00', -- Voting Starts
'1970-01-01 00:00:00', -- Voting Ends
'1970-01-01 00:00:00', -- Tallying Ends
'2023-06-16 19:56:00', -- Start Time
'2023-09-18 00:00:00', -- End Time
'2023-06-22 00:00:00', -- Insight Sharing Start
'2023-06-22 00:00:00', -- Proposal Submission Start
'2023-06-22 00:00:00', -- Refine Proposals Start
'2023-07-13 00:00:00', -- Finalize Proposals Start
'2023-07-20 00:00:00', -- Proposal Assessment Start
'2023-08-10 00:00:00', -- Assessment QA Start
'2023-11-02 11:00:00', -- Voting Starts
'2023-11-07 11:00:00', -- Voting Ends
'2023-11-18 11: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,20 +1,19 @@
-- Define F10 IdeaScale parameters.
-- Define F11 IdeaScale parameters.
INSERT INTO config (id, id2, id3, value) VALUES (
'ideascale',
'0',
'11',
'',
'{
"group_id": 37429,
"review_stage_ids": [171],
"nr_allocations": [1, 1],
"campaign_group_id": 88,
'{
"group_id": 31051,
"review_stage_ids": [143, 145],
"nr_allocations": [30, 80],
"campaign_group_id": 63,
"questions": {
"Question 1": "Impact / Alignment",
"Question 2": "Feasibility",
"Question 3": "Auditability"
"You are reviewing the positive IMPACT this project will have on the Cardano Ecosystem.\nHas this project clearly demonstrated in all aspects of the proposal that it will have a positive impact on the Cardano Ecosystem?": "Impact / Alignment",
"You are reviewing the FEASIBILITY of this project.\nIs this project feasible based on the proposal submitted? Does the plan and associated budget and milestones look achievable? Does the team have the skills, experience, capability and capacity to complete the project successfully?": "Feasibility",
"You are reviewing the VALUE FOR MONEY this represents for the Treasury and the Community\nIs the funding amount requested for this project reasonable and does it provide good Value for Money to the Treasury?": "Auditability"
},
"stage_ids": [4684, 4685, 4686],
"anonymize_start_id": 5000,
"stage_ids": [4590, 4596, 4602, 4608, 4614, 4620, 4626, 4632, 4638, 4644, 4650, 4656, 4662, 4591, 4597, 4603, 4609, 4615, 4621, 4627, 4633, 4639, 4645, 4651, 4657, 4663, 4592, 4598, 4604, 4610, 4616, 4622, 4628, 4634, 4640, 4646, 4652, 4658, 4664],
"proposals": {
"field_mappings": {
"proposer_url": ["relevant_link_1", "website__github_repository__or_any_other_relevant_link__", "relevant_link_3"],
Expand Down Expand Up @@ -51,10 +50,10 @@ INSERT INTO config (id, id2, id3, value) VALUES (
}'
);

-- Use F10 params for event with row_id = 10.
-- Use F11 params for event with row_id = 11.
INSERT INTO config (id, id2, id3, value) VALUES (
'event',
'ideascale_params',
'0',
'{"params_id": "TestFund"}'
'11',
'{"params_id": "F11"}'
);

0 comments on commit cedc168

Please sign in to comment.