diff --git a/CHANGELOG.md b/CHANGELOG.md index af4c5b5..19c88d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,10 @@ For reference, the possible headings are: * **Known Issues** * **Notes** -## [2.4.6] - 2023-2-05 +## [2.4.7] - 2023-24-05 +* **Fixed** wrong referencing of planetmint-transactions object and variable + +## [2.4.6] - 2023-24-05 * **Fixed** Missing ABCI_RPC object initiailization for CLI voting commands. * **Fixed** TypeError in EndBlock procedure that occured rarely within the network. * **Security** moved to a more secure requests version diff --git a/planetmint/version.py b/planetmint/version.py index 4b8091a..c3bf372 100644 --- a/planetmint/version.py +++ b/planetmint/version.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 -__version__ = "2.4.6" +__version__ = "2.4.7" __short_version__ = "2.4" # Supported Tendermint versions diff --git a/planetmint/web/views/transactions.py b/planetmint/web/views/transactions.py index cd2ae31..ff76217 100644 --- a/planetmint/web/views/transactions.py +++ b/planetmint/web/views/transactions.py @@ -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, \ diff --git a/poetry.lock b/poetry.lock index b7c1ad1..cc84d4f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -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" diff --git a/pyproject.toml b/pyproject.toml index 47869db..d97045d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "planetmint" -version = "2.4.6" +version = "2.4.7" description = "Planetmint: The Blockchain Database" authors = ["Planetmint contributors"] license = "AGPLv3" @@ -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"