-
Notifications
You must be signed in to change notification settings - Fork 90
Handle empty state_changes array in contract details #733
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
Conversation
Signed-off-by: lukelee-sl <[email protected]>
Nana-EC
left a comment
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 <[email protected]>
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 <[email protected]> add utility function for brevity and clarity Signed-off-by: lukelee-sl <[email protected]> remove unused import Signed-off-by: lukelee-sl <[email protected]>
92b8ac6 to
36a62fe
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
Nana-EC
left a comment
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 <[email protected]> * update errors to use predefined errors Signed-off-by: lukelee-sl <[email protected]> * remove redundant null check Signed-off-by: lukelee-sl <[email protected]> add utility function for brevity and clarity Signed-off-by: lukelee-sl <[email protected]> remove unused import Signed-off-by: lukelee-sl <[email protected]> Signed-off-by: lukelee-sl <[email protected]>
* Handle empty state_change array in contract details Signed-off-by: lukelee-sl <[email protected]> * update errors to use predefined errors Signed-off-by: lukelee-sl <[email protected]> * remove redundant null check Signed-off-by: lukelee-sl <[email protected]> add utility function for brevity and clarity Signed-off-by: lukelee-sl <[email protected]> remove unused import Signed-off-by: lukelee-sl <[email protected]> Signed-off-by: lukelee-sl <[email protected]> Signed-off-by: lukelee-sl <[email protected]>








Signed-off-by: lukelee-sl [email protected]
Handle the case when the state_changes field returned as an empty array.
Fixes #732