From bbdd080831e8f274f0413fe9e12e54482e99365c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:17:01 +0100 Subject: [PATCH 01/12] Bump version labels for staging and prod --- Jenkinsfile_Subgraph_bellecour | 2 +- Jenkinsfile_Subgraph_bellecour_stagingv8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile_Subgraph_bellecour b/Jenkinsfile_Subgraph_bellecour index 5dbf228..3250668 100644 --- a/Jenkinsfile_Subgraph_bellecour +++ b/Jenkinsfile_Subgraph_bellecour @@ -6,6 +6,6 @@ deploySubGraph( targetRemoteHostIPFS : 'ipfs-upload.v8-bellecour.iex.ec', subgraphFolder: './', subgraphFilename: 'subgraph.bellecour.yaml', - subgraphVersionLabel: 'v1.0.0-rc.1', + subgraphVersionLabel: 'v1.1.0', subgraphLabel: 'bellecour/poco-v5' ) diff --git a/Jenkinsfile_Subgraph_bellecour_stagingv8 b/Jenkinsfile_Subgraph_bellecour_stagingv8 index eed830b..8208816 100644 --- a/Jenkinsfile_Subgraph_bellecour_stagingv8 +++ b/Jenkinsfile_Subgraph_bellecour_stagingv8 @@ -6,6 +6,6 @@ deploySubGraph( targetRemoteHostIPFS : 'ipfs-upload.stagingv8.iex.ec', subgraphFolder: './', subgraphFilename: 'subgraph.bellecour.yaml', - subgraphVersionLabel: 'v1.0.0-rc.1', + subgraphVersionLabel: 'v1.1.0', subgraphLabel: 'bellecour/poco-v5' ) From da339787b74d491ac32de001742686ada6a7449a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:21:10 +0100 Subject: [PATCH 02/12] Update changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dc62b6..1a3ea43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## vNext +## v1.1.0 - Support deal sponsor - Add `sponsor` to `deal`. (#31) - Update deployment hosts: - production (#30) @@ -9,7 +9,7 @@ - Add integration test suite. (#21) - Add unit test suite. (#20) -## 1.0.0 - initial release +## v1.0.0 - initial release ### features From 160d6c48e4efd003da5f1125b9f9773f9ad7f7e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:21:54 +0100 Subject: [PATCH 03/12] 1.1.0 --- package-lock.json | 4 ++-- package.json | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9e28aa3..04092ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@iexec/subgraph", - "version": "1.0.0-rc.1", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@iexec/subgraph", - "version": "1.0.0-rc.1", + "version": "1.1.0", "license": "Apache-2.0", "dependencies": { "@iexec/poco": "^5.5.0", diff --git a/package.json b/package.json index dc1ab53..1aade5e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@iexec/subgraph", - "version": "1.0.0-rc.1", + "version": "1.1.0", "author": "iExec", "license": "Apache-2.0", "scripts": { @@ -14,7 +14,6 @@ "deploy": "graph deploy ${NETWORK_NAME:-bellecour}/poco --node ${GRAPHNODE_URL:-http://localhost:8020} --ipfs ${IPFS_URL:-http://localhost:5001} --version-label ${VERSION_LABEL:-bellecour/poco-v5}", "deploy:all": "npm run build && npm run create && npm run deploy", "itest": "DEBUG=testcontainers:* mocha" - }, "lint-staged": { "*.{js,ts}": [ From 3602ed3ca4b99c1084ba99cc51e651f06612fd89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:11:41 +0100 Subject: [PATCH 04/12] Create sponsor account if missing --- src/Modules/IexecPoco.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Modules/IexecPoco.ts b/src/Modules/IexecPoco.ts index e15eeb0..ba7bc6a 100644 --- a/src/Modules/IexecPoco.ts +++ b/src/Modules/IexecPoco.ts @@ -131,6 +131,7 @@ export function handleOrdersMatched(event: OrdersMatchedEvent): void { fetchAccount(viewedDeal.requester.toHex()).save(); fetchAccount(viewedDeal.beneficiary.toHex()).save(); fetchAccount(viewedDeal.callback.toHex()).save(); + fetchAccount(viewedDeal.sponsor.toHex()).save(); let deal = fetchDeal(event.params.dealid.toHex()); deal.app = viewedDeal.app.pointer.toHex(); From 56f520a28a69dbd0e19de328c255d417735e2a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Wed, 5 Feb 2025 17:26:33 +0100 Subject: [PATCH 05/12] Set 4 months ago bellecour block --- networks.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/networks.json b/networks.json index 9497c64..8fe0835 100644 --- a/networks.json +++ b/networks.json @@ -24,23 +24,23 @@ "bellecour": { "ERC1538": { "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 4543300 + "startBlock": 30154000 }, "Core": { "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 4543300 + "startBlock": 30154000 }, "AppRegistry": { "address": "0xB1C52075b276f87b1834919167312221d50c9D16", - "startBlock": 4543300 + "startBlock": 30154000 }, "DatasetRegistry": { "address": "0x799DAa22654128d0C64d5b79eac9283008158730", - "startBlock": 4543300 + "startBlock": 30154000 }, "WorkerpoolRegistry": { "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4", - "startBlock": 4543300 + "startBlock": 30154000 } } } From aa61ce306b6791f601d9deaba2a9b018483cf244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Thu, 6 Feb 2025 10:29:55 +0100 Subject: [PATCH 06/12] Relocate 4 months ago bellecour block setting to bellecour.yml config --- networks.json | 10 +++++----- subgraph.bellecour.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/networks.json b/networks.json index 8fe0835..9497c64 100644 --- a/networks.json +++ b/networks.json @@ -24,23 +24,23 @@ "bellecour": { "ERC1538": { "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 30154000 + "startBlock": 4543300 }, "Core": { "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 30154000 + "startBlock": 4543300 }, "AppRegistry": { "address": "0xB1C52075b276f87b1834919167312221d50c9D16", - "startBlock": 30154000 + "startBlock": 4543300 }, "DatasetRegistry": { "address": "0x799DAa22654128d0C64d5b79eac9283008158730", - "startBlock": 30154000 + "startBlock": 4543300 }, "WorkerpoolRegistry": { "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4", - "startBlock": 30154000 + "startBlock": 4543300 } } } diff --git a/subgraph.bellecour.yaml b/subgraph.bellecour.yaml index 52feb4a..45e425c 100644 --- a/subgraph.bellecour.yaml +++ b/subgraph.bellecour.yaml @@ -13,7 +13,7 @@ dataSources: source: address: "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" abi: ERC1538 - startBlock: 4543300 + startBlock: 30154000 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -39,7 +39,7 @@ dataSources: source: address: "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" abi: IexecInterfaceToken - startBlock: 4543300 + startBlock: 30154000 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -119,7 +119,7 @@ dataSources: source: address: "0xB1C52075b276f87b1834919167312221d50c9D16" abi: AppRegistry - startBlock: 4543300 + startBlock: 30154000 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -144,7 +144,7 @@ dataSources: source: address: "0x799DAa22654128d0C64d5b79eac9283008158730" abi: DatasetRegistry - startBlock: 4543300 + startBlock: 30154000 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -169,7 +169,7 @@ dataSources: source: address: "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" abi: WorkerpoolRegistry - startBlock: 4543300 + startBlock: 30154000 mapping: kind: ethereum/events apiVersion: 0.0.6 From 1be701896583ee37bf996c37a9cfe89bd8eb4d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Thu, 6 Feb 2025 18:10:49 +0100 Subject: [PATCH 07/12] Bump few blocks later --- subgraph.bellecour.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subgraph.bellecour.yaml b/subgraph.bellecour.yaml index 45e425c..c369be1 100644 --- a/subgraph.bellecour.yaml +++ b/subgraph.bellecour.yaml @@ -13,7 +13,7 @@ dataSources: source: address: "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" abi: ERC1538 - startBlock: 30154000 + startBlock: 30154300 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -39,7 +39,7 @@ dataSources: source: address: "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" abi: IexecInterfaceToken - startBlock: 30154000 + startBlock: 30154300 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -119,7 +119,7 @@ dataSources: source: address: "0xB1C52075b276f87b1834919167312221d50c9D16" abi: AppRegistry - startBlock: 30154000 + startBlock: 30154300 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -144,7 +144,7 @@ dataSources: source: address: "0x799DAa22654128d0C64d5b79eac9283008158730" abi: DatasetRegistry - startBlock: 30154000 + startBlock: 30154300 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -169,7 +169,7 @@ dataSources: source: address: "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" abi: WorkerpoolRegistry - startBlock: 30154000 + startBlock: 30154300 mapping: kind: ethereum/events apiVersion: 0.0.6 From e993a3c670405f2fcf1d7cbf4f58760b824a4d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Fri, 7 Feb 2025 09:09:13 +0100 Subject: [PATCH 08/12] Travel few blocks before poco sponsoring release --- networks.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/networks.json b/networks.json index 9497c64..c07befa 100644 --- a/networks.json +++ b/networks.json @@ -1,46 +1,46 @@ { "test": { "ERC1538": { - "address": "0xc4b11f41746D3Ad8504da5B383E1aB9aa969AbC7", - "startBlock": 0 + "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", + "startBlock": 30277777 }, "Core": { - "address": "0xc4b11f41746D3Ad8504da5B383E1aB9aa969AbC7", - "startBlock": 0 + "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", + "startBlock": 30277777 }, "AppRegistry": { - "address": "0xd5Fe43e3cDD29812949dc9b368345537D7B73001", - "startBlock": 0 + "address": "0xB1C52075b276f87b1834919167312221d50c9D16", + "startBlock": 30277777 }, "DatasetRegistry": { - "address": "0xf3bd0602fA481230271c5396f146e5695D3750A6", - "startBlock": 0 + "address": "0x799DAa22654128d0C64d5b79eac9283008158730", + "startBlock": 30277777 }, "WorkerpoolRegistry": { - "address": "0x6Cb57fA761812c34645C945cA89AAe3602D42eD3", - "startBlock": 0 - } + "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4", + "startBlock": 30277777 + } }, "bellecour": { "ERC1538": { "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 4543300 + "startBlock": 30277777 }, "Core": { "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 4543300 + "startBlock": 30277777 }, "AppRegistry": { "address": "0xB1C52075b276f87b1834919167312221d50c9D16", - "startBlock": 4543300 + "startBlock": 30277777 }, "DatasetRegistry": { "address": "0x799DAa22654128d0C64d5b79eac9283008158730", - "startBlock": 4543300 + "startBlock": 30277777 }, "WorkerpoolRegistry": { "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4", - "startBlock": 4543300 + "startBlock": 30277777 } } } From cb18748365d9bee17e42c9efca91e706cbf6102f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Fri, 7 Feb 2025 15:23:18 +0100 Subject: [PATCH 09/12] Handle `sponsor` introduced on Bellecour for the PoCo v5.5.0 release --- src/Modules/IexecPoco.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/Modules/IexecPoco.ts b/src/Modules/IexecPoco.ts index ba7bc6a..828345d 100644 --- a/src/Modules/IexecPoco.ts +++ b/src/Modules/IexecPoco.ts @@ -1,7 +1,8 @@ // SPDX-FileCopyrightText: 2020-2024 IEXEC BLOCKCHAIN TECH // SPDX-License-Identifier: Apache-2.0 -import { BigInt } from '@graphprotocol/graph-ts'; +import { Address, BigInt, dataSource } from '@graphprotocol/graph-ts'; +const chainName = dataSource.network(); import { AccurateContribution as AccurateContributionEvent, @@ -127,11 +128,16 @@ export function handleMatchOrders(call: MatchOrdersCall): void { export function handleOrdersMatched(event: OrdersMatchedEvent): void { let contract = IexecInterfaceTokenContract.bind(event.address); let viewedDeal = contract.viewDeal(event.params.dealid); - + // The `sponsor` has been introduced on Bellecour for the PoCo v5.5.0 release: + // https://blockscout.bellecour.iex.ec/tx/0x71b904f526a9be218d35748f57d74ef6da20d12c88f94cfa1ec5ae2de187cb98 + const sponsor = + chainName == 'bellecour' && event.block.number < BigInt.fromI32(30277938) + ? Address.zero().toHexString() + : viewedDeal.sponsor.toHex(); fetchAccount(viewedDeal.requester.toHex()).save(); fetchAccount(viewedDeal.beneficiary.toHex()).save(); fetchAccount(viewedDeal.callback.toHex()).save(); - fetchAccount(viewedDeal.sponsor.toHex()).save(); + fetchAccount(sponsor).save(); let deal = fetchDeal(event.params.dealid.toHex()); deal.app = viewedDeal.app.pointer.toHex(); @@ -155,7 +161,7 @@ export function handleOrdersMatched(event: OrdersMatchedEvent): void { deal.botSize = viewedDeal.botSize; deal.workerStake = viewedDeal.workerStake; deal.schedulerRewardRatio = viewedDeal.schedulerRewardRatio; - deal.sponsor = viewedDeal.sponsor.toHex(); + deal.sponsor = sponsor; deal.apporder = event.params.appHash.toHex(); deal.datasetorder = event.params.datasetHash.toHex(); deal.workerpoolorder = event.params.workerpoolHash.toHex(); From 613bfc0771ec23e99d53a99892c1cfe878be2506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:10:16 +0100 Subject: [PATCH 10/12] Set 30277777 strablock in Bellecour config --- subgraph.bellecour.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subgraph.bellecour.yaml b/subgraph.bellecour.yaml index c369be1..189e7e3 100644 --- a/subgraph.bellecour.yaml +++ b/subgraph.bellecour.yaml @@ -13,7 +13,7 @@ dataSources: source: address: "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" abi: ERC1538 - startBlock: 30154300 + startBlock: 30277777 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -39,7 +39,7 @@ dataSources: source: address: "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" abi: IexecInterfaceToken - startBlock: 30154300 + startBlock: 30277777 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -119,7 +119,7 @@ dataSources: source: address: "0xB1C52075b276f87b1834919167312221d50c9D16" abi: AppRegistry - startBlock: 30154300 + startBlock: 30277777 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -144,7 +144,7 @@ dataSources: source: address: "0x799DAa22654128d0C64d5b79eac9283008158730" abi: DatasetRegistry - startBlock: 30154300 + startBlock: 30277777 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -169,7 +169,7 @@ dataSources: source: address: "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" abi: WorkerpoolRegistry - startBlock: 30154300 + startBlock: 30277777 mapping: kind: ethereum/events apiVersion: 0.0.6 From 8410be4d70c3d554ccb77d3319e2933c92660d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:31:13 +0100 Subject: [PATCH 11/12] Reset addresses & startblock in configs --- networks.json | 32 ++++++++++++++++---------------- src/Modules/IexecPoco.ts | 1 + subgraph.bellecour.yaml | 12 ++++++------ 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/networks.json b/networks.json index c07befa..9497c64 100644 --- a/networks.json +++ b/networks.json @@ -1,46 +1,46 @@ { "test": { "ERC1538": { - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 30277777 + "address": "0xc4b11f41746D3Ad8504da5B383E1aB9aa969AbC7", + "startBlock": 0 }, "Core": { - "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 30277777 + "address": "0xc4b11f41746D3Ad8504da5B383E1aB9aa969AbC7", + "startBlock": 0 }, "AppRegistry": { - "address": "0xB1C52075b276f87b1834919167312221d50c9D16", - "startBlock": 30277777 + "address": "0xd5Fe43e3cDD29812949dc9b368345537D7B73001", + "startBlock": 0 }, "DatasetRegistry": { - "address": "0x799DAa22654128d0C64d5b79eac9283008158730", - "startBlock": 30277777 + "address": "0xf3bd0602fA481230271c5396f146e5695D3750A6", + "startBlock": 0 }, "WorkerpoolRegistry": { - "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4", - "startBlock": 30277777 - } + "address": "0x6Cb57fA761812c34645C945cA89AAe3602D42eD3", + "startBlock": 0 + } }, "bellecour": { "ERC1538": { "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 30277777 + "startBlock": 4543300 }, "Core": { "address": "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f", - "startBlock": 30277777 + "startBlock": 4543300 }, "AppRegistry": { "address": "0xB1C52075b276f87b1834919167312221d50c9D16", - "startBlock": 30277777 + "startBlock": 4543300 }, "DatasetRegistry": { "address": "0x799DAa22654128d0C64d5b79eac9283008158730", - "startBlock": 30277777 + "startBlock": 4543300 }, "WorkerpoolRegistry": { "address": "0xC76A18c78B7e530A165c5683CB1aB134E21938B4", - "startBlock": 30277777 + "startBlock": 4543300 } } } diff --git a/src/Modules/IexecPoco.ts b/src/Modules/IexecPoco.ts index 828345d..6fd4216 100644 --- a/src/Modules/IexecPoco.ts +++ b/src/Modules/IexecPoco.ts @@ -130,6 +130,7 @@ export function handleOrdersMatched(event: OrdersMatchedEvent): void { let viewedDeal = contract.viewDeal(event.params.dealid); // The `sponsor` has been introduced on Bellecour for the PoCo v5.5.0 release: // https://blockscout.bellecour.iex.ec/tx/0x71b904f526a9be218d35748f57d74ef6da20d12c88f94cfa1ec5ae2de187cb98 + // TODO: Use grafting instead, see https://thegraph.com/docs/en/subgraphs/cookbook/grafting/ const sponsor = chainName == 'bellecour' && event.block.number < BigInt.fromI32(30277938) ? Address.zero().toHexString() diff --git a/subgraph.bellecour.yaml b/subgraph.bellecour.yaml index 189e7e3..feb39c3 100644 --- a/subgraph.bellecour.yaml +++ b/subgraph.bellecour.yaml @@ -13,7 +13,7 @@ dataSources: source: address: "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" abi: ERC1538 - startBlock: 30277777 + startBlock: 4543300 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -39,7 +39,7 @@ dataSources: source: address: "0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f" abi: IexecInterfaceToken - startBlock: 30277777 + startBlock: 4543300 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -71,7 +71,7 @@ dataSources: - Unlock abis: - name: IexecInterfaceToken - file: node_modules/@iexec/poco/artifacts/contracts/IexecInterfaceNative.sol/IexecInterfaceNative.json + file: node_modules/@iexec/poco/build/contracts/IexecInterfaceNative.json eventHandlers: - event: CreateCategory(uint256,string,string,uint256) handler: handleCreateCategory @@ -119,7 +119,7 @@ dataSources: source: address: "0xB1C52075b276f87b1834919167312221d50c9D16" abi: AppRegistry - startBlock: 30277777 + startBlock: 4543300 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -144,7 +144,7 @@ dataSources: source: address: "0x799DAa22654128d0C64d5b79eac9283008158730" abi: DatasetRegistry - startBlock: 30277777 + startBlock: 4543300 mapping: kind: ethereum/events apiVersion: 0.0.6 @@ -169,7 +169,7 @@ dataSources: source: address: "0xC76A18c78B7e530A165c5683CB1aB134E21938B4" abi: WorkerpoolRegistry - startBlock: 30277777 + startBlock: 4543300 mapping: kind: ethereum/events apiVersion: 0.0.6 From 157d2801c39a70151a8c67e5008140d8cf3156ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20James=20Toussaint?= <33313130+jeremyjams@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:33:03 +0100 Subject: [PATCH 12/12] Reset abi file path --- subgraph.bellecour.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgraph.bellecour.yaml b/subgraph.bellecour.yaml index feb39c3..52feb4a 100644 --- a/subgraph.bellecour.yaml +++ b/subgraph.bellecour.yaml @@ -71,7 +71,7 @@ dataSources: - Unlock abis: - name: IexecInterfaceToken - file: node_modules/@iexec/poco/build/contracts/IexecInterfaceNative.json + file: node_modules/@iexec/poco/artifacts/contracts/IexecInterfaceNative.sol/IexecInterfaceNative.json eventHandlers: - event: CreateCategory(uint256,string,string,uint256) handler: handleCreateCategory