Update records
This commit is contained in:
parent
d07a0942b5
commit
e8779f8d56
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Publishes records and corresponding 'deployment' records
|
# Publishes records and corresponding 'deployment' records
|
||||||
|
# In laconic-registry-cli
|
||||||
yarn ts-node demo/scripts/publish-records.ts --config config.yml --records demo/records
|
yarn ts-node demo/scripts/publish-records.ts --config config.yml --records demo/records
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -75,12 +76,12 @@
|
|||||||
laconic registry record list --all --type SubgraphDeploymentRecord subgraph $SUBGRAPH_RECORD_ID | jq -r '.[].attributes.url'
|
laconic registry record list --all --type SubgraphDeploymentRecord subgraph $SUBGRAPH_RECORD_ID | jq -r '.[].attributes.url'
|
||||||
```
|
```
|
||||||
|
|
||||||
* Query for `geth-rpc` service deployment(s):
|
* Query for `geth` service deployment(s):
|
||||||
|
|
||||||
* Find the `ServiceRecord` for `geth-rpc`:
|
* Find the `ServiceRecord` for `geth`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
SERVICE_RECORD_ID=$(laconic registry record list --all --type ServiceRecord --name geth-rpc | jq -r '.[].id')
|
SERVICE_RECORD_ID=$(laconic registry record list --all --type ServiceRecord --name geth | jq -r '.[].id')
|
||||||
```
|
```
|
||||||
|
|
||||||
* Find corresponding deployment(s):
|
* Find corresponding deployment(s):
|
||||||
|
9
demo/records/service/Geth.json
Normal file
9
demo/records/service/Geth.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"type": "ServiceRecord",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"schema": "",
|
||||||
|
"name": "geth",
|
||||||
|
"repository": "https://git.vdb.to/cerc-io/plugeth",
|
||||||
|
"repository_ref": "c50b6cc026207b195ad7f9afdbe919a1fe676e67",
|
||||||
|
"repository_tag": "v1.13.14-cerc-0"
|
||||||
|
}
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "ServiceRecord",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"schema": "",
|
|
||||||
"name": "geth-rpc",
|
|
||||||
"repository": "https://github.com/ethereum/go-ethereum",
|
|
||||||
"repository_ref": "87246f3cbaf10f83f56bc4d45f0f3e36e83e71e9",
|
|
||||||
"repository_tag": "v1.14.0"
|
|
||||||
}
|
|
9
demo/records/service/Lotus.json
Normal file
9
demo/records/service/Lotus.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"type": "ServiceRecord",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"schema": "",
|
||||||
|
"name": "lotus",
|
||||||
|
"repository": "https://git.vdb.to/cerc-io/lotus",
|
||||||
|
"repository_ref": "9dc9a5cf45acc7ee86371af2092dd7c04db26930",
|
||||||
|
"repository_tag": "v1.26.1"
|
||||||
|
}
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "ServiceRecord",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"schema": "",
|
|
||||||
"name": "lotus-rpc",
|
|
||||||
"repository": "https://github.com/filecoin-project/lotus",
|
|
||||||
"repository_ref": "560826d5c61405006603c4f3d734a586a856d865",
|
|
||||||
"repository_tag": "v1.26.3"
|
|
||||||
}
|
|
@ -3,12 +3,14 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "lotus-rpc",
|
"name": "lotus",
|
||||||
"service": "<service-record-id>",
|
"service": "<service-record-id>",
|
||||||
"node_name": "",
|
|
||||||
"chain": "314",
|
|
||||||
"url": "https://lotus-rpc-endpoint.example.com",
|
"url": "https://lotus-rpc-endpoint.example.com",
|
||||||
"needs_auth": false,
|
"needs_auth": false,
|
||||||
"node_type": "lite",
|
"meta": {
|
||||||
"eth_rpc_enabled": true
|
"machine_name": "",
|
||||||
|
"node_type": "archive",
|
||||||
|
"chain": "314",
|
||||||
|
"eth_rpc_enabled": true
|
||||||
|
}
|
||||||
}
|
}
|
@ -3,12 +3,14 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "geth-rpc",
|
"name": "geth",
|
||||||
"service": "<service-record-id>",
|
"service": "<service-record-id>",
|
||||||
"node_name": "Geth/kindred-laconic/v1.14.0-unstable-3c26ffeb/linux-amd64/go1.21.8",
|
|
||||||
"chain": "1",
|
|
||||||
"url": "https://geth-rpc-endpoint.example.com",
|
"url": "https://geth-rpc-endpoint.example.com",
|
||||||
"needs_auth": false,
|
"needs_auth": false,
|
||||||
"sync_mode": "full",
|
"meta": {
|
||||||
"gc_mode": "archive"
|
"machine_name": "gibbon",
|
||||||
|
"chain": "1",
|
||||||
|
"sync_mode": "snap",
|
||||||
|
"gc_mode": "archive"
|
||||||
|
}
|
||||||
}
|
}
|
@ -3,12 +3,14 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "geth-rpc",
|
"name": "geth",
|
||||||
"service": "<service-record-id>",
|
"service": "<service-record-id>",
|
||||||
"node_name": "Geth/kindred-laconic-snap/v1.14.0-unstable-2e06fbd4/linux-amd64/go1.22.2",
|
|
||||||
"chain": "1",
|
|
||||||
"url": "https://geth-rpc-endpoint.example.com",
|
"url": "https://geth-rpc-endpoint.example.com",
|
||||||
"needs_auth": false,
|
"needs_auth": false,
|
||||||
"sync_mode": "snap",
|
"meta": {
|
||||||
"gc_mode": "archive"
|
"machine_name": "kindred",
|
||||||
|
"chain": "1",
|
||||||
|
"sync_mode": "full",
|
||||||
|
"gc_mode": "archive"
|
||||||
|
}
|
||||||
}
|
}
|
@ -3,12 +3,14 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "lotus-rpc",
|
"name": "lotus",
|
||||||
"service": "<service-record-id>",
|
"service": "<service-record-id>",
|
||||||
"node_name": "",
|
|
||||||
"chain": "314",
|
|
||||||
"url": "https://lotus-rpc-endpoint.example.com",
|
"url": "https://lotus-rpc-endpoint.example.com",
|
||||||
"needs_auth": false,
|
"needs_auth": false,
|
||||||
"node_type": "full",
|
"meta": {
|
||||||
"eth_rpc_enabled": true
|
"machine_name": "sandman",
|
||||||
|
"node_type": "full",
|
||||||
|
"chain": "314",
|
||||||
|
"eth_rpc_enabled": true
|
||||||
|
}
|
||||||
}
|
}
|
@ -5,5 +5,6 @@
|
|||||||
"name": "sushiswap-blocks-subgraph",
|
"name": "sushiswap-blocks-subgraph",
|
||||||
"repository": "https://github.com/sushiswap/subgraphs",
|
"repository": "https://github.com/sushiswap/subgraphs",
|
||||||
"repository_ref": "533749731563023903410a58013167bc10d06a88",
|
"repository_ref": "533749731563023903410a58013167bc10d06a88",
|
||||||
|
"repository_tag": "",
|
||||||
"subgraph_dir": "subgraphs/blocks"
|
"subgraph_dir": "subgraphs/blocks"
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
"name": "sushiswap-route-processor-subgraph",
|
"name": "sushiswap-route-processor-subgraph",
|
||||||
"repository": "https://github.com/sushiswap/subgraphs",
|
"repository": "https://github.com/sushiswap/subgraphs",
|
||||||
"repository_ref": "382f888489ffc27d394775f9c1719dba7bacef63",
|
"repository_ref": "382f888489ffc27d394775f9c1719dba7bacef63",
|
||||||
|
"repository_tag": "",
|
||||||
"subgraph_dir": "subgraphs/route-processor"
|
"subgraph_dir": "subgraphs/route-processor"
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
"name": "sushiswap-subgraph",
|
"name": "sushiswap-subgraph",
|
||||||
"repository": "https://github.com/sushiswap/subgraphs",
|
"repository": "https://github.com/sushiswap/subgraphs",
|
||||||
"repository_ref": "533749731563023903410a58013167bc10d06a88",
|
"repository_ref": "533749731563023903410a58013167bc10d06a88",
|
||||||
|
"repository_tag": "",
|
||||||
"subgraph_dir": "subgraphs/sushiswap"
|
"subgraph_dir": "subgraphs/sushiswap"
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
"name": "sushiswap-v2-subgraph",
|
"name": "sushiswap-v2-subgraph",
|
||||||
"repository": "https://github.com/sushiswap/subgraphs",
|
"repository": "https://github.com/sushiswap/subgraphs",
|
||||||
"repository_ref": "d491b69adb9ff3666162ac284ab77a146f231794",
|
"repository_ref": "d491b69adb9ff3666162ac284ab77a146f231794",
|
||||||
|
"repository_tag": "",
|
||||||
"subgraph_dir": "subgraphs/v2"
|
"subgraph_dir": "subgraphs/v2"
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
"name": "sushiswap-v3-subgraph",
|
"name": "sushiswap-v3-subgraph",
|
||||||
"repository": "https://github.com/sushiswap/subgraphs",
|
"repository": "https://github.com/sushiswap/subgraphs",
|
||||||
"repository_ref": "d491b69adb9ff3666162ac284ab77a146f231794",
|
"repository_ref": "d491b69adb9ff3666162ac284ab77a146f231794",
|
||||||
|
"repository_tag": "",
|
||||||
"subgraph_dir": "subgraphs/v3"
|
"subgraph_dir": "subgraphs/v3"
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "sushiswap-blocks-subgraph",
|
"name": "sushiswap-blocks-subgraph",
|
||||||
"subgraphName": "sushiswap/blocks",
|
"subgraph_name": "sushiswap/blocks",
|
||||||
"subgraph": "<subgraph-record-id>",
|
"subgraph": "<subgraph-record-id>",
|
||||||
"subgraph_id": "QmfBt5NbZdNhBoZS6MFj891YpNWQs8ysWkwVeEHF6rvscg",
|
"subgraph_id": "QmfBt5NbZdNhBoZS6MFj891YpNWQs8ysWkwVeEHF6rvscg",
|
||||||
"network": "filecoin",
|
"network": "filecoin",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "sushiswap-route-processor-subgraph",
|
"name": "sushiswap-route-processor-subgraph",
|
||||||
"subgraphName": "sushiswap/rp4-filecoin",
|
"subgraph_name": "sushiswap/rp4-filecoin",
|
||||||
"subgraph": "<subgraph-record-id>",
|
"subgraph": "<subgraph-record-id>",
|
||||||
"subgraph_id": "QmcHTxwH74YgaMJFXKrNqpVVdQQWAyhbxMh9xUtYjKa3fw",
|
"subgraph_id": "QmcHTxwH74YgaMJFXKrNqpVVdQQWAyhbxMh9xUtYjKa3fw",
|
||||||
"network": "filecoin",
|
"network": "filecoin",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "sushiswap-subgraph",
|
"name": "sushiswap-subgraph",
|
||||||
"subgraphName": "sushiswap/sushiswap-filecoin",
|
"subgraph_name": "sushiswap/sushiswap-filecoin",
|
||||||
"subgraph": "<subgraph-record-id>",
|
"subgraph": "<subgraph-record-id>",
|
||||||
"subgraph_id": "QmbZdkSH5NoS1aycafeqQZ7QJycokDVBXG2526g5KmuR1F",
|
"subgraph_id": "QmbZdkSH5NoS1aycafeqQZ7QJycokDVBXG2526g5KmuR1F",
|
||||||
"network": "filecoin",
|
"network": "filecoin",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "sushiswap-v2-subgraph",
|
"name": "sushiswap-v2-subgraph",
|
||||||
"subgraphName": "sushiswap/v2-filecoin",
|
"subgraph_name": "sushiswap/v2-filecoin",
|
||||||
"subgraph": "<subgraph-record-id>",
|
"subgraph": "<subgraph-record-id>",
|
||||||
"subgraph_id": "QmejnkeYZxJKxz6kV62V6mSmAKVDuyoiDsempRC6NMunYo",
|
"subgraph_id": "QmejnkeYZxJKxz6kV62V6mSmAKVDuyoiDsempRC6NMunYo",
|
||||||
"network": "filecoin",
|
"network": "filecoin",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"schema": "",
|
"schema": "",
|
||||||
"request": "",
|
"request": "",
|
||||||
"name": "sushiswap-v3-subgraph",
|
"name": "sushiswap-v3-subgraph",
|
||||||
"subgraphName": "sushiswap/v3-filecoin",
|
"subgraph_name": "sushiswap/v3-filecoin",
|
||||||
"subgraph": "<subgraph-record-id>",
|
"subgraph": "<subgraph-record-id>",
|
||||||
"subgraph_id": "QmRPQM4ZtRJYr8WiNdg6oqKRNQHHXv5rZrD4gzqQrJpPhz",
|
"subgraph_id": "QmRPQM4ZtRJYr8WiNdg6oqKRNQHHXv5rZrD4gzqQrJpPhz",
|
||||||
"network": "filecoin",
|
"network": "filecoin",
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
"name": "ajna-watcher",
|
"name": "ajna-watcher",
|
||||||
"repository": "https://git.vdb.to/cerc-io/ajna-watcher-ts",
|
"repository": "https://git.vdb.to/cerc-io/ajna-watcher-ts",
|
||||||
"repository_ref": "66b8d96308eacab1ef6a4f3cb74a0f28fb18dc67",
|
"repository_ref": "66b8d96308eacab1ef6a4f3cb74a0f28fb18dc67",
|
||||||
"watcher_version": "0.1.3",
|
"repository_tag": "v0.1.3",
|
||||||
"is_subgraph_watcher": true
|
"is_subgraph_watcher": true
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
"name": "azimuth-watcher",
|
"name": "azimuth-watcher",
|
||||||
"repository": "https://github.com/cerc-io/azimuth-watcher-ts",
|
"repository": "https://github.com/cerc-io/azimuth-watcher-ts",
|
||||||
"repository_ref": "ffd8baa4bcdd0b0fff701d942de572b7ddf33191",
|
"repository_ref": "ffd8baa4bcdd0b0fff701d942de572b7ddf33191",
|
||||||
"watcher_version": "0.1.3",
|
"repository_tag": "v0.1.3",
|
||||||
"is_subgraph_watcher": false
|
"is_subgraph_watcher": false
|
||||||
}
|
}
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "WatcherRecord",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"schema": "",
|
|
||||||
"name": "merkl-sushiswap-v3-watcher",
|
|
||||||
"repository": "https://github.com/cerc-io/merkl-sushiswap-v3-watcher-ts",
|
|
||||||
"repository_ref": "b7cf79883e73400ad064b0357208c167795ab521",
|
|
||||||
"watcher_version": "0.1.9",
|
|
||||||
"is_subgraph_watcher": true
|
|
||||||
}
|
|
@ -5,6 +5,6 @@
|
|||||||
"name": "sushiswap-v3-watcher",
|
"name": "sushiswap-v3-watcher",
|
||||||
"repository": "https://github.com/cerc-io/sushiswap-v3-watcher-ts",
|
"repository": "https://github.com/cerc-io/sushiswap-v3-watcher-ts",
|
||||||
"repository_ref": "2f9f4d1ca191805922a51d1e3b471c06314fbc64",
|
"repository_ref": "2f9f4d1ca191805922a51d1e3b471c06314fbc64",
|
||||||
"watcher_version": "0.1.9",
|
"repository_tag": "v0.1.9",
|
||||||
"is_subgraph_watcher": true
|
"is_subgraph_watcher": true
|
||||||
}
|
}
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"type": "WatcherDeploymentRecord",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"schema": "",
|
|
||||||
"request": "",
|
|
||||||
"name": "merkl-sushiswap-v3-watcher",
|
|
||||||
"watcher": "<watcher-record-id>",
|
|
||||||
"kind": "active",
|
|
||||||
"chain": "314",
|
|
||||||
"url": "https://merkl-sushiswap-v3-watcher-endpoint.example.com",
|
|
||||||
"needs_auth": true
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user