Skip to content

Commit

Permalink
fix: use line/tm-db instead of tendermint/tm-db
Browse files Browse the repository at this point in the history
  • Loading branch information
egonspace committed Jul 8, 2021
1 parent 727f843 commit 1cf27a5
Show file tree
Hide file tree
Showing 47 changed files with 51 additions and 54 deletions.
2 changes: 1 addition & 1 deletion abci/example/kvstore/kvstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"encoding/json"
"fmt"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/abci/example/code"
"github.com/line/ostracon/abci/types"
Expand Down
2 changes: 1 addition & 1 deletion abci/example/kvstore/persistent_kvstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"strings"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/abci/example/code"
"github.com/line/ostracon/abci/types"
Expand Down
2 changes: 1 addition & 1 deletion blockchain/v0/reactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
cfg "github.com/line/ostracon/config"
Expand Down
2 changes: 1 addition & 1 deletion blockchain/v1/reactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
cfg "github.com/line/ostracon/config"
Expand Down
2 changes: 1 addition & 1 deletion blockchain/v2/reactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
"github.com/line/ostracon/behaviour"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ostracon/commands/light.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/spf13/cobra"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/crypto/merkle"
"github.com/line/ostracon/libs/log"
Expand Down
2 changes: 1 addition & 1 deletion consensus/byzantine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

config2 "github.com/line/ostracon/config"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abcicli "github.com/line/ostracon/abci/client"
abci "github.com/line/ostracon/abci/types"
Expand Down
2 changes: 1 addition & 1 deletion consensus/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/go-kit/kit/log/term"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abcicli "github.com/line/ostracon/abci/client"
"github.com/line/ostracon/abci/example/counter"
Expand Down
2 changes: 1 addition & 1 deletion consensus/mempool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/abci/example/code"
abci "github.com/line/ostracon/abci/types"
Expand Down
2 changes: 1 addition & 1 deletion consensus/reactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abcicli "github.com/line/ostracon/abci/client"
"github.com/line/ostracon/abci/example/kvstore"
Expand Down
2 changes: 1 addition & 1 deletion consensus/replay_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strconv"
"strings"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

cfg "github.com/line/ostracon/config"
"github.com/line/ostracon/libs/log"
Expand Down
2 changes: 1 addition & 1 deletion consensus/replay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/gogo/protobuf/proto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/abci/example/kvstore"
abci "github.com/line/ostracon/abci/types"
Expand Down
2 changes: 1 addition & 1 deletion consensus/wal_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

"github.com/pkg/errors"
db "github.com/tendermint/tm-db"
db "github.com/line/tm-db/v2"

"github.com/line/ostracon/abci/example/kvstore"
cfg "github.com/line/ostracon/config"
Expand Down
2 changes: 1 addition & 1 deletion evidence/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/gogo/protobuf/proto"
gogotypes "github.com/gogo/protobuf/types"
dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

clist "github.com/line/ostracon/libs/clist"
"github.com/line/ostracon/libs/log"
Expand Down
2 changes: 1 addition & 1 deletion evidence/pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/evidence"
"github.com/line/ostracon/evidence/mocks"
Expand Down
2 changes: 1 addition & 1 deletion evidence/reactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

cfg "github.com/line/ostracon/config"
"github.com/line/ostracon/crypto"
Expand Down
2 changes: 1 addition & 1 deletion evidence/verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/crypto"
"github.com/line/ostracon/crypto/tmhash"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ require (
github.com/gtank/merlin v0.1.1
github.com/herumi/bls-eth-go-binary v0.0.0-20200923072303-32b29e5d8cbf
github.com/libp2p/go-buffer-pool v0.0.2
github.com/line/tm-db/v2 v2.0.0-init.1
github.com/minio/highwayhash v1.0.1
github.com/pelletier/go-toml v1.6.0 // indirect
github.com/pkg/errors v0.9.1
Expand All @@ -36,7 +37,6 @@ require (
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.7.0
github.com/tendermint/go-amino v0.16.0
github.com/tendermint/tm-db v0.6.4
github.com/yahoo/coname v0.0.0-20170609175141-84592ddf8673 // indirect
golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4
Expand Down
11 changes: 4 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ github.com/libp2p/go-buffer-pool v0.0.2 h1:QNK2iAFa8gjAe1SPz6mHSMuCcjs+X1wlHzeOS
github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM=
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4=
github.com/line/tm-db/v2 v2.0.0-init.1 h1:oYM+IJk1GuxDx/OPhCbyvGLnpyQYa7dWg1IDjTOqdjQ=
github.com/line/tm-db/v2 v2.0.0-init.1/go.mod h1:TiTwPFffNAqep0nV0YWaxPjElbCp6yG4K8SCxy69mE4=
github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4=
Expand Down Expand Up @@ -493,12 +495,11 @@ github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2l
github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME=
github.com/tendermint/tendermint v0.34.0-rc4/go.mod h1:yotsojf2C1QBOw4dZrTcxbyxmPUrT4hNuOQWX9XUwB4=
github.com/tendermint/tendermint v0.34.0-rc6/go.mod h1:ugzyZO5foutZImv0Iyx/gOFCX6mjJTgbLHTwi17VDVg=
github.com/tendermint/tendermint v0.34.0 h1:eXCfMgoqVSzrjzOj6clI9GAejcHH0LvOlRjpCmMJksU=
github.com/tendermint/tendermint v0.34.0 h1:CeCs4Q9+sDhdXVLwyKexUq3HhKRBl+uaLZuRSDoL464=
github.com/tendermint/tendermint v0.34.0/go.mod h1:Aj3PIipBFSNO21r+Lq3TtzQ+uKESxkbA3yo/INM4QwQ=
github.com/tendermint/tm-db v0.6.2/go.mod h1:GYtQ67SUvATOcoY8/+x6ylk8Qo02BQyLrAs+yAcLvGI=
github.com/tendermint/tm-db v0.6.3 h1:ZkhQcKnB8/2jr5EaZwGndN4owkPsGezW2fSisS9zGbg=
github.com/tendermint/tm-db v0.6.3/go.mod h1:lfA1dL9/Y/Y8wwyPp2NMLyn5P5Ptr/gvDFNWtrCWSf8=
github.com/tendermint/tm-db v0.6.4 h1:3N2jlnYQkXNQclQwd/eKV/NzlqPlfK21cpRRIx80XXQ=
github.com/tendermint/tm-db v0.6.4/go.mod h1:dptYhIpJ2M5kUuenLr+Yyf3zQOv1SgBZcl8/BmWlMBw=
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
Expand Down Expand Up @@ -568,7 +569,6 @@ golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
Expand Down Expand Up @@ -597,7 +597,6 @@ golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/
golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 h1:4nGaVu0QrbjT/AK2PRLuQfQuh6DJve+pELhqTdAj3x0=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
Expand Down Expand Up @@ -648,7 +647,6 @@ golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211 h1:9UQO31fZ+0aKQOFldThf7BKPMJTiBfWycGh/u3UoO88=
golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand Down Expand Up @@ -691,7 +689,6 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a h1:CB3a9Nez8M13wwlr/E2YtwoU+qYHKfC+JrDa45RXXoQ=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
2 changes: 1 addition & 1 deletion light/client_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/libs/log"
"github.com/line/ostracon/light"
Expand Down
2 changes: 1 addition & 1 deletion light/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/crypto/ed25519"
"github.com/line/ostracon/crypto/vrf"
Expand Down
2 changes: 1 addition & 1 deletion light/detector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/libs/log"
"github.com/line/ostracon/light"
Expand Down
2 changes: 1 addition & 1 deletion light/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/line/ostracon/types"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/abci/example/kvstore"
"github.com/line/ostracon/libs/log"
Expand Down
2 changes: 1 addition & 1 deletion light/rpc/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
"github.com/line/ostracon/crypto/merkle"
Expand Down
2 changes: 1 addition & 1 deletion light/store/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"regexp"
"strconv"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

tmsync "github.com/line/ostracon/libs/sync"
"github.com/line/ostracon/light/store"
Expand Down
2 changes: 1 addition & 1 deletion light/store/db/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/crypto"
"github.com/line/ostracon/crypto/tmhash"
Expand Down
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/rs/cors"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
bcv0 "github.com/line/ostracon/blockchain/v0"
Expand Down
2 changes: 1 addition & 1 deletion node/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/abci/example/kvstore"
cfg "github.com/line/ostracon/config"
Expand Down
2 changes: 1 addition & 1 deletion p2p/trust/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"time"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/libs/service"
tmsync "github.com/line/ostracon/libs/sync"
Expand Down
2 changes: 1 addition & 1 deletion p2p/trust/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

"github.com/line/ostracon/libs/log"
)
Expand Down
2 changes: 1 addition & 1 deletion rpc/core/blocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
tmstate "github.com/line/ostracon/proto/ostracon/state"
Expand Down
2 changes: 1 addition & 1 deletion state/export_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package state

import (
dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
tmstate "github.com/line/ostracon/proto/ostracon/state"
Expand Down
2 changes: 1 addition & 1 deletion state/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
"github.com/line/ostracon/crypto"
Expand Down
2 changes: 1 addition & 1 deletion state/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
cfg "github.com/line/ostracon/config"
Expand Down
4 changes: 2 additions & 2 deletions state/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"

"github.com/gogo/protobuf/proto"
dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
tmmath "github.com/line/ostracon/libs/math"
Expand Down Expand Up @@ -76,7 +76,7 @@ type Store interface {
PruneStates(int64, int64) error
}

// dbStore wraps a db (github.com/tendermint/tm-db)
// dbStore wraps a db (github.com/line/tm-db/v2)
type dbStore struct {
db dbm.DB
}
Expand Down
2 changes: 1 addition & 1 deletion state/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

abci "github.com/line/ostracon/abci/types"
cfg "github.com/line/ostracon/config"
Expand Down
2 changes: 1 addition & 1 deletion state/tx_filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

dbm "github.com/tendermint/tm-db"
dbm "github.com/line/tm-db/v2"

tmrand "github.com/line/ostracon/libs/rand"
sm "github.com/line/ostracon/state"
Expand Down
Loading

0 comments on commit 1cf27a5

Please sign in to comment.