Update tx version (#2054)

* Problem: common/test_transaction.py is excluded

Solution: add marker to file

* Problem: fixture tx version is outdated

Solution: update the version
This commit is contained in:
Sylvain Bellemare 2018-02-15 16:19:13 +01:00 committed by vrde
parent 63bd698b21
commit 3542d01893
2 changed files with 3 additions and 1 deletions

View File

@ -343,7 +343,7 @@ def tri_state_transaction(request):
'uri': 'ni:///sha-256;49C5UWNODwtcINxLgLc90bMCFqCymFYONGEmV4a0sG4?fpt=ed25519-sha-256&cost=131072'},
'public_keys': ['JEAkEJqLbbgDRAtMm8YAjGp759Aq2qTn9eaEHUj2XePE']
}],
'version': '1.0'
'version': '2.0'
}
tx['id'] = request.param['id']
tx['inputs'][0]['fulfillment'] = request.param['fulfillment']

View File

@ -8,6 +8,8 @@ from base58 import b58encode, b58decode
from pytest import mark, raises
from sha3 import sha3_256
pytestmark = mark.tendermint
def test_input_serialization(ffill_uri, user_pub):
from bigchaindb.common.transaction import Input