Closed justkawal closed 2 months ago
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪ |
🧪 No relevant tests |
🔒 No security concerns identified |
⚡ No key issues to review |
Category | Suggestion | Score |
Possible bug |
Ensure
___
**Ensure that the | 9 |
Attention: Patch coverage is 50.00000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 48.47%. Comparing base (
c3d0122
) to head (3de2db0
). Report is 4 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
packages/substrate_metadata/lib/utils/to_json.dart | 50.00% | 1 Missing :warning: |
User description
Fixes issue with toJson method.
PR Type
Bug fix
Description
BitArray
type in the_encodeJson
function.BitArray
objects are correctly converted to JSON using theirtoJson
method.Changes walkthrough 📝
to_json.dart
Add BitArray handling in JSON encoding function
packages/substrate_metadata/lib/utils/to_json.dart
BitArray
type in_encodeJson
function.BitArray
to JSON usingtoJson
method.