Skip to content

Bugfix/remove hardcoded ports#66

Merged
MrLutik merged 3 commits intomainfrom
bugfix/remove-hardcoded-ports
Oct 30, 2025
Merged

Bugfix/remove hardcoded ports#66
MrLutik merged 3 commits intomainfrom
bugfix/remove-hardcoded-ports

Conversation

@MrLutik
Copy link
Copy Markdown
Collaborator

@MrLutik MrLutik commented Oct 30, 2025

No description provided.

…lity

Replace all hardcoded port values with configurable constants to support
different deployment environments and improve maintainability.

Changes:
- Replace hardcoded port 11000 with configurable interx_port parameter in network discovery
- Update GetAllNodesV3 call to pass interx_port from configuration
- Replace hardcoded getPubP2PList port with tc.InterxPort
- Fix container hostname from interx.local to proxy.local
- Add constants for local proxy port (80), sekai caller port (8080), and proxy caller port (8080)
- Update dashboard API calls to use dynamic ports instead of hardcoded 11000
- Fix sekai caller port from hardcoded 8181 to correct internal port 8080
- Fix proxy/interx caller port from hardcoded 8081 to correct port 8080
- Update dev-compose.yml sekai port mapping from 8181:8181 to 8181:8080
- Upgrade kensho dependency to v0.12.1 for updated GetAllNodesV3 signature
- Improve join command timeout handling to return success with informative message

This allows the join command to work correctly with custom port configurations
and properly handles long-running blockchain sync operations.
- Remove chunked genesis fetching from sekaid RPC
- Remove sekaidRPCPort parameter from GetVerifiedGenesisFile
- Change interx API endpoint from /api/genesis to /api/tendermint/genesis
- Add genesis wrapper unwrapping logic for format normalization
- Remove checksum verification (handled by interx)

This simplifies the genesis handling as part of the port configuration
cleanup, removing unnecessary sekaid RPC calls and relying on interx
as the single source of truth for genesis data.
- Update all sekaid-related scripts to use correct external port 8181
- Add 00-sekaid-join.sh script for network joining
- Update docker-sekaid-run.sh port mapping to 8181:8080

These changes ensure scripts use the correct external port mapping
for the sekai caller API after the port configuration refactoring.
@MrLutik MrLutik merged commit a070c62 into main Oct 30, 2025
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.

1 participant