From 242baa82815bb46ad66ee95e5468ef9fe08d8e7d Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 25 Mar 2024 12:28:43 +0100 Subject: [PATCH 1/5] feat: change the manifest data json struct --- packages/subgraph/manifest/data/arbitrum.json | 11 +++++------ packages/subgraph/manifest/data/arbitrumGoerli.json | 11 +++++------ packages/subgraph/manifest/data/arbitrumSepolia.json | 11 +++++------ packages/subgraph/manifest/data/baseGoerli.json | 11 +++++------ packages/subgraph/manifest/data/baseMainnet.json | 11 +++++------ packages/subgraph/manifest/data/baseSepolia.json | 11 +++++------ packages/subgraph/manifest/data/goerli.json | 11 +++++------ packages/subgraph/manifest/data/localhost.json | 11 +++++------ packages/subgraph/manifest/data/mainnet.json | 11 +++++------ packages/subgraph/manifest/data/mumbai.json | 11 +++++------ packages/subgraph/manifest/data/polygon.json | 11 +++++------ packages/subgraph/manifest/data/sepolia.json | 11 +++++------ 12 files changed, 60 insertions(+), 72 deletions(-) diff --git a/packages/subgraph/manifest/data/arbitrum.json b/packages/subgraph/manifest/data/arbitrum.json index 0428ea2c..a8ed45e9 100644 --- a/packages/subgraph/manifest/data/arbitrum.json +++ b/packages/subgraph/manifest/data/arbitrum.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-one", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0x308a1DC5020c4B5d992F5543a7236c465997fecB", "startBlock": 145462184 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/arbitrumGoerli.json b/packages/subgraph/manifest/data/arbitrumGoerli.json index ab3a4f37..f29926df 100644 --- a/packages/subgraph/manifest/data/arbitrumGoerli.json +++ b/packages/subgraph/manifest/data/arbitrumGoerli.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-goerli", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0x308a1DC5020c4B5d992F5543a7236c465997fecB", "startBlock": 51930460 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/arbitrumSepolia.json b/packages/subgraph/manifest/data/arbitrumSepolia.json index a05a2973..776deb1d 100644 --- a/packages/subgraph/manifest/data/arbitrumSepolia.json +++ b/packages/subgraph/manifest/data/arbitrumSepolia.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-sepolia", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0xC24188a73dc09aA7C721f96Ad8857B469C01dC9f", "startBlock": 2827173 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/baseGoerli.json b/packages/subgraph/manifest/data/baseGoerli.json index 63f49b34..bb3923f5 100644 --- a/packages/subgraph/manifest/data/baseGoerli.json +++ b/packages/subgraph/manifest/data/baseGoerli.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base-testnet", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0x6095b5004c59301f8Bb98768Bd395d0bc637C893", "startBlock": 7890981 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/baseMainnet.json b/packages/subgraph/manifest/data/baseMainnet.json index 833132c5..cb76f212 100644 --- a/packages/subgraph/manifest/data/baseMainnet.json +++ b/packages/subgraph/manifest/data/baseMainnet.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0x91a851E9Ed7F2c6d41b15F76e4a88f5A37067cC9", "startBlock": 2094737 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/baseSepolia.json b/packages/subgraph/manifest/data/baseSepolia.json index 474f7c3a..58690cf6 100644 --- a/packages/subgraph/manifest/data/baseSepolia.json +++ b/packages/subgraph/manifest/data/baseSepolia.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base-sepolia", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0xC24188a73dc09aA7C721f96Ad8857B469C01dC9f", "startBlock": 3654401 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/goerli.json b/packages/subgraph/manifest/data/goerli.json index 19a0dbb6..76ad5935 100644 --- a/packages/subgraph/manifest/data/goerli.json +++ b/packages/subgraph/manifest/data/goerli.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "goerli", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0xE8B5d8D66a02CD1b9Bd32a4064D7ABa45F51305e", "startBlock": 8548226 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/localhost.json b/packages/subgraph/manifest/data/localhost.json index 0f778a14..993e18ca 100644 --- a/packages/subgraph/manifest/data/localhost.json +++ b/packages/subgraph/manifest/data/localhost.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "rinkeby", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0x2B8C4DD137104d1E869105cd0106e7D9EF955BfE", "startBlock": 7727664 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/mainnet.json b/packages/subgraph/manifest/data/mainnet.json index 81ffcdeb..927ec2fe 100644 --- a/packages/subgraph/manifest/data/mainnet.json +++ b/packages/subgraph/manifest/data/mainnet.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "mainnet", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0xE978942c691e43f65c1B7c7F8f1dc8cDF061B13f", "startBlock": 16721812 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/mumbai.json b/packages/subgraph/manifest/data/mumbai.json index a6e30681..c82602c8 100644 --- a/packages/subgraph/manifest/data/mumbai.json +++ b/packages/subgraph/manifest/data/mumbai.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "mumbai", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0x9227b311C5cecB416707F1C8B7Ca1b52649AabEc", "startBlock": 33514164 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/polygon.json b/packages/subgraph/manifest/data/polygon.json index c831362b..b38747be 100644 --- a/packages/subgraph/manifest/data/polygon.json +++ b/packages/subgraph/manifest/data/polygon.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "matic", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0x879D9dfe3F36d7684BeC1a2bB4Aa8E8871A7245B", "startBlock": 40817440 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } diff --git a/packages/subgraph/manifest/data/sepolia.json b/packages/subgraph/manifest/data/sepolia.json index 87c67210..bbe82767 100644 --- a/packages/subgraph/manifest/data/sepolia.json +++ b/packages/subgraph/manifest/data/sepolia.json @@ -1,6 +1,10 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "sepolia", + "PluginRepo": { + "ensDomain": "MyPlugin", + "address": null + }, "dataSources": { "PluginSetupProcessors": [ { @@ -8,11 +12,6 @@ "address": "0xC24188a73dc09aA7C721f96Ad8857B469C01dC9f", "startBlock": 4415294 } - ], - "Plugin": { - "name": "MyPlugin", - "address": null, - "startBlock": 7727664 - } + ] } } From 9def9c70afb51b508d0bb19b84d6f27674bb727e Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 25 Mar 2024 12:34:34 +0100 Subject: [PATCH 2/5] feat: change the script to get the correct params from the manifest data --- packages/subgraph/scripts/import-plugin-repo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/subgraph/scripts/import-plugin-repo.ts b/packages/subgraph/scripts/import-plugin-repo.ts index 59bad356..b24590fe 100644 --- a/packages/subgraph/scripts/import-plugin-repo.ts +++ b/packages/subgraph/scripts/import-plugin-repo.ts @@ -27,7 +27,7 @@ function extractAndWriteAddressToTS(): void { const networkManifestPath = path.join(manifestsPath, `${network}.json`); let networkRepoAddress = JSON.parse( fs.readFileSync(networkManifestPath, 'utf8') - ).dataSources.Plugin.address; + ).PluginRepo.address; // check if address is null and throw warning and continue with zero address if (!networkRepoAddress) { From f2c31adfd217b868580c01e734350def84f016c4 Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 25 Mar 2024 12:52:23 +0100 Subject: [PATCH 3/5] featL change to ens name --- packages/subgraph/manifest/data/arbitrum.json | 2 +- packages/subgraph/manifest/data/arbitrumGoerli.json | 2 +- packages/subgraph/manifest/data/arbitrumSepolia.json | 2 +- packages/subgraph/manifest/data/baseGoerli.json | 2 +- packages/subgraph/manifest/data/baseMainnet.json | 2 +- packages/subgraph/manifest/data/baseSepolia.json | 2 +- packages/subgraph/manifest/data/goerli.json | 2 +- packages/subgraph/manifest/data/localhost.json | 2 +- packages/subgraph/manifest/data/mainnet.json | 2 +- packages/subgraph/manifest/data/mumbai.json | 2 +- packages/subgraph/manifest/data/polygon.json | 2 +- packages/subgraph/manifest/data/sepolia.json | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/subgraph/manifest/data/arbitrum.json b/packages/subgraph/manifest/data/arbitrum.json index a8ed45e9..d92991e6 100644 --- a/packages/subgraph/manifest/data/arbitrum.json +++ b/packages/subgraph/manifest/data/arbitrum.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-one", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/arbitrumGoerli.json b/packages/subgraph/manifest/data/arbitrumGoerli.json index f29926df..837ba454 100644 --- a/packages/subgraph/manifest/data/arbitrumGoerli.json +++ b/packages/subgraph/manifest/data/arbitrumGoerli.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-goerli", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/arbitrumSepolia.json b/packages/subgraph/manifest/data/arbitrumSepolia.json index 776deb1d..670e9a3f 100644 --- a/packages/subgraph/manifest/data/arbitrumSepolia.json +++ b/packages/subgraph/manifest/data/arbitrumSepolia.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-sepolia", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/baseGoerli.json b/packages/subgraph/manifest/data/baseGoerli.json index bb3923f5..61400da5 100644 --- a/packages/subgraph/manifest/data/baseGoerli.json +++ b/packages/subgraph/manifest/data/baseGoerli.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base-testnet", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/baseMainnet.json b/packages/subgraph/manifest/data/baseMainnet.json index cb76f212..3b4c5e49 100644 --- a/packages/subgraph/manifest/data/baseMainnet.json +++ b/packages/subgraph/manifest/data/baseMainnet.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/baseSepolia.json b/packages/subgraph/manifest/data/baseSepolia.json index 58690cf6..62c7c701 100644 --- a/packages/subgraph/manifest/data/baseSepolia.json +++ b/packages/subgraph/manifest/data/baseSepolia.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base-sepolia", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/goerli.json b/packages/subgraph/manifest/data/goerli.json index 76ad5935..a8c581a8 100644 --- a/packages/subgraph/manifest/data/goerli.json +++ b/packages/subgraph/manifest/data/goerli.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "goerli", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/localhost.json b/packages/subgraph/manifest/data/localhost.json index 993e18ca..537be9b3 100644 --- a/packages/subgraph/manifest/data/localhost.json +++ b/packages/subgraph/manifest/data/localhost.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "rinkeby", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/mainnet.json b/packages/subgraph/manifest/data/mainnet.json index 927ec2fe..7627f5d2 100644 --- a/packages/subgraph/manifest/data/mainnet.json +++ b/packages/subgraph/manifest/data/mainnet.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "mainnet", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/mumbai.json b/packages/subgraph/manifest/data/mumbai.json index c82602c8..7698429e 100644 --- a/packages/subgraph/manifest/data/mumbai.json +++ b/packages/subgraph/manifest/data/mumbai.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "mumbai", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/polygon.json b/packages/subgraph/manifest/data/polygon.json index b38747be..67f580da 100644 --- a/packages/subgraph/manifest/data/polygon.json +++ b/packages/subgraph/manifest/data/polygon.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "matic", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/sepolia.json b/packages/subgraph/manifest/data/sepolia.json index bbe82767..687d9c96 100644 --- a/packages/subgraph/manifest/data/sepolia.json +++ b/packages/subgraph/manifest/data/sepolia.json @@ -2,7 +2,7 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "sepolia", "PluginRepo": { - "ensDomain": "MyPlugin", + "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { From 4b4aecad8cfd7682db6f55034b3513bb1a7b9612 Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 25 Mar 2024 13:03:38 +0100 Subject: [PATCH 4/5] feat: remove the ens domain due to it is not used --- packages/subgraph/manifest/data/arbitrum.json | 1 - packages/subgraph/manifest/data/arbitrumGoerli.json | 1 - packages/subgraph/manifest/data/arbitrumSepolia.json | 1 - packages/subgraph/manifest/data/baseGoerli.json | 1 - packages/subgraph/manifest/data/baseMainnet.json | 1 - packages/subgraph/manifest/data/baseSepolia.json | 1 - packages/subgraph/manifest/data/goerli.json | 1 - packages/subgraph/manifest/data/localhost.json | 3 +-- packages/subgraph/manifest/data/mainnet.json | 1 - packages/subgraph/manifest/data/mumbai.json | 1 - packages/subgraph/manifest/data/polygon.json | 1 - packages/subgraph/manifest/data/sepolia.json | 1 - 12 files changed, 1 insertion(+), 13 deletions(-) diff --git a/packages/subgraph/manifest/data/arbitrum.json b/packages/subgraph/manifest/data/arbitrum.json index d92991e6..7a2941a6 100644 --- a/packages/subgraph/manifest/data/arbitrum.json +++ b/packages/subgraph/manifest/data/arbitrum.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-one", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/arbitrumGoerli.json b/packages/subgraph/manifest/data/arbitrumGoerli.json index 837ba454..c95913ad 100644 --- a/packages/subgraph/manifest/data/arbitrumGoerli.json +++ b/packages/subgraph/manifest/data/arbitrumGoerli.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-goerli", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/arbitrumSepolia.json b/packages/subgraph/manifest/data/arbitrumSepolia.json index 670e9a3f..725a27a7 100644 --- a/packages/subgraph/manifest/data/arbitrumSepolia.json +++ b/packages/subgraph/manifest/data/arbitrumSepolia.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "arbitrum-sepolia", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/baseGoerli.json b/packages/subgraph/manifest/data/baseGoerli.json index 61400da5..261bbe2c 100644 --- a/packages/subgraph/manifest/data/baseGoerli.json +++ b/packages/subgraph/manifest/data/baseGoerli.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base-testnet", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/baseMainnet.json b/packages/subgraph/manifest/data/baseMainnet.json index 3b4c5e49..1b9bd0fa 100644 --- a/packages/subgraph/manifest/data/baseMainnet.json +++ b/packages/subgraph/manifest/data/baseMainnet.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/baseSepolia.json b/packages/subgraph/manifest/data/baseSepolia.json index 62c7c701..f212fb13 100644 --- a/packages/subgraph/manifest/data/baseSepolia.json +++ b/packages/subgraph/manifest/data/baseSepolia.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "base-sepolia", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/goerli.json b/packages/subgraph/manifest/data/goerli.json index a8c581a8..656688c6 100644 --- a/packages/subgraph/manifest/data/goerli.json +++ b/packages/subgraph/manifest/data/goerli.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "goerli", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/localhost.json b/packages/subgraph/manifest/data/localhost.json index 537be9b3..8f071725 100644 --- a/packages/subgraph/manifest/data/localhost.json +++ b/packages/subgraph/manifest/data/localhost.json @@ -1,8 +1,7 @@ { "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", - "network": "rinkeby", + "network": "sepolia", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/mainnet.json b/packages/subgraph/manifest/data/mainnet.json index 7627f5d2..8a26fa85 100644 --- a/packages/subgraph/manifest/data/mainnet.json +++ b/packages/subgraph/manifest/data/mainnet.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "mainnet", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/mumbai.json b/packages/subgraph/manifest/data/mumbai.json index 7698429e..59f3b517 100644 --- a/packages/subgraph/manifest/data/mumbai.json +++ b/packages/subgraph/manifest/data/mumbai.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "mumbai", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/polygon.json b/packages/subgraph/manifest/data/polygon.json index 67f580da..58c7d050 100644 --- a/packages/subgraph/manifest/data/polygon.json +++ b/packages/subgraph/manifest/data/polygon.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "matic", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { diff --git a/packages/subgraph/manifest/data/sepolia.json b/packages/subgraph/manifest/data/sepolia.json index 687d9c96..78b95633 100644 --- a/packages/subgraph/manifest/data/sepolia.json +++ b/packages/subgraph/manifest/data/sepolia.json @@ -2,7 +2,6 @@ "info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest", "network": "sepolia", "PluginRepo": { - "ensDomain": "my.plugin.dao.eth", "address": null }, "dataSources": { From 1adc6656979a8cc52df4f8fb4bc74709146ea872 Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 25 Mar 2024 14:07:25 +0100 Subject: [PATCH 5/5] feat: update deploy script to get the correct repo address --- packages/subgraph/scripts/deploy-subgraph.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/subgraph/scripts/deploy-subgraph.sh b/packages/subgraph/scripts/deploy-subgraph.sh index 69c94067..3f7a9db3 100755 --- a/packages/subgraph/scripts/deploy-subgraph.sh +++ b/packages/subgraph/scripts/deploy-subgraph.sh @@ -41,7 +41,7 @@ echo '> Subgraph version: '$SUBGRAPH_VERSION # check if the repo address is null or zero address FILE=manifest/data/$SUBGRAPH_NETWORK_NAME'.json' -address=$(jq -r '.dataSources.Plugin.address' "$FILE") +address=$(jq -r '.PluginRepo.address' "$FILE") if [ "$address" = "null" ] || [ "$address" = "0x0000000000000000000000000000000000000000" ]; then