Skip to content

Commit

Permalink
v0.8.1 with corrections (#501)
Browse files Browse the repository at this point in the history
* Corrections for 0.8.1.
* Bump version: 0.8.0 → 0.8.1
  • Loading branch information
calina-c authored Sep 27, 2021
1 parent 7ef8d3c commit f140f83
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.8.0
current_version = 0.8.1
commit = True
tag = True

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
user: __token__
verbose: true
password: ${{ secrets.PYPI_PASSWORD }}

2 changes: 1 addition & 1 deletion ocean_lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

__author__ = """OceanProtocol"""
# fmt: off
__version__ = '0.8.0'
__version__ = '0.8.1'
# fmt: on
2 changes: 1 addition & 1 deletion ocean_lib/web3_internal/web3_overrides/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def wait_for_transaction_receipt_and_block_confirmations(
in seconds.
"""
receipt = web3.eth.wait_for_transaction_receipt(tx_hash, timeout)
while web3.eth.block_number < receipt.blockNumber + block_confirmations:
while web3.eth.block_number < (receipt.blockNumber + block_confirmations - 1):
time.sleep(block_number_poll_interval)
return web3.eth.get_transaction_receipt(tx_hash)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
url="https://github.com/oceanprotocol/ocean.py",
# fmt: off
# bumpversion.sh needs single-quotes
version='0.8.0',
version='0.8.1',
# fmt: on
zip_safe=False,
)

0 comments on commit f140f83

Please sign in to comment.