blackified and updated version and changelog

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2023-01-30 18:00:37 +01:00
parent 00131af397
commit c49856a480
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A
4 changed files with 6 additions and 4 deletions

View File

@ -25,6 +25,9 @@ For reference, the possible headings are:
* **Known Issues** * **Known Issues**
* **Notes** * **Notes**
## [2.2.0] - 2023-31-01
* **Changed** standardized blocks API
## [2.1.0] - 2023-26-01 ## [2.1.0] - 2023-26-01
* **Added** validation for compose and decompose transaction types * **Added** validation for compose and decompose transaction types

View File

@ -335,7 +335,6 @@ class Planetmint(object):
return block return block
def get_block_containing_tx(self, txid): def get_block_containing_tx(self, txid):
"""Retrieve the list of blocks (block ids) containing a """Retrieve the list of blocks (block ids) containing a
transaction with transaction id `txid` transaction with transaction id `txid`

View File

@ -3,8 +3,8 @@
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0 # Code is Apache-2.0 and docs are CC-BY-4.0
__version__ = "2.1.0" __version__ = "2.2.0"
__short_version__ = "2.1" __short_version__ = "2.2"
# Supported Tendermint versions # Supported Tendermint versions
__tm_supported_versions__ = ["0.34.15"] __tm_supported_versions__ = ["0.34.15"]

View File

@ -82,4 +82,4 @@ def test_get_block_by_transaction_id(client):
print(block_res.json) print(block_res.json)
tx_id = block_res.json["transaction_ids"][0] tx_id = block_res.json["transaction_ids"][0]
res = client.get(BLOCKS_ENDPOINT + "?transaction_id=" + tx_id) res = client.get(BLOCKS_ENDPOINT + "?transaction_id=" + tx_id)
assert res.json["height"] == 3 assert res.json["height"] == 3