Skip to content

Commit

Permalink
chore: add default bridge stats configuration (#97)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
minh-bq authored Jan 31, 2024
1 parent 9845b12 commit 50398ff
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/config.mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"Governance": "0x946397deDFd2f79b75a72B322944a21C3240c9c3",
"TrustedOrganization": "0x98D0230884448B3E2f09a177433D60fb1E19C090"
},
"stats": {
"node": "",
"host": "",
"secret": ""
},
"subscriptions": {
"MainchainWithdrewSubscription": {
"to": "0x0CF8fF40a508bdBc39fBe1Bb679dCBa64E65C7Df",
Expand Down
4 changes: 4 additions & 0 deletions config/config.mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ listeners:
plainPrivateKey: ""
fromHeight": 14763470
processWithinBlocks": 864000
stats:
node: ""
host: ""
secret: ""
contracts:
Gateway: "0x0CF8fF40a508bdBc39fBe1Bb679dCBa64E65C7Df"
EthGateway: "0x64192819Ac13Ef72bF6b5AE239AC672B43a9AF08"
Expand Down
5 changes: 5 additions & 0 deletions config/config.testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
"Gateway": "0xCee681C9108c42C710c6A8A949307D5F13C9F3ca",
"EthGateway": "0x9e359F42cDDc84A386a2Ef1D9Ae06623f3970D1D"
},
"stats": {
"node": "",
"host": "",
"secret": ""
},
"subscriptions": {
"MainchainWithdrewSubscription": {
"to": "0xCee681C9108c42C710c6A8A949307D5F13C9F3ca",
Expand Down
4 changes: 4 additions & 0 deletions config/config.testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ listeners:
plainPrivateKey: ""
fromHeight: 8010875
processWithinBlocks: 864000
stats:
node: ""
host: ""
secret: ""
contracts:
Gateway: "0xCee681C9108c42C710c6A8A949307D5F13C9F3ca"
EthGateway: "0x9e359F42cDDc84A386a2Ef1D9Ae06623f3970D1D"
Expand Down

0 comments on commit 50398ff

Please sign in to comment.