Skip to content

Wrong return type for get_metadata_call_function methods. #195

@basfroman

Description

@basfroman

The next methods return type are wrong:

  • async_substrate_interface.sync_substrate.SubstrateInterface.get_metadata_call_function
  • async_substrate_interface.async_substrate.AsyncSubstrateInterface.get_metadata_call_function

These two methods should return scalecodec.types.GenericVariant type but not a Optional[list].
Linters are complains about types incompatibility.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions