-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Smart Contract listing endpoints and GraphQl duration metrics (#97)
* Made entities and import flow * Added test to aggregate which validates events are stored * Added test for other read cases * Added smart contract entity * Added Smart Contract Aggregate to Startup * Added import job * Finished repository test * Fixed aggregate test * Added data source * Added awaits on jobs on node import * Added contract version to contract initialize and update events * Added tests which validates uniqueness contrains * Remove todos and added simple resilience in import loop * Fixed dependency injection issue * Fix issues when testing job * Small updates * Updated changelog * Moved classes to own files * Added logic to Smart Contract Repository which can fetch batch * Made batch import instead of processing single rows * Clean up unused code * Fix limit on smart contract database job * Remove unnecessary batch * Added duration- and height metrics * Added health states to application * Fixed health output * Adding temp CI * Updating change log * Remove some debugging and added nugets * Fix test * Refactor * Clean up after merge * Added smart contract paging query * Added metrics to graphql endpoints * Updated changelog * Added contract address to Smart Contract query * Updated naming from Smart Contract to Contract * Renamed test and tables * Fix naming conflicts * Resolve conflicts after merge * Updated with add and remove link entities * Fixed off by one error * Update Program.cs * Using activity and better exception handling in diagnostic handler * Enable rewind of request body * Added tracing to logs * Updated log formats * remove extra from console * Corrected naming * Made repository for contract jobs * Migrated to options for feature flags * Moved interfaces to same file as classes where only one implementation is expected. * Changed to date time offset * Added warnings not to change job identifier * Update range function with comments * Follow standards from EF regarding CS8618 compiler warning for C# 10 https://learn.microsoft.com/en-us/ef/core/miscellaneous/nullable-reference-types#non-nullable-properties-and-initialization * Refactored Contract Aggregate Node Import job to be more readable * Resolve comments after merge * Resolve issues after merge * Resolve issues after merge * Resolve comments * Minor refactoring after final review * Updates after merge * Fix exceptions handling in diagnostics * Fix missing events when money CCD was transferred between account * Remove unused exception * Added block slot time to all events * Updated graphql schema
- Loading branch information
Søren Schwartz
authored
Sep 11, 2023
1 parent
af21113
commit 4150a04
Showing
38 changed files
with
902 additions
and
150 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -447,3 +447,5 @@ $RECYCLE.BIN/ | |
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
|
||
/Logs |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.