Skip to content

Commit

Permalink
fix: move local stack postman env variable in env file (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
VGau authored Dec 18, 2024
1 parent edca267 commit bc0cfbb
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
43 changes: 1 addition & 42 deletions docker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,48 +215,7 @@ services:
condition: service_healthy
postgres:
condition: service_healthy
environment:
L1_RPC_URL: "http://l1-el-node:8545"
L1_CONTRACT_ADDRESS: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9"
# WARNING: FOR LOCAL DEV ONLY - DO NOT REUSE THESE KEYS ELSEWHERE
L1_SIGNER_PRIVATE_KEY: "0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba"
L1_LISTENER_INTERVAL: 2000
L1_LISTENER_INITIAL_FROM_BLOCK: 0
L1_LISTENER_BLOCK_CONFIRMATION: 1
L1_MAX_BLOCKS_TO_FETCH_LOGS: 1000
L1_MAX_GAS_FEE_ENFORCED: "true"
L2_RPC_URL: "http://l2-node:8545"
L2_CONTRACT_ADDRESS: "0xe537D669CA013d86EBeF1D64e40fC74CADC91987"
# WARNING: FOR LOCAL DEV ONLY - DO NOT REUSE THESE KEYS ELSEWHERE
L2_SIGNER_PRIVATE_KEY: "0xfcf854e0a0bc6fd7e97d7050e61a362c915cecd6767a32267b22e8b7af572e58"
L2_LISTENER_INTERVAL: 2000
L2_LISTENER_INITIAL_FROM_BLOCK: 0
L2_LISTENER_BLOCK_CONFIRMATION: 0 # set confirmation as zero since L2 block won't auto increase
L2_MAX_BLOCKS_TO_FETCH_LOGS: 1000
L2_MAX_GAS_FEE_ENFORCED: "false"
L2_MESSAGE_TREE_DEPTH: 5
MESSAGE_SUBMISSION_TIMEOUT: 300000
MAX_FETCH_MESSAGES_FROM_DB: 1000
MAX_NONCE_DIFF: 10000
MAX_FEE_PER_GAS_CAP: 100000000000
GAS_ESTIMATION_PERCENTILE: 50
PROFIT_MARGIN: 0.0
MAX_NUMBER_OF_RETRIES: 100
RETRY_DELAY_IN_SECONDS: 30
MAX_CLAIM_GAS_LIMIT: 2560000
L1_L2_EOA_ENABLED: "true"
L1_L2_CALLDATA_ENABLED: "true"
L1_L2_AUTO_CLAIM_ENABLED: "true"
L2_L1_EOA_ENABLED: "true"
L2_L1_CALLDATA_ENABLED: "true"
L2_L1_AUTO_CLAIM_ENABLED: "true"
POSTGRES_HOST: "postgres"
POSTGRES_PORT: 5432
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "postman_db"
DB_CLEANER_ENABLED: "false"
ENABLE_LINEA_ESTIMATE_GAS: "false"
env_file: "./config/postman/env"
networks:
l1network:
ipv4_address: 10.10.10.222
Expand Down
41 changes: 41 additions & 0 deletions docker/config/postman/env
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
L1_RPC_URL=http://l1-el-node:8545
L1_CONTRACT_ADDRESS=0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9
# WARNING=FOR LOCAL DEV ONLY - DO NOT REUSE THESE KEYS ELSEWHERE
L1_SIGNER_PRIVATE_KEY=0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba
L1_LISTENER_INTERVAL=2000
L1_LISTENER_INITIAL_FROM_BLOCK=0
L1_LISTENER_BLOCK_CONFIRMATION=1
L1_MAX_BLOCKS_TO_FETCH_LOGS=1000
L1_MAX_GAS_FEE_ENFORCED=true
L2_RPC_URL=http://l2-node:8545
L2_CONTRACT_ADDRESS=0xe537D669CA013d86EBeF1D64e40fC74CADC91987
# WARNING=FOR LOCAL DEV ONLY - DO NOT REUSE THESE KEYS ELSEWHERE
L2_SIGNER_PRIVATE_KEY=0xfcf854e0a0bc6fd7e97d7050e61a362c915cecd6767a32267b22e8b7af572e58
L2_LISTENER_INTERVAL=2000
L2_LISTENER_INITIAL_FROM_BLOCK=0
L2_LISTENER_BLOCK_CONFIRMATION=0 # set confirmation as zero since L2 block won't auto increase
L2_MAX_BLOCKS_TO_FETCH_LOGS=1000
L2_MAX_GAS_FEE_ENFORCED=false
L2_MESSAGE_TREE_DEPTH=5
MESSAGE_SUBMISSION_TIMEOUT=300000
MAX_FETCH_MESSAGES_FROM_DB=1000
MAX_NONCE_DIFF=10000
MAX_FEE_PER_GAS_CAP=100000000000
GAS_ESTIMATION_PERCENTILE=50
PROFIT_MARGIN=0.0
MAX_NUMBER_OF_RETRIES=100
RETRY_DELAY_IN_SECONDS=30
MAX_CLAIM_GAS_LIMIT=2560000
L1_L2_EOA_ENABLED=true
L1_L2_CALLDATA_ENABLED=true
L1_L2_AUTO_CLAIM_ENABLED=true
L2_L1_EOA_ENABLED=true
L2_L1_CALLDATA_ENABLED=true
L2_L1_AUTO_CLAIM_ENABLED=true
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=postman_db
DB_CLEANER_ENABLED=false
ENABLE_LINEA_ESTIMATE_GAS=false

0 comments on commit bc0cfbb

Please sign in to comment.