@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-blockscout.scroll.io/api`;
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;
@@ -33,6 +33,7 @@ exports.allowedStudioNetworks = [
33
33
  'polygon-zkevm-testnet',
34
34
  'polygon-zkevm',
35
35
  'scroll-sepolia',
36
+ 'scroll',
36
37
  ];
37
38
  const validateStudioNetwork = ({ studio, product, network, }) => {
38
39
  const isStudio = studio || product === 'subgraph-studio';
@@ -126,6 +126,7 @@ class Protocol {
126
126
  'polygon-zkevm-testnet',
127
127
  'polygon-zkevm',
128
128
  'scroll-sepolia',
129
+ 'scroll',
129
130
  ],
130
131
  near: ['near-mainnet', 'near-testnet'],
131
132
  cosmos: [
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.59.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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-cli",
3
- "version": "0.59.0",
3
+ "version": "0.60.0-alpha-20231010235535-d648634",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {