Skip to content

Commit

Permalink
fix: celestia rpc and consensus endpoints, remove newmetric
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Jan 21, 2025
1 parent c63f484 commit b17166e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions cmd/consts/da.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var DaAuthTokenType = struct {

const (
DefaultCelestiaRestApiEndpoint = "https://api.celestia-mocha.com"
DefaultCelestiaRPC = "http://mocha-4-consensus.mesa.newmetric.xyz:26657"
DefaultCelestiaRPC = "https://celestia-testnet-rpc.itrocket.net:443"

// https://docs.celestia.org/nodes/mocha-testnet#community-data-availability-da-grpc-endpoints-for-state-access
DefaultCelestiaNetwork = "mocha-4"
Expand Down Expand Up @@ -50,9 +50,8 @@ var DaNetworks = map[string]DaData{
ApiUrl: DefaultCelestiaRestApiEndpoint,
ID: CelestiaTestnet,
RpcUrl: DefaultCelestiaRPC,
CurrentStateNode: "mocha-4-consensus.mesa.newmetric.xyz",
CurrentStateNode: "rpc-mocha.pops.one",
StateNodes: []string{
"mocha-4-consensus.mesa.newmetric.xyz",
"public-celestia-mocha4-consensus.numia.xyz",
"full.consensus.mocha-4.celestia-mocha.com",
"consensus-full-mocha-4.celestia-mocha.com",
Expand Down
2 changes: 1 addition & 1 deletion cmd/da-light-client/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func Cmd() *cobra.Command {

func addFlags(cmd *cobra.Command) {
cmd.Flags().
StringP(rpcEndpointFlag, "", "mocha-4-consensus.mesa.newmetric.xyz", "The DA rpc endpoint to connect to.")
StringP(rpcEndpointFlag, "", "rpc-mocha.pops.one", "The DA rpc endpoint to connect to.")
cmd.Flags().
StringP(metricsEndpointFlag, "", "", "The OTEL collector metrics endpoint to connect to.")
}
2 changes: 1 addition & 1 deletion cmd/da-light-client/update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func Cmd() *cobra.Command {

func addFlags(cmd *cobra.Command) {
cmd.Flags().
StringP(rpcEndpointFlag, "", "mocha-4-consensus.mesa.newmetric.xyz", "The DA rpc endpoint to connect to.")
StringP(rpcEndpointFlag, "", "rpc-mocha.pops.one", "The DA rpc endpoint to connect to.")
cmd.Flags().
StringP(metricsEndpointFlag, "", "", "The OTEL collector metrics endpoint to connect to.")
}

0 comments on commit b17166e

Please sign in to comment.