@graphprotocol/graph-cli 0.72.1 → 0.72.2-alpha-20240522162649-ab44324
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/CHANGELOG.md +8 -0
- package/dist/command-helpers/abi.js +14 -6
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
+
## 0.72.2-alpha-20240522162649-ab44324
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1668](https://github.com/graphprotocol/graph-tooling/pull/1668)
|
|
8
|
+
[`0e7b6cc`](https://github.com/graphprotocol/graph-tooling/commit/0e7b6cc3eb7e4aca4ba1e456e94ce37289d46b84)
|
|
9
|
+
Thanks [@Shiyasmohd](https://github.com/Shiyasmohd)! - update etherscan api urls and rpc urls
|
|
10
|
+
|
|
3
11
|
## 0.72.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -184,7 +184,7 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
184
184
|
case 'celo':
|
|
185
185
|
return `https://api.celoscan.io/api`;
|
|
186
186
|
case 'celo-alfajores':
|
|
187
|
-
return `https://alfajores.celoscan.io/api`;
|
|
187
|
+
return `https://api-alfajores.celoscan.io/api`;
|
|
188
188
|
case 'gnosis':
|
|
189
189
|
return `https://api.gnosisscan.io/api`;
|
|
190
190
|
case 'fantom':
|
|
@@ -200,7 +200,7 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
200
200
|
case 'polygon-zkevm-testnet':
|
|
201
201
|
return `https://testnet-zkevm.polygonscan.com/api`;
|
|
202
202
|
case 'polygon-zkevm':
|
|
203
|
-
return `https://zkevm.polygonscan.com/api`;
|
|
203
|
+
return `https://api-zkevm.polygonscan.com/api`;
|
|
204
204
|
case 'sepolia':
|
|
205
205
|
return `https://api-sepolia.etherscan.io/api`;
|
|
206
206
|
case 'scroll-sepolia':
|
|
@@ -208,7 +208,7 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
208
208
|
case 'optimism-sepolia':
|
|
209
209
|
return `https://api-sepolia-optimistic.etherscan.io/api`;
|
|
210
210
|
case 'scroll':
|
|
211
|
-
return `https://
|
|
211
|
+
return `https://api.scrollscan.com/api`;
|
|
212
212
|
case 'linea':
|
|
213
213
|
return `https://api.lineascan.build/api`;
|
|
214
214
|
case 'linea-sepolia':
|
|
@@ -216,9 +216,9 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
216
216
|
case 'linea-goerli':
|
|
217
217
|
return `https://api.linea-goerli.build/api`;
|
|
218
218
|
case 'blast-testnet':
|
|
219
|
-
return `https://api.
|
|
219
|
+
return `https://api-sepolia.blastscan.io/api`;
|
|
220
220
|
case 'blast-mainnet':
|
|
221
|
-
return `https://api.
|
|
221
|
+
return `https://api.blastscan.io/api`;
|
|
222
222
|
case 'etherlink-testnet':
|
|
223
223
|
return `https://testnet-explorer.etherlink.com/api`;
|
|
224
224
|
case 'polygon-amoy':
|
|
@@ -231,6 +231,10 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
231
231
|
return `https://sepolia.explorer.mode.network/api`;
|
|
232
232
|
case 'fuse':
|
|
233
233
|
return 'https://explorer.fuse.io/api';
|
|
234
|
+
case 'astar-zkevm-mainnet':
|
|
235
|
+
return `https://astar-zkevm.explorer.startale.com/api`;
|
|
236
|
+
case 'polygon-zkevm-cardona':
|
|
237
|
+
return `https://api-cardona-zkevm.polygonscan.com/api`;
|
|
234
238
|
default:
|
|
235
239
|
return `https://api-${network}.etherscan.io/api`;
|
|
236
240
|
}
|
|
@@ -254,7 +258,7 @@ const getPublicRPCEndpoint = (network) => {
|
|
|
254
258
|
case 'base-sepolia':
|
|
255
259
|
return 'https://sepolia.base.org';
|
|
256
260
|
case 'base':
|
|
257
|
-
return 'https://
|
|
261
|
+
return 'https://mainnet.base.org';
|
|
258
262
|
case 'bsc':
|
|
259
263
|
return 'https://bsc-dataseed.binance.org';
|
|
260
264
|
case 'celo':
|
|
@@ -337,6 +341,10 @@ const getPublicRPCEndpoint = (network) => {
|
|
|
337
341
|
return `https://mainnet.mode.network`;
|
|
338
342
|
case 'mode-sepolia':
|
|
339
343
|
return `https://sepolia.mode.network`;
|
|
344
|
+
case 'astar-zkevm-mainnet':
|
|
345
|
+
return `https://1rpc.io/astr`;
|
|
346
|
+
case 'polygon-zkevm-cardona':
|
|
347
|
+
return `https://rpc.cardona.zkevm-rpc.com`;
|
|
340
348
|
default:
|
|
341
349
|
throw new Error(`Unknown network: ${network}`);
|
|
342
350
|
}
|
package/oclif.manifest.json
CHANGED