Skip to content

Commit

Permalink
[Validator] Connect additional providers to two chains
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim20 committed Apr 25, 2024
1 parent 7611bd5 commit 203e2aa
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 5 deletions.
52 changes: 52 additions & 0 deletions packages/validator/config/config-local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
################################################################################
## Network interface ##
################################################################################
server:
# Address to which we bind (default: 127.0.0.1)
address: "${HOST_IP}"
# Port on which we bind (default: 7070)
port: "${HOST_PORT}"

################################################################################
## Database options ##
################################################################################
database:
host: "${DATABASE_HOST}"
user: "${DATABASE_USER}"
password: "${DATABASE_PASSWORD}"
database: "${DATABASE_NAME}"
scheme: "${DATABASE_SCHEME}"
port: "${DATABASE_PORT}"
connectionTimeoutMillis: 5000
max: 100

################################################################################
## Logging options ##
################################################################################
logging:
# Values: error, warn, info, http, verbose, debug, silly
level: verbose

################################################################################
## Scheduler options ##
################################################################################
scheduler:
enable: true
items:
- name: bridge
enable: true
expression: "*/10 * * * * *"

bridge:
networkAName: "production_main"
networkABridgeAddress: "0x4Ca91738C7cD24895467c6d550D96BE8dC4b33AA"
networkATokenAddress: "0xB1A90a5C6e30d64Ab6f64C30eD392F46eDBcb022"
networkBName: "production_side"
networkBBridgeAddress: "0xd73e6a2f2e47236F1Ff737E72497f598652122F9"
networkBTokenAddress: "0xB1A90a5C6e30d64Ab6f64C30eD392F46eDBcb022"
validators:
- "${BRIDGE_VALIDATOR1}"
- "${BRIDGE_VALIDATOR2}"
- "${BRIDGE_VALIDATOR3}"
- "${BRIDGE_VALIDATOR4}"
- "${BRIDGE_VALIDATOR5}"
8 changes: 4 additions & 4 deletions packages/validator/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ scheduler:

bridge:
networkAName: "production_main"
networkABridgeAddress: "0x4Ca91738C7cD24895467c6d550D96BE8dC4b33AA"
networkATokenAddress: "0xB1A90a5C6e30d64Ab6f64C30eD392F46eDBcb022"
networkABridgeAddress: "0x7265F4D550AEdc3Ed97a6ae6dDAf4289eDFaC0C5"
networkATokenAddress: "0x3A90432BBfd5Bd87788f397F46c24685492fb30E"
networkBName: "production_side"
networkBBridgeAddress: "0xd73e6a2f2e47236F1Ff737E72497f598652122F9"
networkBTokenAddress: "0xB1A90a5C6e30d64Ab6f64C30eD392F46eDBcb022"
networkBBridgeAddress: "0x6DA3F9D26C5964ab6E3902fFD7907B6bc3465493"
networkBTokenAddress: "0x3A90432BBfd5Bd87788f397F46c24685492fb30E"
validators:
- "${BRIDGE_VALIDATOR1}"
- "${BRIDGE_VALIDATOR2}"
Expand Down
2 changes: 1 addition & 1 deletion packages/validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"dotenv": "^10.0.0",
"ethereum-waffle": "^4.0.10",
"ethereumjs-util": "^7.1.5",
"ethers": "npm:boa-ethers2@^5.7.9",
"ethers": "^5.7.0",
"expo-server-sdk": "^3.7.0",
"express": "^4.17.1",
"express-validator": "^6.14.0",
Expand Down

0 comments on commit 203e2aa

Please sign in to comment.