Skip to content

Test fails with protobuf 4.24.4 #298

Description

@MementoRC

TestIndexerGrpcExplorerApi fails with protobuf=4.24.4 with:

============================================================================================================ short test summary info ============================================================================================================
FAILED tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py::TestIndexerGrpcExplorerApi::test_fetch_validators - TypeError: Can only compare repeated composite fields against other repeated composite fields.
FAILED tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py::TestIndexerGrpcExplorerApi::test_fetch_validator - TypeError: Can only compare repeated composite fields against other repeated composite fields.
FAILED tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py::TestIndexerGrpcExplorerApi::test_fetch_wasm_contract_by_address - TypeError: Can only compare repeated composite fields against other repeated composite fields.

A possible fix:

        assert sorted(result_wasm_contract) == sorted(expected_wasm_contract)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions