diff --git a/bruno/Assign a human-readable name to a deployment.bru b/bruno/Assign a human-readable name to a deployment.bru new file mode 100644 index 0000000..3c189c0 --- /dev/null +++ b/bruno/Assign a human-readable name to a deployment.bru @@ -0,0 +1,28 @@ +meta { + name: Assign a human-readable name to a deployment + type: graphql + seq: 5 +} + +post { + url: {{ _.url }} + body: graphql + auth: none +} + +headers { + User-Agent: Insomnia/2023.5.7 + Content-Type: application/json +} + +body:graphql { + mutation { + setDeploymentName( + deploymentIpfsCid: "Qmadj8x9km1YEyKmRnJ6EkC2zpJZFCfTyTZpuqC3j6e1QH" + name: "premia.eth/premia-mainnet" + ) { + id + } + } + +} diff --git a/bruno/Delete a network and all related data.bru b/bruno/Delete a network and all related data.bru new file mode 100644 index 0000000..e4b5c93 --- /dev/null +++ b/bruno/Delete a network and all related data.bru @@ -0,0 +1,23 @@ +meta { + name: Delete a network and all related data + type: graphql + seq: 6 +} + +post { + url: {{ _.url }} + body: graphql + auth: none +} + +headers { + User-Agent: Insomnia/2023.5.7 + Content-Type: application/json +} + +body:graphql { + mutation { + deleteNetwork(network: "testnet") + } + +} diff --git a/bruno/Fetch a divergence investigation report.bru b/bruno/Fetch a divergence investigation report.bru new file mode 100644 index 0000000..79d218b --- /dev/null +++ b/bruno/Fetch a divergence investigation report.bru @@ -0,0 +1,21 @@ +meta { + name: Fetch a divergence investigation report + type: graphql + seq: 8 +} + +post { + url: {{ _.url }} + body: graphql + auth: none +} + +headers { + Content-Type: application/json +} + +body:graphql { + { + poiCrossCheckReport(requestId: "9b587618-9f25-4f96-b435-a3b9f94dc9f2") + } +} diff --git a/bruno/Launch a divergence investigation.bru b/bruno/Launch a divergence investigation.bru new file mode 100644 index 0000000..16a688e --- /dev/null +++ b/bruno/Launch a divergence investigation.bru @@ -0,0 +1,42 @@ +meta { + name: Launch a divergence investigation + type: graphql + seq: 7 +} + +post { + url: {{ _.url }} + body: graphql + auth: none +} + +headers { + Content-Type: application/json +} + +body:graphql { + mutation { + launchDivergenceInvestigation( + req: { + pois: ["foo", "bar"] + queryBlockCaches: true + queryEthCallCaches: false + queryEntityChanges: true + } + ) { + uuid + status + bisectionRuns { + divergenceBlockBounds { + lowerBound { + number + } + upperBound { + number + } + } + } + } + } + +} diff --git a/bruno/Poll indexer-s PoIs popularity -a-k-a- -PoI agreement ratios--.bru b/bruno/Poll indexer-s PoIs popularity -a-k-a- -PoI agreement ratios--.bru new file mode 100644 index 0000000..e29bb5e --- /dev/null +++ b/bruno/Poll indexer-s PoIs popularity -a-k-a- -PoI agreement ratios--.bru @@ -0,0 +1,30 @@ +meta { + name: Poll indexer-s PoIs popularity -a-k-a- -PoI agreement ratios-- + type: graphql + seq: 4 +} + +post { + url: {{ _.url }} + body: graphql + auth: none +} + +headers { + Content-Type: application/json +} + +body:graphql { + { + poiAgreementRatios(indexerName: "testnet-indexer-03") { + poi + deployment { + id + } + nAgreeingIndexers + nDisagreeingIndexers + hasConsensus + inConsensus + } + } +} diff --git a/bruno/Query PoIs.bru b/bruno/Query PoIs.bru new file mode 100644 index 0000000..ae5dafd --- /dev/null +++ b/bruno/Query PoIs.bru @@ -0,0 +1,38 @@ +meta { + name: Query PoIs + type: graphql + seq: 3 +} + +post { + url: {{ _.url }} + body: graphql + auth: none +} + +headers { + Content-Type: application/json +} + +body:graphql { + { + proofsOfIndexing(request: { + deployments: ["Qmadj8x9km1YEyKmRnJ6EkC2zpJZFCfTyTZpuqC3j6e1QH"], + blockRange: {start: 1000}, + limit: 100 + }) { + hash + block { + hash + number + } + allocatedTokens + deployment { + id + } + indexer { + id + } + } + } +} diff --git a/bruno/Query deployments.bru b/bruno/Query deployments.bru new file mode 100644 index 0000000..9be4d93 --- /dev/null +++ b/bruno/Query deployments.bru @@ -0,0 +1,33 @@ +meta { + name: Query deployments + type: graphql + seq: 1 +} + +post { + url: {{ _.url }} + body: graphql + auth: none +} + +headers { + Content-Type: application/json +} + +body:graphql { + { + deployments( + filter: { + network: "mainnet" + ipfsCid: "Qmadj8x9km1YEyKmRnJ6EkC2zpJZFCfTyTZpuqC3j6e1QH" + #name: "premia.eth/premia-mainnet" + limit: 100 + } + ) { + id + name + networkName + } + } + +} diff --git a/bruno/Query indexers.bru b/bruno/Query indexers.bru new file mode 100644 index 0000000..a7f2223 --- /dev/null +++ b/bruno/Query indexers.bru @@ -0,0 +1,30 @@ +meta { + name: Query indexers + type: graphql + seq: 2 +} + +post { + url: {{ _.url }} + body: graphql + auth: none +} + +headers { + Content-Type: application/json +} + +body:graphql { + { + indexers( + filter: { + address: "0x87eba079059b75504c734820d6cf828476754b83" + limit: 100 + } + ) { + id + allocatedTokens + } + } + +} diff --git a/bruno/bruno.json b/bruno/bruno.json new file mode 100644 index 0000000..a1de707 --- /dev/null +++ b/bruno/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "Graphix", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file diff --git a/ops/compose/grafana/data/grafana.db b/ops/compose/grafana/data/grafana.db index ee31203..d1fc6ce 100644 Binary files a/ops/compose/grafana/data/grafana.db and b/ops/compose/grafana/data/grafana.db differ