@graphprotocol/graph-cli 0.54.0 → 0.55.0-alpha-20230817135924-19cf8e6

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.55.0-alpha-20230817135924-19cf8e6
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1421](https://github.com/graphprotocol/graph-tooling/pull/1421)
8
+ [`19cf8e6`](https://github.com/graphprotocol/graph-tooling/commit/19cf8e6b91acfc8cdd9abf35205b5ba2da37b8a9)
9
+ Thanks [@pranavdaa](https://github.com/pranavdaa)! - Add Scroll testnet to graph-cli
10
+
3
11
  ## 0.54.0
4
12
 
5
13
  ### Minor Changes
@@ -156,6 +156,8 @@ const getEtherscanLikeAPIUrl = (network) => {
156
156
  return `https://zkevm.polygonscan.com/api`;
157
157
  case 'sepolia':
158
158
  return `https://api-sepolia.etherscan.io/api`;
159
+ case 'scroll-sepolia':
160
+ return `https://sepolia-blockscout.scroll.io/api`;
159
161
  default:
160
162
  return `https://api-${network}.etherscan.io/api`;
161
163
  }
@@ -228,6 +230,8 @@ const getPublicRPCEndpoint = (network) => {
228
230
  return 'https://zksync2-mainnet.zksync.io';
229
231
  case 'sepolia':
230
232
  return 'https://rpc.ankr.com/eth_sepolia';
233
+ case 'scroll-sepolia':
234
+ return 'https://rpc.ankr.com/scroll_sepolia_testnet';
231
235
  default:
232
236
  throw new Error(`Unknown network: ${network}`);
233
237
  }
@@ -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", "sepolia", "polygon-zkevm-testnet", "polygon-zkevm"];
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", "sepolia", "polygon-zkevm-testnet", "polygon-zkevm", "scroll-sepolia"];
2
2
  export declare const validateStudioNetwork: ({ studio, product, network, }: {
3
3
  studio?: string | boolean | undefined;
4
4
  product?: string | undefined;
@@ -31,6 +31,7 @@ exports.allowedStudioNetworks = [
31
31
  'sepolia',
32
32
  'polygon-zkevm-testnet',
33
33
  'polygon-zkevm',
34
+ 'scroll-sepolia',
34
35
  ];
35
36
  const validateStudioNetwork = ({ studio, product, network, }) => {
36
37
  const isStudio = studio || product === 'subgraph-studio';
@@ -124,6 +124,7 @@ class Protocol {
124
124
  'sepolia',
125
125
  'polygon-zkevm-testnet',
126
126
  'polygon-zkevm',
127
+ 'scroll-sepolia',
127
128
  ],
128
129
  near: ['near-mainnet', 'near-testnet'],
129
130
  cosmos: [
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.54.0",
2
+ "version": "0.55.0-alpha-20230817135924-19cf8e6",
3
3
  "commands": {
4
4
  "add": {
5
5
  "id": "add",
@@ -631,6 +631,7 @@
631
631
  "sepolia",
632
632
  "polygon-zkevm-testnet",
633
633
  "polygon-zkevm",
634
+ "scroll-sepolia",
634
635
  "near-mainnet",
635
636
  "near-testnet",
636
637
  "cosmoshub-4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-cli",
3
- "version": "0.54.0",
3
+ "version": "0.55.0-alpha-20230817135924-19cf8e6",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {