@graphprotocol/graph-cli 0.60.0 → 0.61.0-alpha-20231101193848-147b5e5
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 +9 -1
- package/dist/codegen/types/conversions.js +1 -1
- package/dist/command-helpers/abi.js +4 -0
- package/dist/command-helpers/studio.d.ts +1 -1
- package/dist/command-helpers/studio.js +1 -0
- package/dist/compiler/asc.js +1 -1
- package/dist/protocols/index.js +1 -0
- package/oclif.manifest.json +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
+
## 0.61.0-alpha-20231101193848-147b5e5
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1489](https://github.com/graphprotocol/graph-tooling/pull/1489)
|
|
8
|
+
[`147b5e5`](https://github.com/graphprotocol/graph-tooling/commit/147b5e5b4e35fd52e24e4200e173f869301a9e4d)
|
|
9
|
+
Thanks [@saihaj](https://github.com/saihaj)! - Arbitrum Sepolia support
|
|
10
|
+
|
|
3
11
|
## 0.60.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -657,7 +665,7 @@
|
|
|
657
665
|
|
|
658
666
|
- [#1132](https://github.com/graphprotocol/graph-tooling/pull/1132)
|
|
659
667
|
[`719c8f5`](https://github.com/graphprotocol/graph-tooling/commit/719c8f5e890cc2392fb15cdb318b8f55570f9419)
|
|
660
|
-
Thanks [@cmwhited](https://github.com/cmwhited)! - enable deployment of celo,
|
|
668
|
+
Thanks [@cmwhited](https://github.com/cmwhited)! - enable deployment of celo, avalanche and
|
|
661
669
|
arbitrum-one in studio
|
|
662
670
|
|
|
663
671
|
## 0.42.1
|
|
@@ -192,7 +192,7 @@ const ASSEMBLYSCRIPT_TO_ETHEREUM_VALUE = [
|
|
|
192
192
|
/^tuple\[([0-9]+)?\]$/,
|
|
193
193
|
(code) => `ethereum.Value.fromTupleArray(${code})`,
|
|
194
194
|
],
|
|
195
|
-
// Multi
|
|
195
|
+
// Multi dimensional arrays
|
|
196
196
|
[
|
|
197
197
|
'Array<Array<Address>>',
|
|
198
198
|
/^address\[([0-9]+)?\]\[([0-9]+)?\]$/,
|
|
@@ -108,6 +108,8 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
108
108
|
return `https://api.arbiscan.io/api`;
|
|
109
109
|
case 'arbitrum-goerli':
|
|
110
110
|
return `https://api-goerli.arbiscan.io/api`;
|
|
111
|
+
case 'arbitrum-sepolia':
|
|
112
|
+
return `https://api-sepolia.arbiscan.io/api`;
|
|
111
113
|
case 'bsc':
|
|
112
114
|
return `https://api.bscscan.com/api`;
|
|
113
115
|
case 'base-testnet':
|
|
@@ -172,6 +174,8 @@ const getPublicRPCEndpoint = (network) => {
|
|
|
172
174
|
return 'https://goerli-rollup.arbitrum.io/rpc';
|
|
173
175
|
case 'arbitrum-one':
|
|
174
176
|
return 'https://arb1.arbitrum.io/rpc';
|
|
177
|
+
case 'arbitrum-sepolia':
|
|
178
|
+
return `https://sepolia-rollup.arbitrum.io/rpc`;
|
|
175
179
|
case 'aurora':
|
|
176
180
|
return 'https://rpc.mainnet.aurora.dev';
|
|
177
181
|
case 'aurora-testnet':
|
|
@@ -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", "scroll"];
|
|
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", "arbitrum-sepolia", "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/compiler/asc.js
CHANGED
|
@@ -77,7 +77,7 @@ const compile = ({ inputFile, global, baseDir, libs, outputFile }) => {
|
|
|
77
77
|
'--debug',
|
|
78
78
|
];
|
|
79
79
|
assemblyScriptCompiler(compilerArgs, compilerDefaults);
|
|
80
|
-
// only if compiler
|
|
80
|
+
// only if compiler succeeded, that is, when the line above doesn't throw
|
|
81
81
|
removeExitHandler(exitHandler);
|
|
82
82
|
};
|
|
83
83
|
exports.compile = compile;
|
package/dist/protocols/index.js
CHANGED
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.61.0-alpha-20231101193848-147b5e5",
|
|
3
3
|
"commands": {
|
|
4
4
|
"add": {
|
|
5
5
|
"id": "add",
|
|
@@ -627,6 +627,7 @@
|
|
|
627
627
|
"mbase",
|
|
628
628
|
"arbitrum-one",
|
|
629
629
|
"arbitrum-goerli",
|
|
630
|
+
"arbitrum-sepolia",
|
|
630
631
|
"optimism",
|
|
631
632
|
"optimism-goerli",
|
|
632
633
|
"aurora",
|