@graphprotocol/graph-cli 0.43.0-rc-20230306173815-cd15555 → 0.43.0

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,9 +1,17 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
- ## 0.43.0-rc-20230306173815-cd15555
3
+ ## 0.43.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
+ - [#1192](https://github.com/graphprotocol/graph-tooling/pull/1192)
8
+ [`4a5d805`](https://github.com/graphprotocol/graph-tooling/commit/4a5d805d3a5c44899c4897d1a858b13c6c36673b)
9
+ Thanks [@incrypto32](https://github.com/incrypto32)! - Add zksync era
10
+
11
+ ## 0.42.4
12
+
13
+ ### Patch Changes
14
+
7
15
  - [#1185](https://github.com/graphprotocol/graph-tooling/pull/1185)
8
16
  [`edf14d6`](https://github.com/graphprotocol/graph-tooling/commit/edf14d6fa580e99b317a977d0b693f182e746d4e)
9
17
  Thanks [@incrypto32](https://github.com/incrypto32)! - Fix graph init failing to add more than one
@@ -146,6 +146,8 @@ const getEtherscanLikeAPIUrl = (network) => {
146
146
  return `https://api.ftmscan.com/api`;
147
147
  case 'fantom-testnet':
148
148
  return `https://api-testnet.ftmscan.com/api`;
149
+ case 'zksync-era':
150
+ return `https://explorer.zksync.io/api`;
149
151
  default:
150
152
  return `https://api-${network}.etherscan.io/api`;
151
153
  }
@@ -208,6 +210,8 @@ const getPublicRPCEndpoint = (network) => {
208
210
  return 'https://sokol.poa.network';
209
211
  case 'rinkeby':
210
212
  return 'https://rpc.ankr.com/eth_rinkeby';
213
+ case 'zksync-era':
214
+ return 'https://zksync2-mainnet.zksync.io';
211
215
  default:
212
216
  throw new Error(`Unknown network: ${network}`);
213
217
  }
@@ -22,6 +22,7 @@ exports.allowedStudioNetworks = [
22
22
  'celo',
23
23
  'arbitrum-one',
24
24
  'avalanche',
25
+ 'zksync-era',
25
26
  ];
26
27
  const validateStudioNetwork = ({ studio, product, network, }) => {
27
28
  const isStudio = studio || product === 'subgraph-studio';
@@ -119,6 +119,7 @@ class Protocol {
119
119
  'aurora',
120
120
  'aurora-testnet',
121
121
  'base-testnet',
122
+ 'zksync-era',
122
123
  ],
123
124
  near: ['near-mainnet', 'near-testnet'],
124
125
  cosmos: [
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.43.0-rc-20230306173815-cd15555",
2
+ "version": "0.43.0",
3
3
  "commands": {
4
4
  "add": {
5
5
  "id": "add",
@@ -575,6 +575,7 @@
575
575
  "aurora",
576
576
  "aurora-testnet",
577
577
  "base-testnet",
578
+ "zksync-era",
578
579
  "near-mainnet",
579
580
  "near-testnet",
580
581
  "cosmoshub-4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-cli",
3
- "version": "0.43.0-rc-20230306173815-cd15555",
3
+ "version": "0.43.0",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {