-
Notifications
You must be signed in to change notification settings - Fork 52
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
[Tradeshield]: Design the Data Structures #799
Conversation
…into tradeshield-ds
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #799 +/- ##
==========================================
- Coverage 43.30% 42.72% -0.58%
==========================================
Files 652 667 +15
Lines 21658 22546 +888
==========================================
+ Hits 9378 9632 +254
- Misses 11154 11760 +606
- Partials 1126 1154 +28 |
Notes:
|
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.
LGTM
genesis.PendingSpotOrderList = k.GetAllPendingSpotOrder(ctx) | ||
genesis.PendingSpotOrderCount = k.GetPendingSpotOrderCount(ctx) | ||
genesis.PendingPerpetualOrderList = k.GetAllPendingPerpetualOrder(ctx) | ||
genesis.PendingPerpetualOrderCount = k.GetPendingPerpetualOrderCount(ctx) |
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.
@amityadav0 because the module store was already registered as part of v0.45 we might need a migrator function in order to initiate the module states in Testnet.
@amityadav0 added tradeshield module data to CI pipeline for localnet snapshot flow |
Description
Note: History for spot orders and perpetual orders is not stored in chain to save space, we only store pending orders on chain.
What has Changed?
What specific problem were you aiming to address, and how did you successfully resolve it? If tests were not uploaded for this pull request or if coverage decreased, please provide an explanation for the change.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeReviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking changeDeployment Notes
Are there any specific considerations to take into account when deploying these changes? This may include new dependencies, scripts that need to be executed, or any aspects that can only be evaluated in a deployed environment.
Screenshots and Videos
Please provide any relevant before and after screenshots by uploading them here. Additionally, demo videos can be highly beneficial in demonstrating the process.