Marko and yihuang
0dfb54e36a
refactor! : bump comet to v1 ( #19726 )
...
Co-authored-by: yihuang <yi.codeplayer@gmail.com >
2024-05-06 14:12:00 +00:00
Marko
94338e516d
chore: bring back store v1 to main ( #20263 )
2024-05-03 12:21:16 +00:00
cool-developer and Aleksandr Bezobchuk
014cbbcb8b
feat: Remove the store/internal module ( #18944 )
...
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
2024-01-04 18:10:16 +00:00
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
Jacob Gadikian
6afece635c
style: add gci linter ( #16605 )
2023-06-22 15:35:51 +00:00
Marko
1cca9c5f5f
build(deps): ics23 bump to cosmos in store ( #15967 )
2023-04-28 13:56:08 +00:00
Marko
2b484a241f
feat: add rand funcs to math ( #15043 )
2023-02-18 18:39:46 +00:00
Julien Robert
80dd55f79b
refactor: rename to CometBFT ( #14914 )
2023-02-06 18:11:14 +00:00
Julien Robert
6978710699
refactor: migrate store and api to CometBFT ( #14899 )
2023-02-04 14:53:15 +01:00
Likhita Polavarapu and Marko
7559d9ecd3
refactor: create go.mod for store ( #14746 )
...
Co-authored-by: Marko <marbar3778@yahoo.com >
2023-01-25 13:31:56 +00:00
Marko
390262f56b
refactor: remove reliance on sdk/types/errors from store ( #14090 )
...
* Move snapshotstore under store
* add changelog entry
* errors store
* remove dep on sdk/types/errors
* clean up
* fix var
* undo some changes, clean up fmt.Errorf usage
* remove pkg/errors
2022-12-03 13:11:33 +00:00
Facundo Medica
0d288e935c
test: Add some tests and remove dead code in store ( #13614 )
2022-11-08 20:20:18 +00:00
Emmanuel T Odeke
9c2aef342d
chore: all: use golang.org/x/exp/maps.(Keys, Values) where necessary ( #13349 )
...
Uses golang.org/x/exp/maps.(Keys, Values) to sort out flagged
potential non-determinism issues due to map iteration which is
randomized in maps.
These were flagged by cosmos/gosec in
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/724
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/725
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/726
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/727
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/728
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/729
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/782
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/813
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/814
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/816
which complained about potential non-determinism in
map iteration in which we only want appends in map iteration loops,
this change instead uses golang.org/x/exp/maps.Keys to retrieve
the keys then sort.Strings which simplifies the helper code.
This change fixes issues in:
* orm/model/ormdb: non-determinism in ExportJSON
* store/internal/proofs
* types/module
* x/auth/keeper
* x/bank
* x/genutil/client/cli
Fixes #13348
2022-09-21 02:08:13 +00:00
roysc
e66b8ef212
feat: ADR-040: ICS-23 proofs for SMT store ( #10015 )
...
## Description
Implements [ICS-23](https://github.com/cosmos/ibc/tree/master/spec/core/ics-023-vector-commitments ) conformant proofs for the SMT-based KV store and defines the proof spec as part of [ADR-040](https://github.com/cosmos/cosmos-sdk/blob/eb7d939f86c6cd7b4218492364cdda3f649f06b5/docs/architecture/adr-040-storage-and-smt-state-commitments.md ).
Closes: https://github.com/vulcanize/cosmos-sdk/issues/8
---
### 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
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting ))
- [x] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules ) - n/a
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing )
- [x] added a changelog entry to `CHANGELOG.md`
- [x] 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)
2022-02-22 12:22:06 +00:00
roysc
56af6a7fbb
feat: Add ics23 proof tools: ics23-{iavl,tendermint,smt} ( #10802 )
...
Moves the separate repos for ICS23 proof tooling into `store/tools`
I've set `github.com/confio/ics23/go` to version 0.7.0 in anticipation of https://github.com/confio/ics23/pull/61 being merged, as it's a dependency for SMT proofs, so this shouldn't be merged until that version exists.
Closes: https://github.com/cosmos/cosmos-sdk/issues/10801
---
### 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] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting ))
- [x] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules )
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing )
- [ ] added a changelog entry to `CHANGELOG.md`
- [x] 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)
2022-02-22 11:39:08 +00:00
af8ad3d20d
chore: bump TM to v0.35.0 release candidate ( #10210 )
...
Integrate Tendermint v0.35.0, including changes to build and test
plumbing necessary to make everything build. This change does not
update any SDK APIs to make use of new features.
Co-authored-by: marbar3778 <marbar3778@yahoo.com >
Co-authored-by: tycho garen <garen@tychoish.com >
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com >
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com >
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-11-16 11:24:38 -08:00
Cuong Manh Le
711976efc1
store/internal: validate keys before calling ProofsFromMap ( #9235 )
...
Otherwise, an empty key as input or present in data can cause a panic at
runtime.
Caught by oss-fuzz: https://oss-fuzz.com/testcase-detail/4647668077953024
Fixes #9233
2021-05-02 15:53:59 -07:00
8de96d16f9
tendermint: update to rc3 ( #6892 )
...
* modify light imports
* change abci.header to tmproto.header
* use rc
* rc
* fix import
* Merge PR #6893 : fix key imports
* fix rc2
* tendermint: update 3 (#6899 )
* tendermint: update 4 (#6919 )
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com >
* tendermint: update 5 (#6923 )
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com >
* bump to latest master
* tendermint: update (#6972 )
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com >
Co-authored-by: Cory Levinson <cjlevinson@gmail.com >
* Update x/ibc/07-tendermint/types/test_utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com >
* address comment
* go mod
* bring back things
* fix test
* update tm proto files
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com >
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com >
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com >
Co-authored-by: Cory Levinson <cjlevinson@gmail.com >
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com >
2020-08-14 13:58:53 -04:00
Alexander Bezobchuk and mergify[bot]
0f44d1af23
store: Remove Amino ( #6984 )
...
* Update kv pair to proto
* updates
* fix LastCommitID
* lint++
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-08-11 10:09:16 +00:00