Skip to content

Commit 50398ff

Browse files
authored
chore: add default bridge stats configuration (#97)
Viper only overrides the configuration with environment variable when that configuration is in config file. This commit adds the default bridge stats configuration to config file.
1 parent 9845b12 commit 50398ff

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

config/config.mainnet.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
"Governance": "0x946397deDFd2f79b75a72B322944a21C3240c9c3",
3131
"TrustedOrganization": "0x98D0230884448B3E2f09a177433D60fb1E19C090"
3232
},
33+
"stats": {
34+
"node": "",
35+
"host": "",
36+
"secret": ""
37+
},
3338
"subscriptions": {
3439
"MainchainWithdrewSubscription": {
3540
"to": "0x0CF8fF40a508bdBc39fBe1Bb679dCBa64E65C7Df",

config/config.mainnet.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ listeners:
1818
plainPrivateKey: ""
1919
fromHeight": 14763470
2020
processWithinBlocks": 864000
21+
stats:
22+
node: ""
23+
host: ""
24+
secret: ""
2125
contracts:
2226
Gateway: "0x0CF8fF40a508bdBc39fBe1Bb679dCBa64E65C7Df"
2327
EthGateway: "0x64192819Ac13Ef72bF6b5AE239AC672B43a9AF08"

config/config.testnet.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
"Gateway": "0xCee681C9108c42C710c6A8A949307D5F13C9F3ca",
2828
"EthGateway": "0x9e359F42cDDc84A386a2Ef1D9Ae06623f3970D1D"
2929
},
30+
"stats": {
31+
"node": "",
32+
"host": "",
33+
"secret": ""
34+
},
3035
"subscriptions": {
3136
"MainchainWithdrewSubscription": {
3237
"to": "0xCee681C9108c42C710c6A8A949307D5F13C9F3ca",

config/config.testnet.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ listeners:
1818
plainPrivateKey: ""
1919
fromHeight: 8010875
2020
processWithinBlocks: 864000
21+
stats:
22+
node: ""
23+
host: ""
24+
secret: ""
2125
contracts:
2226
Gateway: "0xCee681C9108c42C710c6A8A949307D5F13C9F3ca"
2327
EthGateway: "0x9e359F42cDDc84A386a2Ef1D9Ae06623f3970D1D"

0 commit comments

Comments
 (0)