-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
254 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
} |
30 changes: 30 additions & 0 deletions
30
bruno/Poll indexer-s PoIs popularity -a-k-a- -PoI agreement ratios--.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"version": "1", | ||
"name": "Graphix", | ||
"type": "collection", | ||
"ignore": [ | ||
"node_modules", | ||
".git" | ||
] | ||
} |
Binary file not shown.