hyperledger-archives / iroha

Iroha - A simple, decentralized ledger
http://iroha.tech
Apache License 2.0
988 stars 298 forks source link

Replace TransportBuilder with ProtoBlocksQueryFactory in QueryService #2188

Closed igor-egorov closed 5 years ago

igor-egorov commented 5 years ago

Signed-off-by: Igor Egorov igor@soramitsu.co.jp

Description of the Change

Remove legacy code.

Benefits

A step towards bug resolution with maximum batch size.

Possible Drawbacks

Unknown

Usage Examples or Tests

query_service_test find_fuzzing torii_queries_test torii_service_query_test

igor-egorov commented 5 years ago

do we need honest validators in all these module tests?

Not sure. I left it as is because the main focus was not to break tests, which were already using the real instance of ProtoQueryFactory (just one more dependency was added - ProtoBlocksQueryFactory).