From 5db3504dc1be09a18ddfef613d89f95dadd64bd7 Mon Sep 17 00:00:00 2001 From: kbhat1 Date: Sun, 5 Jan 2025 09:33:13 -0500 Subject: [PATCH] Update whole distribution --- go.mod | 2 +- go.sum | 4 ++-- tools/migration/ss/migrator.go | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index e0488ce9d..34aa327bd 100644 --- a/go.mod +++ b/go.mod @@ -352,7 +352,7 @@ replace ( github.com/cosmos/ibc-go/v3 => github.com/sei-protocol/sei-ibc-go/v3 v3.3.3 github.com/ethereum/go-ethereum => github.com/sei-protocol/go-ethereum v1.13.5-sei-9.0.20241224143343-21ee50facc96 github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 - github.com/sei-protocol/sei-db => github.com/sei-protocol/sei-db v0.0.47-0.20241231154605-e29a09b9faa8 + github.com/sei-protocol/sei-db => github.com/sei-protocol/sei-db v0.0.47-0.20250105142248-40df232f7c9c // Latest goleveldb is broken, we have to stick to this version github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 github.com/tendermint/tendermint => github.com/sei-protocol/sei-tendermint v0.4.3 diff --git a/go.sum b/go.sum index dc2b43cf1..4b6beb7af 100644 --- a/go.sum +++ b/go.sum @@ -1347,8 +1347,8 @@ github.com/sei-protocol/goutils v0.0.2 h1:Bfa7Sv+4CVLNM20QcpvGb81B8C5HkQC/kW1CQp github.com/sei-protocol/goutils v0.0.2/go.mod h1:iYE2DuJfEnM+APPehr2gOUXfuLuPsVxorcDO+Tzq9q8= github.com/sei-protocol/sei-cosmos v0.3.48 h1:kSDweeTaLZ4TByLqAD6/hmtgAhAJHwXU1beyqsVXJkQ= github.com/sei-protocol/sei-cosmos v0.3.48/go.mod h1:XC417pB6NwxP/cQ2XTSZLzVnP8dMZ//4uCXS3SxFgoM= -github.com/sei-protocol/sei-db v0.0.47-0.20241231154605-e29a09b9faa8 h1:fcbSw66ILFwfPVVWe0uhhmAb6bhN4kWX6DMTqhti8SM= -github.com/sei-protocol/sei-db v0.0.47-0.20241231154605-e29a09b9faa8/go.mod h1:m5g7p0QeAS3dNJHIl28zQpzOgxQmvYqPb7t4hwgIOCA= +github.com/sei-protocol/sei-db v0.0.47-0.20250105142248-40df232f7c9c h1:IB3mhlNntxpebBfb7tu/Qgpk6v5t91SGfWsKSvUIbmQ= +github.com/sei-protocol/sei-db v0.0.47-0.20250105142248-40df232f7c9c/go.mod h1:m5g7p0QeAS3dNJHIl28zQpzOgxQmvYqPb7t4hwgIOCA= 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-ibc-go/v3 v3.3.3 h1:0kg1giMHiKMLXOCFLqH/9kqdl5bH+unzI8qRF6qwXzw= diff --git a/tools/migration/ss/migrator.go b/tools/migration/ss/migrator.go index 1c9e26f5b..52fd76b74 100644 --- a/tools/migration/ss/migrator.go +++ b/tools/migration/ss/migrator.go @@ -76,9 +76,9 @@ func exportDistributionLeafNodes( // We'll filter them by version in the callback. stop, err := oldStateStore.RawIterate("distribution", func(key, value []byte, version int64) bool { // If the record's version is outside our desired range, skip it. - if version < startVersion || version > endVersion { - return false - } + // if version < startVersion || version > endVersion { + // return false + // } // Otherwise, export it via the channel. ch <- types.RawSnapshotNode{