Conversation
* Improving evaluation cron job * Refactor project evaluation query to aggregate category data and improve balance checking logic * improve comment :) * Enhance project evaluation logic by adding cause address to query and updating balance check to use cause address instead of project address * Remove project address from project evaluation query to streamline data retrieval and focus on cause address. * Add project address creation and deletion in project evaluation tests --------- Co-authored-by: ali <aliebrahimi2079@gmail.com>
- Updated donation resolver to include swap transaction data in the donation fetch query. - Enhanced GraphQL query to retrieve swap transaction details such as token symbols, amounts, and transaction hashes. - Added a test case to verify the correct retrieval of swap transaction data associated with donations.
…vers - Updated the handling of fromTokenAmount to ensure it is only converted to a number if it is defined and not null, improving robustness in donation creation. - Applied the same change in both donationResolver and draftDonationResolver for consistency.
…kip unevaluated causes (#2100) - Added tests to ensure projects with a causeScore of 0 are included in eligible projects. - Implemented logic in `runCauseDistributionJob` to skip distribution for causes that have not been evaluated (all projects have causeScore of 0). - Enhanced logging for skipped distributions.
- Updated the test case for donations with swap information to include cleanup logic, ensuring that created entities are removed after the test execution to prevent data pollution.
…tails Fix issues on swap data and donation details
Adding function for title edit validation adn fixing fromTokenAmount …
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please merge it after #2101