Skip to content

Commit

Permalink
[bootstrap]: add missing metal config to rest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaguar0625 committed Apr 7, 2024
1 parent 882548a commit 94d7602
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 3 deletions.
7 changes: 6 additions & 1 deletion config/rest-gateway/rest.json.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,10 @@
"lastUpdatedDate": "{{{restDeploymentToolLastUpdatedDate}}}"
},

"nodeMetadata": {{{toJson restNodeMetadata}}}
"nodeMetadata": {{{toJson restNodeMetadata}}},

"metal": {
"cacheTtl": 300,
"sizeLimit": 10000000
}
}
2 changes: 1 addition & 1 deletion presets/mainnet/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ minVotingKeyLifetime: 112
maxVotingKeyLifetime: 360
votingKeyDesiredLifetime: 360
votingKeyDesiredFutureLifetime: 60
lastKnownNetworkEpoch: 2232
lastKnownNetworkEpoch: 2234
stepDuration: 5m
maxBlockFutureTime: 300ms
maxAccountRestrictionValues: 100
Expand Down
2 changes: 1 addition & 1 deletion presets/testnet/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ importanceGrouping: 180
votingSetGrouping: 720
votingKeyDesiredLifetime: 720
votingKeyDesiredFutureLifetime: 120
lastKnownNetworkEpoch: 1844
lastKnownNetworkEpoch: 1847
minVotingKeyLifetime: 28
maxVotingKeyLifetime: 720
stepDuration: 4m
Expand Down
4 changes: 4 additions & 0 deletions test/reports/bootstrap-voting/rest-gateway-0-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,9 @@
},
"nodeMetadata": {
"_info": "Node metadata"
},
"metal": {
"cacheTtl": 300,
"sizeLimit": 10000000
}
}
4 changes: 4 additions & 0 deletions test/reports/custom-network-dual/rest-gateway-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,9 @@
},
"nodeMetadata": {
"_info": "Node metadata"
},
"metal": {
"cacheTtl": 300,
"sizeLimit": 10000000
}
}
4 changes: 4 additions & 0 deletions test/reports/mainnet-dual-voting/rest-gateway-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,9 @@
},
"nodeMetadata": {
"_info": "Node metadata"
},
"metal": {
"cacheTtl": 300,
"sizeLimit": 10000000
}
}
4 changes: 4 additions & 0 deletions test/reports/mainnet-dual/rest-gateway-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,9 @@
},
"nodeMetadata": {
"_info": "Node metadata"
},
"metal": {
"cacheTtl": 300,
"sizeLimit": 10000000
}
}
4 changes: 4 additions & 0 deletions test/reports/testnet-api/rest-gateway-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,9 @@
},
"nodeMetadata": {
"_info": "Node metadata"
},
"metal": {
"cacheTtl": 300,
"sizeLimit": 10000000
}
}
4 changes: 4 additions & 0 deletions test/reports/testnet-dual-voting/rest-gateway-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,9 @@
},
"nodeMetadata": {
"_info": "Node metadata"
},
"metal": {
"cacheTtl": 300,
"sizeLimit": 10000000
}
}

0 comments on commit 94d7602

Please sign in to comment.