added types_pb2 proxy to abci module, thereby avoiding the ugly github.com imports

Signed-off-by: Juergen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Juergen Eckel 2019-10-05 01:18:51 +02:00
parent afc9fc7fea
commit e1b6c4b7b7
7 changed files with 7 additions and 8 deletions

View File

@ -9,7 +9,7 @@ import logging
import sys
from abci.application import BaseApplication
from github.com.tendermint.tendermint.abci.types.types_pb2 import (
from abci import (
ResponseInitChain,
ResponseInfo,
ResponseCheckTx,

View File

@ -5,7 +5,7 @@
import multiprocessing as mp
from collections import defaultdict
from github.com.tendermint.tendermint.abci.types.types_pb2 import ResponseCheckTx, ResponseDeliverTx
from abci import ResponseCheckTx, ResponseDeliverTx
from bigchaindb import BigchainDB, App
from bigchaindb.tendermint_utils import decode_transaction

View File

@ -2,8 +2,7 @@ import codecs
import base64
import binascii
from github.com.tendermint.tendermint.abci.types.types_pb2 import (ValidatorUpdate,
PubKey)
from abci import (ValidatorUpdate, PubKey)
from bigchaindb.common.exceptions import InvalidPublicKey

View File

@ -85,7 +85,7 @@ install_requires = [
'jsonschema~=2.5.1',
'pyyaml>=4.2b1',
'aiohttp~=3.0',
'bigchaindb-abci==0.7.0',
'bigchaindb-abci==0.7.1',
'setproctitle~=1.1.0',
'packaging~=18.0',
]

View File

@ -5,7 +5,7 @@
import pytest
import codecs
import github.com.tendermint.tendermint.abci.types.types_pb2 as types
import abci as types
@pytest.fixture

View File

@ -6,7 +6,7 @@ import json
import pytest
import random
from github.com.tendermint.tendermint.abci.types.types_pb2 import (
from abci import (
PubKey,
ResponseInitChain,
RequestInitChain,

View File

@ -4,7 +4,7 @@
import codecs
import github.com.tendermint.tendermint.abci.types.types_pb2 as types
import abci as types
import json
import pytest