@reality.eth/contracts 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -3
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -290,11 +290,11 @@ function configForAddress(addr, chain_id) {
|
|
|
290
290
|
if (!config.arbitrators) {
|
|
291
291
|
config.arbitrators = [];
|
|
292
292
|
}
|
|
293
|
-
const [contract_name,
|
|
294
|
-
config.version_number =
|
|
293
|
+
const [contract_name, version_number] = ver.split('-');
|
|
294
|
+
config.version_number = version_number;
|
|
295
295
|
config.chain_id = cid;
|
|
296
296
|
config.contract_name = contract_name;
|
|
297
|
-
config.contract_version =
|
|
297
|
+
config.contract_version = ver;
|
|
298
298
|
config.token_ticker = ticker;
|
|
299
299
|
return config;
|
|
300
300
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reality.eth/contracts",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Collection of smart contracts for the Realitio fact verification platform",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate-chains": "node scripts/generate_chains_json.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"url": "https://github.com/RealityETH/monorepo/issues"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://reality.eth.link",
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "a6dddbb0d2f8f2b9354be0dfb1abc61f84e2054c",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"ethers": "^5.8.0"
|
|
40
40
|
}
|