Commit Graph

63 Commits

Author SHA1 Message Date
Marco
24580eae9c
docs: Correct grammar errors across multiple files (#23074)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-06 08:31:06 +00:00
ipangpang
d8c84589fc
style: remove redundant import alias (#23130)
Co-authored-by: hao.wang <hao.wang@haowangdeMacBook-Pro.local>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-03 15:04:11 +00:00
oliveredget
d39d0bc456
docs: fix typos (#23116)
Signed-off-by: oliveredget <188809800+oliveredget@users.noreply.github.com>
Co-authored-by: Marko <marko@baricevic.me>
2024-12-31 16:42:06 +00:00
Hieu Vu
ef8e2d4fae
test(server/v2): Add system-test for store's command (#21357)
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
2024-09-23 14:49:07 +00:00
cool-developer
aaf72f20c1
feat: replace the cosmos-db usecases in the tests with core/testing (#21525) 2024-09-13 16:44:18 +00:00
Troy
1f21d4a536
docs(store): fix cometbft doc version (#21510)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
2024-09-03 09:56:34 +00:00
Aaron Craelius
5c90246b3f
feat(log): remove core dependency and update core interface to be dependency free (#21045)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-26 11:00:27 +00:00
Tuan Tran
023ed3558d
chore(docs): fix comments that do not start with the name of the exported element (#20999) 2024-07-19 16:21:01 +00:00
Marko
9436bcb7f2
chore: various cleanup (#20864) 2024-07-18 09:12:58 +00:00
mmsqe
b22269dde1
fix(store): avoid nil error on not exhausted payload stream (#20644)
Co-authored-by: Marko <marko@baricevic.me>
2024-06-12 17:48:08 +00:00
Marko
28fa3b8dfc
chore: use comet api pkg instead of comet alias (#20614) 2024-06-11 08:46:04 +00:00
Tuan Tran
2b34f69e87
refactor: remove defer in loop (#20223)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-05-29 09:10:24 +00:00
Marko
1b47dc91a3
chore: move logger to core (#20388) 2024-05-28 12:30:09 +00:00
Kien Trinh
0c91044220
refactor: remove directive errors comparison (#20344) 2024-05-10 19:09:21 +00:00
Marko
62b0b26d0c
chore: migrate sdk.Msg to transaction.type (#20273)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
2024-05-10 10:23:22 +00:00
Marko
94338e516d
chore: bring back store v1 to main (#20263) 2024-05-03 12:21:16 +00:00
Hoa Nguyen
128bb968b2
chore(test): fix lint and refactor test (#20213) 2024-04-30 11:56:09 +00:00
Emil Georgiev
560e6fb8d7
test(store/snapshot): fix flaky test (#20078)
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
2024-04-26 12:28:14 +00:00
ipangpang
1bd4351241
style: remove redundant import alias (#20109)
Signed-off-by: ipangpang <arronipangpang@gmail.com>
2024-04-21 19:03:43 +00:00
Andy Nogueira
55c14edf0c
docs: update links and information that pointed to CometBFT docs (#20079) 2024-04-18 13:11:36 +00:00
Yang Hau
868f948ec7
fix(store): fix the typo (#20011) 2024-04-11 15:41:03 +00:00
cool-developer
8b4081f8bb
fix(store/v2): clean up resources after the migration is completed (#19800) 2024-03-21 12:12:56 +00:00
cool-developer
27a231ae48
feat(store/v2): add the catch up process in the migration (#19454) 2024-03-20 22:23:41 +00:00
Marko
3166ebbf91
store: keys as bytes (#19775)
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-03-20 10:48:16 +00:00
cool-developer
25af567521
chore: fix the flaky test in store/snapshots (#19774)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-03-18 16:23:22 +00:00
Marko
d2e40963ed
refactor(modules): adopt appmodulev2.Hasgenesis (#19627)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-11 10:22:16 +00:00
Julien Robert
f69dabe241
refactor(storev2): change error namespace (#19698) 2024-03-08 17:25:21 +00:00
Matt Kocubinski
55370b0198
feat(store): remove RawDB dependency from snapshot store (#19608) 2024-03-01 16:17:48 +00:00
cool-developer
92eb6de6e3
feat(store/v2): Implement State Migration (#19327)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-02-13 17:26:16 +00:00
samricotta
26c64364ac
docs: fixes broken links (#19295) 2024-02-02 15:53:10 +00:00
cool-developer
14fd0ceda3
feat(store/v2): remove cosmos-db depdency from store (#19229) 2024-01-29 20:21:20 +00:00
cool-developer
f6df368d8d
feat(store/v2): snapshot manager (#18458) 2023-12-07 21:50:40 +00:00
Aleksandr Bezobchuk
03bca7b791
feat(store/v2): Merge Feature Branch (#18150)
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
Co-authored-by: yihuang <huang@crypto.com>
2023-10-18 18:03:43 +00:00
Chill Validation
6a76448025
feat(store): Add snapshot manager Close method (#17294)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-06 22:23:11 +00:00
zakir-code
54ed7dab39
perf: start the goroutine after need to create a snapshot (#17158) 2023-07-28 08:04:22 +00:00
Jacob Gadikian
f0aec3f30d
style: use thelper (#16777) 2023-07-03 13:33:05 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
yihuang
aeccbc910c
fix: snapshotter's failure is not propogated (#16588) 2023-06-17 14:50:36 +00:00
Julien Robert
b590b09107
chore: small snapshot commands & docs improvement (#16404) 2023-06-02 12:02:08 +00:00
yihuang
81ba019e5e
feat: save restored snapshot locally (#16060)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-05-23 14:44:48 +00:00
yihuang
793cbe5bfd
fix: snapshot error message wording (#16146) 2023-05-15 07:43:11 +00:00
yihuang
92247cb0e9
fix: snapshot commands panic if snapshot don't exists (#16138) 2023-05-13 08:06:05 +00:00
yihuang
c1ceb3bdda
feat: add local snapshots management commands (#16067)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-05-11 10:11:31 +00:00
Mark Rushakoff
0b09920c0a
test(store): ensure busy manager goroutine is finished (#15788)
## Description

Without this change, there were intermittent failures due to a non-empty t.TempDir() directory at the end of a test:

```console
$ go test  -run=LoadChunk$ ./snapshots/ -count=220 -failfast 
--- FAIL: TestManager_LoadChunk (0.01s)
    testing.go:1225: TempDir RemoveAll cleanup: unlinkat /var/folders/.../T/TestManager_LoadChunk1472891739/001: directory not empty
FAIL
FAIL    cosmossdk.io/store/snapshots    0.177s
```

With this change, I can no longer reproduce the flaky failure:

```console
$ go test -run=LoadChunk$ ./snapshots/ -count=1000 -failfast
ok      cosmossdk.io/store/snapshots    15.722s
```
---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] confirmed that this PR does not change production code
2023-04-11 16:33:39 +00:00
Marko
1f2875d445
style: gofumpt linting (#15605) 2023-03-30 06:27:38 +00:00
cipherZ
825245db1b
docs: replace Tendermint references in docs with CometBFT (#15339)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-14 20:41:35 +01:00
Julien Robert
5d559dd265
feat!: use cosmossdk.io/log logger (#15011) 2023-02-27 21:36:22 +00:00
Mark Rushakoff
caf94106cb
refactor(store): extract (*Store).saveChunk method (#15144) 2023-02-27 10:17:17 +00:00
Facundo Medica
4a6a1e3cb8
refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
Julien Robert
a7ac29e3f4
chore: rename log pkg and add zerolog (#14955) 2023-02-08 11:32:22 +00:00