Skip to content

Commit f765220

Browse files
authored
bump contracts (#1088)
* 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
1 parent ee67daf commit f765220

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 5.1.6
2+
current_version = 5.1.7
33
commit = True
44
tag = True
55

aquarius/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
__author__ = """OceanProtocol"""
1010
# fmt: off
1111
# bumpversion needs single quotes
12-
__version__ = '5.1.6'
12+
__version__ = '5.1.7'
1313
# fmt: on

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"elasticsearch==8.10.1",
3030
"PyYAML==6.0.1",
3131
"pytz==2023.3.post1",
32-
"ocean-contracts==1.1.15",
32+
"ocean-contracts==2.0.2",
3333
"web3==6.11.1",
3434
"gevent",
3535
"python-dateutil==2.8.2",
@@ -94,7 +94,7 @@
9494
url="https://github.com/oceanprotocol/aquarius",
9595
# fmt: off
9696
# bumpversion needs single quotes
97-
version='5.1.6',
97+
version='5.1.7',
9898
# fmt: on
9999
zip_safe=False,
100100
)

tests/test_events.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,6 @@ def test_get_last_processed_block(events_object, monkeypatch):
243243
mock.return_value = {"_source": {"last_block": intended_block}}
244244
assert events_object.get_last_processed_block() == 0
245245

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

254247
def test_store_last_processed_block(events_object):
255248
block = events_object.get_last_processed_block() + 10

0 commit comments

Comments
 (0)