Skip to content

feat: add apollo config for gas price#60

Merged
louisliu2048 merged 29 commits intodevfrom
lucas/apollo-config
Oct 8, 2025
Merged

feat: add apollo config for gas price#60
louisliu2048 merged 29 commits intodevfrom
lucas/apollo-config

Conversation

@limyeechern
Copy link
Copy Markdown
Collaborator

@limyeechern limyeechern commented Sep 26, 2025

Summary

This PR adds Apollo configuration management for dynamic L2 gas price settings, enabling runtime configuration updates without node restarts.

Details

Apollo-configurable parameters:

  1. GPO settings (type, update period, factor, blocks, percentile)
  2. Kafka integration (URL, topic, group ID)
  3. Coin price settings (L1/L2 coin IDs, default prices)
  4. Gas price thresholds and limits

Integration:

Register Apollo client as lifecycle component in addXLayerBackend()

@limyeechern limyeechern changed the title Lucas/apollo config feat: apollo config fix Sep 27, 2025
@limyeechern limyeechern changed the title feat: apollo config fix feat: add apollo config for gas price Sep 29, 2025
@limyeechern limyeechern changed the base branch from brendon/apollo-config to dev September 29, 2025 03:22
Comment thread cmd/utils/flags.go Outdated
Comment thread xlayer/apollo/apollo_config.go Outdated
limyeechern and others added 2 commits October 5, 2025 15:12
Comment thread cmd/geth/apollo/apollo_xlayer.go Outdated
Comment thread cmd/geth/apollo/apollo_xlayer.go Outdated
Comment thread cmd/geth/backend_xlayer.go Outdated
Comment thread xlayer/apollo/apollo_client.go Outdated
Comment thread cmd/geth/backend_xlayer.go Outdated
Comment thread xlayer/apollo/utils.go Outdated
Comment thread xlayer/apollo/utils.go Outdated
@louisliu2048 louisliu2048 merged commit 58d3016 into dev Oct 8, 2025
limyeechern added a commit that referenced this pull request Jan 6, 2026
@limyeechern limyeechern mentioned this pull request Jan 6, 2026
louisliu2048 pushed a commit that referenced this pull request Jan 6, 2026
* Revert "chore: refactor apollo to avoid passing global pointer (#148)"

This reverts commit f81f140.

* Revert "feat: add apollo config for gas price (#60)"

This reverts commit 58d3016.

* chore: go mod tidy

* chore: undo unnecessary changes

* chore: fix imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants