From f6e97bfbc020884d670faf49ade81f7dd4732814 Mon Sep 17 00:00:00 2001 From: ZhiMing Zhang Date: Tue, 24 Dec 2024 14:49:08 +0800 Subject: [PATCH] remove old yaml file (#109) --- docker-compose-mainnet.yml | 29 ---------- docker-compose-testnet.yml | 114 ------------------------------------- docker-compose.da.yml | 48 ---------------- docker-compose.tssnode.yml | 51 ----------------- docker-compose.yml | 29 ---------- 5 files changed, 271 deletions(-) delete mode 100644 docker-compose-mainnet.yml delete mode 100644 docker-compose-testnet.yml delete mode 100644 docker-compose.da.yml delete mode 100644 docker-compose.tssnode.yml delete mode 100644 docker-compose.yml diff --git a/docker-compose-mainnet.yml b/docker-compose-mainnet.yml deleted file mode 100644 index e6cc87d..0000000 --- a/docker-compose-mainnet.yml +++ /dev/null @@ -1,29 +0,0 @@ -version: '3.4' - -x-healthcheck: &healthcheck - test: [ "CMD", "curl", "-sf", "http://localhost:8545" ] - interval: 5s - timeout: 5s - retries: 3 - start_period: 30s - -services: - replica: - image: mantlenetworkio/l2geth:v0.4.3 - entrypoint: sh ./geth.sh - env_file: - - ./mainnet/envs/geth.env # - volumes: - - ./data/geth:/root/.ethereum/geth/ - environment: - ETH1_HTTP: https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161 #change this - SEQUENCER_CLIENT_HTTP: https://rpc.mantle.xyz - ROLLUP_STATE_DUMP_PATH: https://mantlenetworkio.github.io/networks/mainnet/genesis.json - ROLLUP_CLIENT_HTTP: https://dtl.mantle.xyz - ROLLUP_BACKEND: 'l2' - ETH1_CTC_DEPLOYMENT_HEIGHT: 8 - RETRIES: 60 - ROLLUP_VERIFIER_ENABLE: 'true' - ports: - - ${VERIFIER_HTTP_PORT:-8545}:8545 - - ${VERIFIER_WS_PORT:-8546}:8546 diff --git a/docker-compose-testnet.yml b/docker-compose-testnet.yml deleted file mode 100644 index c1989a6..0000000 --- a/docker-compose-testnet.yml +++ /dev/null @@ -1,114 +0,0 @@ -version: '3.4' - -x-healthcheck: &healthcheck - test: [ "CMD", "curl", "-sf", "http://localhost:8545" ] - interval: 5s - timeout: 5s - retries: 3 - start_period: 30s - -services: - op-geth: - image: mantlenetworkio/op-geth:v0.5.0-7 - deploy: - resources: - limits: - cpus: '4' - memory: 8000M - reservations: - cpus: '4' - memory: 8000M - restart_policy: - condition: on-failure - extra_hosts: - - "host.docker.internal:host-gateway" - entrypoint: geth - command: - - --datadir=/db - - --verbosity=3 - - --port=30300 - - --http - - --http.corsdomain=* - - --http.vhosts=* - - --http.addr=0.0.0.0 - - --http.port=8545 - - --http.api=web3,eth,debug,txpool,net - - --ws - - --ws.addr=0.0.0.0 - - --ws.port=8546 - - --ws.origins=* - - --ws.api=web3,eth,debug,txpool,net - - --syncmode=full - - --maxpeers=0 - - --networkid=5003 - - --rpc.allow-unprotected-txs - - --authrpc.addr=0.0.0.0 - - --authrpc.port=8551 - - --authrpc.vhosts=* - - --authrpc.jwtsecret=/secret/jwt_secret_txt - - --pprof - - --pprof.addr=0.0.0.0 - - --pprof.port=6060 - - --gcmode=archive - - --metrics - - --metrics.addr=0.0.0.0 - - --metrics.port=9001 - - --snapshot=false - volumes: - - ./goerli/secret:/secret/ - - ./data/testnet-geth:/db/geth/ - ports: - - ${VERIFIER_HTTP_PORT:-8545}:8545 - - ${VERIFIER_WS_PORT:-8546}:8546 - - ${VERIFIER_AUTH_PORT:-8551}:8551 - op-node: - image: mantlenetworkio/op-node:v0.5.0-7 - deploy: - resources: - limits: - cpus: '4' - memory: 8000M - reservations: - cpus: '4' - memory: 8000M - restart_policy: - condition: on-failure - depends_on: - - op-geth - volumes: - - ./goerli/secret:/secret - - ./goerli/rollup.json:/config/rollup.json - environment: - OP_NODE_L1_ETH_RPC: 'L1 goerli' #change this - OP_NODE_L2_ENGINE_RPC: 'http://op-geth:8551' - OP_NODE_L2_ENGINE_AUTH: /secret/jwt_secret_txt - OP_NODE_ROLLUP_CONFIG: '/config/rollup.json' - OP_NODE_P2P_PRIV_PATH: /secret/p2p_node_key_txt - OP_NODE_VERIFIER_L1_CONFS: '3' - OP_NODE_RPC_ADDR: '0.0.0.0' - OP_NODE_RPC_PORT: 8545 - OP_NODE_P2P_LISTEN_IP: '0.0.0.0' - OP_NODE_P2P_LISTEN_TCP_PORT: 9003 - OP_NODE_P2P_LISTEN_UDP_PORT: 9003 - OP_NODE_P2P_PEER_SCORING: 'light' - OP_NODE_P2P_PEER_BANNING: 'true' - OP_NODE_METRICS_ENABLED: 'true' - OP_NODE_METRICS_ADDR: '0.0.0.0' - OP_NODE_METRICS_PORT: 7300 - OP_NODE_PPROF_ENABLED: 'true' - OP_NODE_PPROF_PORT: 6060 - OP_NODE_PPROF_ADDR: '0.0.0.0' - OP_NODE_P2P_DISCOVERY_PATH: '/op-node/opnode_discovery_db' - OP_NODE_P2P_PEERSTORE_PATH: '/op-node/opnode_peerstore_db' - # da retriever - OP_NODE_RETRIEVER_SOCKET: retriever.testnet.mantle.xyz:8000 - OP_NODE_GRAPH_PROVIDER: https://graphnode.testnet.mantle.xyz/subgraphs/name/datalayr - OP_NODE_L2_BACKUP_UNSAFE_SYNC_RPC: https://rpc.testnet.mantle.xyz - OP_NODE_P2P_STATIC: '/ip4/54.251.234.159/tcp/9003/p2p/16Uiu2HAkxjPnLpwenfrz6tXjvoc7U6i5sBHUVBoyUxjrcap8sM2i' - OP_NODE_SEQUENCER_ENABLED: 'false' - OP_NODE_P2P_AGENT: 'mantle' - OP_NODE_L2_ENGINE_SYNC_ENABLED: 'true' - OP_NODE_L2_SKIP_SYNC_START_CHECK: 'true' - OP_NODE_P2P_SYNC_REQ_RESP: 'true' - ports: - - ${NODE_RPC_PORT:-9545}:8545 diff --git a/docker-compose.da.yml b/docker-compose.da.yml deleted file mode 100644 index e03fbbc..0000000 --- a/docker-compose.da.yml +++ /dev/null @@ -1,48 +0,0 @@ -version: '3.4' - -volumes: - data-volume: - -services: - init: - build: ./init - volumes: - - data-volume:/app/data - - dl-node: - image: mantlenetworkio/da-node - - extra_hosts: - - "host.docker.internal:host-gateway" - volumes: - - data-volume:/data/kzg - environment: - DL_NODE_CHAIN_ID: 5 - DL_NODE_CHAIN_RPC: https://rpc.ankr.com/eth_goerli - DL_NODE_CHALLENGE_ORDER: 200000 - DL_NODE_DB_PATH: /data/da-node - DL_NODE_DLSM_ADDRESS: #find this value in https://github.com/mantlenetworkio/networks/blob/main/goerli/da-address.json#L8 - DL_NODE_FILE_LOG_LEVEL: trace - DL_NODE_G1_PATH: /data/kzg/g1.point - DL_NODE_G2_PATH: /data/kzg/g2.point - DL_NODE_GRAPH_PROVIDER: http://k8s-testnet-graphnod-1f2586e60d-808caf8ff912d31d.elb.ap-southeast-1.amazonaws.com:8000/subgraphs/name/datalayr #graph service of mantle testnet - DL_NODE_GRPC_PORT: 32000 - DL_NODE_HOSTNAME: ${publicip_of_da-node} - DL_NODE_LOG_PATH: /data/logs/da-node - DL_NODE_SRS_ORDER: 200000 - DL_NODE_PRIVATE_BLS: '#fixme' #need a generate bigint (length at least 10) - DL_NODE_SRS_TABLE_PATH: /data/kzg/SRSTables - DL_NODE_STD_LOG_LEVEL: debug - DL_NODE_TIMEOUT: 3000ms - DL_NODE_CACHE_PATH: data/kzg/SRSTables - DL_NODE_VERBOSE: true - DL_NODE_NUM_WORKERS: 8 - DL_NODE_ENABLE_METRICS: true - DL_NODE_METRICS_PORT: 7001 - DL_NODE_PRIVATE_KEY: ${danode-privatekey} - - ports: - - ${DL_NODE_GRPC_PORT:-32000}:32000 - depends_on: - - init - diff --git a/docker-compose.tssnode.yml b/docker-compose.tssnode.yml deleted file mode 100644 index 2e271ea..0000000 --- a/docker-compose.tssnode.yml +++ /dev/null @@ -1,51 +0,0 @@ -version: '3.4' - -services: - da-verifier: - image: mantlenetworkio/l2geth:v0.4.0-1 - entrypoint: sh ./geth.sh - extra_hosts: - - "host.docker.internal:host-gateway" - env_file: - - ./goerli/envs/daverifier.env - volumes: - - ./data/verifier:/root/.ethereum/geth/ - environment: - ETH1_HTTP: ${RPC_URL} #goerli - SEQUENCER_L1_RPC: ${RPC_URL} #goerli - SEQUENCER_CLIENT_HTTP: https://rpc.testnet.mantle.xyz - ROLLUP_STATE_DUMP_PATH: https://mantlenetworkio.github.io/networks/goerli/genesis.json - ROLLUP_CLIENT_HTTP: https://dtl.testnet.mantle.xyz - BLOCK_SIGNER_KEY: ${key} #22c7fa2d2cf5c0ccc21ff32a210d7dfea7bbc7d16c3ba0a75302a7b51c16c4f7 - BLOCK_SIGNER_ADDRESS: '' # 0xa9eC80835800a59Fd022f53e3E75AA4552F22ccB - ports: - - "3545:8545" - - "3546:8546" - - "33303:30303" - tss-node: - image: mantlenetworkio/tss:v0.4.0 - extra_hosts: - - "host.docker.internal:host-gateway" - depends_on: - - da-verifier - volumes: - - ./.tssnode:/data - - ./config:/app/config - environment: - TSS_NODE_PRIVATE_KEY: ${key} - TSS_NODE_BOOTSTRAP_PEERS: > - /ip4/18.143.253.149/tcp/80/p2p/16Uiu2HAmDQ1nNmJCWBaXace81MbxjeixUT1T6UR4qStVn29QY4rc - TSS_NODE_EXTERNAL_IP: ${PUBLIC IP} - TSS_SCC_CONTRACT_ADDRESS: 0x654e6dF111F98374d9e5d908D7a5392C308aA18D #CanonicalTransactionChain in goerli/addresses.json - TSS_TSS_GROUP_CONTRACT_ADDRESS: 0x1938F9551E7482F4bA21dE8cD84c99F94f8A8116 #Proxy__TSS_GroupManager in goerli/addresses.json - TSS_TSS_STAKING_SLASH_CONTRACT_ADDRESS: 0xF7f039b80108f7985167959e36932fBF86F4ceFE #Proxy__TSS_StakingSlashing in goerli/addresses.json - TSS_L1_START_BLOCK_NUMBER: 1 - TSS_MISS_SIGNED_NUMBER: 10 - TSS_NODE_GAS_LIMIT_SCALER: 15 - TSS_L1_URL: ${RPC_URL} ##goerli - TSS_NODE_L2_ETH_RPC: "http://da-verifier:8545" - TSS_NODE_WS_ADDR: "tcp://k8s-testnet-mantlets-d48bbd6293-a477ba8f7dbfcdc6.elb.ap-southeast-1.amazonaws.com:8081" #"tcp://${MATNLE-TESTNET-TSSMANAGER}:8081" - command: ./tss node -c config/tss-node-config.toml - ports: - - "8080:8080" - - "8000:8000" diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 5446030..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,29 +0,0 @@ -version: '3.4' - -x-healthcheck: &healthcheck - test: [ "CMD", "curl", "-sf", "http://localhost:8545" ] - interval: 5s - timeout: 5s - retries: 3 - start_period: 30s - -services: - replica: - image: mantlenetworkio/l2geth:v0.4.3 - entrypoint: sh ./geth.sh - env_file: - - ./goerli/envs/geth.env # - volumes: - - ./data/geth:/root/.ethereum/geth/ - environment: - ETH1_HTTP: https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161 - SEQUENCER_CLIENT_HTTP: https://rpc.testnet.mantle.xyz - ROLLUP_STATE_DUMP_PATH: https://mantlenetworkio.github.io/networks/goerli/genesis.json - ROLLUP_CLIENT_HTTP: https://dtl-tob.testnet.mantle.xyz - ROLLUP_BACKEND: 'l2' - ETH1_CTC_DEPLOYMENT_HEIGHT: 8 - RETRIES: 60 - ROLLUP_VERIFIER_ENABLE: 'true' - ports: - - ${VERIFIER_HTTP_PORT:-8545}:8545 - - ${VERIFIER_WS_PORT:-8546}:8546