GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — Feat: Print websocket port on startup by aarjn · Pull Request #351 · magicblock-labs/magicblock-validator Conversation
|
| info!("📡 RPC endpoint: http://{:}:{}", rpc_host, rpc_port); | ||
| info!("🔌 WebSocket endpoint: ws://{}:{}", rpc_host, ws_port); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
syntax: Inconsistent formatting between RPC and WebSocket endpoints - one uses {:} and the other uses {}
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Agreed, pleas use {} for uniformity.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, LGTM! 🚀
Please address the comment and use the linter with make fmt and make lint and it's ready to be merged
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| info!("📡 RPC endpoint: http://{:}:{}", rpc_host, rpc_port); | ||
| info!("🔌 WebSocket endpoint: ws://{}:{}", rpc_host, ws_port); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Agreed, pleas use {} for uniformity.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Changes made:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for the changes @4rjunc, LGTM! Merging into |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR for #320 by @4rjunc <img width="789" alt="Screenshot 2025-04-28 at 9 53 15 AM" src="https://github.com/user-attachments/assets/38d168a8-70c4-46f2-bf1b-2566cc599f16" /> <!-- greptile_comment --> ## Greptile Summary Enhanced startup messaging to display both RPC and WebSocket endpoint information, improving clarity by showing the conventional WebSocket port (RPC port + 1) during validator initialization. - Added `WS_PORT_OFFSET` constant in `/test-bins/src/rpc.rs` for maintainable port offset configuration - Added formatted startup banner with visual separators and emoji indicators - Implemented clear endpoint display showing both HTTP RPC and WebSocket URLs with respective ports - Added developer-friendly welcome message "Magicblock Validator is running!" <!-- /greptile_comment --> --------- Co-authored-by: Arjun C <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.