Skip to content

Commit 4f23eea

Browse files
committed
chore: add missing interfaces and fix npm publishing issues
Signed-off-by: Tomás Migone <[email protected]>
1 parent 31edeed commit 4f23eea

File tree

12 files changed

+76
-18
lines changed

12 files changed

+76
-18
lines changed

packages/hardhat-graph-protocol/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# hardhat-graph-protocol
22

3+
## 0.2.4
4+
5+
### Patch Changes
6+
7+
- Ensure latest build is published to npm
8+
- Updated dependencies
9+
- @graphprotocol/toolshed@0.6.4
10+
11+
## 0.2.3
12+
13+
### Patch Changes
14+
15+
- @graphprotocol/toolshed@0.6.3
16+
317
## 0.2.2
418

519
### Patch Changes

packages/hardhat-graph-protocol/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hardhat-graph-protocol",
3-
"version": "0.2.2",
3+
"version": "0.2.4",
44
"publishConfig": {
55
"access": "public"
66
},
@@ -31,7 +31,7 @@
3131
"clean": "rm -rf dist",
3232
"lint": "eslint --fix --cache '**/*.{js,ts,cjs,mjs,jsx,tsx}'; prettier -w --cache --log-level warn '**/*.{js,ts,cjs,mjs,jsx,tsx}'",
3333
"test": "mocha --exit --recursive 'test/**/*.test.ts'",
34-
"prepublishOnly": "npm run build"
34+
"prepublishOnly": "pnpm run build"
3535
},
3636
"files": [
3737
"dist/",

packages/horizon/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphprotocol/horizon
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- Ensure latest build is published to npm
8+
39
## 0.4.0
410

511
### Minor Changes

packages/horizon/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/horizon",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"publishConfig": {
55
"access": "public"
66
},
@@ -30,7 +30,8 @@
3030
"build": "hardhat compile",
3131
"test": "forge test",
3232
"test:deployment": "SECURE_ACCOUNTS_DISABLE_PROVIDER=true hardhat test test/deployment/*.ts",
33-
"test:integration": "./scripts/integration"
33+
"test:integration": "./scripts/integration",
34+
"prepublishOnly": "pnpm run build"
3435
},
3536
"devDependencies": {
3637
"@defi-wonderland/natspec-smells": "^1.1.6",
@@ -62,7 +63,7 @@
6263
"hardhat": "^2.22.18",
6364
"hardhat-contract-sizer": "^2.10.0",
6465
"hardhat-gas-reporter": "^1.0.8",
65-
"hardhat-graph-protocol": "workspace:^0.2.2",
66+
"hardhat-graph-protocol": "workspace:^0.2.4",
6667
"hardhat-secure-accounts": "^1.0.5",
6768
"lint-staged": "^15.2.2",
6869
"prettier": "^3.2.5",

packages/interfaces/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @graphprotocol/interfaces
22

3+
## 0.2.4
4+
5+
### Patch Changes
6+
7+
- Ensure latest build is published to npm
8+
9+
## 0.2.3
10+
11+
### Patch Changes
12+
13+
- Add missing interfaces to SubgraphService and ServiceRegistry contracts
14+
315
## 0.2.2
416

517
### Patch Changes

packages/interfaces/contracts/toolshed/IServiceRegistryToolshed.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import { IServiceRegistry } from "../contracts/discovery/IServiceRegistry.sol";
55

66
interface IServiceRegistryToolshed is IServiceRegistry {
77
/**
8-
* @notice Gets the indexer details
9-
* @dev Note that this storage getter actually returns a ISubgraphService.Indexer struct, but ethers v6 is not
8+
* @notice Gets the indexer registrationdetails
9+
* @dev Note that this storage getter actually returns a ISubgraphService.IndexerService struct, but ethers v6 is not
1010
* good at dealing with dynamic types on return values.
1111
* @param indexer The address of the indexer
1212
* @return url The URL where the indexer can be reached at for queries
1313
* @return geoHash The indexer's geo location, expressed as a geo hash
1414
*/
15-
function indexers(address indexer) external view returns (string memory url, string memory geoHash);
15+
function services(address indexer) external view returns (string memory url, string memory geoHash);
1616
}

packages/interfaces/contracts/toolshed/ISubgraphServiceToolshed.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { ILegacyAllocation } from "../subgraph-service/internal/ILegacyAllocatio
88
import { IProvisionManager } from "./internal/IProvisionManager.sol";
99
import { IProvisionTracker } from "./internal/IProvisionTracker.sol";
1010
import { IDataServicePausable } from "../data-service/IDataServicePausable.sol";
11+
import { IMulticall } from "../contracts/base/IMulticall.sol";
1112

1213
interface ISubgraphServiceToolshed is
1314
ISubgraphService,
@@ -16,7 +17,8 @@ interface ISubgraphServiceToolshed is
1617
IDataServicePausable,
1718
ILegacyAllocation,
1819
IProvisionManager,
19-
IProvisionTracker
20+
IProvisionTracker,
21+
IMulticall
2022
{
2123
/**
2224
* @notice Gets the indexer details

packages/interfaces/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/interfaces",
3-
"version": "0.2.2",
3+
"version": "0.2.4",
44
"publishConfig": {
55
"access": "public"
66
},
@@ -31,7 +31,8 @@
3131
"format": "prettier -w --cache --log-level warn '**/*.{js,ts,cjs,mjs,jsx,tsx,json,md,yaml,yml}'",
3232
"build": "hardhat compile && tsc",
3333
"build:clean": "pnpm clean && pnpm build",
34-
"watch": "tsc --watch"
34+
"watch": "tsc --watch",
35+
"prepublishOnly": "pnpm run build"
3536
},
3637
"devDependencies": {
3738
"@defi-wonderland/natspec-smells": "^1.1.6",

packages/subgraph-service/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphprotocol/subgraph-service
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- Ensure latest build is published to npm
8+
39
## 0.4.0
410

511
### Minor Changes

packages/subgraph-service/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/subgraph-service",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"publishConfig": {
55
"access": "public"
66
},
@@ -28,12 +28,13 @@
2828
"build": "hardhat compile",
2929
"test": "forge test",
3030
"test:deployment": "SECURE_ACCOUNTS_DISABLE_PROVIDER=true hardhat test test/deployment/*.ts",
31-
"test:integration": "./scripts/integration"
31+
"test:integration": "./scripts/integration",
32+
"prepublishOnly": "pnpm run build"
3233
},
3334
"devDependencies": {
3435
"@defi-wonderland/natspec-smells": "^1.1.6",
3536
"@graphprotocol/contracts": "workspace:^7.3.0",
36-
"@graphprotocol/horizon": "workspace:^0.4.0",
37+
"@graphprotocol/horizon": "workspace:^0.4.1",
3738
"@graphprotocol/interfaces": "workspace:^",
3839
"@graphprotocol/toolshed": "workspace:^",
3940
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
@@ -61,7 +62,7 @@
6162
"hardhat": "^2.22.18",
6263
"hardhat-contract-sizer": "^2.10.0",
6364
"hardhat-gas-reporter": "^1.0.8",
64-
"hardhat-graph-protocol": "workspace:^0.2.2",
65+
"hardhat-graph-protocol": "workspace:^0.2.4",
6566
"hardhat-secure-accounts": "^1.0.5",
6667
"json5": "^2.2.3",
6768
"lint-staged": "^15.2.2",

packages/toolshed/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @graphprotocol/toolshed
22

3+
## 0.6.4
4+
5+
### Patch Changes
6+
7+
- Ensure latest build is published to npm
8+
- Updated dependencies
9+
- @graphprotocol/interfaces@0.2.4
10+
11+
## 0.6.3
12+
13+
### Patch Changes
14+
15+
- Updated dependencies
16+
- @graphprotocol/interfaces@0.2.3
17+
318
## 0.6.2
419

520
### Patch Changes

packages/toolshed/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/toolshed",
3-
"version": "0.6.2",
3+
"version": "0.6.4",
44
"publishConfig": {
55
"access": "public"
66
},
@@ -34,11 +34,11 @@
3434
"scripts": {
3535
"build": "tsc",
3636
"watch": "tsc --watch",
37-
"prepublishOnly": "tsc",
3837
"lint": "pnpm lint:ts; pnpm lint:json",
3938
"lint:ts": "eslint --fix --cache '**/*.{js,ts,cjs,mjs,jsx,tsx}'; prettier -w --cache --log-level warn '**/*.{js,ts,cjs,mjs,jsx,tsx}'",
4039
"lint:json": "prettier -w --cache --log-level warn '**/*.json'",
41-
"clean": "rm -rf dist"
40+
"clean": "rm -rf dist",
41+
"prepublishOnly": "pnpm run build"
4242
},
4343
"keywords": [
4444
"ethereum",

0 commit comments

Comments
 (0)