@reality.eth/contracts 3.0.29 → 3.0.30

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.
@@ -0,0 +1,6 @@
1
+ {
2
+ "address": "0x14a6748192aBC6E10CA694Ae07bDd4327D6c7A51",
3
+ "block": 19181142,
4
+ "notes": null,
5
+ "arbitrators": {}
6
+ }
@@ -100,6 +100,9 @@
100
100
  "421611": {
101
101
  "network_name": "arbitrum-rinkeby"
102
102
  },
103
+ "421613": {
104
+ "network_name": "arbitrum-goerli"
105
+ },
103
106
  "11155111": {
104
107
  "network_name": "sepolia"
105
108
  },
@@ -292,9 +292,9 @@
292
292
  },
293
293
  "network_name": "zksync-era",
294
294
  "rpcUrls": [
295
- "https://zksync2-mainnet.zksync.io"
295
+ "https://mainnet.era.zksync.io"
296
296
  ],
297
- "hostedRPC": "https://zksync2-mainnet.zksync.io",
297
+ "hostedRPC": "https://mainnet.era.zksync.io",
298
298
  "graphURL": "https://api.thegraph.com/subgraphs/name/realityeth/realityeth-zksync-era",
299
299
  "blockExplorerUrls": [
300
300
  "https://explorer.zksync.io",
@@ -395,6 +395,23 @@
395
395
  "https://rinkeby-explorer.arbitrum.io"
396
396
  ]
397
397
  },
398
+ "421613": {
399
+ "chainId": "0x66eed",
400
+ "chainName": "Arbitrum Goerli",
401
+ "nativeCurrency": {
402
+ "name": "Arbitrum Goerli Ether",
403
+ "symbol": "AGOR",
404
+ "decimals": 18
405
+ },
406
+ "network_name": "arbitrum-goerli",
407
+ "rpcUrls": [
408
+ "https://goerli-rollup.arbitrum.io/rpc/"
409
+ ],
410
+ "hostedRPC": "https://goerli-rollup.arbitrum.io/rpc/",
411
+ "blockExplorerUrls": [
412
+ "https://goerli-rollup-explorer.arbitrum.io"
413
+ ]
414
+ },
398
415
  "1337702": {
399
416
  "chainId": "0x146966",
400
417
  "chainName": "Kintsugi",
@@ -471,6 +471,16 @@
471
471
  }
472
472
  }
473
473
  },
474
+ "421613": {
475
+ "ARETH": {
476
+ "RealityETH-3.0": {
477
+ "address": "0x14a6748192aBC6E10CA694Ae07bDd4327D6c7A51",
478
+ "block": 19181142,
479
+ "notes": null,
480
+ "arbitrators": {}
481
+ }
482
+ }
483
+ },
474
484
  "1337702": {
475
485
  "ETH": {
476
486
  "RealityETH-3.0": {
@@ -4,7 +4,8 @@
4
4
  "small_number": 10000000000000000,
5
5
  "native_chains": {
6
6
  "42161": true,
7
- "421611": true
7
+ "421611": true,
8
+ "421613": true
8
9
  }
9
10
  },
10
11
  "AVAX": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reality.eth/contracts",
3
- "version": "3.0.29",
3
+ "version": "3.0.30",
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",
@@ -30,7 +30,7 @@
30
30
  "url": "https://github.com/RealityETH/monorepo/issues"
31
31
  },
32
32
  "homepage": "https://reality.eth.link",
33
- "gitHead": "d4c46277b826cbd64368cf37186050d0257c2d6f",
33
+ "gitHead": "03e4a48bc6ffcb5d327c5503fa1afb2eba3f97fb",
34
34
  "dependencies": {
35
35
  "ethers": "^5.6.8"
36
36
  }
package/scripts/deploy.js CHANGED
@@ -11,16 +11,20 @@ const deployed_at = null;
11
11
  var undef;
12
12
 
13
13
  const defaultConfigs = {
14
- //maxFeePerGas: 610000000000,
15
- //maxPriorityFeePerGas: 10000000000,
16
- //gasPrice: 70000000000
17
- // gasPrice: 10000000000,
14
+ //maxFeePerGas: 610000000000,
15
+ //maxPriorityFeePerGas: 10000000000,
16
+ //gasPrice: 70000000000,
17
+ //gasPrice: 10000000000,
18
+ // gasPrice: 100000000,
18
19
  // gasPrice: 10000, // optimism 1000000,
19
20
  /// gasPrice: 5000000000,
20
- // gasLimit: 6000000, // optimism 4500000
21
+ //gasLimit: 6000000, // optimism 4500000
21
22
  gasLimit: 4500000,
22
23
  //etherscanApiKey: 'TPA4BFDDIH8Q7YBQ4JMGN6WDDRRPAV6G34'
23
- // gasLimit: 155734867 // arbitrum
24
+ //gasLimit: 155734867 // arbitrum
25
+ //gasLimit: 7000000
26
+ //gasLimit: 800035294
27
+ // gasLimit: 4291955938
24
28
  }
25
29
  const task = process.argv[2]
26
30
  const version = process.argv[3]
@@ -45,10 +49,12 @@ const chains = {
45
49
  'cheapeth': 777,
46
50
  'gnosis': 100,
47
51
  'polygon': 137,
52
+ 'hermez': 1101,
48
53
  'mumbai': 80001,
49
54
  'ava': 43114,
50
55
  'arbitrum': 42161,
51
56
  'arbitrum-rinkeby': 421611,
57
+ 'arbitrum-goerli': 421613,
52
58
  'kovan-optimistic': 69,
53
59
  'kintsugi': 1337702,
54
60
  'sepolia': 11155111,
@@ -59,9 +65,11 @@ const non_infura_chains = {
59
65
  'bsc': 'https://bsc-dataseed.binance.org',
60
66
  'chapel': 'https://bsc-testnet.public.blastapi.io',
61
67
  'polygon': 'https://rpc-mainnet.maticvigil.com',
68
+ 'hermez': 'https://rpc.ankr.com/polygon_zkevm',
62
69
  'ava': 'https://api.avax.network/ext/bc/C/rpc',
63
70
  'arbitrum': 'https://arb1.arbitrum.io/rpc',
64
71
  'arbitrum-rinkeby': 'https://rinkeby.arbitrum.io/rpc',
72
+ 'arbitrum-goerli': 'https://goerli-rollup.arbitrum.io/rpc',
65
73
  'ubiq': 'https://rpc.octano.dev',
66
74
  'cheapeth': 'https://node.cheapeth.org/rpc',
67
75
  'kovan-optimistic': 'https://kovan.optimism.io',
@@ -202,7 +210,8 @@ async function waitForGas(provider) {
202
210
  }
203
211
 
204
212
  const f = await provider.getFeeData()
205
- // console.log('fee', f)
213
+ console.log('fee', f)
214
+ return;
206
215
  if (f.gasPrice.gt(ethers.BigNumber.from(defaultConfigs.maxFeePerGas))) {
207
216
  console.log('Gas is too expensive, got', f.gasPrice.toString(), 'but you will only pay ', defaultConfigs.maxFeePerGas, ', retrying...')
208
217
  await sleep(2000);
package/tokens/ARETH.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "small_number": 10000000000000000,
4
4
  "native_chains": {
5
5
  "42161": true,
6
- "421611": true
6
+ "421611": true,
7
+ "421613": true
7
8
  }
8
9
  }