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

V0.47.15 bitsong #23159

Closed
wants to merge 431 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
431 commits
Select commit Hold shift + click to select a range
b6de22a
build(deps): Bump cosmossdk.io/api from 0.3.0 to 0.3.1 (#15103)
dependabot[bot] Feb 20, 2023
9c32873
feat(mempool): priority nonce mempool option with tx replacement (bac…
mergify[bot] Feb 22, 2023
2dc33a5
chore: UX Mempool Tweaks (backport #15121) (#15122)
mergify[bot] Feb 22, 2023
c830dad
build(deps): bump to tagged version of CometBFT in v0.47 (#15119)
julienrbrt Feb 23, 2023
b123507
docs: set proper v0.47.x buf commit (backport #15142) (#15143)
mergify[bot] Feb 23, 2023
a6adb08
fix: Make WithBlockTime() consistent with CometBFT canonical time (ba…
mergify[bot] Feb 24, 2023
54240ec
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.1 to…
dependabot[bot] Feb 28, 2023
546b298
build(deps): Bump github.com/cosmos/gogoproto from 1.4.4 to 1.4.6 (#1…
dependabot[bot] Mar 1, 2023
ffedca8
refactor: add burnable params to governance (backport #15151) (#15218)
mergify[bot] Mar 1, 2023
17134bd
chore: bump cometbft to v0.37.0-rc3 (backport #15220) (#15222)
mergify[bot] Mar 1, 2023
e598472
chore: use rc3 in release/v0.47.x (#15224)
julienrbrt Mar 2, 2023
6ec0e51
docs: update swagger link (#15242)
julienrbrt Mar 2, 2023
e966cf9
fix: Change proposer address cast for `sdk_block` conversion (backpor…
mergify[bot] Mar 2, 2023
2105424
fix: snapshot recover from exporter error (backport #13935) (#15273)
mergify[bot] Mar 6, 2023
c9eb987
build(deps): Bump github.com/cometbft/cometbft from 0.37.0-rc4 to 0.3…
mergify[bot] Mar 6, 2023
818f6a0
feat: Create ABCI++ Verfication Methods (backport #15298) (#15314)
mergify[bot] Mar 8, 2023
7d3bbfb
feat: add extend cb to avoid unmarshal state twice for sim test (back…
mmsqe Mar 9, 2023
60eb4f2
docs: update replace mention in UPGRADING.md (backport #15340) (#15342)
mergify[bot] Mar 10, 2023
57a0e02
chore: clarify some part in UPGRADING.md (backport #15345) (#15350)
mergify[bot] Mar 10, 2023
201256f
fix: delete VotingPeriodProposalKey when deleting proposal (backport …
mergify[bot] Mar 13, 2023
f3f4532
build(deps): Bump cosmossdk.io/math from 1.0.0-beta.6 to 1.0.0-rc.0 (…
dependabot[bot] Mar 13, 2023
828794e
fix: remove previous header in Prepare/Process Proposal + provide cha…
mergify[bot] Mar 13, 2023
3e6bf5c
chore: prepare v0.47.0 release notes (#15374)
julienrbrt Mar 13, 2023
7106134
fix: add extra check in vesting (backport #15373) (#15382)
mergify[bot] Mar 14, 2023
0b276c1
test: regression test on VotingPeriodProposalKey deletion (backport #…
mergify[bot] Mar 14, 2023
5d41589
docs: create autocli documentation (backport #15353) (#15386)
mergify[bot] Mar 14, 2023
b63e55b
docs: fix ordering (backport #15387) (#15389)
mergify[bot] Mar 14, 2023
9acdbb9
build(deps): Bump github.com/cosmos/iavl from 0.20.0-alpha4 to 0.20.0…
dependabot[bot] Mar 14, 2023
7cda0dc
docs: replace `Tendermint` references in docs with `CometBFT` (backpo…
mergify[bot] Mar 14, 2023
b725add
docs: update buf tag (backport #15416) (#15417)
mergify[bot] Mar 16, 2023
bb613ea
docs: update cosmwasm link (backport #15438) (#15440)
mergify[bot] Mar 17, 2023
146d4e2
fix: flaky group genesis sim (backport #15447) (#15460)
mergify[bot] Mar 20, 2023
8862d6e
chore: remove requirement on user ips (backport #15316) (#15466)
mergify[bot] Mar 20, 2023
81d3040
feat: add --initial-height flag to cli init cmd (backport #15147) (#1…
mergify[bot] Mar 20, 2023
e350809
test: fix flaky tests + new method RetryForBlocks (backport #14609) (…
mergify[bot] Mar 20, 2023
cbef7f3
feat: add a new command to list supported algos (backport #14655) (#1…
mergify[bot] Mar 20, 2023
4151a58
feat: add delegator to withdraw address (backport #15462) (#15472)
mergify[bot] Mar 20, 2023
35e4765
feat(gov,cli): Create AddGovPropFlagsToCmd and ReadGovPropFlags. (bac…
mergify[bot] Mar 20, 2023
979adcf
docs: improve proto vesting docs about time attributes (backport #154…
mergify[bot] Mar 20, 2023
a0497b7
feat: add query `groups` in `x/group` (backport #14879) (#15475)
mergify[bot] Mar 20, 2023
cfbd108
docs: update mempool Select godoc (backport #15486) (#15489)
mergify[bot] Mar 20, 2023
13d9376
fix: change the behavior of offline mode correctly (backport #15123) …
mergify[bot] Mar 22, 2023
5a2545d
fix: always reset the state for Prepare and Process Proposal (backpor…
mergify[bot] Mar 22, 2023
df905a7
fix: broken vesting link (#15522)
samricotta Mar 23, 2023
bd64c81
docs: remove ignite cli (backport #15521) (#15523)
mergify[bot] Mar 23, 2023
fddd098
fix: Makefile rocksdb (backport #15422) (#15524)
mergify[bot] Mar 23, 2023
cf646b1
feat(x/bank): update keeper interface to include GetAllDenomMetaData …
mergify[bot] Mar 23, 2023
75eb192
chore: prepare release notes for v0.47.1 (#15535)
julienrbrt Mar 23, 2023
0af178d
build(deps): Bump cosmossdk.io/math from 1.0.0-rc.0 to 1.0.0 (#15536)
dependabot[bot] Mar 23, 2023
418ca33
docs: re-arrange and clarify migration docs (backport #15575) (#15584)
mergify[bot] Mar 28, 2023
b979f8b
feat: auto-set block timestamp for historical queries (backport #1544…
mergify[bot] Mar 28, 2023
602b9d6
chore: bump hashicorp/go-getter to escape antivirus trigger (#15624)
glnro Mar 30, 2023
492ff75
build(deps): Bump github.com/cosmos/gogoproto from 1.4.6 to 1.4.7 (#1…
dependabot[bot] Mar 30, 2023
f501069
fix: accaddr cachefix (backport #15433) (#15652)
mergify[bot] Mar 31, 2023
efaea38
fix: remove unnecessary cms typecasting (backport #14054) (#15668)
mergify[bot] Apr 3, 2023
9cc5531
docs(gov): remove unimplemented section (backport #15697) (#15699)
mergify[bot] Apr 4, 2023
91ca844
ci: backport docker job from main (#15702)
julienrbrt Apr 5, 2023
0867a91
ci: use alpine in dockerfile and bump go version (backport #15703) (#…
mergify[bot] Apr 6, 2023
768876a
build: install necessary deps in docker (backport #15719) (#15720)
mergify[bot] Apr 6, 2023
6422a0c
feat: More flexibility for `CacheMultiStoreWithVersion` (backport #15…
mergify[bot] Apr 11, 2023
89fd78e
fix: use initialHeight correctly (backport #15789) (#15792)
mergify[bot] Apr 11, 2023
2604078
fix: remove unnecessary migration (#15848)
julienrbrt Apr 15, 2023
48d3d99
build(deps): Bump github.com/cosmos/gogoproto from 1.4.7 to 1.4.8 (#1…
dependabot[bot] Apr 19, 2023
967efc6
docs(depinject): explain need `appmodule.Module` interface (backport …
mergify[bot] Apr 19, 2023
e3fce67
fix: list keys output for empty keys (backport #15876) (#15894)
mergify[bot] Apr 19, 2023
0cb3995
feat: add moduleStateCb to allow access moduleState in sim test (back…
mergify[bot] Apr 24, 2023
4656ff7
build(deps): bump cosmossdk.io/core to v0.5.1 (#15918)
faddat Apr 25, 2023
6b30073
feat: update the slashing and evidence modules to work with ICS (back…
mergify[bot] Apr 25, 2023
424afe8
build(deps): bump cometbft to v0.37.1 (backport #15955) (#15957)
mergify[bot] Apr 26, 2023
1f27e70
fix: unique constraint violation for group policy sim genesis (backpo…
mergify[bot] Apr 26, 2023
8f6a94c
chore: prepare v0.47.2 release (#15926)
julienrbrt Apr 26, 2023
6a91c96
chore(gov): improve proposal conversion error message (backport #1597…
mergify[bot] Apr 28, 2023
ec4d9b7
feat: use cosmossdk.io/log in v0.47 (#15984)
julienrbrt Apr 28, 2023
02e7275
fix(x/group): v2 migration (backport #16017) (#16018)
mergify[bot] May 5, 2023
9e63293
ci: bump go in CI (#16050)
julienrbrt May 7, 2023
850bd71
fix: fetch account number/sequence when not in offline mode (backport…
mergify[bot] May 10, 2023
fcb125a
chore(auth/vesting): fix typo in `create-period-vesting-account` cmd …
mergify[bot] May 10, 2023
fdb9fbe
fix: correct path required proto testdata (backport #14991) (#16083)
mergify[bot] May 10, 2023
85fc4af
build(deps): Bump github.com/cosmos/gogoproto from 1.4.8 to 1.4.9 (#1…
dependabot[bot] May 10, 2023
050f03a
feat!: bootstrap comet cmd for local state sync (backport #16061) (#…
mergify[bot] May 11, 2023
6aa7de4
build(deps): Bump github.com/cosmos/gogoproto from 1.4.9 to 1.4.10 (#…
dependabot[bot] May 11, 2023
cbd8a01
feat: add local snapshots management commands (backport #16067) (#16102)
mergify[bot] May 12, 2023
e0866fe
fix: allow non-EOA accounts to stake in simulation (backport #16068) …
mergify[bot] May 12, 2023
55b3847
fix: snapshot commands panic if snapshot don't exists (backport #1613…
mergify[bot] May 13, 2023
83d6005
perf: Remove indentation in REST respones (backport #16142) (#16143)
mergify[bot] May 13, 2023
48c7a92
fix: rename back TxExtensionOptionI (backport #16145) (#16154)
mergify[bot] May 15, 2023
329d7d8
build(deps): Bump cosmossdk.io/math from 1.0.0 to 1.0.1 (#16167)
dependabot[bot] May 15, 2023
273386f
feat: add Close method for resource cleanup in graceful shutdown (bac…
mergify[bot] May 19, 2023
d45f360
feat: save restored snapshot locally (backport #16060) (#16261)
mergify[bot] May 23, 2023
10b3db2
chore: make params module optional in app wiring (backport #16269) (#…
mergify[bot] May 24, 2023
d64fccb
feat(group): add group event tally result (backport #16191) (#16305)
mergify[bot] May 26, 2023
41a32fe
feat(baseapp): add setter for circuit breaker (backport) (#16290)
tac0turtle May 26, 2023
40622ff
fix: allow any address in `ValidatePromptAddress` (backport #16312) (…
mergify[bot] May 26, 2023
6d95900
feat: support extension options for build tx (backport: #15992) (#16317)
mmsqe May 28, 2023
2e70efc
fix: do not overwrite comet config when set in `InterceptConfigsPreRu…
mergify[bot] Jun 1, 2023
2cd72b7
chore: prepare v0.47.3 (#16248)
julienrbrt Jun 2, 2023
616841b
chore: small snapshot commands & docs improvement (backport #16404) (…
mergify[bot] Jun 2, 2023
ba2f1be
chore: change prepare and process proposal to be NoOps by default (ba…
mergify[bot] Jun 2, 2023
dda81a2
refactor: avoid breaking change due to #16415 included in v0.50 (#16430)
julienrbrt Jun 6, 2023
48becdf
docs: improve upgrading.md and changelog (backport #16429) (#16431)
mergify[bot] Jun 6, 2023
3bbc0aa
fix: StateSync Restore by excluding memory store (backport #16449) (#…
mergify[bot] Jun 7, 2023
cfc757d
chore: prepare v0.47.3 (2/2) (#16444)
julienrbrt Jun 8, 2023
666c345
fix: patch barberry (#16465)
julienrbrt Jun 8, 2023
fb08b3c
build(deps): Bump github.com/cometbft/cometbft from 0.37.1 to 0.37.2 …
dependabot[bot] Jun 14, 2023
de4e55d
fix(x/auth): ensure nil .BaseAccounts are reported in ModuleAccount.V…
mergify[bot] Jun 15, 2023
40c4daf
fix: snapshotter's failure is not propogated (backport #16588) (#16603)
mergify[bot] Jun 19, 2023
48c3134
docs: correct comment typo in address.go (backport #16671) (#16675)
mergify[bot] Jun 23, 2023
5802a6b
feat: add configurator config options (backport #16672) (#16704)
mergify[bot] Jun 26, 2023
d681010
feat: add custom max gas for block for sim config (backport #16656) (…
mergify[bot] Jun 28, 2023
398214f
fix(x/slashing): Emit slashing event with the correct reason in Slash…
mergify[bot] Jun 30, 2023
1ee99c0
fix: properly use `--trace` flag (backport #16827) (#16831)
mergify[bot] Jul 4, 2023
54db420
fix(cli): improve `prune` command ux (backport #16856) (#16875)
mergify[bot] Jul 7, 2023
9f23c6e
docs: describe `x/gov` usage on Cosmos Hub (backport #16910) (#16912)
mergify[bot] Jul 10, 2023
af65372
docs: Clarify gov docs (backport #16917) (#16925)
mergify[bot] Jul 11, 2023
031162f
build(deps): Bump cosmossdk.io/errors from 1.0.0-beta.7 to 1.0.0 (#16…
dependabot[bot] Jul 12, 2023
f7b6886
fix: query tx events with `>=` and `<=` operators (backport #16994) (…
mergify[bot] Jul 14, 2023
f922661
docs(group): fix typo in README.md (backport #17009) (#17011)
mergify[bot] Jul 16, 2023
ede074f
docs: change bank multi-send command description (backport #16950) (#…
mergify[bot] Jul 17, 2023
3b509c1
chore: prepare v0.47.4 (#16880)
julienrbrt Jul 17, 2023
a811085
fix: testutil/configurator: correctly create fresh copy of defaultCon…
mergify[bot] Jul 23, 2023
94758c1
docs: improve usage of `:::note` (backport #17132) (#17134)
mergify[bot] Jul 26, 2023
eeee766
fix(simapp): set chain-id on `NewSimApp` for sim bench tests (backpor…
mergify[bot] Jul 26, 2023
1a2ad4f
refactor: hide `--output` flags that don't work (backport #17188) (#1…
mergify[bot] Jul 30, 2023
404815c
fix(x/auth): internal error on AccountInfo when PubKey is nil (backpo…
mergify[bot] Jul 31, 2023
1cc38b9
feat(docker): Add debuging dependencies directly into the dockerfile …
mergify[bot] Jul 31, 2023
2e76cae
feat(gov,group): allow `draft-proposal` to skip metatada prompt (back…
mergify[bot] Aug 1, 2023
66a2b59
build(deps): Bump cosmossdk.io/log from 1.1.1-0.20230704160919-88f2c8…
dependabot[bot] Aug 1, 2023
3eee96d
docs: fix typo in `00-protobuf.md` (backport #17232) (#17272)
mergify[bot] Aug 3, 2023
4c18ff6
fix: check tx gas limit against block gas limit (backport #16547) (#1…
mergify[bot] Aug 3, 2023
b3f0567
refactor: add MigrateHandler to allow reuse migrate genesis related f…
mergify[bot] Aug 7, 2023
4554776
fix: resolve migration map in MigrateHandler (#17301) (backport #1730…
mergify[bot] Aug 7, 2023
56f5b59
fix(runtime): allow to properly register non app wiring modules (back…
mergify[bot] Aug 7, 2023
0f3a2ec
build(deps): Bump cosmossdk.io/depinject from 1.0.0-alpha.3 to 1.0.0-…
dependabot[bot] Aug 9, 2023
a7dffbf
feat(x/gov): Emit VoterAddr (backport #17354) (#17356)
mergify[bot] Aug 11, 2023
6d5a17d
chore: remove sdk from side bar (backport #17374) (#17376)
mergify[bot] Aug 12, 2023
ded6b47
feat(x/gov): add MsgSubmitProposal SetMsgs method (#17387)
julienrbrt Aug 15, 2023
0a28ba9
chore(x/gov): update proposal.json go doc (backport #17397) (#17403)
mergify[bot] Aug 16, 2023
72a6397
fix: use correct config key for db_backend (backport #17406) (#17411)
mergify[bot] Aug 16, 2023
612f0fe
feat: import hex keys (backport #17424) (#17433)
mergify[bot] Aug 17, 2023
32b23f5
feat: add event-query-tx-for cmd to subscribe and wait for transactio…
mergify[bot] Aug 18, 2023
2db1247
build(deps): Bump cosmossdk.io/math from 1.0.1 to 1.1.2 (#17492)
dependabot[bot] Aug 21, 2023
dffcde2
chore(docs): remove deprecated prop type (#17510)
GAtom22 Aug 23, 2023
bdbc1d6
fix(x/authz): GetAuthorizations (backport #17334) (#17524)
mergify[bot] Aug 24, 2023
dea01dd
docs: update x/group create-proposal to submit-proposal (backport #17…
mergify[bot] Aug 25, 2023
4bba75e
docs(x/group): fix submit-proposal help json example (backport #17546…
mergify[bot] Aug 25, 2023
c9144f0
build(deps): Bump cosmossdk.io/log from 1.2.0 to 1.2.1 (#17557)
dependabot[bot] Aug 28, 2023
273bb7d
docs: improve DeductFeeDecorator godoc (backport #17559) (#17590)
mergify[bot] Aug 31, 2023
2e9e5d6
chore: prepare v0.47.5 (#17407)
julienrbrt Aug 31, 2023
ceb1b9d
docs(rosetta): fix documentation (#17610)
fmorency Sep 1, 2023
1dfa761
fix: typo in comment (backport #17635) (#17637)
mergify[bot] Sep 6, 2023
9413cdd
build(deps): Bump github.com/cosmos/iavl from 0.20.0 to 0.20.1 (#17632)
dependabot[bot] Sep 6, 2023
980e17c
fix(config): mempool.max-txs configuration is invalid (backport #1764…
mergify[bot] Sep 7, 2023
c79964c
chore: log panic recovery in runTx (backport: #17556) (#17671)
mmsqe Sep 11, 2023
55aa507
fix: nil pointer ref priority nonce mempool iterator (backport #17668…
mergify[bot] Sep 11, 2023
80705f7
feat(gov): handle panics when executing x/gov proposals (backport #17…
mergify[bot] Sep 18, 2023
c65feec
refactor(store): add missing error checks in store (#17817)
julienrbrt Sep 20, 2023
a6f79a9
fix(baseapp): select txs correctly with no-op mempool (backport #1776…
mergify[bot] Sep 25, 2023
8d6c611
docs: small update for routes change (backport #17881) (#17887)
mergify[bot] Sep 26, 2023
e0ab380
chore: remove duplicate check (#17901)
tac0turtle Sep 27, 2023
f29fcc5
chore: remove tip posthandler (#17902)
tac0turtle Sep 27, 2023
85034c1
chore(auth): return accId in error (backport #17903) (#17906)
mergify[bot] Sep 27, 2023
353ae64
chore(store): check value (backport #17900) (#17908)
mergify[bot] Sep 27, 2023
afd4d9d
refactor(x/gov): remove gov vote and proposal based telemetry (backpo…
mergify[bot] Sep 27, 2023
d7c4bfd
docs: Typo on Application - Specific documentation (backport #17933)…
mergify[bot] Oct 1, 2023
2601e23
chore(staking): add delegator to events (backport #18006) (#18012)
mergify[bot] Oct 9, 2023
7d12782
feat(baseapp): expose `Mempool` (backport #17954) (#18010)
mergify[bot] Oct 9, 2023
02c403f
docs: fix typos (backport #18018) (#18020)
mergify[bot] Oct 9, 2023
d24d469
chore(x/consensus): check for nil params (backport #18041) (#18069)
mergify[bot] Oct 11, 2023
c121fcc
build(deps): bump cosmos/ledger-cosmos-go to v0.12.3 in v0.47 (#18105)
julienrbrt Oct 13, 2023
efa1226
chore: fix comments on bech32 (backport #18114) (#18117)
mergify[bot] Oct 13, 2023
91b44c5
fix(x/bank): miss keypair of SendEnabled to restore legacy param set …
mmsqe Oct 16, 2023
0469b11
build(deps): Bump github.com/cosmos/ledger-cosmos-go from 0.12.3 to 0…
dependabot[bot] Oct 17, 2023
1a306fd
feat(server): start grpc server and register services when starting i…
p-offtermatt Oct 19, 2023
d003fa1
refactor(x/gov): backport MinInitialDepositRatio validation from v0.5…
julienrbrt Oct 20, 2023
362f234
refactor(x/authz): extend validate genesis (backport #18042) (#18208)
mergify[bot] Oct 23, 2023
269a245
fix(authz): check string is not empty (backport #18209) (#18218)
mergify[bot] Oct 23, 2023
98a8bfe
chore(x/upgrade): Use ValidateBasic for Plan in ReadUpgradeInfoFromDi…
mergify[bot] Oct 24, 2023
af758d7
refactor(network): call `app.Close()` on network cleanup (backport #1…
mergify[bot] Oct 25, 2023
8c9ab2c
fix(server): don't hardcode grpc address to localhost (backport #1825…
mergify[bot] Oct 25, 2023
d3c9653
fix: use a lower file permission in file creation (backport #18206) (…
mergify[bot] Oct 26, 2023
00ee987
fix(snapshot): grant execution permissions to the snapshot dir for th…
mergify[bot] Oct 29, 2023
37ad929
build(deps): Bump cosmossdk.io/math from 1.1.2 to 1.2.0 (#18398)
dependabot[bot] Nov 7, 2023
03d578b
chore: prepare v0.47.6 release notes (#18342)
julienrbrt Nov 14, 2023
cb6d235
fix(client/tx): simulate with correct pk (backport #18472) (#18503)
mergify[bot] Nov 17, 2023
60112c6
feat(server): cmd flag to disable colored logs (backport #18478) (#18…
mergify[bot] Nov 19, 2023
d79964b
build(deps): Bump github.com/cometbft/cometbft from 0.37.2 to 0.37.3 …
dependabot[bot] Nov 20, 2023
58b0cdd
Revert "build(deps): Bump github.com/cometbft/cometbft from 0.37.2 to…
julienrbrt Nov 20, 2023
55c6d55
fix(server): properly parse multiple gas config (backport #18537) (#1…
mergify[bot] Nov 22, 2023
044ff4d
build(deps): Bump github.com/cometbft/cometbft from 0.37.2 to 0.37.4 …
dependabot[bot] Nov 27, 2023
3c7a090
feat(x/gov): better gov genesis validation (backport #18707) (#18712)
mergify[bot] Dec 13, 2023
6309fa7
docs: add ante precision (backport #18709) (#18730)
mergify[bot] Dec 13, 2023
371744b
fix(x/auth): remove misleading gas wanted value from tx simulation fa…
mergify[bot] Dec 19, 2023
9c1fa8c
docs: add index page for learn section (backport #18777) (#18779)
mergify[bot] Dec 19, 2023
929e76b
docs: fix for links (backport #18816) (#18819)
mergify[bot] Dec 19, 2023
9e60114
fix(baseapp): Reset GasMeter before deliverTX v0.47.x backport (#18826)
Eric-Warehime Dec 20, 2023
d09f40d
chore: prepare v0.47.7 (#18765)
julienrbrt Dec 20, 2023
b912ccf
feat(client): add `WithFromName` to tx factory (backport #18852) (#18…
mergify[bot] Dec 21, 2023
1b809a4
perf: Speedup coins.Sort() when coins is of length 1 (backport #18875…
mergify[bot] Dec 23, 2023
5d406c1
perf: Speedup DecCoin.Sort() when coins is of length 1 (backport #188…
mergify[bot] Dec 26, 2023
67aee75
fix(server): consensus failure while restart node with wrong `chainId…
atheeshp Jan 3, 2024
bc8f3e6
test: add NodeURI for clientCtx (backport #18930) (#18988)
mergify[bot] Jan 9, 2024
f0a8560
chore: clean-up buf workspace (backport #18993) (#18998)
mergify[bot] Jan 10, 2024
9f277b7
build(deps): Bump cosmossdk.io/log from 1.2.1 to 1.3.0 (#19024)
dependabot[bot] Jan 11, 2024
6aed814
build(deps): Bump cosmossdk.io/errors from 1.0.0 to 1.0.1 (#19025)
dependabot[bot] Jan 11, 2024
1663a59
fix: allow empty public keys when setting signatures (backport #19106…
mergify[bot] Jan 19, 2024
4912bef
chore: prepare v0.47.8 (#19162)
julienrbrt Jan 22, 2024
e62c19c
docs: fix typo in 06-grpc_rest.md (backport #19192) (#19194)
mergify[bot] Jan 23, 2024
2a10f13
fix: skip same-sender non-sequential sequence and then add others txs…
mergify[bot] Jan 29, 2024
0a4370b
test(baseapp): Refactor tx selector tests + better comments (backpor…
mergify[bot] Feb 3, 2024
7df9bac
build(deps): Bump cosmossdk.io/log from 1.3.0 to 1.3.1 (#19359)
dependabot[bot] Feb 6, 2024
d99e1a7
chore: prepare v0.47.9 (#19451)
julienrbrt Feb 18, 2024
f80c985
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.2 to…
dependabot[bot] Feb 19, 2024
5412062
Merge pull request from GHSA-4j93-fm92-rp4m
julienrbrt Feb 19, 2024
f7dc97b
build(deps): Bump cosmossdk.io/math from 1.2.0 to 1.3.0 (#19564)
dependabot[bot] Feb 26, 2024
792b6da
fix: use proper `db_backend` type when reading chain-id (#19573)
k-yang Feb 27, 2024
d1b5b0c
Merge pull request from GHSA-86h5-xcpx-cfqc
catShaark Feb 27, 2024
1cf2940
build(deps): Bump deps (backport #19655) (#19712)
mergify[bot] Mar 11, 2024
6b11b65
fix(x/gov): grpc query tally for failed proposal (backport #19725) (#…
mergify[bot] Mar 12, 2024
b9b1324
fix(crypto): error if incorrect ledger public key (backport #19691) (…
mergify[bot] Mar 13, 2024
cdb519f
build(deps): Bump github.com/cometbft/cometbft from 0.37.4 to 0.37.5 …
dependabot[bot] Mar 14, 2024
af7ff74
fix: Implement gogoproto customtype to secp256r1 keys (backport #2002…
mergify[bot] Apr 14, 2024
f556fd9
fix: secp256r1 json missing quotes (backport #20060) (#20070)
mergify[bot] Apr 17, 2024
5a6bfe2
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.4 to…
dependabot[bot] Apr 19, 2024
6f9f57c
chore: prepare v0.47.11 (#20088)
julienrbrt Apr 19, 2024
3d03c1b
fix: use timestamp for sim log file name (backport #20108) (#20112)
mergify[bot] Apr 21, 2024
b68da64
fix(x/authz,x/feegrant): check blocked address (backport #20102) (#20…
mergify[bot] Apr 22, 2024
9ab21fb
fix(testsuite/sims): set all signatures (backport #20151) (#20186)
mergify[bot] Apr 25, 2024
3150641
build(deps): Bump github.com/cometbft/cometbft from 0.37.5 to 0.37.6 …
dependabot[bot] Apr 29, 2024
c3991b5
go mod tidy
tac0turtle Apr 29, 2024
aba4e40
chore: downgrade to go 1.19 (#20211)
tac0turtle Apr 29, 2024
7428fe0
chore: tidy with go 1.19 (#20220)
tac0turtle Apr 30, 2024
00e4273
chore: revert comet 0.37.6 upgrade due to go version bump (#20247)
tac0turtle May 2, 2024
7009a2e
fix: remove txs from mempool when antehandler fails in recheck (backp…
mergify[bot] May 2, 2024
647907d
refactor(x/authz,x/feegrant): provide updated keeper in depinject (ba…
mergify[bot] Jun 7, 2024
d684290
chore: prepare v0.47.12 (#20476)
julienrbrt Jun 7, 2024
9700678
fix(x/group): orm codespace name (#20750)
robert-zaremba Jun 25, 2024
837751f
build(deps): Bump github.com/cometbft/cometbft from 0.37.5 to 0.37.8 …
dependabot[bot] Jul 2, 2024
1cc3043
Revert "build(deps): Bump github.com/cometbft/cometbft from 0.37.5 to…
tac0turtle Jul 2, 2024
cd3540b
fix(client): panic `math.LegacyDec` deserialization (#20912)
akhilkumarpilli Jul 15, 2024
44c5d17
chore: prepare v0.47.13 (#20949)
julienrbrt Jul 15, 2024
22f669b
build(deps): Bump github.com/cosmos/gogoproto from 1.4.10 to 1.7.0 (#…
dependabot[bot] Aug 14, 2024
b351c77
build(deps): Bump cosmossdk.io/log from 1.3.1 to 1.4.1 (#21349)
dependabot[bot] Aug 19, 2024
6aa3a2b
chore: prepare v0.47.14 (#21500)
julienrbrt Sep 17, 2024
f007a4e
chore: correct date v0.47.14 (#21833)
julienrbrt Sep 20, 2024
2b554fc
build(deps): Bump actions/xxx-artifact from v3 to v4 (#22472)
auricom Nov 8, 2024
7af40a2
build(deps): Bump cosmossdk.io/math from 1.3.0 to 1.4.0 (#22608)
dependabot[bot] Nov 21, 2024
233ea6a
chore: prepare 0.47.15 (#22644)
julienrbrt Dec 9, 2024
37148f6
Merge commit from fork
alpe Dec 16, 2024
f008f84
chore: 0.47.15 release notes (#22896)
julienrbrt Dec 16, 2024
cd7c655
patch stakinghook bug
Jan 2, 2025
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
Prev Previous commit
Next Next commit
fix: allow any address in ValidatePromptAddress (backport #16312) (#…
…16313)

Co-authored-by: Julien Robert <julien@rbrt.fr>
  • Loading branch information
mergify[bot] and julienrbrt authored May 26, 2023
commit 40622ff23e6871609fb5075b058f152baf0226b5
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

### Bug Fixes

* (cli) [#16312](https://github.com/cosmos/cosmos-sdk/pull/16312) Allow any addresses in `client.ValidatePromptAddress`.
* (x/group) [#16017](https://github.com/cosmos/cosmos-sdk/pull/16017) Correctly apply account number in group v2 migration.

### API Breaking Changes
Expand Down
17 changes: 14 additions & 3 deletions client/prompts.go → client/prompt_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,22 @@ func ValidatePromptURL(input string) error {

// ValidatePromptAddress validates that the input is a valid Bech32 address.
func ValidatePromptAddress(input string) error {
if _, err := sdk.AccAddressFromBech32(input); err != nil {
return fmt.Errorf("invalid address: %w", err)
_, err := sdk.AccAddressFromBech32(input)
if err == nil {
return nil
}

return nil
_, err = sdk.ValAddressFromBech32(input)
if err == nil {
return nil
}

_, err = sdk.ConsAddressFromBech32(input)
if err == nil {
return nil
}

return fmt.Errorf("invalid address: %w", err)
}

// ValidatePromptYesNo validates that the input is valid sdk.COins
Expand Down
38 changes: 38 additions & 0 deletions client/prompt_validation_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package client_test

import (
"testing"

"github.com/cosmos/cosmos-sdk/client"
"github.com/stretchr/testify/require"
)

func TestValidatePromptNotEmpty(t *testing.T) {
require := require.New(t)

require.NoError(client.ValidatePromptNotEmpty("foo"))
require.ErrorContains(client.ValidatePromptNotEmpty(""), "input cannot be empty")
}

func TestValidatePromptURL(t *testing.T) {
require := require.New(t)

require.NoError(client.ValidatePromptURL("https://example.com"))
require.ErrorContains(client.ValidatePromptURL("foo"), "invalid URL")
}

func TestValidatePromptAddress(t *testing.T) {
require := require.New(t)

require.NoError(client.ValidatePromptAddress("cosmos1huydeevpz37sd9snkgul6070mstupukw00xkw9"))
require.NoError(client.ValidatePromptAddress("cosmosvaloper1sjllsnramtg3ewxqwwrwjxfgc4n4ef9u2lcnj0"))
require.NoError(client.ValidatePromptAddress("cosmosvalcons1ntk8eualewuprz0gamh8hnvcem2nrcdsgz563h"))
require.ErrorContains(client.ValidatePromptAddress("foo"), "invalid address")
}

func TestValidatePromptCoins(t *testing.T) {
require := require.New(t)

require.NoError(client.ValidatePromptCoins("100stake"))
require.ErrorContains(client.ValidatePromptCoins("foo"), "invalid coins")
}