Skip to content

Conversation

@RodrigoAD
Copy link
Member

@RodrigoAD RodrigoAD commented Aug 13, 2025

  • Considers the Input.Port option for Sui. Keeps falling back to default port in case of undefined

Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes ensure that the Sui component correctly sets the default node port if one is not specified by the user, and it now explicitly sets the --fullnode-rpc-port argument when starting the Sui node to enforce the use of the specified port for RPC connections. This improves usability by ensuring the node is accessible on a predictable port and enhances clarity in the node's configuration.

What

  • framework/components/blockchain/sui.go
    • Modified defaultSui function to set in.Port to DefaultSuiNodePort if in.Port is empty. This makes sure the default port is used when no port is specified.
    • Added --fullnode-rpc-port flag with in.Port value to the command used to start the Sui node. This explicitly sets the RPC port, ensuring the node listens on the correct port.

@RodrigoAD
Copy link
Member Author

Duplicate of #2044

@RodrigoAD RodrigoAD marked this as a duplicate of #2044 Aug 13, 2025
@RodrigoAD RodrigoAD closed this Aug 13, 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