Skip to content

Commit

Permalink
add two tokens and update start heights
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderZhi committed Dec 22, 2023
1 parent 65fb0b2 commit 6692a8c
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 52 deletions.
48 changes: 24 additions & 24 deletions witness-service/docker-compose-relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,31 +36,31 @@ services:
- database
command: relayer -config=/etc/iotube-relayer/relayer-config-ethereum.yaml

heco-relayer:
container_name: heco-relayer
image: relayer:latest
restart: on-failure
ports:
- 7002:7002
- 8002:8002
volumes:
- $IOTEX_RELAYER/etc/relayer-config-heco.yaml:/etc/iotube-relayer/relayer-config-heco.yaml:ro
links:
- database
command: relayer -config=/etc/iotube-relayer/relayer-config-heco.yaml
# heco-relayer:
# container_name: heco-relayer
# image: relayer:latest
# restart: on-failure
# ports:
# - 7002:7002
# - 8002:8002
# volumes:
# - $IOTEX_RELAYER/etc/relayer-config-heco.yaml:/etc/iotube-relayer/relayer-config-heco.yaml:ro
# links:
# - database
# command: relayer -config=/etc/iotube-relayer/relayer-config-heco.yaml

polis-relayer:
container_name: polis-relayer
image: relayer:latest
restart: on-failure
ports:
- 7005:7005
- 8005:8005
volumes:
- $IOTEX_RELAYER/etc/relayer-config-polis.yaml:/etc/iotube-relayer/relayer-config-polis.yaml:ro
links:
- database
command: relayer -config=/etc/iotube-relayer/relayer-config-polis.yaml
# polis-relayer:
# container_name: polis-relayer
# image: relayer:latest
# restart: on-failure
# ports:
# - 7005:7005
# - 8005:8005
# volumes:
# - $IOTEX_RELAYER/etc/relayer-config-polis.yaml:/etc/iotube-relayer/relayer-config-polis.yaml:ro
# links:
# - database
# command: relayer -config=/etc/iotube-relayer/relayer-config-polis.yaml

bsc-relayer:
container_name: bsc-relayer
Expand Down
48 changes: 24 additions & 24 deletions witness-service/docker-compose-witness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,31 @@ services:
WITNESS_PRIVATE_KEY: ${WITNESS_PRIVATE_KEY}
RELAYER_URL: ${RELAYER_URL}

heco-witness:
container_name: heco-witness
image: witness:latest
restart: on-failure
volumes:
- $IOTEX_WITNESS/etc/witness-config-heco.yaml:/etc/iotube-witness/witness-config-heco.yaml:ro
- $IOTEX_WITNESS/etc/witness-config-heco.secret.yaml:/etc/iotube-witness/witness-config-heco.secret.yaml:ro
network_mode: host
command: witness -config=/etc/iotube-witness/witness-config-heco.yaml -secret=/etc/iotube-witness/witness-config-heco.secret.yaml
environment:
WITNESS_PRIVATE_KEY: ${WITNESS_PRIVATE_KEY}
RELAYER_URL: ${RELAYER_URL}
# heco-witness:
# container_name: heco-witness
# image: witness:latest
# restart: on-failure
# volumes:
# - $IOTEX_WITNESS/etc/witness-config-heco.yaml:/etc/iotube-witness/witness-config-heco.yaml:ro
# - $IOTEX_WITNESS/etc/witness-config-heco.secret.yaml:/etc/iotube-witness/witness-config-heco.secret.yaml:ro
# network_mode: host
# command: witness -config=/etc/iotube-witness/witness-config-heco.yaml -secret=/etc/iotube-witness/witness-config-heco.secret.yaml
# environment:
# WITNESS_PRIVATE_KEY: ${WITNESS_PRIVATE_KEY}
# RELAYER_URL: ${RELAYER_URL}

polis-witness:
container_name: polis-witness
image: witness:latest
restart: on-failure
volumes:
- $IOTEX_WITNESS/etc/witness-config-polis.yaml:/etc/iotube-witness/witness-config-polis.yaml:ro
- $IOTEX_WITNESS/etc/witness-config-polis.secret.yaml:/etc/iotube-witness/witness-config-polis.secret.yaml:ro
network_mode: host
command: witness -config=/etc/iotube-witness/witness-config-polis.yaml -secret=/etc/iotube-witness/witness-config-polis.secret.yaml
environment:
WITNESS_PRIVATE_KEY: ${WITNESS_PRIVATE_KEY}
RELAYER_URL: ${RELAYER_URL}
# polis-witness:
# container_name: polis-witness
# image: witness:latest
# restart: on-failure
# volumes:
# - $IOTEX_WITNESS/etc/witness-config-polis.yaml:/etc/iotube-witness/witness-config-polis.yaml:ro
# - $IOTEX_WITNESS/etc/witness-config-polis.secret.yaml:/etc/iotube-witness/witness-config-polis.secret.yaml:ro
# network_mode: host
# command: witness -config=/etc/iotube-witness/witness-config-polis.yaml -secret=/etc/iotube-witness/witness-config-polis.secret.yaml
# environment:
# WITNESS_PRIVATE_KEY: ${WITNESS_PRIVATE_KEY}
# RELAYER_URL: ${RELAYER_URL}

bsc-witness:
container_name: bsc-witness
Expand Down
5 changes: 4 additions & 1 deletion witness-service/witness-config-bsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ database:
cashiers:
- id: "bsc-to-iotex"
relayerURL: ":7001"
startBlockHeight: 5177821
startBlockHeight: 34560000
cashierContractAddress: "0x797f1465796fd89ea7135e76dbc7cdb136bba1ca"
tokenSafeContractAddress: "0xfbe9a4138afdf1fa639a8c2818a0c4513fc4ce4b"
validatorContractAddress: "io10xr64as4krm5nufd5l2ddc43al6tl0smumkg7y"
Expand Down Expand Up @@ -39,3 +39,6 @@ cashiers:
# IoTexShiba
- token1: "0x52702a7301be185cc97bf3fe6d497a83e7772fde"
token2: "io1ld5l9sxecjzkftkn9tcudu6z5qmvjj2zfamvcw"
# DRF
- token2: "io1mm5eya89mz3dmp0lqtlfuydf67nrdhnwg92dy4"
token1: "0x02dF5253Bc4EfC9F8f744133Ff99981b18Df0473"
10 changes: 8 additions & 2 deletions witness-service/witness-config-ethereum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ database:
cashiers:
- id: "ethereum-to-iotex"
relayerURL: ":7001"
startBlockHeight: 11827636
startBlockHeight: 18800000
validatorContractAddress: "io10xr64as4krm5nufd5l2ddc43al6tl0smumkg7y"
cashierContractAddress: "0xa0fd7430852361931b23a31f84374ba3314e1682"
tokenSafeContractAddress: "0xc2e0f31d739cb3153ba5760a203b3bd7c27f0d7a"
Expand Down Expand Up @@ -59,4 +59,10 @@ cashiers:
token1: "0xf79deaBc1406a3AD07c70877fBaEb90777B77E68"
# CTSI
- token2: "io16ajfjch2hlm56vnhlwvs7g7aptnvx40ksyvrz5"
token1: "0x30e68fACB9D4E04FEdc12A8Cc539639f90F40c63"
token1: "0x30e68fACB9D4E04FEdc12A8Cc539639f90F40c63"
# DATA
- token2: "io1rt3y6jfg4ph64txhrn6pf54n5jv6mv5mjlp37u"
token1: "0x03F353dd6a5d65d533f4746AEBc927E7FEa34284"
# DRF
- token1: "io1mm5eya89mz3dmp0lqtlfuydf67nrdhnwg92dy4"
token2: "0x02dF5253Bc4EfC9F8f744133Ff99981b18Df0473"
3 changes: 3 additions & 0 deletions witness-service/witness-config-iotex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,6 @@ cashiers:
# WIFI
- token1: "io1em553udth5j85hjp4z9j3xgdhq00qz7uq5egha"
token2: "0x8F26b442B6681567f6EaA75828140712f939Fb9e"
# DATA
- token1: "io1rt3y6jfg4ph64txhrn6pf54n5jv6mv5mjlp37u"
token2: "0x03F353dd6a5d65d533f4746AEBc927E7FEa34284"
2 changes: 1 addition & 1 deletion witness-service/witness-config-matic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ database:
cashiers:
- id: "matic-to-iotex"
relayerURL: ":7001"
startBlockHeight: 15246000
startBlockHeight: 51400000
cashierContractAddress: "0xf72CFb704d49aC7BB7FFa420AE5f084C671A29be"
tokenSafeContractAddress: "0xA239F03Cda98A7d2AaAA51e7bF408e5d73399e45"
validatorContractAddress: "io10xr64as4krm5nufd5l2ddc43al6tl0smumkg7y"
Expand Down

0 comments on commit 6692a8c

Please sign in to comment.