Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Makefile rocksdb #15422

Merged
merged 11 commits into from Mar 23, 2023
Merged

fix: Makefile rocksdb #15422

merged 11 commits into from Mar 23, 2023

Conversation

robert-zaremba
Copy link
Collaborator

Description

rocksdb_build is a wrong build tag name. Should be rocksdb


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 in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • 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 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)

@robert-zaremba robert-zaremba added T:Bug backport/0.46.x PR scheduled for inclusion in the v0.46's next stable release backport/v0.47.x PR scheduled for inclusion in the v0.47's next stable release labels Mar 16, 2023
@robert-zaremba robert-zaremba requested a review from a team as a code owner March 16, 2023 15:28
@github-prbot github-prbot requested review from a team, facundomedica and tac0turtle and removed request for a team March 16, 2023 15:29
@alexanderbez
Copy link
Contributor

alexanderbez commented Mar 16, 2023

I ran the following:

$ CGO_CFLAGS="-I/opt/homebrew/Cellar/rocksdb/7.10.2/include" CGO_LDFLAGS="-L/opt/homebrew/Cellar/rocksdb/7.10.2 -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd" go get github.com/tecbot/gorocksdb
$ BUILD_TAGS=rocksdb make build
cd /Users/aleksbez/code/cosmos/cosmos-sdk/simapp && go build -mod=readonly -tags "netgo ledger rocksdb" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=sim -X github.com/cosmos/cosmos-sdk/version.AppName=simd -X github.com/cosmos/cosmos-sdk/version.Version=0.46.0-beta2-1655-gdb5c44e455 -X github.com/cosmos/cosmos-sdk/version.Commit=db5c44e455e41cad2b9c51bceaabf0ca2213b607 -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger" -X github.com/cometbft/cometbft/version.TMCoreSemVer=v0.37.0 -w -s' -trimpath -o /Users/aleksbez/code/cosmos/cosmos-sdk/build/ ./...
# github.com/linxGnu/grocksdb
../../../../go/pkg/mod/github.com/linx!gnu/grocksdb@v1.7.15/array.go:4:11: fatal error: 'rocksdb/c.h' file not found
 #include "rocksdb/c.h"
          ^~~~~~~~~~~~~
1 error generated.
# github.com/tecbot/gorocksdb
../../../../go/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/array.go:4:11: fatal error: 'rocksdb/c.h' file not found
 #include "rocksdb/c.h"
          ^~~~~~~~~~~~~
1 error generated.
make: *** [build] Error 1

Makefile Outdated Show resolved Hide resolved
@yihuang
Copy link
Collaborator

yihuang commented Mar 16, 2023

I ran the following:

$ CGO_CFLAGS="-I/opt/homebrew/Cellar/rocksdb/7.10.2/include" CGO_LDFLAGS="-L/opt/homebrew/Cellar/rocksdb/7.10.2 -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd" go get github.com/tecbot/gorocksdb
$ BUILD_TAGS=rocksdb make build

cd /Users/aleksbez/code/cosmos/cosmos-sdk/simapp && go build -mod=readonly -tags "netgo ledger rocksdb" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=sim -X github.com/cosmos/cosmos-sdk/version.AppName=simd -X github.com/cosmos/cosmos-sdk/version.Version=0.46.0-beta2-1655-gdb5c44e455 -X github.com/cosmos/cosmos-sdk/version.Commit=db5c44e455e41cad2b9c51bceaabf0ca2213b607 -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger" -X github.com/cometbft/cometbft/version.TMCoreSemVer=v0.37.0 -w -s' -trimpath -o /Users/aleksbez/code/cosmos/cosmos-sdk/build/ ./...

# github.com/linxGnu/grocksdb

../../../../go/pkg/mod/github.com/linx!gnu/grocksdb@v1.7.15/array.go:4:11: fatal error: 'rocksdb/c.h' file not found

 #include "rocksdb/c.h"

          ^~~~~~~~~~~~~

1 error generated.

# github.com/tecbot/gorocksdb

../../../../go/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/array.go:4:11: fatal error: 'rocksdb/c.h' file not found

 #include "rocksdb/c.h"

          ^~~~~~~~~~~~~

1 error generated.

make: *** [build] Error 1

You need to prepare rocksdb c lib manually

@alexanderbez
Copy link
Contributor

@yihuang what does that mean?

@yihuang
Copy link
Collaborator

yihuang commented Mar 17, 2023

@yihuang what does that mean?

You need to manually install the rocksdb library or compile by yourself, and put the header and library files in the path that can be found by c compilers, or set CGO_CFLAGS and CGO_LDFLAGS for the c compilers to find them.
In our case, we use nix to manage the building process, which is an awesome tool at managing c lib dependencies (https://github.com/crypto-org-chain/cronos/blob/main/default.nix#L23), it can do cross-compiling, static-linking with the c dependencies right.

@tac0turtle tac0turtle added the A:automerge Automatically merge PR once all prerequisites pass. label Mar 17, 2023
Makefile Show resolved Hide resolved
@robert-zaremba
Copy link
Collaborator Author

You need to prepare rocksdb c lib manually

Also, I don't think it works with the latest rocksdb version.

@robert-zaremba
Copy link
Collaborator Author

I think we should not enable ROCKSDB by default: https://github.com/cosmos/cosmos-sdk/pull/15422/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R16

  1. It requires CGO and right version of rocksdb lib
  2. I prefer the original version (with ENABLE_ROCKSDB): it's more explicit

@alexanderbez
Copy link
Contributor

@yihuang the FB authors themselves state you should install it via brew for macOS.

https://github.com/facebook/rocksdb/blob/main/INSTALL.md#supported-platforms

Why should I install it manually by compiling from source then?

@yihuang
Copy link
Collaborator

yihuang commented Mar 17, 2023

@yihuang the FB authors themselves state you should install it via brew for macOS.

https://github.com/facebook/rocksdb/blob/main/INSTALL.md#supported-platforms

Why should I install it manually by compiling from source then?

Sometimes with manually compiling you can pick whatever version of source code you want. But I almost always use nix for both Mac and Linux platforms, which is more automated, and flexible to control the build process.

Makefile Outdated Show resolved Hide resolved
@yihuang
Copy link
Collaborator

yihuang commented Mar 22, 2023

So , for this PR, I propose:

And after that we can merge it. Any objections / comment?

It's already the case I think, you need to put rocksdb in COSMOS_BUILD_OPTIONS to enable it

@alexanderbez
Copy link
Contributor

I dont feel comfortable merging any RocksDB related PRs until we have sufficient documentation for using it. I still have not successfully been able to build RocksDB with a Cosmos SDK version...

@robert-zaremba
Copy link
Collaborator Author

It's already the case I think, you need to put rocksdb in COSMOS_BUILD_OPTIONS to enable it

Yes, because it was added temporarily here, so I removed it (hence the comment).

I dont feel comfortable merging any RocksDB related PRs until we have sufficient documentation

Yes, there is another issue to solve that problem. This PR only cleans up the Makefile, which has outdated / wrong variables.

@robert-zaremba robert-zaremba enabled auto-merge (squash) March 23, 2023 09:34
@robert-zaremba robert-zaremba merged commit 67dc594 into main Mar 23, 2023
41 of 42 checks passed
@robert-zaremba robert-zaremba deleted the robert/makefile-rocksdb branch March 23, 2023 09:56
mergify bot pushed a commit that referenced this pull request Mar 23, 2023
Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit 67dc594)

# Conflicts:
#	Makefile
mergify bot pushed a commit that referenced this pull request Mar 23, 2023
Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit 67dc594)

# Conflicts:
#	Makefile
tac0turtle pushed a commit that referenced this pull request Mar 23, 2023
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
tac0turtle pushed a commit that referenced this pull request Mar 23, 2023
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
@Staking7pc
Copy link

I am trying to build some binaries with rocksdb and facing the same issues that are descried here . Is there a specifi version of rocksdb or /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0 to be used when building ?

@alexanderbez
Copy link
Contributor

If you figure it out, please let me know. We still don't have a doc on this. @facundomedica @yihuang

@yihuang
Copy link
Collaborator

yihuang commented Apr 4, 2023

I am trying to build some binaries with rocksdb and facing the same issues that are descried here . Is there a specifi version of rocksdb or /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0 to be used when building ?

Yes, I only built gorocksdb with rocksdb v6.8.x, to build with recent version, we'll need grocksdb, there's PR for migrating to that.

@Staking7pc
Copy link

I am trying to build some binaries with rocksdb and facing the same issues that are descried here . Is there a specifi version of rocksdb or /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0 to be used when building ?

Yes, I only built gorocksdb with rocksdb v6.8.x, to build with recent version, we'll need grocksdb, there's PR for migrating to that.

I tried wiih v6.8.1 as well but having below error .

/root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:255:17: could not determine kind of name for C.rocksdb_optimistictransactiondb_checkpoint_object_create /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:208:12: could not determine kind of name for C.rocksdb_optimistictransactiondb_property_value /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:236:2: could not determine kind of name for C.rocksdb_optimistictransactiondb_write /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:59:12: could not determine kind of name for C.rocksdb_transactiondb_property_value make: *** [Makefile:42: install] Error 2

The main intention I wanna try rocksdb is to see if it reduces the IO . Its mentioned here in #10987

@yihuang
Copy link
Collaborator

yihuang commented Apr 5, 2023

I am trying to build some binaries with rocksdb and facing the same issues that are descried here . Is there a specifi version of rocksdb or /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0 to be used when building ?

Yes, I only built gorocksdb with rocksdb v6.8.x, to build with recent version, we'll need grocksdb, there's PR for migrating to that.

I tried wiih v6.8.1 as well but having below error .

`/root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:255:17: could not determine kind of name for C.rocksdb_optimistictransactiondb_checkpoint_object_create

/root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:208:12: could not determine kind of name for C.rocksdb_optimistictransactiondb_property_value

/root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:236:2: could not determine kind of name for C.rocksdb_optimistictransactiondb_write

/root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:59:12: could not determine kind of name for C.rocksdb_transactiondb_property_value

make: *** [Makefile:42: install] Error 2`

The main intention I wanna try rocksdb is to see if it reduces the IO . Its mentioned here in #10987

Sorry, we were using v6.29.5, can you try that?

@Staking7pc
Copy link

I am trying to build some binaries with rocksdb and facing the same issues that are descried here . Is there a specifi version of rocksdb or /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0 to be used when building ?

Yes, I only built gorocksdb with rocksdb v6.8.x, to build with recent version, we'll need grocksdb, there's PR for migrating to that.

I tried wiih v6.8.1 as well but having below error .
/root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:255:17: could not determine kind of name for C.rocksdb_optimistictransactiondb_checkpoint_object_create /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:208:12: could not determine kind of name for C.rocksdb_optimistictransactiondb_property_value /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:236:2: could not determine kind of name for C.rocksdb_optimistictransactiondb_write /root/go/pkg/mod/github.com/cosmos/gorocksdb@v1.2.0/transactiondb.go:59:12: could not determine kind of name for C.rocksdb_transactiondb_property_value make: *** [Makefile:42: install] Error 2
The main intention I wanna try rocksdb is to see if it reduces the IO . Its mentioned here in #10987

Sorry, we were using v6.29.5, can you try that?

Yes I can build the binary with v6.29.5 and start synching with rocksdb as database . Thanks

SpicyLemon added a commit to provenance-io/cosmos-sdk that referenced this pull request Jun 9, 2023
* fix: create snapshot dir for rocksdb backend (backport cosmos#15054) (cosmos#15065)

Co-authored-by: yihuang <huang@crypto.com>

* chore: Add check for uneven stores' height (backport cosmos#14410) (cosmos#15115)

Co-authored-by: khanh-notional <50263489+catShaark@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>

* refactor!: remove store v2alpha1 (cosmos#15152)

* build: use cometbft in v0.46 (cosmos#15090)

* chore: bump cometbft to v0.34.27 final (cosmos#15206)

* fix: Change proposer address cast for `sdk_block` conversion (backport cosmos#15243) (cosmos#15245)

Co-authored-by: Maksym Hontar <99190705+max-hontar@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* fix: revert double close fix (cosmos#15255)

* chore: prepare v0.46.11 release (cosmos#15259)

* feat: add extend cb to avoid unmarshal state twice for sim test (backport: cosmos#15305) (cosmos#15321)

* feat: add extend cb with genesisState for sim test (backport: cosmos#15305) (cosmos#15349)

* fix: add extra check in vesting (backport cosmos#15373) (cosmos#15383)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* docs: update cosmwasm link (cosmos#15441)

* fix: remove extra `;` in service.proto (cosmos#15443)

* fix: flaky group genesis sim (backport cosmos#15447) (cosmos#15461)

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* feat: add delegator to withdraw address (backport cosmos#15462) (cosmos#15473)

Co-authored-by: Marko <marbar3778@yahoo.com>

* docs: improve proto vesting docs about time attributes (backport cosmos#15474) (cosmos#15481)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: add query `groups` in `x/group` (backport cosmos#14879) (cosmos#15476)

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>

* fix: Makefile rocksdb (backport cosmos#15422) (cosmos#15525)

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* fix(x/gov): Return ErrInvalidProposalContent in SubmitProposal when legacy handler returns an error. (backport cosmos#13051) (cosmos#15667)

Co-authored-by: Daniel Wedul <github@wedul.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* fix: remove unnecessary cms typecasting (backport cosmos#14054) (cosmos#15669)

Co-authored-by: Javier Su <javier.su.weijie@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* chore: prepare v0.46.12 release notes (cosmos#15685)

* fix: upstream error on empty version (backport cosmos#13355) (cosmos#15717)

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: More flexibility for `CacheMultiStoreWithVersion` (backport cosmos#15683) (cosmos#15775)

Co-authored-by: khanh-notional <50263489+catShaark@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: add moduleStateCb to allow access moduleState in sim test (backport cosmos#15903) (cosmos#15925)

Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* build(deps): bump cometbft to v0.34.28 (cosmos#15973)

* chore(gov): improve proposal conversion error message (backport cosmos#15979) (cosmos#15981)

Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>

* feat!: bootstrap comet cmd for local state sync  (backport cosmos#16061) (cosmos#16080)

Co-authored-by: Marko <marbar3778@yahoo.com>

* chore(auth/vesting): fix typo in `create-period-vesting-account` cmd example (backport cosmos#16085) (cosmos#16087)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: add local snapshots management commands (backport cosmos#16067) (cosmos#16103)

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* fix: snapshot commands panic if snapshot don't exists (backport cosmos#16138) (cosmos#16140)

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: add Close method for resource cleanup in graceful shutdown (backport cosmos#16193) (cosmos#16205)

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: save restored snapshot locally (backport cosmos#16060) (cosmos#16262)

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>

* chore: update sidebar v0.46 (cosmos#16304)

* chore: add baseapp circuit breaker setter (cosmos#16289)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* fix: allow any address in `ValidatePromptAddress` (backport cosmos#16312) (cosmos#16314)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat(group): add group event tally result (backport cosmos#16191) (cosmos#16306)

Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* fix: Revert "fix(x/gov): Return ErrInvalidProposalContent in SubmitProposal when legacy handler returns an error. (backport cosmos#13051) (cosmos#15667)" (cosmos#16331)

* chore: prepare v0.46.13 (cosmos#16249)

* chore: small snapshot commands & docs improvement (backport cosmos#16404) (cosmos#16409)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* Add the quarantine and sanction stores to the import-export sim test.

* refactor: avoid breaking change due to cosmos#16415 included in v0.50 (backport cosmos#16430) (cosmos#16432)

Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>

* chore: prepare v0.46.13 (2/2) (cosmos#16443)

* fix: patch barberry (cosmos#16466)

* Better gov prop error handling.

* Fix the group sims random genesis so it can't pick the same account twice for the group policies since that address is the primary key for the table. Also, output the genesis state after it's randomized just like all the other modules do.

* Add changelog entries.

* Regen the swagger docs.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: khanh-notional <50263489+catShaark@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Maksym Hontar <99190705+max-hontar@users.noreply.github.com>
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Javier Su <javier.su.weijie@gmail.com>
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
SpicyLemon added a commit to provenance-io/cosmos-sdk that referenced this pull request Jun 9, 2023
* fix: create snapshot dir for rocksdb backend (backport cosmos#15054) (cosmos#15065)

Co-authored-by: yihuang <huang@crypto.com>

* chore: Add check for uneven stores' height (backport cosmos#14410) (cosmos#15115)

Co-authored-by: khanh-notional <50263489+catShaark@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>

* refactor!: remove store v2alpha1 (cosmos#15152)

* build: use cometbft in v0.46 (cosmos#15090)

* chore: bump cometbft to v0.34.27 final (cosmos#15206)

* fix: Change proposer address cast for `sdk_block` conversion (backport cosmos#15243) (cosmos#15245)

Co-authored-by: Maksym Hontar <99190705+max-hontar@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* fix: revert double close fix (cosmos#15255)

* chore: prepare v0.46.11 release (cosmos#15259)

* feat: add extend cb to avoid unmarshal state twice for sim test (backport: cosmos#15305) (cosmos#15321)

* feat: add extend cb with genesisState for sim test (backport: cosmos#15305) (cosmos#15349)

* fix: add extra check in vesting (backport cosmos#15373) (cosmos#15383)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* docs: update cosmwasm link (cosmos#15441)

* fix: remove extra `;` in service.proto (cosmos#15443)

* fix: flaky group genesis sim (backport cosmos#15447) (cosmos#15461)

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* feat: add delegator to withdraw address (backport cosmos#15462) (cosmos#15473)

Co-authored-by: Marko <marbar3778@yahoo.com>

* docs: improve proto vesting docs about time attributes (backport cosmos#15474) (cosmos#15481)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: add query `groups` in `x/group` (backport cosmos#14879) (cosmos#15476)

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>

* fix: Makefile rocksdb (backport cosmos#15422) (cosmos#15525)

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* fix(x/gov): Return ErrInvalidProposalContent in SubmitProposal when legacy handler returns an error. (backport cosmos#13051) (cosmos#15667)

Co-authored-by: Daniel Wedul <github@wedul.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* fix: remove unnecessary cms typecasting (backport cosmos#14054) (cosmos#15669)

Co-authored-by: Javier Su <javier.su.weijie@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* chore: prepare v0.46.12 release notes (cosmos#15685)

* fix: upstream error on empty version (backport cosmos#13355) (cosmos#15717)

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: More flexibility for `CacheMultiStoreWithVersion` (backport cosmos#15683) (cosmos#15775)

Co-authored-by: khanh-notional <50263489+catShaark@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: add moduleStateCb to allow access moduleState in sim test (backport cosmos#15903) (cosmos#15925)

Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* build(deps): bump cometbft to v0.34.28 (cosmos#15973)

* chore(gov): improve proposal conversion error message (backport cosmos#15979) (cosmos#15981)

Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>

* feat!: bootstrap comet cmd for local state sync  (backport cosmos#16061) (cosmos#16080)

Co-authored-by: Marko <marbar3778@yahoo.com>

* chore(auth/vesting): fix typo in `create-period-vesting-account` cmd example (backport cosmos#16085) (cosmos#16087)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: add local snapshots management commands (backport cosmos#16067) (cosmos#16103)

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* fix: snapshot commands panic if snapshot don't exists (backport cosmos#16138) (cosmos#16140)

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: add Close method for resource cleanup in graceful shutdown (backport cosmos#16193) (cosmos#16205)

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat: save restored snapshot locally (backport cosmos#16060) (cosmos#16262)

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>

* chore: update sidebar v0.46 (cosmos#16304)

* chore: add baseapp circuit breaker setter (cosmos#16289)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* fix: allow any address in `ValidatePromptAddress` (backport cosmos#16312) (cosmos#16314)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* feat(group): add group event tally result (backport cosmos#16191) (cosmos#16306)

Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>

* fix: Revert "fix(x/gov): Return ErrInvalidProposalContent in SubmitProposal when legacy handler returns an error. (backport cosmos#13051) (cosmos#15667)" (cosmos#16331)

* chore: prepare v0.46.13 (cosmos#16249)

* chore: small snapshot commands & docs improvement (backport cosmos#16404) (cosmos#16409)

Co-authored-by: Julien Robert <julien@rbrt.fr>

* Add the quarantine and sanction stores to the import-export sim test.

* refactor: avoid breaking change due to cosmos#16415 included in v0.50 (backport cosmos#16430) (cosmos#16432)

Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>

* chore: prepare v0.46.13 (2/2) (cosmos#16443)

* fix: patch barberry (cosmos#16466)

* Better gov prop error handling.

* Fix the group sims random genesis so it can't pick the same account twice for the group policies since that address is the primary key for the table. Also, output the genesis state after it's randomized just like all the other modules do.

* Add changelog entries.

* Regen the swagger docs.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: khanh-notional <50263489+catShaark@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Maksym Hontar <99190705+max-hontar@users.noreply.github.com>
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Javier Su <javier.su.weijie@gmail.com>
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
SpicyLemon added a commit to provenance-io/cosmos-sdk that referenced this pull request Jun 9, 2023
* fix: create snapshot dir for rocksdb backend (backport cosmos#15054) (cosmos#15065)



* chore: Add check for uneven stores' height (backport cosmos#14410) (cosmos#15115)




* refactor!: remove store v2alpha1 (cosmos#15152)

* build: use cometbft in v0.46 (cosmos#15090)

* chore: bump cometbft to v0.34.27 final (cosmos#15206)

* fix: Change proposer address cast for `sdk_block` conversion (backport cosmos#15243) (cosmos#15245)




* fix: revert double close fix (cosmos#15255)

* chore: prepare v0.46.11 release (cosmos#15259)

* feat: add extend cb to avoid unmarshal state twice for sim test (backport: cosmos#15305) (cosmos#15321)

* feat: add extend cb with genesisState for sim test (backport: cosmos#15305) (cosmos#15349)

* fix: add extra check in vesting (backport cosmos#15373) (cosmos#15383)



* docs: update cosmwasm link (cosmos#15441)

* fix: remove extra `;` in service.proto (cosmos#15443)

* fix: flaky group genesis sim (backport cosmos#15447) (cosmos#15461)



* feat: add delegator to withdraw address (backport cosmos#15462) (cosmos#15473)



* docs: improve proto vesting docs about time attributes (backport cosmos#15474) (cosmos#15481)



* feat: add query `groups` in `x/group` (backport cosmos#14879) (cosmos#15476)




* fix: Makefile rocksdb (backport cosmos#15422) (cosmos#15525)



* fix(x/gov): Return ErrInvalidProposalContent in SubmitProposal when legacy handler returns an error. (backport cosmos#13051) (cosmos#15667)




* fix: remove unnecessary cms typecasting (backport cosmos#14054) (cosmos#15669)




* chore: prepare v0.46.12 release notes (cosmos#15685)

* fix: upstream error on empty version (backport cosmos#13355) (cosmos#15717)




* feat: More flexibility for `CacheMultiStoreWithVersion` (backport cosmos#15683) (cosmos#15775)




* feat: add moduleStateCb to allow access moduleState in sim test (backport cosmos#15903) (cosmos#15925)




* build(deps): bump cometbft to v0.34.28 (cosmos#15973)

* chore(gov): improve proposal conversion error message (backport cosmos#15979) (cosmos#15981)




* feat!: bootstrap comet cmd for local state sync  (backport cosmos#16061) (cosmos#16080)



* chore(auth/vesting): fix typo in `create-period-vesting-account` cmd example (backport cosmos#16085) (cosmos#16087)



* feat: add local snapshots management commands (backport cosmos#16067) (cosmos#16103)





* fix: snapshot commands panic if snapshot don't exists (backport cosmos#16138) (cosmos#16140)





* feat: add Close method for resource cleanup in graceful shutdown (backport cosmos#16193) (cosmos#16205)




* feat: save restored snapshot locally (backport cosmos#16060) (cosmos#16262)




* chore: update sidebar v0.46 (cosmos#16304)

* chore: add baseapp circuit breaker setter (cosmos#16289)



* fix: allow any address in `ValidatePromptAddress` (backport cosmos#16312) (cosmos#16314)



* feat(group): add group event tally result (backport cosmos#16191) (cosmos#16306)





* fix: Revert "fix(x/gov): Return ErrInvalidProposalContent in SubmitProposal when legacy handler returns an error. (backport cosmos#13051) (cosmos#15667)" (cosmos#16331)

* chore: prepare v0.46.13 (cosmos#16249)

* chore: small snapshot commands & docs improvement (backport cosmos#16404) (cosmos#16409)



* Add the quarantine and sanction stores to the import-export sim test.

* refactor: avoid breaking change due to cosmos#16415 included in v0.50 (backport cosmos#16430) (cosmos#16432)




* chore: prepare v0.46.13 (2/2) (cosmos#16443)

* fix: patch barberry (cosmos#16466)

* Better gov prop error handling.

* Fix the group sims random genesis so it can't pick the same account twice for the group policies since that address is the primary key for the table. Also, output the genesis state after it's randomized just like all the other modules do.

* Add changelog entries.

* Regen the swagger docs.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: khanh-notional <50263489+catShaark@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Maksym Hontar <99190705+max-hontar@users.noreply.github.com>
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Javier Su <javier.su.weijie@gmail.com>
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. backport/v0.47.x PR scheduled for inclusion in the v0.47's next stable release backport/0.46.x PR scheduled for inclusion in the v0.46's next stable release T:Bug Type: Build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants