File tree Expand file tree Collapse file tree 9 files changed +31
-11
lines changed
src/deployments/subgraph-service Expand file tree Collapse file tree 9 files changed +31
-11
lines changed Original file line number Diff line number Diff line change 1
1
# hardhat-graph-protocol
2
2
3
+ ## 0.1.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @graphprotocol/toolshed @0.5.5
9
+
3
10
## 0.1.21
4
11
5
12
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hardhat-graph-protocol" ,
3
- "version" : " 0.1.21 " ,
3
+ "version" : " 0.1.22 " ,
4
4
"publishConfig" : {
5
5
"access" : " public"
6
6
},
Original file line number Diff line number Diff line change 55
55
"hardhat" : " ^2.22.18" ,
56
56
"hardhat-contract-sizer" : " ^2.10.0" ,
57
57
"hardhat-gas-reporter" : " ^1.0.8" ,
58
- "hardhat-graph-protocol" : " workspace:^0.1.21 " ,
58
+ "hardhat-graph-protocol" : " workspace:^0.1.22 " ,
59
59
"hardhat-secure-accounts" : " ^1.0.5" ,
60
60
"lint-staged" : " ^15.2.2" ,
61
61
"prettier" : " ^3.2.5" ,
Original file line number Diff line number Diff line change 2
2
pragma solidity ^ 0.7.6 || 0.8.27 ;
3
3
4
4
// These are needed to get artifacts for toolshed
5
- import "@graphprotocol/contracts/contracts/l2/discovery/IL2GNS.sol " ;
6
5
import "@graphprotocol/contracts/contracts/disputes/IDisputeManager.sol " ;
6
+ import "@graphprotocol/contracts/contracts/discovery/ISubgraphNFT.sol " ;
7
7
8
8
// Also for toolshed, solidity version in @graphprotocol/contracts does not support overriding public getters
9
9
// in interface file, so we need to amend them here.
10
10
import { IServiceRegistry } from "@graphprotocol/contracts/contracts/discovery/IServiceRegistry.sol " ;
11
11
import { IL2Curation } from "@graphprotocol/contracts/contracts/l2/curation/IL2Curation.sol " ;
12
+ import { IGNS } from "@graphprotocol/contracts/contracts/discovery/IGNS.sol " ;
12
13
13
14
interface IL2CurationToolshed is IL2Curation {
14
15
function subgraphService () external view returns (address );
@@ -17,3 +18,7 @@ interface IL2CurationToolshed is IL2Curation {
17
18
interface IServiceRegistryToolshed is IServiceRegistry {
18
19
function services (address indexer ) external view returns (IServiceRegistry.IndexerService memory );
19
20
}
21
+
22
+ interface IGNSToolshed is IGNS {
23
+ function subgraphNFT () external view returns (address );
24
+ }
Original file line number Diff line number Diff line change 56
56
"hardhat" : " ^2.22.18" ,
57
57
"hardhat-contract-sizer" : " ^2.10.0" ,
58
58
"hardhat-gas-reporter" : " ^1.0.8" ,
59
- "hardhat-graph-protocol" : " workspace:^0.1.21 " ,
59
+ "hardhat-graph-protocol" : " workspace:^0.1.22 " ,
60
60
"hardhat-secure-accounts" : " ^1.0.5" ,
61
61
"json5" : " ^2.2.3" ,
62
62
"lint-staged" : " ^15.2.2" ,
Original file line number Diff line number Diff line change 1
1
# @graphprotocol/toolshed
2
2
3
+ ## 0.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Properly address type issues
8
+ - @graphprotocol/horizon @0.3.3
9
+ - @graphprotocol/subgraph-service @0.3.5
10
+
3
11
## 0.5.4
4
12
5
13
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @graphprotocol/toolshed" ,
3
- "version" : " 0.5.4 " ,
3
+ "version" : " 0.5.5 " ,
4
4
"publishConfig" : {
5
5
"access" : " public"
6
6
},
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import type {
9
9
L2GNS ,
10
10
LegacyDisputeManager ,
11
11
LegacyServiceRegistry ,
12
+ SubgraphNFT ,
12
13
} from './types'
13
14
import type { ContractList } from '../contract'
14
15
@@ -49,7 +50,7 @@ export interface SubgraphServiceContracts extends ContractList<SubgraphServiceCo
49
50
// @graphprotocol /contracts
50
51
L2Curation : L2Curation
51
52
L2GNS : L2GNS
52
- // SubgraphNFT: SubgraphNFT
53
+ SubgraphNFT : SubgraphNFT
53
54
54
55
// @graphprotocol /subgraph-service
55
56
SubgraphService : SubgraphService
Original file line number Diff line number Diff line change 1
1
import type {
2
2
IDisputeManager ,
3
+ IGNSToolshed ,
3
4
IL2CurationToolshed ,
4
5
IServiceRegistryToolshed ,
6
+ ISubgraphNFT ,
5
7
} from '@graphprotocol/subgraph-service'
6
8
7
- import {
8
- L2GNS ,
9
- } from '../horizon'
10
-
11
9
// These are just type re-declarations to keep naming conventions consistent
12
10
export {
13
11
IL2CurationToolshed as L2Curation ,
14
- L2GNS ,
12
+ IGNSToolshed as L2GNS ,
15
13
IDisputeManager as LegacyDisputeManager ,
16
14
IServiceRegistryToolshed as LegacyServiceRegistry ,
15
+ ISubgraphNFT as SubgraphNFT ,
17
16
}
You can’t perform that action at this time.
0 commit comments