Skip to content

Commit

Permalink
Merge pull request #233 from covalenthq/update/cqt-staking-migration
Browse files Browse the repository at this point in the history
Update docker deploy scripts for migration contracts
  • Loading branch information
noslav authored Jan 25, 2024
2 parents 6588b70 + e55200a commit a1fbd23
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
Binary file modified data/redis/dump.rdb
Binary file not shown.
2 changes: 1 addition & 1 deletion docker-compose-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ services:
sleep 1;
done;
echo proof-chain contracts deployed!;
./entry.sh;
./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication-2#replicate --avro-codec-path=./codec/block-ethereum.avsc --binary-file-path=./bin/block-ethereum/ --block-divisor=3 --log-folder ./logs/ --metrics --metrics.port 6063 --metrics.addr 0.0.0.0 --proof-chain-address=0xEa2ff902dbeEECcc828757B881b343F9316752e5 --consumer-timeout=15 --ipfs-pinner-server="http://ipfs-pinner:3001/";
exit 0;"
environment:
- MB_PRIVATE_KEY=${PRIVATE_KEY}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ services:
sleep 1;
done;
echo proof-chain contracts deployed!;
./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication#replicate --avro-codec-path=./codec/block-ethereum.avsc --binary-file-path=./bin/block-ethereum/ --block-divisor=3 --log-folder ./logs/ --metrics --metrics.port 6063 --metrics.addr 0.0.0.0 --proof-chain-address=0xEa2ff902dbeEECcc828757B881b343F9316752e5 --consumer-timeout=100000 --ipfs-pinner-server="http://ipfs-pinner:3001/";
./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication-2#replicate --avro-codec-path=./codec/block-ethereum.avsc --binary-file-path=./bin/block-ethereum/ --block-divisor=3 --log-folder ./logs/ --metrics --metrics.port 6063 --metrics.addr 0.0.0.0 --proof-chain-address=0xEa2ff902dbeEECcc828757B881b343F9316752e5 --consumer-timeout=100000 --ipfs-pinner-server="http://ipfs-pinner:3001/";
exit 0;"
environment:
- MB_PRIVATE_KEY=${PRIVATE_KEY}
Expand Down
14 changes: 8 additions & 6 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ then
timeout 120s ./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication-2#replicate \
--avro-codec-path=./codec/block-elrond.avsc \
--binary-file-path=./bin/block-elrond/ \
--proof-chain-address=0xea2ff902dbeeeccc828757b881b343f9316752e5\
--proof-chain-address=0xEa2ff902dbeEECcc828757B881b343F9316752e5\
--consumer-timeout=15 \
--websocket-urls="34.69.250.147:20000 34.69.250.147:20001 34.69.250.147:20002 34.69.250.147:20003"

else
./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication#replicate \
--avro-codec-path=./codec/block-ethereum.avsc \
--binary-file-path=./bin/block-ethereum/ \
--block-divisor=3 \
--proof-chain-address=0xea2ff902dbeeeccc828757b881b343f9316752e5 \
./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication-2#replicate \
--avro-codec-path=./codec/block-ethereum.avsc \
--binary-file-path=./bin/block-ethereum/ \
--block-divisor=3 \
--log-folder ./logs/ \
--proof-chain-address=0xEa2ff902dbeEECcc828757B881b343F9316752e5 \
--metrics --metrics.port 6063 --metrics.addr 0.0.0.0 \
--consumer-timeout=15 \
--ipfs-pinner-server="http://ipfs-pinner:3001/"
fi

0 comments on commit a1fbd23

Please sign in to comment.