enforced using a newer planetmint-transactions package and adjusted to a renaming of the variable

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2023-05-24 21:29:59 +02:00
parent 4c55f576b9
commit ef87fa9ae9
No known key found for this signature in database
3 changed files with 7 additions and 7 deletions

View File

@ -97,7 +97,7 @@ class TransactionListApi(Resource):
500, "Invalid transaction ({}): {} : {}".format(type(e).__name__, e, tx), level="error"
)
else:
if tx_obj.version != Transaction.VERSION:
if tx_obj.version != Transaction.__VERSION__:
return make_error(
401,
"Invalid transaction version: The transaction is valid, \

10
poetry.lock generated
View File

@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry and should not be changed by hand.
# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand.
[[package]]
name = "aafigure"
@ -1870,14 +1870,14 @@ sha3 = ["pysha3"]
[[package]]
name = "planetmint-transactions"
version = "0.8.0"
version = "0.8.1"
description = "Python implementation of the planetmint transactions spec"
category = "main"
optional = false
python-versions = ">=3.9,<4.0"
files = [
{file = "planetmint_transactions-0.8.0-py3-none-any.whl", hash = "sha256:83f0aaa35dfc80e80e031cf52fe927ce43aedda691496030a2a70d03a0dba107"},
{file = "planetmint_transactions-0.8.0.tar.gz", hash = "sha256:33cf22d5852056164f5d05455d1aa5c893f2d37df99e3bf9f8576f310b9d4b6f"},
{file = "planetmint_transactions-0.8.1-py3-none-any.whl", hash = "sha256:25a9d310085b088de1688ca269f2130d455af9c6470cd67f587ba8e6a95bd0f6"},
{file = "planetmint_transactions-0.8.1.tar.gz", hash = "sha256:f9c473312731dd0e79445074ce7c23d8a2e7c7a29a82ce15b8efd87a2303f33f"},
]
[package.dependencies]
@ -3395,4 +3395,4 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>=
[metadata]
lock-version = "2.0"
python-versions = "^3.9"
content-hash = "7bbc4f46a465a2586505b3cf89d87ff3106d81824aef18670b154d71721b53a4"
content-hash = "bcd8049e8e3ab7d29de82e32689ad38a84c9f3b9dbc0b2871d2a53f298dfeaa1"

View File

@ -45,7 +45,7 @@ protobuf = "3.20.2"
planetmint-ipld = ">=0.0.3"
pyasn1 = ">=0.4.8"
python-decouple = "^3.7"
planetmint-transactions = ">=0.8.0"
planetmint-transactions = ">=0.8.1"
asynctnt = "^2.0.1"
abci = "^0.8.3"