Skip to content

Commit

Permalink
chore: remove Edena (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendan authored Aug 29, 2023
1 parent a9804ad commit c44ee1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 199 deletions.
9 changes: 2 additions & 7 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
COMPOSE_FILE=network.yml:contracts.yml:subnet-topos.yml:subnet-incal.yml:subnet-edena.yml:tce.yml:executor-service.yml
COMPOSE_FILE=network.yml:contracts.yml:subnet-topos.yml:subnet-incal.yml:tce.yml:executor-service.yml
COMPOSE_PROJECT_NAME=infra

# Topos Subnet
Expand All @@ -8,12 +8,7 @@ TOPOS_CHAIN_ID=2357
# Incal
INCAL_HOST_PORT=20002
INCAL_CHAIN_ID=2358
INCAL_LOGO_URL=https://tinyurl.com/23c2y3pp

# Edena
EDENA_HOST_PORT=30002
EDENA_CHAIN_ID=2359
EDENA_LOGO_URL=https://tinyurl.com/3f7vx76p
INCAL_LOGO_URL=https://toposware.com/logo-incal.svg

# Executor Service
AUTH0_AUDIENCE=https://executor.demo.toposware.com
Expand Down
30 changes: 1 addition & 29 deletions contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,22 @@ services:
- INCAL_HOST_PORT=${INCAL_HOST_PORT}
- INCAL_CHAIN_ID=${INCAL_CHAIN_ID}
- INCAL_LOGO_URL=${INCAL_LOGO_URL}
- EDENA_HOST_PORT=${EDENA_HOST_PORT}
- EDENA_CHAIN_ID=${EDENA_CHAIN_ID}
- EDENA_LOGO_URL=${EDENA_LOGO_URL}
command: bash -c "
npx ts-node scripts/deploy-topos-msg-protocol http://topos-node-1:8545 $(cat /data/topos/data-1/consensus/validator.key) > /contracts/.env &&
echo export SUBNET_REGISTRATOR_CONTRACT_ADDRESS=$(npx ts-node scripts/deploy http://topos-node-1:8545 artifacts/contracts/topos-core/SubnetRegistrator.sol/SubnetRegistrator.json $SUBNET_REGISTRATOR_SALT 4000000) >> /contracts/.env &&
source /contracts/.env &&
npm run register-subnet http://topos-node-1:8545 $(printenv SUBNET_REGISTRATOR_CONTRACT_ADDRESS) Incal $INCAL_CHAIN_ID localhost:$INCAL_HOST_PORT INCA $INCAL_LOGO_URL $(cat /data/incal/data-1/consensus/validator.key) &&
npm run register-subnet http://topos-node-1:8545 $(printenv SUBNET_REGISTRATOR_CONTRACT_ADDRESS) Edena $EDENA_CHAIN_ID localhost:$EDENA_HOST_PORT EDEN $EDENA_LOGO_URL $(cat /data/edena/data-1/consensus/validator.key)"
npm run register-subnet http://topos-node-1:8545 $(printenv SUBNET_REGISTRATOR_CONTRACT_ADDRESS) Incal $INCAL_CHAIN_ID localhost:$INCAL_HOST_PORT INCA $INCAL_LOGO_URL $(cat /data/incal/data-1/consensus/validator.key)"
volumes:
- contracts:/contracts
- topos-data:/data/topos
- incal-data:/data/incal
- edena-data:/data/edena
depends_on:
contracts-init:
condition: service_completed_successfully
topos-node-1:
condition: service_healthy
incal-node-1:
condition: service_healthy
edena-node-1:
condition: service_healthy
networks:
- local-erc20-messaging-infra-docker

Expand All @@ -71,26 +64,5 @@ services:
networks:
- local-erc20-messaging-infra-docker

contracts-edena:
image: ghcr.io/topos-protocol/topos-smart-contracts:${TOPOS_MESSAGING_PROTOCOL_CONTRACTS_VERSION}
container_name: contracts-edena
init: true
environment:
- PRIVATE_KEY=${PRIVATE_KEY}
- TOKEN_DEPLOYER_SALT=${TOKEN_DEPLOYER_SALT}
- TOPOS_CORE_SALT=${TOPOS_CORE_SALT}
- TOPOS_CORE_PROXY_SALT=${TOPOS_CORE_PROXY_SALT}
- ERC20_MESSAGING_SALT=${ERC20_MESSAGING_SALT}
- SUBNET_REGISTRATOR_SALT=${SUBNET_REGISTRATOR_SALT}
command: bash -c "
npm run deploy:topos-msg-protocol http://edena-node-1:8545 $$(cat /data/edena/data-1/consensus/validator.key)"
volumes:
- edena-data:/data/edena
depends_on:
edena-node-1:
condition: service_healthy
networks:
- local-erc20-messaging-infra-docker

volumes:
contracts:
163 changes: 0 additions & 163 deletions subnet-edena.yml

This file was deleted.

0 comments on commit c44ee1d

Please sign in to comment.