-
Notifications
You must be signed in to change notification settings - Fork 75
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
Handle empty state_changes array in contract details #733
Conversation
Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
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.
LG, offered a simplification
Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
Codecov ReportBase: 71.08% // Head: 71.21% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #733 +/- ##
==========================================
+ Coverage 71.08% 71.21% +0.13%
==========================================
Files 16 16
Lines 1207 1209 +2
Branches 219 220 +1
==========================================
+ Hits 858 861 +3
+ Misses 287 286 -1
Partials 62 62
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
LGTM |
Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> add utility function for brevity and clarity Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> remove unused import Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
92b8ac6
to
36a62fe
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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
* Handle empty state_change array in contract details Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> * update errors to use predefined errors Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> * remove redundant null check Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> add utility function for brevity and clarity Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> remove unused import Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
* Handle empty state_change array in contract details Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> * update errors to use predefined errors Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> * remove redundant null check Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> add utility function for brevity and clarity Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> remove unused import Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com> Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
Signed-off-by: lukelee-sl luke.lee@swirldslabs.com
Handle the case when the state_changes field returned as an empty array.
Fixes #732