Skip to content

Commit

Permalink
Feature/bump contracts 0.6.9 (#515)
Browse files Browse the repository at this point in the history
* bump contracts & add more networks
  • Loading branch information
alexcos20 authored Oct 1, 2021
1 parent a406e5c commit 3843999
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 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.2
current_version = 0.8.3
commit = True
tag = True

Expand Down
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.2'
__version__ = '0.8.3'
# fmt: on
18 changes: 18 additions & 0 deletions ocean_lib/example_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@
NETWORK_NAME: "polygon",
NAME_BLOCK_CONFIRMATIONS: 15,
},
246: {
NAME_PROVIDER_URL: "https://provider.energyweb.oceanprotocol.com",
NAME_METADATA_CACHE_URI: "https://aquarius.oceanprotocol.com",
NETWORK_NAME: "energyweb",
NAME_BLOCK_CONFIRMATIONS: 3,
},
1285: {
NAME_PROVIDER_URL: "https://provider.moonriver.oceanprotocol.com",
NAME_METADATA_CACHE_URI: "https://aquarius.oceanprotocol.com",
NETWORK_NAME: "moonriver",
NAME_BLOCK_CONFIRMATIONS: 3,
},
1287: {
NAME_PROVIDER_URL: "https://provider.moonbeamalpha.oceanprotocol.com",
NAME_METADATA_CACHE_URI: "https://aquarius.oceanprotocol.com",
Expand All @@ -69,6 +81,12 @@
NETWORK_NAME: "ganache",
NAME_BLOCK_CONFIRMATIONS: 0,
},
44787: {
NAME_PROVIDER_URL: "https://provider.celoalfajores.oceanprotocol.com",
NAME_METADATA_CACHE_URI: "https://aquarius.oceanprotocol.com",
NETWORK_NAME: "celoalfajores",
NAME_BLOCK_CONFIRMATIONS: 3,
},
}


Expand Down
6 changes: 6 additions & 0 deletions ocean_lib/web3_internal/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@
4: "Rinkeby",
56: "Binance Smart Chain",
137: "Polygon",
246: "Energy Web",
1285: "Moonriver",
1287: "Moonbeam Alpha",
1337: "Ganache",
44787: "Celo Alfajores",
}

NETWORK_TIMEOUT_MAP = {
Expand All @@ -39,6 +42,9 @@
"bsc": 10 * 60,
"polygon": 10 * 60,
"moonbeamalpha": 60,
"celoalfajores": 60,
"moonriver": 60,
"energyweb": 60,
"ganache": 2,
}

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Installed by pip install ocean-lib
# or pip install -e .
install_requirements = [
"ocean-contracts==0.6.7",
"ocean-contracts==0.6.9",
"coloredlogs",
"pyopenssl",
"PyJWT", # not jwt
Expand Down Expand Up @@ -99,7 +99,7 @@
url="https://github.com/oceanprotocol/ocean.py",
# fmt: off
# bumpversion.sh needs single-quotes
version='0.8.2',
version='0.8.3',
# fmt: on
zip_safe=False,
)

0 comments on commit 3843999

Please sign in to comment.