Skip to content

Commit 3843999

Browse files
authored
Feature/bump contracts 0.6.9 (#515)
* bump contracts & add more networks
1 parent a406e5c commit 3843999

5 files changed

Lines changed: 28 additions & 4 deletions

File tree

.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 = 0.8.2
2+
current_version = 0.8.3
33
commit = True
44
tag = True
55

ocean_lib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
__author__ = """OceanProtocol"""
99
# fmt: off
10-
__version__ = '0.8.2'
10+
__version__ = '0.8.3'
1111
# fmt: on

ocean_lib/example_config.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@
5757
NETWORK_NAME: "polygon",
5858
NAME_BLOCK_CONFIRMATIONS: 15,
5959
},
60+
246: {
61+
NAME_PROVIDER_URL: "https://provider.energyweb.oceanprotocol.com",
62+
NAME_METADATA_CACHE_URI: "https://aquarius.oceanprotocol.com",
63+
NETWORK_NAME: "energyweb",
64+
NAME_BLOCK_CONFIRMATIONS: 3,
65+
},
66+
1285: {
67+
NAME_PROVIDER_URL: "https://provider.moonriver.oceanprotocol.com",
68+
NAME_METADATA_CACHE_URI: "https://aquarius.oceanprotocol.com",
69+
NETWORK_NAME: "moonriver",
70+
NAME_BLOCK_CONFIRMATIONS: 3,
71+
},
6072
1287: {
6173
NAME_PROVIDER_URL: "https://provider.moonbeamalpha.oceanprotocol.com",
6274
NAME_METADATA_CACHE_URI: "https://aquarius.oceanprotocol.com",
@@ -69,6 +81,12 @@
6981
NETWORK_NAME: "ganache",
7082
NAME_BLOCK_CONFIRMATIONS: 0,
7183
},
84+
44787: {
85+
NAME_PROVIDER_URL: "https://provider.celoalfajores.oceanprotocol.com",
86+
NAME_METADATA_CACHE_URI: "https://aquarius.oceanprotocol.com",
87+
NETWORK_NAME: "celoalfajores",
88+
NAME_BLOCK_CONFIRMATIONS: 3,
89+
},
7290
}
7391

7492

ocean_lib/web3_internal/constants.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@
2828
4: "Rinkeby",
2929
56: "Binance Smart Chain",
3030
137: "Polygon",
31+
246: "Energy Web",
32+
1285: "Moonriver",
3133
1287: "Moonbeam Alpha",
3234
1337: "Ganache",
35+
44787: "Celo Alfajores",
3336
}
3437

3538
NETWORK_TIMEOUT_MAP = {
@@ -39,6 +42,9 @@
3942
"bsc": 10 * 60,
4043
"polygon": 10 * 60,
4144
"moonbeamalpha": 60,
45+
"celoalfajores": 60,
46+
"moonriver": 60,
47+
"energyweb": 60,
4248
"ganache": 2,
4349
}
4450

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Installed by pip install ocean-lib
1919
# or pip install -e .
2020
install_requirements = [
21-
"ocean-contracts==0.6.7",
21+
"ocean-contracts==0.6.9",
2222
"coloredlogs",
2323
"pyopenssl",
2424
"PyJWT", # not jwt
@@ -99,7 +99,7 @@
9999
url="https://github.com/oceanprotocol/ocean.py",
100100
# fmt: off
101101
# bumpversion.sh needs single-quotes
102-
version='0.8.2',
102+
version='0.8.3',
103103
# fmt: on
104104
zip_safe=False,
105105
)

0 commit comments

Comments
 (0)