celestia-node icon indicating copy to clipboard operation
celestia-node copied to clipboard

[bug] node/rpc: `DefaultConfig()` for rpc is never invoked for users running older version of node

Open renaynay opened this issue 2 years ago • 1 comments

From @tzdybal:

I found one issue - default config is not used. and you need to explicitly set --rcp.port to be able to use RPC endpoints. After debugging, found that config is empty, and DefaultConfig is never invoked. After removing existing config and running init, finally default RPC port is set. But this means you need to manually merge configurations on update, etc

Ref: https://github.com/celestiaorg/celestia-node/pull/696

renaynay avatar May 16 '22 21:05 renaynay

Ref: https://github.com/celestiaorg/celestia-node/issues/895

Bidon15 avatar Aug 09 '22 13:08 Bidon15

Resolved by #997 Validate functionality on the config(s)

renaynay avatar Sep 29 '22 10:09 renaynay