Commit Graph

22 Commits

Author SHA1 Message Date
Alexander Peters
5e58330196
chore(sims): Complete sims integration for app v2 (#23478) 2025-01-24 07:58:11 +00:00
Julien Robert
8ff9f48bb4
chore: package release prep + update UPGRADING.md (#22864) 2024-12-16 09:04:23 +00:00
cool-developer
97d37ae243
feat(store): add new api LatestVersion (#22305) 2024-10-21 13:09: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
yihuang
1f06f5bec6
fix: nil pointer panic when store don't exists in historical version (#20425) 2024-05-20 09:13:42 +00:00
Marko
94338e516d
chore: bring back store v1 to main (#20263) 2024-05-03 12:21:16 +00:00
Emmanuel T Odeke
1e216af3d6
fix(store/commitment/iavl): honor tree.Remove error firstly (#18651) 2023-12-08 13:59:12 +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
Julien Robert
936780b160
chore(x/tx): partly revert NewEncoder usage (#16936) 2023-07-13 11:30:55 +00:00
Julien Robert
b18b6c4f7a
chore: prepare errors and store (alpha) releases (#16923) 2023-07-11 15:25:39 +00:00
cool-developer
cc1325c30c
chore: store audit typo (#16840) 2023-07-05 15:19:47 +00:00
yihuang
aeccbc910c
fix: snapshotter's failure is not propogated (#16588) 2023-06-17 14:50:36 +00:00
dependabot[bot]
8ced14d6fa
build(deps): Bump github.com/cometbft/cometbft from 0.38.0-alpha.2 to 0.38.0-rc1 (#16434)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-06 22:03:06 +00:00
cool-developer
3e18f4088b
feat: update store module for new iavl (#15568)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-06 19:08:35 +00:00
Marko
d1a337eb78
refactor(Store): remove abci query req and res deps from store (#16321) 2023-05-30 15:50:23 +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
cool-developer
56705deb22
feat(store): add working hash (#15712)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-04-13 09:18:36 +00:00
khanh-notional
d5a618db6a
feat: More flexibility for CacheMultiStoreWithVersion (#15683)
## Description
Closes: [cosmos/gaia#2313](https://github.com/cosmos/gaia/issues/2313)

The gaia v9 upgrade causes node to errors out when querying historical states before the upgrade. This is because we added a new module store in the upgrade which is the `provider module store`. Thus, every times we load the multi store for querying at a height prior to the upgrade, we try to load the `provider module store` and fail since it has not existed before the upgrade.

I make changes to `CacheMultiStoreWithVersion` so that if we fail to load any module store at a given height, we check if that module store has existed at that height or not (using `getCommitInfo()`), we can ignore the error if the store hasn't existed at that given height.

---

### 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...

* [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] added `!` to the type prefix if API or client breaking change
* [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] provided a link to the relevant issue or specification
* [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
* [ ] added a changelog entry to `CHANGELOG.md`
* [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] updated the relevant documentation or specification
* [ ] 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 `!` in the type prefix if API or client breaking change
* [ ] confirmed all author checklist items have been addressed 
* [ ] reviewed state machine logic
* [ ] reviewed API design and naming
* [ ] reviewed documentation is accurate
* [ ] reviewed tests and test coverage
* [ ] manually tested (if applicable)
2023-04-10 20:30:28 +00:00
Julien Robert
3894b283a1
chore: fix changelog due to previous PR (#15446) 2023-03-17 15:46:56 +01:00
khanh-notional
40ca1550da
chore: Add check for uneven stores' height (#14410) 2023-01-31 01:54:29 +00:00
Likhita Polavarapu
7559d9ecd3
refactor: create go.mod for store (#14746)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-25 13:31:56 +00:00