Tm 0.34.24 (#401)

* upgrade to Tendermint v0.34.24
* upgraded all the old tendermint versions to the new version


Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2023-06-21 11:59:44 +02:00 committed by GitHub
parent 4bf1af6f06
commit 3ac0ca2c69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 41 additions and 38 deletions

View File

@ -81,7 +81,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y git zsh curl tarantool-common vim build-essential cmake run: sudo apt-get update && sudo apt-get install -y git zsh curl tarantool-common vim build-essential cmake
- name: Get Tendermint - name: Get Tendermint
run: wget https://github.com/tendermint/tendermint/releases/download/v0.34.15/tendermint_0.34.15_linux_amd64.tar.gz && tar zxf tendermint_0.34.15_linux_amd64.tar.gz run: wget https://github.com/tendermint/tendermint/releases/download/v0.34.24/tendermint_0.34.24_linux_amd64.tar.gz && tar zxf tendermint_0.34.24_linux_amd64.tar.gz
- name: Setup poetry - name: Setup poetry
uses: Gr1N/setup-poetry@v8 uses: Gr1N/setup-poetry@v8

View File

@ -25,6 +25,9 @@ For reference, the possible headings are:
* **Known Issues** * **Known Issues**
* **Notes** * **Notes**
## [2.5.0] - 2023-21-06
* **Changed** Upgraded ABCI compatbility to Tendermint v0.34.24 and CometBFT v0.34.29
## [2.4.7] - 2023-24-05 ## [2.4.7] - 2023-24-05
* **Fixed** wrong referencing of planetmint-transactions object and variable * **Fixed** wrong referencing of planetmint-transactions object and variable

View File

@ -1,7 +1,7 @@
FROM python:3.9-slim FROM python:3.9-slim
LABEL maintainer "contact@ipdb.global" LABEL maintainer "contact@ipdb.global"
ARG TM_VERSION=0.34.15 ARG TM_VERSION=0.34.24
RUN mkdir -p /usr/src/app RUN mkdir -p /usr/src/app
ENV HOME /root ENV HOME /root
COPY . /usr/src/app/ COPY . /usr/src/app/

View File

@ -207,7 +207,7 @@ def test_autoconfigure_read_both_from_file_and_env(monkeypatch, request):
"advertised_port": WSSERVER_ADVERTISED_PORT, "advertised_port": WSSERVER_ADVERTISED_PORT,
}, },
"database": database_mongodb, "database": database_mongodb,
"tendermint": {"host": "localhost", "port": 26657, "version": "v0.34.15"}, "tendermint": {"host": "localhost", "port": 26657, "version": "v0.34.24"},
"log": { "log": {
"file": LOG_FILE, "file": LOG_FILE,
"level_console": "debug", "level_console": "debug",

View File

@ -65,7 +65,7 @@ services:
restart: always restart: always
tendermint: tendermint:
image: tendermint/tendermint:v0.34.15 image: tendermint/tendermint:v0.34.24
# volumes: # volumes:
# - ./tmdata:/tendermint # - ./tmdata:/tendermint
entrypoint: '' entrypoint: ''

View File

@ -30,9 +30,9 @@ The version of Planetmint Server described in these docs only works well with Te
```bash ```bash
$ sudo apt install -y unzip $ sudo apt install -y unzip
$ wget https://github.com/tendermint/tendermint/releases/download/v0.34.15/tendermint_v0.34.15_linux_amd64.zip $ wget https://github.com/tendermint/tendermint/releases/download/v0.34.24/tendermint_v0.34.24_linux_amd64.zip
$ unzip tendermint_v0.34.15_linux_amd64.zip $ unzip tendermint_v0.34.24_linux_amd64.zip
$ rm tendermint_v0.34.15_linux_amd64.zip $ rm tendermint_v0.34.24_linux_amd64.zip
$ sudo mv tendermint /usr/local/bin $ sudo mv tendermint /usr/local/bin
``` ```

View File

@ -60,7 +60,7 @@ you can do this:
.. code:: .. code::
$ mkdir $(pwd)/tmdata $ mkdir $(pwd)/tmdata
$ docker run --rm -v $(pwd)/tmdata:/tendermint/config tendermint/tendermint:v0.34.15 init $ docker run --rm -v $(pwd)/tmdata:/tendermint/config tendermint/tendermint:v0.34.24 init
$ cat $(pwd)/tmdata/genesis.json $ cat $(pwd)/tmdata/genesis.json
You should see something that looks like: You should see something that looks like:

View File

@ -1,4 +1,4 @@
FROM tendermint/tendermint:v0.34.15 FROM tendermint/tendermint:v0.34.24
LABEL maintainer "contact@ipdb.global" LABEL maintainer "contact@ipdb.global"
WORKDIR / WORKDIR /
USER root USER root

View File

@ -1,4 +1,4 @@
ARG tm_version=v0.31.5 ARG tm_version=v0.34.24
FROM tendermint/tendermint:${tm_version} FROM tendermint/tendermint:${tm_version}
LABEL maintainer "contact@ipdb.global" LABEL maintainer "contact@ipdb.global"
WORKDIR / WORKDIR /

View File

@ -17,7 +17,7 @@ stack_size=${STACK_SIZE:=4}
stack_type=${STACK_TYPE:="docker"} stack_type=${STACK_TYPE:="docker"}
stack_type_provider=${STACK_TYPE_PROVIDER:=""} stack_type_provider=${STACK_TYPE_PROVIDER:=""}
# NOTE versions prior v0.28.0 have different priv_validator format! # NOTE versions prior v0.28.0 have different priv_validator format!
tm_version=${TM_VERSION:="v0.34.15"} tm_version=${TM_VERSION:="v0.34.24"}
mongo_version=${MONGO_VERSION:="3.6"} mongo_version=${MONGO_VERSION:="3.6"}
stack_vm_memory=${STACK_VM_MEMORY:=2048} stack_vm_memory=${STACK_VM_MEMORY:=2048}
stack_vm_cpus=${STACK_VM_CPUS:=2} stack_vm_cpus=${STACK_VM_CPUS:=2}

View File

@ -16,7 +16,7 @@ stack_repo=${STACK_REPO:="planetmint/planetmint"}
stack_size=${STACK_SIZE:=4} stack_size=${STACK_SIZE:=4}
stack_type=${STACK_TYPE:="docker"} stack_type=${STACK_TYPE:="docker"}
stack_type_provider=${STACK_TYPE_PROVIDER:=""} stack_type_provider=${STACK_TYPE_PROVIDER:=""}
tm_version=${TM_VERSION:="0.31.5"} tm_version=${TM_VERSION:="0.34.24"}
mongo_version=${MONGO_VERSION:="3.6"} mongo_version=${MONGO_VERSION:="3.6"}
stack_vm_memory=${STACK_VM_MEMORY:=2048} stack_vm_memory=${STACK_VM_MEMORY:=2048}
stack_vm_cpus=${STACK_VM_CPUS:=2} stack_vm_cpus=${STACK_VM_CPUS:=2}

View File

@ -86,7 +86,7 @@ class Config(metaclass=Singleton):
"tendermint": { "tendermint": {
"host": "localhost", "host": "localhost",
"port": 26657, "port": 26657,
"version": "v0.34.15", # look for __tm_supported_versions__ "version": "v0.34.24", # look for __tm_supported_versions__
}, },
"database": self.__private_database_map, "database": self.__private_database_map,
"log": { "log": {

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.4.7" __version__ = "2.5.0"
__short_version__ = "2.4" __short_version__ = "2.5"
# Supported Tendermint versions # Supported Tendermint versions
__tm_supported_versions__ = ["0.34.15"] __tm_supported_versions__ = ["0.34.24"]

40
poetry.lock generated
View File

@ -12,25 +12,6 @@ files = [
{file = "aafigure-0.6.tar.gz", hash = "sha256:49f2c1fd2b579c1fffbac1386a2670b3f6f475cc7ff6cc04d8b984888c2d9e1e"}, {file = "aafigure-0.6.tar.gz", hash = "sha256:49f2c1fd2b579c1fffbac1386a2670b3f6f475cc7ff6cc04d8b984888c2d9e1e"},
] ]
[[package]]
name = "abci"
version = "0.8.3"
description = "Python based ABCI Server for Tendermint"
category = "main"
optional = false
python-versions = ">=3.9"
files = [
{file = "abci-0.8.3-py3-none-any.whl", hash = "sha256:9f6b9d9a28ccb90bc158572fd05d7a196e09cbe774c72053a18a7b5f602e406f"},
{file = "abci-0.8.3.tar.gz", hash = "sha256:2c85c7aa78b7a1785b72e6af789ca9f132088b2ba63d90e85af114d65b609fb3"},
]
[package.dependencies]
colorlog = ">=3.1.4"
protobuf = ">=3.6.1"
[package.extras]
dev = ["black", "build", "pytest", "pytest-cov", "twine"]
[[package]] [[package]]
name = "aiohttp" name = "aiohttp"
version = "3.8.4" version = "3.8.4"
@ -1921,6 +1902,25 @@ files = [
[package.extras] [package.extras]
testing = ["pytest", "pytest-cov"] testing = ["pytest", "pytest-cov"]
[[package]]
name = "planetmint-abci"
version = "0.8.4"
description = "Python based ABCI Server for Tendermint"
category = "main"
optional = false
python-versions = ">=3.9"
files = [
{file = "planetmint-abci-0.8.4.tar.gz", hash = "sha256:1e969da0a10d0e5ceb82993645d0cd92076c2a7df03b701fd17837c63ace1f57"},
]
[package.dependencies]
certifi = ">=2022.12.7"
colorlog = ">=3.1.4"
protobuf = ">=3.18.3"
[package.extras]
dev = ["black", "build", "pytest", "pytest-cov", "twine"]
[[package]] [[package]]
name = "planetmint-cryptoconditions" name = "planetmint-cryptoconditions"
version = "1.2.2" version = "1.2.2"
@ -3568,4 +3568,4 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>=
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.9" python-versions = "^3.9"
content-hash = "98c4577730a35fdda7b853c1921860cd298abcead332e443fed8497544022429" content-hash = "561ce2e416ff69aaf64732fcffe4870f6bef2317c881c1e595a49c824c65fa27"

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "planetmint" name = "planetmint"
version = "2.4.7" version = "2.5.0"
description = "Planetmint: The Blockchain Database" description = "Planetmint: The Blockchain Database"
authors = ["Planetmint contributors"] authors = ["Planetmint contributors"]
license = "AGPLv3" license = "AGPLv3"
@ -47,7 +47,7 @@ pyasn1 = ">=0.4.8"
python-decouple = "^3.7" python-decouple = "^3.7"
planetmint-transactions = ">=0.8.1" planetmint-transactions = ">=0.8.1"
asynctnt = "^2.0.1" asynctnt = "^2.0.1"
abci = "^0.8.3" planetmint-abci = "^0.8.4"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
aafigure = "0.6" aafigure = "0.6"