mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
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:
parent
afc9fc7fea
commit
e1b6c4b7b7
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
2
setup.py
2
setup.py
@ -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',
|
||||
]
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user