Skip to content

Commit f280bf2

Browse files
committed
feat: update ethda config
1 parent 8719a9f commit f280bf2

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

cmd/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ func newDataAvailability(c config.Config, st *state.State, etherman *etherman.Cl
360360
if err != nil {
361361
return nil, err
362362
}
363-
case string(dataavailability.ETHDA):
364-
rpcUrl := "https://rpc-devnet2.ethda.io"
363+
case string(dataavailability.EthDA):
364+
rpcUrl := "https://rpc-testnet.ethda.io"
365365
daBackend, err = ethda.New(rpcUrl, pk)
366366
if err != nil {
367367
return nil, err

dataavailability/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ type DABackendType string
66
const (
77
// DataAvailabilityCommittee is the DAC protocol backend
88
DataAvailabilityCommittee DABackendType = "DataAvailabilityCommittee"
9-
ETHDA DABackendType = "Ethda"
9+
EthDA DABackendType = "EthDA"
1010
)

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/rubenv/sql-migrate v1.6.1
2424
github.com/spf13/afero v1.11.0
2525
github.com/spf13/viper v1.18.2
26-
github.com/stretchr/testify v1.8.4
26+
github.com/stretchr/testify v1.9.0
2727
github.com/umbracle/ethgo v0.1.4-0.20230712173909-df37dddf16f0
2828
github.com/urfave/cli/v2 v2.26.0
2929
go.uber.org/zap v1.26.0
@@ -60,8 +60,8 @@ require (
6060
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
6161
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 // indirect
6262
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
63-
github.com/crustio/blob-utils v0.3.1 // indirect
64-
github.com/crustio/cdk-ethda-backend v0.0.0-20240601151809-4c014822dcbd // indirect
63+
github.com/crustio/blob-utils v0.3.3 // indirect
64+
github.com/crustio/cdk-ethda-backend v0.1.0 // indirect
6565
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
6666
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6767
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
@@ -142,7 +142,7 @@ require (
142142
github.com/spf13/cast v1.6.0 // indirect
143143
github.com/spf13/pflag v1.0.5 // indirect
144144
github.com/status-im/keycard-go v0.2.0 // indirect
145-
github.com/stretchr/objx v0.5.0 // indirect
145+
github.com/stretchr/objx v0.5.2 // indirect
146146
github.com/subosito/gotenv v1.6.0 // indirect
147147
github.com/supranational/blst v0.3.11 // indirect
148148
github.com/tklauser/go-sysconf v0.3.12 // indirect

go.sum

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,12 @@ github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7Do
164164
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
165165
github.com/crustio/blob-utils v0.3.1 h1:T++x9rKRqB7mlQp9nZpfadQd0UvKH6zMgV1695EvkUE=
166166
github.com/crustio/blob-utils v0.3.1/go.mod h1:d0x/5NSSocyvkRXkVJUnRGsB3EkZ0YuI/Nn8wN4l44g=
167+
github.com/crustio/blob-utils v0.3.3 h1:oKATdFDyEGaYG8dXi+C7eqvCcdwT/Bc5Xb31jXl4Nzo=
168+
github.com/crustio/blob-utils v0.3.3/go.mod h1:Iz9PwnJtTC70bNMoM0z7aCoylrfZc5SkkS3SsIgAOh0=
167169
github.com/crustio/cdk-ethda-backend v0.0.0-20240601151809-4c014822dcbd h1:0X5RJH4GG/8ZOoURPxaELD0swbmQj/f/3cvb8GzC4Es=
168170
github.com/crustio/cdk-ethda-backend v0.0.0-20240601151809-4c014822dcbd/go.mod h1:bNuruVIBNVe4ceRCCUDfMf7OxTVsvAZDl1/meESrWMI=
171+
github.com/crustio/cdk-ethda-backend v0.1.0 h1:l8omYG6iEnbhSM65AjhUwLB0xctYjQuwkmh3gu7NWA4=
172+
github.com/crustio/cdk-ethda-backend v0.1.0/go.mod h1:Xwz+NGyif0LD0bx0wjbC5AbgosrMxsLNlESsyRfROIU=
169173
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg=
170174
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
171175
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -758,6 +762,8 @@ github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoH
758762
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
759763
github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
760764
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
765+
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
766+
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
761767
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
762768
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
763769
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
@@ -770,6 +776,7 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
770776
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
771777
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
772778
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
779+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
773780
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
774781
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
775782
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=

0 commit comments

Comments
 (0)