From 228bd83ae766865b9a85a69df1211ce789382fa3 Mon Sep 17 00:00:00 2001 From: kansi Date: Fri, 1 Dec 2017 14:43:17 +0530 Subject: [PATCH] Upgrade py-abci --- bigchaindb/tendermint/core.py | 8 ++++++-- setup.py | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bigchaindb/tendermint/core.py b/bigchaindb/tendermint/core.py index c3692aa5..ea08dfdd 100644 --- a/bigchaindb/tendermint/core.py +++ b/bigchaindb/tendermint/core.py @@ -62,8 +62,12 @@ class App(BaseApplication): logger.debug('check_tx: INVALID') return Result.error() - def begin_block(self, block_hash, header): - """Initialize list of transaction.""" + def begin_block(self, req_begin_block): + """Initialize list of transaction. + Args: + req_begin_block: block object which contains block header + and block hash. + """ self.block_txn_ids = [] diff --git a/setup.py b/setup.py index 98bd8cf2..882b0915 100644 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ install_requires = [ 'aiohttp~=2.0', 'python-rapidjson-schema==0.1.1', 'statsd==3.2.1', - 'abci~=0.2.0', + 'abci~=0.3.0', ] setup(