-
Notifications
You must be signed in to change notification settings - Fork 18
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
Hotfix add matching funds as donations #1190
Conversation
"matchingFundPriceUsd" = 1, | ||
"matchingFundCurrency" = 'WXDAI' | ||
WHERE | ||
id = 2 AND "matchingFund" IS NOT NULL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we hard coding the id to 2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have some qf rounds already in our DB and they have qfRoundHistory items in DB, they dont have new fields, so I had to put their ids hard coded here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/services/donationService.ts
Outdated
|
||
const matchingFundFromAddress = | ||
(process.env.MATCHING_FUND_DONATIONS_FROM_ADDRESS as string) || | ||
'0x6e8873085530406995170Da467010565968C7C62'; // Address behind donation.eth ENS address; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets take this as a constant value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a comment. Once resolved we are good to merge
Related to #1186