Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
36099d8
Initial commit for sei-iavl
philipsu522 Jan 26, 2023
e17e37d
Rm dependabot
philipsu522 Jan 26, 2023
7f77b6f
Add pr template
philipsu522 Jan 26, 2023
986412e
Merge pull request #7 from sei-protocol/rm-dependabot
philipsu522 Jan 26, 2023
07c67c3
Add functions for rollback to commit without bumping version
codchen Jan 27, 2023
f5c9da7
codecov should not fail
philipsu522 Jan 27, 2023
2a7c91e
Merge pull request #9 from sei-protocol/codecov-ci
codchen Jan 28, 2023
a820119
fix test
codchen Jan 30, 2023
e4ab6f3
Merge pull request #8 from sei-protocol/tony-chen-rollback-fixes
codchen Jan 30, 2023
17d3aa5
Improve IAVL Import speed to make state sync faster by 2x-3x
Feb 5, 2023
8c2096e
Fix unit test
Feb 5, 2023
ab1baa1
Fix comment
Feb 5, 2023
758ff61
Merge pull request #10 from sei-protocol/yzang/import-improvement
yzang2019 Feb 6, 2023
c14662c
Add mutex around Get/Set/Remove
codchen Feb 9, 2023
a9b173e
stack
codchen Feb 12, 2023
ebab782
use RWLock
codchen Feb 15, 2023
02784f4
reset stack upon return
codchen Feb 17, 2023
a52a8e2
print current goroutine
codchen Feb 17, 2023
83336ce
Merge pull request #11 from sei-protocol/tony-chen-mutex
codchen Feb 17, 2023
043b198
Remove mutex TryLocks added for debugging
codchen Feb 27, 2023
5453e5b
Merge pull request #13 from sei-protocol/tony-chen-remove-entry-mtx
codchen Feb 27, 2023
1c58f21
Proper locking
codchen Mar 1, 2023
7ed565e
fix
codchen Mar 1, 2023
349e7f0
safe unlock
codchen Mar 1, 2023
5c1ef59
fix
codchen Mar 1, 2023
6da59ea
fix
codchen Mar 1, 2023
6179ba5
fix
codchen Mar 1, 2023
793185e
fix
codchen Mar 1, 2023
5248682
fix
codchen Mar 1, 2023
0d3d800
fix
codchen Mar 1, 2023
80c1ea9
fix
codchen Mar 1, 2023
5651409
fix
codchen Mar 2, 2023
79f3101
Use bigger job
BrandonWeng Mar 2, 2023
658c76a
8cores
BrandonWeng Mar 2, 2023
4a0e89c
Revert config
BrandonWeng Mar 2, 2023
9cc7fd7
Merge pull request #14 from sei-protocol/tony-chen-immutability
philipsu522 Mar 3, 2023
9e7c776
fix
codchen Mar 4, 2023
5cf708a
deepcopy
codchen Mar 4, 2023
706ce06
fix deadlock for fast storage
codchen Mar 6, 2023
283fd58
Merge pull request #19 from sei-protocol/tony-chen-immutability
codchen Mar 6, 2023
e5a9a39
Remove iterator lock and lock on Node level
codchen Mar 8, 2023
6b11fb0
fix deadlock
codchen Mar 8, 2023
5076cae
fix tests
codchen Mar 8, 2023
c6c0759
Merge pull request #21 from sei-protocol/tony-chen-deepcopy
philipsu522 Mar 10, 2023
2fab42c
Fix mutable tree race condition
codchen Mar 10, 2023
2f7bd0c
Merge pull request #22 from sei-protocol/tony-chen-fix-race-cond
codchen Mar 13, 2023
c9f8cb3
Add command that print size of tree
codchen Apr 27, 2023
3b23b71
Merge pull request #26 from sei-protocol/tony-chen-size-cmd
codchen Apr 28, 2023
0f64ad7
Skip orphan metadata if versioning is not needed
codchen May 15, 2023
339735d
Merge pull request #29 from sei-protocol/tony-chen-optimize-orphan
codchen May 19, 2023
be5ead9
Speed up IavlViewer and add more info
May 20, 2023
00100ea
Fix some variable name
May 20, 2023
67da2e9
Merge pull request #31 from sei-protocol/yzang/SEI-4141
yzang2019 May 20, 2023
6779356
no orphan multi version
codchen May 30, 2023
ace4ab6
polish & tests
codchen Jun 5, 2023
efae111
Merge pull request #32 from sei-protocol/tony-chen-no-orphan
codchen Jun 6, 2023
9887353
Synchronize potential concurrent access to mutable tree
codchen Jun 14, 2023
79acaa0
Merge pull request #33 from sei-protocol/tony-chen-add-mtx
philipsu522 Jun 16, 2023
e1a9529
Fix ITree field
philipsu522 Jun 22, 2023
6aa748c
Merge pull request #34 from sei-protocol/fix-itree-field
philipsu522 Jun 22, 2023
482033c
Export mtx in mutable tree
philipsu522 Jun 22, 2023
6634f99
Merge pull request #35 from sei-protocol/expose-mtx
philipsu522 Jun 22, 2023
d68f4a1
Changes for memiavl
Jul 26, 2023
b7d451d
Add keys only command
yzang2019 Aug 25, 2023
65614af
Add script to dump top N contracts
yzang2019 Aug 25, 2023
981be6b
Merge pull request #38 from sei-protocol/yzang/SEI-5310
yzang2019 Aug 25, 2023
31c13c5
Merge branch 'main' into yzang/memiavl
yzang2019 Dec 8, 2023
0947300
Merge pull request #37 from sei-protocol/yzang/memiavl
yzang2019 Dec 27, 2023
5e9e53c
Fix nil interface conversion error
yzang2019 Jan 2, 2024
5509a26
Merge pull request #40 from sei-protocol/yzang/fix-nilpointer
yzang2019 Jan 3, 2024
a403095
Fix tree versions causing slow restart and OOM
yzang2019 Sep 11, 2024
7907bc5
Fix
yzang2019 Sep 11, 2024
3b4f613
Fix test
yzang2019 Sep 11, 2024
d5ef585
Add log
yzang2019 Sep 11, 2024
c5cefa8
Remove log
yzang2019 Sep 12, 2024
9d0e3c7
Fix lock
yzang2019 Sep 12, 2024
1267999
Fix lock
yzang2019 Sep 12, 2024
83cac98
Fix test
yzang2019 Sep 12, 2024
53522c3
Fix go mod
yzang2019 Sep 16, 2024
9e29a17
fix go mod
yzang2019 Sep 16, 2024
00169a7
Fix go mod
yzang2019 Sep 16, 2024
7f70559
Fix go mod
yzang2019 Sep 16, 2024
82d7359
Merge pull request #41 from sei-protocol/yzang/fix-oom
yzang2019 Sep 17, 2024
4801741
Merge remote-tracking branch 'src-sei-iavl/main'
masih Dec 17, 2025
0c6e9d2
Remove redundant and out of date repo-level files
masih Dec 17, 2025
60082ec
Flatten `sei-iavl` into `sei-chain`
masih Dec 17, 2025
06532de
Fix `sei-iavl` buf generation to work with top level
masih Dec 17, 2025
5bcb8a3
Merge branch 'main' into masih/mono-iavl
masih Dec 17, 2025
7d94554
Fix `buf` formatting for iavl protos
masih Dec 17, 2025
bc21552
Fix golangci lint issues and bugs
masih Dec 17, 2025
bb82449
Fix `go vet` issues
masih Dec 17, 2025
c9bc88a
Fix incorrect De Morgan's law application
masih Dec 17, 2025
e53b121
Revert gosec fixes that seem to be expected by tests?
masih Dec 17, 2025
0deb889
Merge branch 'main' into masih/mono-iavl
masih Dec 17, 2025
44ddd9d
Merge branch 'main' into masih/mono-iavl
masih Dec 17, 2025
20ad0a0
Merge branch 'main' into masih/mono-iavl
masih Dec 17, 2025
4f0a88c
Merge branch 'main' into masih/mono-iavl
masih Dec 17, 2025
665a792
Merge branch 'main' into masih/mono-iavl
masih Dec 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ inputs:
- directory: sei-ibc-go/proto
- directory: sei-tendermint/proto
- directory: sei-wasmd/proto
- directory: sei-iavl/proto
plugins:
- local:
- ./build/proto/gocosmos/protoc-gen-gocosmos
Expand Down
1 change: 1 addition & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ modules:
- path: sei-tendermint/proto
- path: sei-tendermint/internal
- path: sei-wasmd/proto
- path: sei-iavl/proto

lint:
use:
Expand Down
2 changes: 1 addition & 1 deletion cmd/seid/cmd/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"

"github.com/cosmos/cosmos-sdk/version"
"github.com/cosmos/iavl"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/spf13/cobra"
dbm "github.com/tendermint/tm-db"
)
Expand Down
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ require (
github.com/confio/ics23/go v0.9.0
github.com/cosmos/cosmos-sdk v0.45.10
github.com/cosmos/go-bip39 v1.0.0
github.com/cosmos/iavl v0.21.0-alpha.1.0.20230904092046-df3db2d96583
github.com/dvsekhvalnov/jose2go v1.5.0
github.com/ethereum/go-ethereum v1.16.1
github.com/go-playground/validator/v10 v10.11.1
github.com/gogo/protobuf v1.3.3
github.com/golang-jwt/jwt/v4 v4.5.1
github.com/golang/mock v1.7.0-rc.1
github.com/golang/protobuf v1.5.4
github.com/golangci/golangci-lint v1.46.0
github.com/google/btree v1.1.3
Expand Down Expand Up @@ -57,6 +57,7 @@ require (
go.opentelemetry.io/otel/sdk v1.38.0
go.opentelemetry.io/otel/sdk/metric v1.38.0
go.opentelemetry.io/otel/trace v1.38.0
golang.org/x/crypto v0.40.0
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
golang.org/x/sync v0.16.0
golang.org/x/sys v0.35.0
Expand Down Expand Up @@ -171,7 +172,6 @@ require (
github.com/gogo/gateway v1.1.0 // indirect
github.com/golang/glog v1.1.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.7.0-rc.1 // indirect
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect
Expand Down Expand Up @@ -320,7 +320,6 @@ require (
go.opentelemetry.io/otel/exporters/jaeger v1.9.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/crypto v0.40.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e // indirect
golang.org/x/mod v0.25.0 // indirect
golang.org/x/net v0.41.0 // indirect
Expand All @@ -343,7 +342,6 @@ replace (
github.com/btcsuite/btcd => github.com/btcsuite/btcd v0.23.2
github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0
github.com/cosmos/cosmos-sdk => ./sei-cosmos
github.com/cosmos/iavl => github.com/sei-protocol/sei-iavl v0.2.0
github.com/ethereum/go-ethereum => github.com/sei-protocol/go-ethereum v1.15.7-sei-7.0.20250929182230-93350978bb7c
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
// Latest goleveldb is broken, we have to stick to this version
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2001,8 +2001,6 @@ github.com/sei-protocol/go-ethereum v1.15.7-sei-7.0.20250929182230-93350978bb7c
github.com/sei-protocol/go-ethereum v1.15.7-sei-7.0.20250929182230-93350978bb7c/go.mod h1:+S9k+jFzlyVTNcYGvqFhzN/SFhI6vA+aOY4T5tLSPL0=
github.com/sei-protocol/goutils v0.0.2 h1:Bfa7Sv+4CVLNM20QcpvGb81B8C5HkQC/kW1CQpIbXDA=
github.com/sei-protocol/goutils v0.0.2/go.mod h1:iYE2DuJfEnM+APPehr2gOUXfuLuPsVxorcDO+Tzq9q8=
github.com/sei-protocol/sei-iavl v0.2.0 h1:OisPjXiDT+oe+aeckzDEFgkZCYuUjHgs/PP8DPicN+I=
github.com/sei-protocol/sei-iavl v0.2.0/go.mod h1:qRf8QYUPfrAO7K6VDB2B2l/N7K5L76OorioGBcJBIbw=
github.com/sei-protocol/sei-load v0.0.0-20251007135253-78fbdc141082 h1:f2sY8OcN60UL1/6POx+HDMZ4w04FTZtSScnrFSnGZHg=
github.com/sei-protocol/sei-load v0.0.0-20251007135253-78fbdc141082/go.mod h1:V0fNURAjS6A8+sA1VllegjNeSobay3oRUW5VFZd04bA=
github.com/sei-protocol/sei-tm-db v0.0.5 h1:3WONKdSXEqdZZeLuWYfK5hP37TJpfaUa13vAyAlvaQY=
Expand Down
6 changes: 5 additions & 1 deletion scripts/protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ cp -rf ./build/proto/gocosmos/github.com/sei-protocol/sei-chain/* ./
cp -rf ./build/proto/gocosmos/github.com/cosmos/cosmos-sdk/* ./sei-cosmos
cp -rf ./build/proto/gocosmos/github.com/sei-protocol/sei-chain/sei-wasmd/* ./sei-wasmd

# Use gogofaster for tendermint because that's the generator it is using currently.
# Use gogofaster for tendermint and iavl because that's the generator they used originally.
# See:
# * https://github.com/sei-protocol/sei-tendermint/blob/46d0a598a7f5c67cbdefea37c8da18df2c25d184/buf.gen.yaml#L3
# * https://github.com/sei-protocol/sei-iavl/blob/ff17b3473ee2438caa1777930a0bf73d267527fa/buf.gen.yaml#L9
cp -rf ./build/proto/gogofaster/github.com/tendermint/tendermint/* ./sei-tendermint
cp -rf ./build/proto/gogofaster/github.com/sei-protocol/sei-chain/sei-iavl/* ./sei-iavl

rm -rf ./build/proto

Expand Down
2 changes: 0 additions & 2 deletions sei-cosmos/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ require (
github.com/confio/ics23/go v0.9.0
github.com/cosmos/btcutil v1.0.5
github.com/cosmos/go-bip39 v1.0.0
github.com/cosmos/iavl v0.21.0-alpha.1.0.20230904092046-df3db2d96583
github.com/cosmos/ledger-cosmos-go v0.12.2
github.com/ethereum/go-ethereum v1.13.2
github.com/gogo/gateway v1.1.0
Expand Down Expand Up @@ -175,7 +174,6 @@ replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76
github.com/btcsuite/btcd => github.com/btcsuite/btcd v0.23.2
github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0
github.com/cosmos/iavl => github.com/sei-protocol/sei-iavl v0.2.0
github.com/ethereum/go-ethereum => github.com/sei-protocol/go-ethereum v1.15.7-sei-7.0.20250929182230-93350978bb7c
// Fix upstream GHSA-h395-qcrw-5vmq vulnerability.
// TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/cosmos/iavl"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"

Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/iavl/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

ics23 "github.com/confio/ics23/go"
"github.com/cosmos/iavl"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
tmcrypto "github.com/tendermint/tendermint/proto/tendermint/crypto"
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/iavl/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/cosmos/cosmos-sdk/store/cachekv"

"github.com/cosmos/iavl"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/iavl/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/cosmos/cosmos-sdk/store/types"
"github.com/cosmos/iavl"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/iavl/tree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package iavl
import (
"testing"

"github.com/cosmos/iavl"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"
)
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/prefix/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tm-db"

tiavl "github.com/cosmos/iavl"
tiavl "github.com/sei-protocol/sei-chain/sei-iavl"

"github.com/cosmos/cosmos-sdk/store/dbadapter"
"github.com/cosmos/cosmos-sdk/store/gaskv"
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/rootmulti/proof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rootmulti
import (
"testing"

iavltree "github.com/cosmos/iavl"
iavltree "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

"github.com/armon/go-metrics"
"github.com/cosmos/cosmos-sdk/telemetry"
iavltree "github.com/cosmos/iavl"
protoio "github.com/gogo/protobuf/io"
gogotypes "github.com/gogo/protobuf/types"
"github.com/pkg/errors"
iavltree "github.com/sei-protocol/sei-chain/sei-iavl"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/proto/tendermint/crypto"
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/store/types/iterator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package types_test
import (
"testing"

iavltree "github.com/cosmos/iavl"
iavltree "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/storev2/commitment/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/cosmos/cosmos-sdk/store/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/kv"
"github.com/cosmos/iavl"
sctypes "github.com/sei-protocol/sei-chain/sei-db/sc/types"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/proto/tendermint/crypto"
Expand Down
2 changes: 1 addition & 1 deletion sei-db/proto/changelog.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sort"
"testing"

iavlcache "github.com/cosmos/iavl/cache"
iavlcache "github.com/sei-protocol/sei-chain/sei-iavl/cache"
"github.com/stretchr/testify/require"
"github.com/tidwall/btree"
)
Expand Down
2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ import (
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"

"github.com/cosmos/iavl"
errorutils "github.com/sei-protocol/sei-chain/sei-db/common/errors"
"github.com/sei-protocol/sei-chain/sei-db/common/logger"
"github.com/sei-protocol/sei-chain/sei-db/common/utils"
"github.com/sei-protocol/sei-chain/sei-db/proto"
"github.com/sei-protocol/sei-chain/sei-db/stream/changelog"
"github.com/sei-protocol/sei-chain/sei-db/stream/types"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
)

const LockFileName = "LOCK"
Expand Down
2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"testing"
"time"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/common/errors"
"github.com/sei-protocol/sei-chain/sei-db/common/logger"
"github.com/sei-protocol/sei-chain/sei-db/common/utils"
"github.com/sei-protocol/sei-chain/sei-db/proto"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
)

Expand Down
5 changes: 2 additions & 3 deletions sei-db/sc/memiavl/multitree.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ import (
"time"

"github.com/alitto/pond"
"golang.org/x/exp/slices"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/common/errors"
"github.com/sei-protocol/sei-chain/sei-db/common/logger"
"github.com/sei-protocol/sei-chain/sei-db/common/utils"
"github.com/sei-protocol/sei-chain/sei-db/proto"
"github.com/sei-protocol/sei-chain/sei-db/stream/types"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"golang.org/x/exp/slices"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"math"

ics23 "github.com/confio/ics23/go"
"github.com/cosmos/iavl"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/snapshot_catchup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"testing"
"time"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/common/logger"
"github.com/sei-protocol/sei-chain/sei-db/proto"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/snapshot_pipeline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"testing"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/common/logger"
"github.com/sei-protocol/sei-chain/sei-db/sc/types"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/snapshot_write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"path/filepath"
"testing"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/common/logger"
"github.com/sei-protocol/sei-chain/sei-db/proto"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"sync"

ics23 "github.com/confio/ics23/go"
"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/common/logger"
"github.com/sei-protocol/sei-chain/sei-db/common/utils"
"github.com/sei-protocol/sei-chain/sei-db/sc/types"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
dbm "github.com/tendermint/tm-db"
)

Expand Down
2 changes: 1 addition & 1 deletion sei-db/sc/memiavl/tree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"testing"

"github.com/cosmos/iavl"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
db "github.com/tendermint/tm-db"
)
Expand Down
2 changes: 1 addition & 1 deletion sei-db/ss/pebbledb/hash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"time"

"github.com/cockroachdb/pebble"
"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/config"
"github.com/sei-protocol/sei-chain/sei-db/proto"
"github.com/sei-protocol/sei-chain/sei-db/ss/util"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion sei-db/ss/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"path/filepath"
"testing"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/common/logger"
"github.com/sei-protocol/sei-chain/sei-db/config"
"github.com/sei-protocol/sei-chain/sei-db/proto"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
)

Expand Down
5 changes: 2 additions & 3 deletions sei-db/ss/test/storage_bench_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ import (
"sort"
"testing"

"github.com/stretchr/testify/require"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/proto"
"github.com/sei-protocol/sei-chain/sei-db/ss/types"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/require"
)

// StorageBenchSuite defines a reusable benchmark suite for all storage backends.
Expand Down
2 changes: 1 addition & 1 deletion sei-db/ss/test/storage_test_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"fmt"
"sync"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/config"
"github.com/sei-protocol/sei-chain/sei-db/proto"
"github.com/sei-protocol/sei-chain/sei-db/ss/types"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
"github.com/stretchr/testify/suite"
"golang.org/x/exp/slices"
)
Expand Down
2 changes: 1 addition & 1 deletion sei-db/ss/test/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package sstest
import (
"fmt"

"github.com/cosmos/iavl"
"github.com/sei-protocol/sei-chain/sei-db/proto"
"github.com/sei-protocol/sei-chain/sei-db/ss/types"
iavl "github.com/sei-protocol/sei-chain/sei-iavl"
)

// Fills the db with multiple keys each with different versions
Expand Down
Loading
Loading