@graphprotocol/graph-cli 0.59.0 → 0.60.0-alpha-20231010235535-d648634
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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
+
## 0.60.0-alpha-20231010235535-d648634
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1474](https://github.com/graphprotocol/graph-tooling/pull/1474)
|
|
8
|
+
[`d648634`](https://github.com/graphprotocol/graph-tooling/commit/d648634dc65a3de2ff6a8876065b08e9076f80d4)
|
|
9
|
+
Thanks [@pranavdaa](https://github.com/pranavdaa)! - add scroll mainnet support
|
|
10
|
+
|
|
3
11
|
## 0.59.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -159,7 +159,9 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
159
159
|
case 'sepolia':
|
|
160
160
|
return `https://api-sepolia.etherscan.io/api`;
|
|
161
161
|
case 'scroll-sepolia':
|
|
162
|
-
return `https://sepolia
|
|
162
|
+
return `https://api-sepolia.scrollscan.dev/api`;
|
|
163
|
+
case 'scroll':
|
|
164
|
+
return `https://blockscout.scroll.io/api`;
|
|
163
165
|
default:
|
|
164
166
|
return `https://api-${network}.etherscan.io/api`;
|
|
165
167
|
}
|
|
@@ -236,6 +238,8 @@ const getPublicRPCEndpoint = (network) => {
|
|
|
236
238
|
return 'https://rpc.ankr.com/eth_sepolia';
|
|
237
239
|
case 'scroll-sepolia':
|
|
238
240
|
return 'https://rpc.ankr.com/scroll_sepolia_testnet';
|
|
241
|
+
case 'scroll':
|
|
242
|
+
return 'https://rpc.ankr.com/scroll';
|
|
239
243
|
default:
|
|
240
244
|
throw new Error(`Unknown network: ${network}`);
|
|
241
245
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const allowedStudioNetworks: readonly ["mainnet", "rinkeby", "goerli", "gnosis", "chapel", "optimism-goerli", "clover", "fantom", "matic", "fantom-testnet", "arbitrum-goerli", "fuji", "celo-alfajores", "mumbai", "aurora-testnet", "near-testnet", "optimism", "optimism-goerli", "theta-testnet-001", "osmo-test-4", "base-testnet", "base", "celo", "arbitrum-one", "avalanche", "zksync-era", "zksync-era-testnet", "sepolia", "polygon-zkevm-testnet", "polygon-zkevm", "scroll-sepolia"];
|
|
1
|
+
export declare const allowedStudioNetworks: readonly ["mainnet", "rinkeby", "goerli", "gnosis", "chapel", "optimism-goerli", "clover", "fantom", "matic", "fantom-testnet", "arbitrum-goerli", "fuji", "celo-alfajores", "mumbai", "aurora-testnet", "near-testnet", "optimism", "optimism-goerli", "theta-testnet-001", "osmo-test-4", "base-testnet", "base", "celo", "arbitrum-one", "avalanche", "zksync-era", "zksync-era-testnet", "sepolia", "polygon-zkevm-testnet", "polygon-zkevm", "scroll-sepolia", "scroll"];
|
|
2
2
|
export declare const validateStudioNetwork: ({ studio, product, network, }: {
|
|
3
3
|
studio?: string | boolean | undefined;
|
|
4
4
|
product?: string | undefined;
|
package/dist/protocols/index.js
CHANGED
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.60.0-alpha-20231010235535-d648634",
|
|
3
3
|
"commands": {
|
|
4
4
|
"add": {
|
|
5
5
|
"id": "add",
|
|
@@ -639,6 +639,7 @@
|
|
|
639
639
|
"polygon-zkevm-testnet",
|
|
640
640
|
"polygon-zkevm",
|
|
641
641
|
"scroll-sepolia",
|
|
642
|
+
"scroll",
|
|
642
643
|
"near-mainnet",
|
|
643
644
|
"near-testnet",
|
|
644
645
|
"cosmoshub-4",
|