Skip to content

Commit 8481543

Browse files
Merge pull request #64 from threefoldtech/feat_tfgrid_validation_update
feat: align with v11 types
2 parents 8eb15ed + 15caded commit 8481543

File tree

18 files changed

+14901
-5959
lines changed

18 files changed

+14901
-5959
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ DB_PASS=postgres
44
DB_HOST=172.17.0.1
55
DB_PORT=5432
66
TYPEORM_LOGGING=error
7-
INDEXER_ENDPOINT_URL=http://localhost:4011/v1/graphql
8-
WS_URL=wss://tfchain.dev.grid.tf
7+
INDEXER_ENDPOINT_URL=http://localhost:4010/v1/graphql
8+
WS_URL=ws://0.0.0.0:9944

indexer/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# indexer options #
33
###########################
44

5-
#WS_ENDPOINT=ws://192.168.49.1:9945
6-
WS_ENDPOINT=wss://tfchain.dev.grid.tf
5+
WS_ENDPOINT=ws://192.168.49.1:9944
6+
#WS_ENDPOINT=wss://tfchain.dev.grid.tf
77
START_HEIGHT=0

indexer/chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tfchainindexer
22
description: Helm Chart for the tfchain hydra indexer
3-
version: 2.4.0
3+
version: 2.5.0
44
apiVersion: v2
5-
appVersion: "2.5.13"
5+
appVersion: "2.6.0"

indexer/chart/templates/indexer-config.yaml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ data:
488488
}
489489
},
490490
{
491-
"minmax": [104, null],
491+
"minmax": [105, null],
492492
"types": {
493493
"Contract": {
494494
"version": " u32",
@@ -499,6 +499,36 @@ data:
499499
"solutionProviderID": "Option<U64>"
500500
}
501501
}
502+
},
503+
{
504+
"minmax": [118, null],
505+
"types": {
506+
"Node": {
507+
"version": "u32",
508+
"id": "u32",
509+
"farmId": "u32",
510+
"twinId": "u32",
511+
"resources": "Resources",
512+
"location": "Location",
513+
"country": "Vec<u8>",
514+
"city": "Vec<u8>",
515+
"publicConfig": "Option<PublicConfig>",
516+
"created": "u64",
517+
"farmingPolicyId": "u32",
518+
"interfaces": "Vec<Interface>",
519+
"certification": "NodeCertification",
520+
"secureBoot": "bool",
521+
"virtualized": "bool",
522+
"serialNumber": "Vec<u8>",
523+
"connectionPrice": "u32"
524+
},
525+
"Location": {
526+
"city": "Vec<u8>",
527+
"country": "Vec<u8>",
528+
"latitude": "Vec<u8>",
529+
"longitude": "Vec<u8>"
530+
}
531+
}
502532
}
503533
]
504534
}

indexer/typesBundle.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,36 @@
496496
"solutionProviderID": "Option<U64>"
497497
}
498498
}
499+
},
500+
{
501+
"minmax": [118, null],
502+
"types": {
503+
"Node": {
504+
"version": "u32",
505+
"id": "u32",
506+
"farmId": "u32",
507+
"twinId": "u32",
508+
"resources": "Resources",
509+
"location": "Location",
510+
"country": "Vec<u8>",
511+
"city": "Vec<u8>",
512+
"publicConfig": "Option<PublicConfig>",
513+
"created": "u64",
514+
"farmingPolicyId": "u32",
515+
"interfaces": "Vec<Interface>",
516+
"certification": "NodeCertification",
517+
"secureBoot": "bool",
518+
"virtualized": "bool",
519+
"serialNumber": "Vec<u8>",
520+
"connectionPrice": "u32"
521+
},
522+
"Location": {
523+
"city": "Vec<u8>",
524+
"country": "Vec<u8>",
525+
"latitude": "Vec<u8>",
526+
"longitude": "Vec<u8>"
527+
}
528+
}
499529
}
500530
]
501531
}

0 commit comments

Comments
 (0)