From b2f0a143678094cbc669082c62c1107df08cc42d Mon Sep 17 00:00:00 2001 From: Wagmi Date: Wed, 12 Jun 2024 15:44:38 +0800 Subject: [PATCH] feat: update ethda config --- cmd/run.go | 4 ++-- dataavailability/config.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/run.go b/cmd/run.go index 01ecfeda3e..1011072d95 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -360,8 +360,8 @@ func newDataAvailability(c config.Config, st *state.State, etherman *etherman.Cl if err != nil { return nil, err } - case string(dataavailability.ETHDA): - rpcUrl := "https://rpc-devnet2.ethda.io" + case string(dataavailability.EthDA): + rpcUrl := "https://rpc-testnet.ethda.io" daBackend, err = ethda.New(rpcUrl, pk) if err != nil { return nil, err diff --git a/dataavailability/config.go b/dataavailability/config.go index 02fe9a920b..5f9ef6642c 100644 --- a/dataavailability/config.go +++ b/dataavailability/config.go @@ -6,5 +6,5 @@ type DABackendType string const ( // DataAvailabilityCommittee is the DAC protocol backend DataAvailabilityCommittee DABackendType = "DataAvailabilityCommittee" - ETHDA DABackendType = "Ethda" + EthDA DABackendType = "EthDA" )