Skip to content

Commit fbe38f9

Browse files
committed
fix: add ICuration to L2Curation interface
Signed-off-by: Tomás Migone <[email protected]>
1 parent 4f23eea commit fbe38f9

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.changeset/huge-guests-say.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphprotocol/interfaces': patch
3+
---
4+
5+
Add ICuration to L2Curation interface

.markdownlintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ deployments/hardhat/
3636
**/horizon-hardhat/
3737
**/subgraph-service-localhost/
3838
**/subgraph-service-hardhat/
39+
.changeset/
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22
pragma solidity ^0.7.6 || 0.8.27;
33

4+
import { ICuration } from "../contracts/curation/ICuration.sol";
45
import { IL2Curation } from "../contracts/l2/curation/IL2Curation.sol";
56

6-
interface IL2CurationToolshed is IL2Curation {
7+
interface IL2CurationToolshed is ICuration, IL2Curation {
78
function subgraphService() external view returns (address);
89
}

packages/subgraph-service/scripts/ops/protocol-activity.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ async function main() {
199199
const curate = Math.random() < 0.5
200200
if (curate) {
201201
await GraphToken.connect(signer).approve(Curation.target, 12345n)
202-
// @ts-expect-error - TODO: Fix this?
203202
await Curation.connect(signer).mint(subgraphDeploymentId, 12345n, 0)
204203
}
205204
}

0 commit comments

Comments
 (0)