Skip to content

Commit 8e8deea

Browse files
committed
feat: badgerDB
1 parent 38a57ef commit 8e8deea

File tree

6 files changed

+339
-40
lines changed

6 files changed

+339
-40
lines changed

go.mod

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ require (
99
github.com/armon/go-radix v1.0.0
1010
github.com/btcsuite/btcd/btcec/v2 v2.3.2
1111
github.com/coreos/go-semver v0.3.0
12+
github.com/dgraph-io/badger/v4 v4.5.1
1213
github.com/ethereum/go-ethereum v1.14.3
1314
github.com/ethersphere/go-price-oracle-abi v0.2.0
1415
github.com/ethersphere/go-storage-incentives-abi v0.9.2
@@ -34,29 +35,35 @@ require (
3435
github.com/opentracing/opentracing-go v1.2.0
3536
github.com/prometheus/client_golang v1.18.0
3637
github.com/spf13/afero v1.6.0
37-
github.com/spf13/cobra v1.5.0
38+
github.com/spf13/cobra v1.8.1
3839
github.com/spf13/viper v1.7.0
39-
github.com/stretchr/testify v1.8.4
40+
github.com/stretchr/testify v1.10.0
4041
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
4142
github.com/uber/jaeger-client-go v2.24.0+incompatible
4243
github.com/vmihailenco/msgpack/v5 v5.3.4
4344
github.com/wealdtech/go-ens/v3 v3.5.1
4445
gitlab.com/nolash/go-mockbytes v0.0.7
4546
go.uber.org/atomic v1.11.0
4647
go.uber.org/goleak v1.3.0
47-
golang.org/x/crypto v0.23.0
48+
golang.org/x/crypto v0.32.0
4849
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a
49-
golang.org/x/net v0.25.0
50-
golang.org/x/sync v0.7.0
51-
golang.org/x/sys v0.20.0
52-
golang.org/x/term v0.20.0
50+
golang.org/x/net v0.34.0
51+
golang.org/x/sync v0.10.0
52+
golang.org/x/sys v0.29.0
53+
golang.org/x/term v0.28.0
5354
golang.org/x/time v0.5.0
5455
gopkg.in/yaml.v2 v2.4.0
5556
resenje.org/multex v0.1.0
5657
resenje.org/singleflight v0.4.0
5758
resenje.org/web v0.4.3
5859
)
5960

61+
require (
62+
github.com/dgraph-io/ristretto/v2 v2.1.0 // indirect
63+
github.com/dustin/go-humanize v1.0.1 // indirect
64+
github.com/google/flatbuffers v24.12.23+incompatible // indirect
65+
)
66+
6067
require (
6168
github.com/BurntSushi/toml v1.1.0 // indirect
6269
github.com/Microsoft/go-winio v0.6.1 // indirect
@@ -65,7 +72,7 @@ require (
6572
github.com/beorn7/perks v1.0.1 // indirect
6673
github.com/bits-and-blooms/bitset v1.10.0 // indirect
6774
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect
68-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
75+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
6976
github.com/codahale/hdrhistogram v0.0.0-00010101000000-000000000000 // indirect
7077
github.com/consensys/bavard v0.1.13 // indirect
7178
github.com/consensys/gnark-crypto v0.12.1 // indirect
@@ -99,11 +106,11 @@ require (
99106
github.com/hashicorp/hcl v1.0.0 // indirect
100107
github.com/holiman/uint256 v1.2.4 // indirect
101108
github.com/huin/goupnp v1.3.0 // indirect
102-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
109+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
103110
github.com/ipfs/go-log/v2 v2.5.1 // indirect
104111
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
105112
github.com/jbenet/go-temp-err-catcher v0.1.0 // indirect
106-
github.com/klauspost/compress v1.17.6 // indirect
113+
github.com/klauspost/compress v1.17.11 // indirect
107114
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
108115
github.com/koron/go-ssdp v0.0.4 // indirect
109116
github.com/leodido/go-urn v1.2.1 // indirect
@@ -166,9 +173,9 @@ require (
166173
go.uber.org/multierr v1.11.0 // indirect
167174
go.uber.org/zap v1.27.0 // indirect
168175
golang.org/x/mod v0.17.0 // indirect
169-
golang.org/x/text v0.15.0 // indirect
170-
golang.org/x/tools v0.20.0 // indirect
171-
google.golang.org/protobuf v1.33.0 // indirect
176+
golang.org/x/text v0.21.0 // indirect
177+
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
178+
google.golang.org/protobuf v1.36.3 // indirect
172179
gopkg.in/ini.v1 v1.57.0 // indirect
173180
gopkg.in/yaml.v3 v3.0.1 // indirect
174181
lukechampine.com/blake3 v1.2.1 // indirect

0 commit comments

Comments
 (0)