diff --git a/arb/nitro/opencampuscodex-sepolia-nitro-archive-leveldb-hash.yml b/arb/nitro/opencampuscodex-sepolia-nitro-archive-leveldb-hash.yml index 33bbd001..42a29e9a 100644 --- a/arb/nitro/opencampuscodex-sepolia-nitro-archive-leveldb-hash.yml +++ b/arb/nitro/opencampuscodex-sepolia-nitro-archive-leveldb-hash.yml @@ -22,8 +22,8 @@ services: - 8551 ports: - - 10938:10938 - - 10938:10938/udp + - 10953:10953 + - 10953:10953/udp volumes: - ${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_DATA:-opencampuscodex-sepolia-nitro-archive-leveldb-hash}:/root/.arbitrum - /slowdisk:/slowdisk @@ -34,7 +34,7 @@ services: command: - --datadir=/root/.arbitrum - - --port=10938 + - --port=10953 - --bind=0.0.0.0 - --nat=extip:${IP} - --http diff --git a/arb/nitro/opencampuscodex-sepolia-nitro-pruned-pebble-path.yml b/arb/nitro/opencampuscodex-sepolia-nitro-pruned-pebble-path.yml index d8b6ae1b..92a14f6a 100644 --- a/arb/nitro/opencampuscodex-sepolia-nitro-pruned-pebble-path.yml +++ b/arb/nitro/opencampuscodex-sepolia-nitro-pruned-pebble-path.yml @@ -1,62 +1,122 @@ - +# use at your own risk services: opencampuscodex-sepolia: - image: 'offchainlabs/nitro-node:${NITRO_VERSION:-v3.5.3-0a9c975}' - stop_grace_period: 3m + image: ${OPENCAMPUSCODEX_NITRO_IMAGE:-offchainlabs/nitro-node}:${OPENCAMPUSCODEX_SEPOLIA_NITRO_VERSION:-v3.5.3-0a9c975} user: root - volumes: - - 'opencampuscodex-sepolia-nitro-pruned-pebble-path:/root/.arbitrum' - - ./arb/arb-sepolia/opencampuscodex/:/config - - './tmp/opencampuscodex-sepolia:/tmp' + ulimits: + nofile: 1048576 # Max open files (for RPC/WS connections) + sysctls: + # TCP Performance + net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle + net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache + net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers + net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers + net.core.somaxconn: 32768 # Higher connection queue + # Memory/Connection Management + net.core.netdev_max_backlog: 50000 # Increase network buffer + net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests + net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets expose: - 8545 + - 8551 + + ports: + - 10953:10953 + - 10953:10953/udp + volumes: + - ${OPENCAMPUSCODEX_SEPOLIA_NITRO_PRUNED_PEBBLE_PATH_DATA:-opencampuscodex-sepolia-nitro-pruned-pebble-path}:/root/.arbitrum + - /slowdisk:/slowdisk + + - .jwtsecret:/jwtsecret:ro + + - ./tmp/opencampuscodex-sepolia:/tmp + command: - - --conf.file=/config/baseConfig.json - - --execution.caching.state-scheme=path - - --execution.rpc.gas-cap=600000000 - - --execution.caching.archive=false - - --execution.sequencer.enable=false - - --persistent.db-engine=pebble - - --persistent.chain=/root/.arbitrum/opencampuscodex-sepolia - - --parent-chain.connection.url=${ARBITRUM_SEPOLIA_EXECUTION_RPC} - - - --http.addr=0.0.0.0 + - --datadir=/root/.arbitrum + - --port=10953 + - --bind=0.0.0.0 + - --nat=extip:${IP} + - --http - --http.port=8545 - --http.vhosts=* - - --http.corsdomain=* - - --http.api=eth,net,web3,arb,txpool,debug + - --ws - --ws.port=8545 - - --ws.addr=0.0.0.0 - --ws.origins=* + - --ws.addr=0.0.0.0 + - --http.addr=0.0.0.0 + - --maxpeers=50 + - --http.api=eth,net,web3,arb,txpool,debug - --ws.api=eth,net,web3,arb,txpool,debug - - --metrics - - --metrics-server.addr=0.0.0.0 - - --metrics-server.port=6070 - - --log-type=json + + - --rpc.gascap=600000000 + - --rpc.returndatalimit=10000000 + - --rpc.txfeecap=0 + + - --execution.caching.state-scheme=path + - --execution.rpc.gas-cap=600000000 + - --execution.caching.archive=false + - --execution.sequencer.enable=false + - --persistent.db-engine=pebble + - --persistent.chain=/root/.arbitrum/opencampuscodex-sepolia + + - --conf.file=/config/baseConfig.json + - --node.sequencer=false - --node.staker.enable=false - - --node.batch-poster.enable=false + - --node.batch-poster.enable=false - --node.data-availability.enable=true - - --node.data-availability.sequencer-inbox-address=1297541082195356755105700451499873350464260779639 + - --node.data-availability.sequencer-inbox-address=0xe347C1223381b9Dcd6c0F61cf81c90175A7Bae77 - --node.data-availability.parent-chain-node-url=${ARBITRUM_SEPOLIA_EXECUTION_RPC} - --node.data-availability.rest-aggregator.enable=true - --node.data-availability.rest-aggregator.urls=https://das.open-campus-codex.gelato.digital + - --node.feed.input.url=wss://feed.open-campus-codex.gelato.digital - --execution.forwarding-target=https://rpc.open-campus-codex.gelato.digital - - - restart: unless-stopped - labels: - - "traefik.enable=true" - - "traefik.http.middlewares.opencampuscodex-sepolia-nitro-pruned-pebble-path-stripprefix.stripprefix.prefixes=/opencampuscodex-sepolia" - - "traefik.http.services.opencampuscodex-sepolia-nitro-pruned-pebble-path.loadbalancer.server.port=8545" - - "traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.entrypoints=websecure" - - "traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.tls.certresolver=myresolver" - - "traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/opencampuscodex-sepolia`)" - - "traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.middlewares=opencampuscodex-sepolia-nitro-pruned-pebble-path-stripprefix, ipwhitelist" - networks: - - chains + - --parent-chain.connection.url=${ARBITRUM_SEPOLIA_EXECUTION_RPC} -volumes: - opencampuscodex-sepolia-nitro-pruned-pebble-path: \ No newline at end of file + networks: + - chains + restart: unless-stopped + stop_grace_period: 5m + labels: + - traefik.enable=true + - traefik.http.middlewares.opencampuscodex-sepolia-nitro-pruned-pebble-path-stripprefix.stripprefix.prefixes=/opencampuscodex-sepolia + - traefik.http.services.opencampuscodex-sepolia-nitro-pruned-pebble-path.loadbalancer.server.port=8545 + - ${NO_SSL:-traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.entrypoints=websecure} + - ${NO_SSL:-traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.tls.certresolver=myresolver} + - ${NO_SSL:-traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/opencampuscodex-sepolia`)} + - ${NO_SSL:+traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.rule=PathPrefix(`/opencampuscodex-sepolia`)} + - traefik.http.routers.opencampuscodex-sepolia-nitro-pruned-pebble-path.middlewares=opencampuscodex-sepolia-nitro-pruned-pebble-path-stripprefix, ipwhitelist + +volumes: + opencampuscodex-sepolia-nitro-pruned-pebble-path: + +x-upstreams: + - chain: open-campus-codex-sepolia + method-groups: + enabled: + - debug + - filter + + methods: + disabled: + # not compatible with path state scheme + - name: debug_traceBlockByHash + enabled: + # standard geth only + - name: debug_getRawBlock + - name: debug_getRawTransaction + - name: debug_getRawReceipts + - name: debug_getRawHeader + - name: debug_getBadBlocks + # non standard geth only slightly dangerous + - name: debug_intermediateRoots + - name: debug_dumpBlock + # standard geth and erigon + - name: debug_accountRange + - name: debug_getModifiedAccountsByNumber + - name: debug_getModifiedAccountsByHash + # non standard geth and erigon + - name: eth_getRawTransactionByHash + - name: eth_getRawTransactionByBlockHashAndIndex diff --git a/op-zora-sepolia-pbss.yml b/op-zora-sepolia-pbss.yml deleted file mode 120000 index b02438e4..00000000 --- a/op-zora-sepolia-pbss.yml +++ /dev/null @@ -1 +0,0 @@ -zora-sepolia-op-geth-pruned-pebble-path.yml \ No newline at end of file