Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodebuilder: Config changes not seen by node.Start #3523

Closed
renaynay opened this issue Jun 25, 2024 · 3 comments · Fixed by #3526
Closed

nodebuilder: Config changes not seen by node.Start #3523

renaynay opened this issue Jun 25, 2024 · 3 comments · Fixed by #3526
Assignees
Labels
area:cli area:node Node bug Something isn't working

Comments

@renaynay
Copy link
Member

@tac0turtle reported that changes to the config were not picked up by the node when started.

He changed the RPC and gRPC ports in the config and started the node, but the node still looked at the default ports. No port flags were passed via CLI

CLI flags should override config on start, but in their absence, config should be read.

This isn't confirmed to be an issue yet, so let's confirm it's reproducible first.

@renaynay renaynay added bug Something isn't working area:node Node area:cli labels Jun 25, 2024
@ramin
Copy link
Collaborator

ramin commented Jun 25, 2024

@renaynay @tac0turtle i can't recreate this error with a totally fresh light node with new config off main. Is it possible you have an older config from node store initialized long ago? Does your config.toml have the [Core] entry

I did notice the config is confusing. If you edit the settings under [core], eg:

[Core]
  IP = ""
  RPCPort = "1234"
  GRPCPort = "1234"

These changes will take effect, but there is an additional (maybe confusing) entry for the RPC server you could mistakenly edit?

@tac0turtle
Copy link
Member

i started a fresh node, set the ip as stated in the tutorial.

I later modified the config then started the bridge via

celestia bridge start --core-ip <IP>

i only put the ip and not the ports. At this point it would still look at 26657 and ignore what was put in the config. It may be that the flag overrides the looking at the config? that is the only thing that comes to mind

@ramin
Copy link
Collaborator

ramin commented Jun 25, 2024

@tac0turtle ah yeah that is quite specific and i CAN recreate in that case. will work on a fix. thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:cli area:node Node bug Something isn't working
Projects
None yet
3 participants