diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index d4d09a9..aa1961f 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -15,7 +15,7 @@ jobs: run: runs-on: ${{ matrix.os }} env: - VERSION: 1.1.7 + VERSION: 1.1.8 strategy: matrix: # python-version: [3.7, 3.8, 3.9, "3.10"] diff --git a/README.md b/README.md index c576217..c7ca0a0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Python Toolkit for EOS # Latest Release -[pyeoskit v1.1.7](https://github.com/learnforpractice/pyeoskit/releases) +[pyeoskit v1.1.8](https://github.com/learnforpractice/pyeoskit/releases) # Installation diff --git a/pysrc/__init__.py b/pysrc/__init__.py index 9fb5302..e9528d6 100644 --- a/pysrc/__init__.py +++ b/pysrc/__init__.py @@ -5,7 +5,7 @@ from .chainapi_sync import ChainApi from . import _pyeoskit -__version__='1.1.7' +__version__='1.1.8' _pyeoskit.init() diff --git a/pytest/test_eosapi.py b/pytest/test_eosapi.py index 859eba0..3997d61 100644 --- a/pytest/test_eosapi.py +++ b/pytest/test_eosapi.py @@ -45,12 +45,19 @@ def setup_method(self, method): def teardown_method(self, method): pass - def test_tx_idx_overflow(self): + @pytest.mark.asyncio + async def test_tx_idx_overflow(self): for i in range(1024+1): account = 'eosio' if i % 100 == 0: logger.info('+++%s', i) r = eosapi.push_action(account, 'sayhello', int.to_bytes(i, 8, 'little'), {account:'active'}) + time.sleep(0.5) + for i in range(0, 1025): + account = 'eosio' + if i % 100 == 0: + logger.info('+++%s', i) + r = await eosapi_async.push_action(account, 'sayhello', int.to_bytes(i, 8, 'little'), {account:'active'}) def test_gen_transaction(self): args = { diff --git a/release.txt b/release.txt index 1c6702f..5283198 100644 --- a/release.txt +++ b/release.txt @@ -1,2 +1,2 @@ -V1.1.7 Release -1. Fix crash on Windows +V1.1.8 Release +1. Fix running out of transaction index issue diff --git a/setup.py b/setup.py index e8d580c..86f754b 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup( name="pyeoskit", - version="1.1.7", + version="1.1.8", description="Python Toolkit for EOS", author='learnforpractice', license="MIT", diff --git a/tag.sh b/tag.sh index 8884786..8c272cf 100755 --- a/tag.sh +++ b/tag.sh @@ -1,4 +1,4 @@ -VERSION=v1.1.7 +VERSION=v1.1.8 TARGET=origin # git push $TARGET :refs/tags/$VERSION git tag -d $VERSION