Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
302783e
Refactor changelog to generic WAL
yzang2019 Jan 7, 2026
5b81142
Add unit test and extract wal initializer
yzang2019 Jan 7, 2026
08deff1
Fix go lint
yzang2019 Jan 8, 2026
55d217c
Fix race condition
yzang2019 Jan 8, 2026
e709304
Merge branch 'main' into yzang/redesign-changelog
yzang2019 Jan 8, 2026
1d5f2bb
Address comment
yzang2019 Jan 8, 2026
24749b2
Extract the truncation logic out
yzang2019 Jan 8, 2026
39f8db8
Flatten WAL packages
yzang2019 Jan 8, 2026
bb0511a
Fix lint
yzang2019 Jan 8, 2026
456f02b
Fix go lint
yzang2019 Jan 8, 2026
17f2752
Rename wal subscriber
yzang2019 Jan 9, 2026
6a1bc68
Catch up from the correct range instead of earliest offset
yzang2019 Jan 9, 2026
668ce4c
Fix committed version to return persisted height
yzang2019 Jan 10, 2026
29a84be
Fix commitstore open wal
yzang2019 Jan 10, 2026
b1b490b
Fix go lint
yzang2019 Jan 10, 2026
1c34b9e
Add logs to CI
yzang2019 Jan 10, 2026
eda9d61
Fix lint
yzang2019 Jan 10, 2026
7ca9216
Try to fix the initiali store logic
yzang2019 Jan 10, 2026
f226202
Add unit test
yzang2019 Jan 13, 2026
b705353
MemIAVL should still have its own changelog as WAL implementation
yzang2019 Jan 13, 2026
9e7b330
Merge branch 'main' into yzang/redesign-changelog
yzang2019 Jan 13, 2026
407b3a9
Fix lint
yzang2019 Jan 13, 2026
38f5dc5
Fix go lint and remove unneeded code
yzang2019 Jan 13, 2026
d6005ae
Add changelog back and upgrade tidywal version
yzang2019 Jan 13, 2026
9f3cf3f
Fix go mod
yzang2019 Jan 14, 2026
646d500
Merge branch 'main' into yzang/redesign-changelog
yzang2019 Jan 14, 2026
f2d1197
remove checkerror in WAL
yzang2019 Jan 14, 2026
79324e2
Address comments to make integration test simpler and db not panic
yzang2019 Jan 14, 2026
12d563a
Remove unnecessary config overrides and fix resource leak
yzang2019 Jan 14, 2026
6a5dc4a
Fix type and add error check for last and first index
yzang2019 Jan 14, 2026
136ffa8
Fix locking issue and thread safety issue for WAL
yzang2019 Jan 14, 2026
65bceb2
Fix tests
yzang2019 Jan 14, 2026
07859a0
Fix close logic
yzang2019 Jan 14, 2026
2c3d509
Require error checking for close
yzang2019 Jan 14, 2026
06dee5f
Add unit test for concurrency and deadlock test
yzang2019 Jan 14, 2026
718e07c
Merge branch 'main' into yzang/redesign-changelog
yzang2019 Jan 14, 2026
08508a2
Simplify wal unit test
yzang2019 Jan 16, 2026
f10fb45
Fix ignore error
yzang2019 Jan 16, 2026
a387f13
Addree more comments
yzang2019 Jan 16, 2026
784f7c2
Merge latest
yzang2019 Jan 16, 2026
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
15 changes: 15 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,21 @@ jobs:
done
unset IFS # revert the internal field separator back to default

- name: Print node logs on failure
if: ${{ failure() }}
run: |
set -euo pipefail
for c in sei-node-0 sei-node-1 sei-node-2 sei-node-3; do
echo "==================== ${c} (docker logs tail) ===================="
docker logs --tail 200 "${c}" || true
echo "==================== ${c} (seid log file tail) ===================="
# Logs are accessible on host since build/generated is mounted in containers
NODE_ID=${c#sei-node-}
if [ -f "build/generated/logs/seid-${NODE_ID}.log" ]; then
tail -200 "build/generated/logs/seid-${NODE_ID}.log" || true
fi
done

- name: Prepare log artifact name
if: ${{ always() }}
id: log_artifact_meta
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ require (
github.com/tendermint/tm-db v0.6.8-0.20220519162814-e24b96538a12
github.com/tidwall/btree v1.6.0
github.com/tidwall/gjson v1.10.2
github.com/tidwall/wal v1.1.7
github.com/tidwall/wal v1.2.1
github.com/zbiljic/go-filelock v0.0.0-20170914061330-1dbf7103ab7d
github.com/zeebo/blake3 v0.2.4
go.opentelemetry.io/otel v1.38.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2083,8 +2083,8 @@ github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhso
github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/Lx1fg=
github.com/tidwall/tinylru v1.1.0 h1:XY6IUfzVTU9rpwdhKUF6nQdChgCdGjkMfLzbWyiau6I=
github.com/tidwall/tinylru v1.1.0/go.mod h1:3+bX+TJ2baOLMWTnlyNWHh4QMnFyARg2TLTQ6OFbzw8=
github.com/tidwall/wal v1.1.7 h1:emc1TRjIVsdKKSnpwGBAcsAGg0767SvUk8+ygx7Bb+4=
github.com/tidwall/wal v1.1.7/go.mod h1:r6lR1j27W9EPalgHiB7zLJDYu3mzW5BQP5KrzBpYY/E=
github.com/tidwall/wal v1.2.1 h1:xQvwnRF3e+xBC4NvFvl1mPGJHU0aH5zNzlUKnKGIImA=
github.com/tidwall/wal v1.2.1/go.mod h1:r6lR1j27W9EPalgHiB7zLJDYu3mzW5BQP5KrzBpYY/E=
github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144 h1:kl4KhGNsJIbDHS9/4U9yQo1UcPQM0kOMJHn29EoH/Ro=
github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk=
github.com/timonwong/loggercheck v0.9.3 h1:ecACo9fNiHxX4/Bc02rW2+kaJIAMAes7qJ7JKxt0EZI=
Expand Down
2 changes: 0 additions & 2 deletions go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,6 @@ github.com/schollz/closestmatch v2.1.0+incompatible h1:Uel2GXEpJqOWBrlyI+oY9LTiy
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=
github.com/seccomp/libseccomp-golang v0.9.1 h1:NJjM5DNFOs0s3kYE1WUOr6G8V97sdt46rlXTMfXGWBo=
github.com/segmentio/fasthash v1.0.3 h1:EI9+KE1EwvMLBWwjpRDc+fEM+prwxDYbslddQGtrmhM=
github.com/sei-protocol/go-ethereum v1.15.7-sei-15 h1:cK2ZiNo9oWO4LeyRlZYZMILspPq0yoHIJdjLviAxtXE=
github.com/sei-protocol/go-ethereum v1.15.7-sei-15/go.mod h1:+S9k+jFzlyVTNcYGvqFhzN/SFhI6vA+aOY4T5tLSPL0=
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
github.com/shirou/gopsutil/v3 v3.22.9/go.mod h1:bBYl1kjgEJpWpxeHmLI+dVHWtyAwfcmSBLDsp2TNT8A=
github.com/shirou/gopsutil/v3 v3.23.2 h1:PAWSuiAszn7IhPMBtXsbSCafej7PqUOvY6YywlQUExU=
Expand Down
2 changes: 1 addition & 1 deletion sei-cosmos/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ require (
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tidwall/tinylru v1.1.0 // indirect
github.com/tidwall/wal v1.1.7 // indirect
github.com/tidwall/wal v1.2.1 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/urfave/cli/v2 v2.27.5 // indirect
Expand Down
3 changes: 1 addition & 2 deletions sei-cosmos/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1820,8 +1820,7 @@ github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhso
github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/Lx1fg=
github.com/tidwall/tinylru v1.1.0 h1:XY6IUfzVTU9rpwdhKUF6nQdChgCdGjkMfLzbWyiau6I=
github.com/tidwall/tinylru v1.1.0/go.mod h1:3+bX+TJ2baOLMWTnlyNWHh4QMnFyARg2TLTQ6OFbzw8=
github.com/tidwall/wal v1.1.7 h1:emc1TRjIVsdKKSnpwGBAcsAGg0767SvUk8+ygx7Bb+4=
github.com/tidwall/wal v1.1.7/go.mod h1:r6lR1j27W9EPalgHiB7zLJDYu3mzW5BQP5KrzBpYY/E=
github.com/tidwall/wal v1.2.1 h1:xQvwnRF3e+xBC4NvFvl1mPGJHU0aH5zNzlUKnKGIImA=
github.com/tklauser/go-sysconf v0.3.11/go.mod h1:GqXfhXY3kiPa0nAXPDIQIWzJbMCB7AmcWpGR8lSZfqI=
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
Expand Down
264 changes: 0 additions & 264 deletions sei-db/changelog/changelog/changelog.go

This file was deleted.

Loading
Loading