@graphprotocol/graph-cli 0.71.0 → 0.71.1-alpha-20240502182004-2702011f3b44e22fbc0aca34a2977641cfdd2adb
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 +7 -0
- package/dist/codegen/types/conversions.js +1 -1
- package/dist/command-helpers/abi.js +2 -0
- package/dist/command-helpers/scaffold.d.ts +4 -4
- package/dist/command-helpers/subgraph.d.ts +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/protocols/ethereum/scaffold/manifest.d.ts +1 -1
- package/dist/protocols/index.js +2 -2
- package/dist/protocols/substreams/scaffold/manifest.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
+
## 0.71.1-alpha-20240502182004-2702011f3b44e22fbc0aca34a2977641cfdd2adb
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4d63b25`](https://github.com/graphprotocol/graph-tooling/commit/4d63b255b6bd0db5b79036bdf45596095dd8625b)
|
|
8
|
+
Thanks [@saihaj](https://github.com/saihaj)! - fix etherscan like url for fuse
|
|
9
|
+
|
|
3
10
|
## 0.71.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -300,7 +300,7 @@ const ASSEMBLYSCRIPT_TO_VALUE = [
|
|
|
300
300
|
(code) => `Value.fromBigDecimalMatrix(${code})`,
|
|
301
301
|
],
|
|
302
302
|
['Array<Array<string>>', /\[\[.*\]\]/, (code) => `Value.fromStringMatrix(${code})`],
|
|
303
|
-
['Array<Array<string | null>>', null, (code) => `Value.fromStringMatrix(${code})`],
|
|
303
|
+
['Array<Array<string | null>>', null, (code) => `Value.fromStringMatrix(${code})`], // is this overwriting the Array null below?
|
|
304
304
|
['Array<ethereum.Tuple>', '[Bytes]', (code) => `Value.fromBytesArray(${code})`],
|
|
305
305
|
// Arrays
|
|
306
306
|
['Array<Address>', '[Bytes]', (code) => `Value.fromBytesArray(${code})`],
|
|
@@ -200,6 +200,8 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
200
200
|
return `https://explorer.mode.network/api`;
|
|
201
201
|
case 'mode-sepolia':
|
|
202
202
|
return `https://sepolia.explorer.mode.network/api`;
|
|
203
|
+
case 'fuse':
|
|
204
|
+
return 'https://explorer.fuse.io/api';
|
|
203
205
|
default:
|
|
204
206
|
return `https://api-${network}.etherscan.io/api`;
|
|
205
207
|
}
|
|
@@ -10,10 +10,10 @@ export declare const generateScaffold: ({ protocolInstance, abi, contract, netwo
|
|
|
10
10
|
network: string;
|
|
11
11
|
subgraphName: string;
|
|
12
12
|
indexEvents: boolean;
|
|
13
|
-
contractName?: string
|
|
14
|
-
startBlock?: string
|
|
15
|
-
node?: string
|
|
16
|
-
spkgPath?: string
|
|
13
|
+
contractName?: string;
|
|
14
|
+
startBlock?: string;
|
|
15
|
+
node?: string;
|
|
16
|
+
spkgPath?: string;
|
|
17
17
|
}, spinner: Spinner) => Promise<{
|
|
18
18
|
'subgraph.yaml': string;
|
|
19
19
|
'schema.graphql': string;
|
package/dist/commands/deploy.js
CHANGED
|
@@ -331,7 +331,7 @@ class DeployCommand extends core_1.Command {
|
|
|
331
331
|
outputDir,
|
|
332
332
|
outputFormat: 'wasm',
|
|
333
333
|
skipMigrations,
|
|
334
|
-
blockIpfsMethods: isStudio || undefined,
|
|
334
|
+
blockIpfsMethods: isStudio || undefined, // Network does not support publishing subgraphs with IPFS methods
|
|
335
335
|
protocol,
|
|
336
336
|
});
|
|
337
337
|
// Exit with an error code if the compiler couldn't be created
|
|
@@ -2,7 +2,7 @@ import ABI from '../abi';
|
|
|
2
2
|
export declare const source: ({ contract, contractName, startBlock, }: {
|
|
3
3
|
contract: string;
|
|
4
4
|
contractName: string;
|
|
5
|
-
startBlock?: string
|
|
5
|
+
startBlock?: string;
|
|
6
6
|
}) => string;
|
|
7
7
|
export declare const mapping: ({ abi, contractName }: {
|
|
8
8
|
abi: ABI;
|
package/dist/protocols/index.js
CHANGED
|
@@ -146,9 +146,9 @@ class Protocol {
|
|
|
146
146
|
near: ['near-mainnet', 'near-testnet'],
|
|
147
147
|
cosmos: [
|
|
148
148
|
'cosmoshub-4',
|
|
149
|
-
'theta-testnet-001',
|
|
149
|
+
'theta-testnet-001', // CosmosHub testnet
|
|
150
150
|
'osmosis-1',
|
|
151
|
-
'osmo-test-4',
|
|
151
|
+
'osmo-test-4', // Osmosis testnet
|
|
152
152
|
'juno-1',
|
|
153
153
|
'uni-3', // Juno testnet
|
|
154
154
|
],
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED