Skip to content

Commit

Permalink
bump contracts (#1088)
Browse files Browse the repository at this point in the history
* bump contracts

* Bump version: 5.1.6 → 5.1.7

* test upcoming barge

* put back main barge, cause tests were green

* use upcoming barge

* fixes

* lint

* use main barge,since previous were green
  • Loading branch information
alexcos20 authored Nov 24, 2023
1 parent ee67daf commit f765220
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 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 = 5.1.6
current_version = 5.1.7
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion aquarius/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
__author__ = """OceanProtocol"""
# fmt: off
# bumpversion needs single quotes
__version__ = '5.1.6'
__version__ = '5.1.7'
# fmt: on
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"elasticsearch==8.10.1",
"PyYAML==6.0.1",
"pytz==2023.3.post1",
"ocean-contracts==1.1.15",
"ocean-contracts==2.0.2",
"web3==6.11.1",
"gevent",
"python-dateutil==2.8.2",
Expand Down Expand Up @@ -94,7 +94,7 @@
url="https://github.com/oceanprotocol/aquarius",
# fmt: off
# bumpversion needs single quotes
version='5.1.6',
version='5.1.7',
# fmt: on
zip_safe=False,
)
7 changes: 0 additions & 7 deletions tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,6 @@ def test_get_last_processed_block(events_object, monkeypatch):
mock.return_value = {"_source": {"last_block": intended_block}}
assert events_object.get_last_processed_block() == 0

monkeypatch.delenv("BFACTORY_BLOCK")
with patch("elasticsearch.Elasticsearch.get") as mock:
mock.side_effect = elasticsearch.NotFoundError("Boom!", meta={}, body={})
assert (
events_object.get_last_processed_block() == 5
) # startBlock from address.json for ganache


def test_store_last_processed_block(events_object):
block = events_object.get_last_processed_block() + 10
Expand Down

0 comments on commit f765220

Please sign in to comment.