From 6f4509ebb25af75d2b910b0ca63482b3c61dde38 Mon Sep 17 00:00:00 2001 From: Victor Yves Crispim Date: Fri, 22 Mar 2024 14:59:44 -0300 Subject: [PATCH] refactor: order env vars alphabetically in compose --- build/compose-devnet.yaml | 12 ++++++------ build/compose-host.yaml | 2 +- build/compose-node.yaml | 6 +++--- build/compose-sepolia.yaml | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build/compose-devnet.yaml b/build/compose-devnet.yaml index a06e87edd..accc63774 100644 --- a/build/compose-devnet.yaml +++ b/build/compose-devnet.yaml @@ -14,18 +14,18 @@ services: devnet: condition: service_healthy environment: - CARTESI_BLOCKCHAIN_ID: "31337" + CARTESI_AUTH_KIND: "mnemonic" + CARTESI_AUTH_MNEMONIC: "test test test test test test test test test test test junk" + CARTESI_BLOCKCHAIN_FINALITY_OFFSET: "1" CARTESI_BLOCKCHAIN_HTTP_ENDPOINT: "http://devnet:8545" - CARTESI_BLOCKCHAIN_WS_ENDPOINT: "ws://devnet:8545" + CARTESI_BLOCKCHAIN_ID: "31337" CARTESI_BLOCKCHAIN_IS_LEGACY: "false" - CARTESI_BLOCKCHAIN_FINALITY_OFFSET: "1" + CARTESI_BLOCKCHAIN_WS_ENDPOINT: "ws://devnet:8545" CARTESI_CONTRACTS_APPLICATION_ADDRESS: "0x7FFdf694A877067DE99462A7243b29972D19cf72" CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER: "20" - CARTESI_CONTRACTS_HISTORY_ADDRESS: "0x325272217ae6815b494bF38cED004c5Eb8a7CdA7" CARTESI_CONTRACTS_AUTHORITY_ADDRESS: "0x58c93F83fb3304730C95aad2E360cdb88b782010" + CARTESI_CONTRACTS_HISTORY_ADDRESS: "0x325272217ae6815b494bF38cED004c5Eb8a7CdA7" CARTESI_CONTRACTS_INPUT_BOX_ADDRESS: "0x59b22D57D4f067708AB0c00552767405926dc768" CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER: "20" CARTESI_EPOCH_DURATION: "120" CARTESI_FEATURE_DISABLE_MACHINE_HASH_CHECK: "true" - CARTESI_AUTH_KIND: "mnemonic" - CARTESI_AUTH_MNEMONIC: "test test test test test test test test test test test junk" diff --git a/build/compose-host.yaml b/build/compose-host.yaml index f48bad3e3..18384fb73 100644 --- a/build/compose-host.yaml +++ b/build/compose-host.yaml @@ -8,5 +8,5 @@ services: ports: - "10007:10007" # Host Runner Rollup API environment: - CARTESI_FEATURE_HOST_MODE: "true" CARTESI_FEATURE_DISABLE_MACHINE_HASH_CHECK: "true" + CARTESI_FEATURE_HOST_MODE: "true" diff --git a/build/compose-node.yaml b/build/compose-node.yaml index b157b4482..a0cfd6bac 100644 --- a/build/compose-node.yaml +++ b/build/compose-node.yaml @@ -11,9 +11,9 @@ services: ports: - "10000:10000" # Supervisor environment: - CARTESI_LOG_LEVEL: "info" - CARTESI_LOG_PRETTY: "true" - CARTESI_FEATURE_HOST_MODE: "false" CARTESI_FEATURE_DISABLE_CLAIMER: "false" + CARTESI_FEATURE_HOST_MODE: "false" CARTESI_HTTP_ADDRESS: "0.0.0.0" CARTESI_HTTP_PORT: "10000" + CARTESI_LOG_LEVEL: "info" + CARTESI_LOG_PRETTY: "true" diff --git a/build/compose-sepolia.yaml b/build/compose-sepolia.yaml index e340b8b94..95164b2b2 100644 --- a/build/compose-sepolia.yaml +++ b/build/compose-sepolia.yaml @@ -9,15 +9,15 @@ name: rollups-node services: node: environment: - CARTESI_BLOCKCHAIN_ID: "11155111" + CARTESI_BLOCKCHAIN_FINALITY_OFFSET: "1" CARTESI_BLOCKCHAIN_HTTP_ENDPOINT: "${RPC_HTTP_URL}" - CARTESI_BLOCKCHAIN_WS_ENDPOINT: "${RPC_WS_URL}" + CARTESI_BLOCKCHAIN_ID: "11155111" CARTESI_BLOCKCHAIN_IS_LEGACY: "false" - CARTESI_BLOCKCHAIN_FINALITY_OFFSET: "1" + CARTESI_BLOCKCHAIN_WS_ENDPOINT: "${RPC_WS_URL}" CARTESI_CONTRACTS_APPLICATION_ADDRESS: "0x9f12D4365806FC000D6555ACB85c5371b464E506" CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER: "4152308" - CARTESI_CONTRACTS_HISTORY_ADDRESS: "0x76f4dCaC0920826541EE718214EEE4be07346cEE" CARTESI_CONTRACTS_AUTHORITY_ADDRESS: "0x5827Ec9365D3a9b27bF1dB982d258Ad234D37242" + CARTESI_CONTRACTS_HISTORY_ADDRESS: "0x76f4dCaC0920826541EE718214EEE4be07346cEE" CARTESI_CONTRACTS_INPUT_BOX_ADDRESS: "0x59b22D57D4f067708AB0c00552767405926dc768" CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER: "3963384" CARTESI_EPOCH_DURATION: "86400"