mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
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:
parent
63bd698b21
commit
3542d01893
@ -343,7 +343,7 @@ def tri_state_transaction(request):
|
|||||||
'uri': 'ni:///sha-256;49C5UWNODwtcINxLgLc90bMCFqCymFYONGEmV4a0sG4?fpt=ed25519-sha-256&cost=131072'},
|
'uri': 'ni:///sha-256;49C5UWNODwtcINxLgLc90bMCFqCymFYONGEmV4a0sG4?fpt=ed25519-sha-256&cost=131072'},
|
||||||
'public_keys': ['JEAkEJqLbbgDRAtMm8YAjGp759Aq2qTn9eaEHUj2XePE']
|
'public_keys': ['JEAkEJqLbbgDRAtMm8YAjGp759Aq2qTn9eaEHUj2XePE']
|
||||||
}],
|
}],
|
||||||
'version': '1.0'
|
'version': '2.0'
|
||||||
}
|
}
|
||||||
tx['id'] = request.param['id']
|
tx['id'] = request.param['id']
|
||||||
tx['inputs'][0]['fulfillment'] = request.param['fulfillment']
|
tx['inputs'][0]['fulfillment'] = request.param['fulfillment']
|
||||||
|
@ -8,6 +8,8 @@ from base58 import b58encode, b58decode
|
|||||||
from pytest import mark, raises
|
from pytest import mark, raises
|
||||||
from sha3 import sha3_256
|
from sha3 import sha3_256
|
||||||
|
|
||||||
|
pytestmark = mark.tendermint
|
||||||
|
|
||||||
|
|
||||||
def test_input_serialization(ffill_uri, user_pub):
|
def test_input_serialization(ffill_uri, user_pub):
|
||||||
from bigchaindb.common.transaction import Input
|
from bigchaindb.common.transaction import Input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user