substrate_metadata 1.5.0
substrate_metadata: ^1.5.0 copied to clipboard
A package able to provide metadata types, encode and decode storage entries, extrinsics, events, and constants for Substrate runtimes.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting substrate_metadata...
Discovering libraries...
Linking elements...
Precaching local docs for 754913 elements...
Initialized dartdoc with 1096 libraries
Generating docs for library types/metadata_types.dart from package:substrate_metadata/types/metadata_types.dart...
Generating docs for library substrate_metadata.dart from package:substrate_metadata/substrate_metadata.dart...
Generating docs for library exceptions/exceptions.dart from package:substrate_metadata/exceptions/exceptions.dart...
Generating docs for library definitions/types_bundle.dart from package:substrate_metadata/definitions/types_bundle.dart...
Generating docs for library definitions/substrate/substrate_types_bundle.dart from package:substrate_metadata/definitions/substrate/substrate_types_bundle.dart...
[15 more lines]
ERR:
warning: metadata_types has no library level documentation comments
from metadata_types: (file:///tmp/pana_XKBRYW/lib/types/metadata_types.dart:1:1)
warning: substrate_metadata has no library level documentation comments
from substrate_metadata: (file:///tmp/pana_XKBRYW/lib/substrate_metadata.dart:1:1)
warning: unresolved doc reference [bitvec::vec::BitVec
]
from scale_info.TypeDefBitSequence: (file:///tmp/pana_XKBRYW/lib/scale_info/scale_info.dart:624:7)
warning: unresolved doc reference [Compact
]
from scale_info.TypeDefCompact: (file:///tmp/pana_XKBRYW/lib/scale_info/scale_info.dart:361:7)
warning: metadata has no library level documentation comments
from metadata: (file:///tmp/pana_XKBRYW/lib/definitions/metadata/metadata.dart:1:1)
[34 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 71 issues. Showing the first 2:
INFO: The part-of directive uses a library name.
lib/definitions/metadata/base.dart:1:1
╷
1 │ ┌ /// (From Tag: @subsquid/substrate-metadata_v1.1.0)
2 │ │ ///
3 │ │ /// Referenced from: https://github.com/subsquid/squid/blob/%40subsquid/substrate-metadata_v1.1.0/substrate-metadata/src/old/definitions/metadata/base.ts
4 │ │
5 │ │ // ignore_for_file: constant_identifier_names
6 │ │
7 │ └ part of metadata;
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/definitions/metadata/base.dart
INFO: The part-of directive uses a library name.
lib/definitions/metadata/src.dart:1:1
╷
1 │ part of metadata;
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/definitions/metadata/src.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
cross_file |
^0.3.4+2 |
0.3.4+2 | 0.3.4+2 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
json_schema |
^5.2.1 |
5.2.1 | 5.2.1 | |
pointycastle |
^3.6.2 |
3.9.1 | 4.0.0 | |
polkadart |
^0.7.0 |
0.7.1 | 0.7.1 | |
polkadart_scale_codec |
^1.5.0 |
1.5.0 | 1.5.0 | |
utility |
^1.0.3 |
1.0.3 | 1.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base_x |
- | 2.0.1 | 2.0.1 | |
bip39_mnemonic |
- | 3.0.9 | 3.0.9 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
cryptography |
- | 2.7.0 | 2.7.0 | |
ed25519_edwards |
- | 0.3.1 | 0.3.1 | |
edwards25519 |
- | 1.0.5 | 1.0.5 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_curve25519 |
- | 0.1.2 | 0.1.2 | |
hashlib_codecs |
- | 2.6.0 | 3.0.1 | |
http |
- | 1.4.0 | 1.4.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
merlin |
- | 1.0.3 | 1.0.3 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
polkadart_keyring |
- | 0.7.0 | 0.7.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rfc_6901 |
- | 0.2.0 | 0.2.0 | |
ristretto255 |
- | 1.0.2 | 1.0.2 | |
secp256k1_ecdsa |
- | 0.6.1 | 0.6.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sr25519 |
- | 0.7.0 | 0.7.0 | |
ss58 |
- | 1.3.1 | 1.3.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
strobe |
- | 1.0.5 | 1.0.5 | |
substrate_bip39 |
- | 0.7.0 | 0.7.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.6 | 0.7.6 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.1+1 | 0.3.1+1 | |
uri |
- | 1.0.0 | 1.0.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
web_socket_client |
- | 0.2.1 | 0.2.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.6.2` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Dart 3.8.1
.
Check the analysis log for details.