Skip to content

Commit bd22b74

Browse files
authored
fix: version not found during pruning (#1853)
* fix version not found bug during pruning * changelog * bump versoin for release
1 parent 186ea49 commit bd22b74

File tree

7 files changed

+13
-9
lines changed

7 files changed

+13
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
os: [ubuntu-latest, macos-latest, macos-14]
2020
runs-on: ${{ matrix.os }}
2121
steps:
22-
- uses: actions/checkout@v3
23-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
22+
- uses: actions/checkout@v4
23+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
2424
with:
2525
nix_path: nixpkgs=channel:nixos-22.11
2626
extra_nix_config: |

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- uses: actions/setup-go@v3
2424
with:
2525
go-version: '1.22.7'
26-
- uses: actions/checkout@v3
27-
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23
26+
- uses: actions/checkout@v4
27+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
2828
with:
2929
nix_path: nixpkgs=channel:nixos-22.11
3030
extra_nix_config: |

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Bug Fixes
1010

1111
* [#1830](https://github.com/crypto-org-chain/cronos/pull/1830) Add sanity check for rpc call Trace_Tx and Trace_call.
12+
* [#1853](https://github.com/crypto-org-chain/cronos/pull/1853) Fix version not found during pruning.
1213

1314
*Jun 20, 2025*
1415

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
nativeByteOrder ? true, # nativeByteOrder mode will panic on big endian machines
1212
}:
1313
let
14-
version = "v1.4.9";
14+
version = "v1.4.10";
1515
pname = "cronosd";
1616
tags = [
1717
"ledger"

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ replace (
267267
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
268268
// v0.38.x
269269
github.com/cometbft/cometbft => github.com/crypto-org-chain/cometbft v0.0.0-20250203071505-1964da4a0cac
270+
// solves bug on pruning "version does not exist"
271+
github.com/cosmos/iavl => github.com/cosmos/iavl v1.2.6
270272
// dgrijalva/jwt-go is deprecated and doesn't receive security updates.
271273
// TODO: remove it: https://github.com/cosmos/cosmos-sdk/issues/13134
272274
github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,8 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ
391391
github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU=
392392
github.com/cosmos/gogoproto v1.7.0 h1:79USr0oyXAbxg3rspGh/m4SWNyoz/GLaAh0QlCe2fro=
393393
github.com/cosmos/gogoproto v1.7.0/go.mod h1:yWChEv5IUEYURQasfyBW5ffkMHR/90hiHgbNgrtp4j0=
394-
github.com/cosmos/iavl v1.2.4-0.20241218014611-3b0ad9922f9f h1:ex8R1/5/ghhCBEwSWr2L2+OSnWU0A6Pe68cROdGiVX4=
395-
github.com/cosmos/iavl v1.2.4-0.20241218014611-3b0ad9922f9f/go.mod h1:GiM43q0pB+uG53mLxLDzimxM9l/5N9UuSY3/D0huuVw=
394+
github.com/cosmos/iavl v1.2.6 h1:Hs3LndJbkIB+rEvToKJFXZvKo6Vy0Ex1SJ54hhtioIs=
395+
github.com/cosmos/iavl v1.2.6/go.mod h1:GiM43q0pB+uG53mLxLDzimxM9l/5N9UuSY3/D0huuVw=
396396
github.com/cosmos/ibc-go/modules/apps/callbacks v0.0.0-20250312150146-53eaba19375d h1:QOEFyekL1u4FvZTLTQDvrnUYfhaiwhVs79acM2B8Zfk=
397397
github.com/cosmos/ibc-go/modules/apps/callbacks v0.0.0-20250312150146-53eaba19375d/go.mod h1:akR14gsU5YD5S1G5I6lOI7z51OjR1vJko06Rs/3/Ym0=
398398
github.com/cosmos/ibc-go/modules/capability v1.0.1 h1:ibwhrpJ3SftEEZRxCRkH0fQZ9svjthrX2+oXdZvzgGI=

gomod2nix.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ schema = 3
187187
version = "v1.7.0"
188188
hash = "sha256-ZkEUImxBBo8Q/6c7tVR0rybpLbtlplzvgfLl5xvtV00="
189189
[mod."github.com/cosmos/iavl"]
190-
version = "v1.2.4-0.20241218014611-3b0ad9922f9f"
191-
hash = "sha256-WbNyKZmKBr2R1YaVfGVdSH9dX6AqFynOwd2dmpTX3ZI="
190+
version = "v1.2.6"
191+
hash = "sha256-9kLtVepU5b3m2Sne8pBQNvF9LxM374LEmvuLWeYBfFU="
192+
replaced = "github.com/cosmos/iavl"
192193
[mod."github.com/cosmos/ibc-go/modules/apps/callbacks"]
193194
version = "v0.0.0-20250312150146-53eaba19375d"
194195
hash = "sha256-mL+g8WB+fLUlTKMnrdn8rTgw2gqXsHlky3/BTsyfek0="

0 commit comments

Comments
 (0)