Skip to content

v0.0.1-rc4

This release supersedes v0.0.1-rc3.

Changes

  • Updated Docker image tag to getoptimum/gateway:v0.0.1-rc4
  • No configuration changes — all setup and usage instructions remain identical to rc1
  • Multiple bug fixes and minor improvements across Docker builds, CI cleanup, and proto contracts.

New Features

Active Telemetry Push

Gateway now actively pushes metrics to external monitoring endpoint when telemetry is enabled.

Configuration:

yaml
telemetry_enable: true
telemetry_port: 48123

Behavior:

  • Gateway pushes metrics to: http://34.29.134.146:9091/
  • Happens automatically when telemetry_enable: true
  • Metrics include gateway health, peer counts, and message statistics

Example telemetry initialization:

json
{"timestamp":1758029878,"_level":"info","short_message":"initializing telemetry","commit":"rc4"}
{"timestamp":1758029878,"_level":"info","short_message":"starting push active metrics","commit":"rc4","metrics_url":"http://34.29.134.146:9091/"}

Example service statistics output:

json
{"timestamp":1758029998,"_level":"info","short_message":"service statistic","commit":"rc4","peers_libp2p":"0","peers_optp2p":"9","address":"16Uiu............","hosts":"[/ip4/172.17.0.4/tcp/33212]","topics":"0","bad_messages_to_opt":"0","bad_messages_to_cl":"0"}

Example aggregated message stats:

json
{"timestamp":1758029998,"_level":"info","short_message":"Aggregated message stats: max=64840.00, min=258.00, mean=2805.79, median=1707.00","commit":"rc4"}

Example state dump output:

json
{"timestamp":1758029998,"_level":"info","short_message":"dumping state","commit":"rc4","pkg":"optimum_p2p","cluster_id":"optimum_hoodi_v0_1","host_id":"12D3..........","peers":"9"}

Enhanced Topic Validation

Improved forkDigest validation for Ethereum topics:

yaml
# Valid topic format (rc4 will accept):
eth_topics_subscribe:
  - /eth2/82556a32/beacon_block/ssz_snappy

# Invalid topic format (rc4 will reject with error):
eth_topics_subscribe:
  - /eth2/invalid_fork_digest/beacon_block/ssz_snappy

Error output for invalid topics:

text
ERROR: Invalid topic format: /eth2/invalid_fork_digest/beacon_block/ssz_snappy

TEKU Integration Improvements

Enhanced P2P peer connection handling for TEKU consensus client:

  • Better connection retry logic for TEKU peers
  • Improved message processing for TEKU-specific protocols
  • Enhanced error reporting for TEKU connection issues

Notes

If you were previously running v0.0.1-rc3, you can switch to rc4 simply by updating the Docker image tag in your docker run or docker-compose configuration.

Quick Start

Follow the Quick Start Guide but use the updated Docker image:

bash
docker pull getoptimum/gateway:v0.0.1-rc4

Troubleshooting

If you encounter connection issues with proxy hosts, see the Troubleshooting Guide.