2011 Commits
Author SHA1 Message Date
nabarun 3bf2a1b689 Fix pagination with filter and offset (#2)
Part of
- https://plan.wireit.in/deepstack/browse/VUL-302/
- LaconicNetwork/zenithd#117
- https://github.com/cosmos/cosmos-sdk/issues/25665

Reviewed-on: https://git.vdb.to/LaconicNetwork/cosmos-sdk/pulls/2
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
2025-12-12 06:59:47 +00:00
908df9d4e2 feat: set signer extraction adapter (backport #25008) (#25012)
Co-authored-by: Vlad J <vladjdk@gmail.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-07-25 18:28:46 +00:00
Tyler c4a14fa7b6 Merge commit from fork
* distr bug

* add changelog and release notes
2025-07-08 07:37:16 -07:00
mergify[bot]andfuder.eth c1ece303dd docs: fix typos in documentation and error messages (backport #24888) (#24889)
Co-authored-by: fuder.eth <139509124+vtjl10@users.noreply.github.com>
2025-06-18 14:00:26 -04:00
Alex | Interchain Labs e265bb9b42 chore: prep v0.53.2 (#24826)
Release / release (push) Has been cancelled
Release / release-success (push) Has been cancelled
2025-06-03 09:38:18 -04:00
Alex | Interchain Labs d55608cf99 chore: prep for v0.53.1 (#24819) 2025-05-30 13:16:00 -04:00
1834f4ccd9 fix(client/v2): improve message parsing by replacing proto.Merge with cloneMessage (backport #24722) (#24818)
Co-authored-by: julienrbrt <julien@rbrt.fr>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Aaron <aaronc@users.noreply.github.com>
2025-05-30 15:18:06 +00:00
mergify[bot]andjulienrbrt c92ff3ab78 ci: remove slack notification (backport #24784) (#24785)
Co-authored-by: julienrbrt <julien@rbrt.fr>
2025-05-28 11:10:17 -04:00
20c63a9d01 fix(x/epochs): fix register of epoch hooks in InvokeSetHooks (backport #24770) (#24779)
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-05-23 11:29:58 -04:00
mergify[bot]andAlex | Interchain Labs abbb0acf5a chore: update to use patched collections (backport #24743) (#24744)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-05-13 18:35:23 +00:00
e4f193fc51 chore: uncomment todo in upgrade systemtest (backport #24724) (#24735)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-05-12 11:56:54 -04:00
c6710e1980 docs: Add Circuit Breaker CLI command examples (backport #24680) (#24731)
Co-authored-by: Avory <avorycorelli@gmail.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-05-12 09:03:57 -04:00
mergify[bot]andAlex | Interchain Labs 07eebe392e chore(baseapp): deprecate invariants (backport #24664) (#24714)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-05-08 17:05:02 +00:00
mergify[bot]andTyler fa2c766025 docs(x/mint): add example for setting custom minter in depinject setups (backport #24715) (#24716)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-05-07 15:12:49 -04:00
mergify[bot]andAlex | Interchain Labs 1228f82ce1 chore: clean up example (backport #24709) (#24710)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-05-06 14:38:02 -04:00
mergify[bot]anddependabot[bot] dcec726d24 build(deps): Bump golang.org/x/crypto from 0.37.0 to 0.38.0 (backport #24701) (#24706)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 13:32:06 +00:00
mergify[bot]anddependabot[bot] b26edff563 build(deps): Bump golang.org/x/sync from 0.13.0 to 0.14.0 (backport #24702) (#24705)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 09:21:27 -04:00
mergify[bot]andGarmashAlex 9631e0c9e6 docs: Update SDK v0.53.0 documentation links (backport #24694) (#24697)
Co-authored-by: GarmashAlex <garmasholeksii@gmail.com>
2025-05-05 15:19:20 -04:00
mergify[bot]andMozirDmitriy ef7c838027 docs: fix broken anchor link in ICS-030 spec (backport #24696) (#24699)
Co-authored-by: MozirDmitriy <dmitriymozir@gmail.com>
2025-05-05 15:06:31 -04:00
mergify[bot]andFT 4f4d71a873 docs: Update GitHub links in app-anatomy.md (backport #24690) (#24691)
Co-authored-by: FT <140458077+zeevick10@users.noreply.github.com>
2025-05-05 11:57:12 -04:00
mergify[bot]andVolodymyrBg 85694fef2d docs: Update SDK v0.53.0 documentation links (backport #24678) (#24692)
Co-authored-by: VolodymyrBg <aqdrgg19@gmail.com>
2025-05-05 11:56:50 -04:00
mergify[bot]andleopardracer 2e961d3d7f docs: Update GitHub links in query lifecycle documentation (backport #24671) (#24687)
Co-authored-by: leopardracer <136604165+leopardracer@users.noreply.github.com>
2025-05-05 10:31:09 -04:00
mergify[bot]andGarmashAlex fda79d0bf4 docs: Fix dead link in 02-sdk-app-architecture.md (backport #24679) (#24688)
Co-authored-by: GarmashAlex <garmasholeksii@gmail.com>
2025-05-05 10:30:54 -04:00
mergify[bot]anddependabot[bot] dcda5d8567 build(deps): Bump actions/create-github-app-token from 2.0.3 to 2.0.6 (backport #24673) (#24686)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 14:18:05 +00:00
f49154bece build(deps): Bump github.com/cockroachdb/errors from 1.11.3 to 1.12.0 (backport #24675) (#24683)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-05-05 14:11:45 +00:00
mergify[bot]anddependabot[bot] d5bf57dd6a build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.8.0 in /x/upgrade (backport #24677) (#24682)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 10:00:47 -04:00
mergify[bot]andfuder.eth 15cdcc2d14 docs: Update SDK documentation links in accounts.md (backport #24666) (#24669)
Co-authored-by: fuder.eth <139509124+vtjl10@users.noreply.github.com>
2025-05-02 15:54:05 -04:00
mergify[bot]andAlex | Interchain Labs 9bbfee1e6a chore: add audit (backport #24653) (#24662)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-05-02 13:37:13 -04:00
mergify[bot]andMaxim Evtush fa31def690 docs: Update SDK v0.53.0 documentation links (backport #24657) (#24661)
Co-authored-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com>
2025-05-02 17:13:31 +00:00
mergify[bot]andFT ad9b52e8a7 docs: Update Cosmos SDK references from v0.50.0-alpha.0 to v0.53.0 (backport #24654) (#24656)
Co-authored-by: FT <140458077+zeevick10@users.noreply.github.com>
2025-05-02 14:49:22 +00:00
mergify[bot]andkilavvy b13daa652a docs: Update BaseApp documentation links to v0.53.0 (backport #24646) (#24652)
Co-authored-by: kilavvy <140459108+kilavvy@users.noreply.github.com>
2025-05-02 10:40:27 -04:00
mergify[bot]andVolodymyrBg 8bca440de0 docs: update SDK reference links to v0.53.0 in 16-testing.md (backport #24650) (#24651)
Co-authored-by: VolodymyrBg <aqdrgg19@gmail.com>
2025-05-02 10:03:31 -04:00
mergify[bot]andGarmashAlex 2394c83b88 docs: fix dead link in 16-testing.md (backport #24643) (#24644)
Co-authored-by: GarmashAlex <garmasholeksii@gmail.com>
2025-05-02 09:44:53 -04:00
mergify[bot]andkilavvy abb47566ac docs: Update CLI documentation links to v0.53.0 (backport #24641) (#24642)
Co-authored-by: kilavvy <140459108+kilavvy@users.noreply.github.com>
2025-05-01 14:28:51 -04:00
mergify[bot]andGarmashAlex c33d4aee04 docs: update SDK reference links to v0.53.0 in module-manager.md (backport #24636) (#24640)
Co-authored-by: GarmashAlex <garmasholeksii@gmail.com>
2025-05-01 16:30:04 +00:00
mergify[bot]andVolodymyrBg 75c1629f14 docs: fix broken link to ARC implementation in interblock-cache.md (backport #24635) (#24637)
Co-authored-by: VolodymyrBg <aqdrgg19@gmail.com>
2025-05-01 12:14:47 -04:00
mergify[bot]andAlex | Interchain Labs 105186a9fb chore: add note in x/staking about reserved keys from LSM modules (backport #24629) (#24631)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-30 14:09:37 -04:00
mergify[bot]andAlex | Interchain Labs be730091aa chore: use latest patch for systemstest (backport #24621) (#24627)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-30 16:12:46 +00:00
mergify[bot]andFT 440eff1806 docs: Update documentation links to v0.53.0-rc.2 (backport #24623) (#24626)
Co-authored-by: FT <140458077+zeevick10@users.noreply.github.com>
2025-04-30 12:01:19 -04:00
mergify[bot]andTyler ba118bf136 chore: update simapp and tests go mod with new client tag (backport #24619) (#24620)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-29 20:21:25 +00:00
mergify[bot]andAlex | Interchain Labs 61edea8f94 chore: use final tags (backport #24617) (#24618)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-29 15:57:16 -04:00
mergify[bot]andAlex | Interchain Labs 59019212f0 chore: all modules use v0.53.0 (backport #24614) (#24615)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-29 19:23:16 +00:00
mergify[bot]andAlex | Interchain Labs bcaf7378ad chore: audit epoch (backport #24610) (#24613)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-29 18:26:37 +00:00
mergify[bot]andAlex | Interchain Labs 81b5b751ce docs: protocolpool wiring (backport #24607) (#24611)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-29 12:59:02 -04:00
Alex | Interchain Labs c1d1e6893b chore: release prep (#24605) 2025-04-29 10:33:14 -04:00
25a12b9f23 build(deps): Bump go.uber.org/mock from 0.5.1 to 0.5.2 (backport #24600) (#24604)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-04-29 09:56:10 -04:00
Alex | Interchain Labs e1b53c6c9d fix: update x/protocolpool to use passed codecs to avoid nil pointer (#24594) 2025-04-28 22:59:28 +00:00
Alex | Interchain Labs 8475a2ba1a chore: deps bump pre 53 (#24584) 2025-04-28 22:59:08 +00:00
Alex | Interchain Labs 36e90bb980 chore: fixes from diff review (#24595) 2025-04-28 22:38:57 +00:00
mmsqe d12df8085b fix(systemtests): avoid fund get removed with larger expiry for protocolpool (#24596) 2025-04-28 20:57:06 +00:00
f9f3bfb066 fix: do not allow unordered txs to have sequence values set (#24581)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2025-04-28 20:55:05 +00:00
TylerandAaron Craelius a158c24b38 refactor: unordered transactions ante handling (#24573)
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2025-04-28 20:30:01 +00:00
Alex | Interchain Labs a21b5ef111 chore: check if fund exists for CancelContinuousFund in x/protocolpool (#24560) 2025-04-28 20:12:50 +00:00
Alex | Interchain Labs 018f9e1a1d chore: prep client/v2 for release (#24540) 2025-04-28 15:00:56 +00:00
Tyler f5600147e5 fix: use unix nano in mempool for unordered nonces (#24579) 2025-04-25 20:35:24 +00:00
Alex | Interchain Labs 64abdf239e Update RELEASE_NOTES.md 2025-04-25 14:12:13 -04:00
Alex | Interchain Labs 4846e807f1 chore: fix autocli test (#24569) 2025-04-24 19:47:36 +00:00
Tyler e2c7604df0 refactor(client): change flag for unordered tx timeouts (#24561) 2025-04-24 14:22:06 -04:00
fuder.eth 03e534a2c1 docs: Update SDK version references from v0.50.0-alpha.0 to v0.53.0-rc.2 in documentation (#24562) 2025-04-24 10:38:27 -04:00
Alex | Interchain Labs bb91d18a01 fix: add check for duplicate continuous fund in x/protocolpool genesis (#24559) 2025-04-23 21:10:52 +00:00
closeobserveandAlex | Interchain Labs 6a54aaa90e chore: use slices.Contains to simplify code (#24499)
Signed-off-by: closeobserve <pingcap@yahoo.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-23 14:54:37 +00:00
3b90ba4ef3 fix(auth): support legacy global AccountNumber when query historical state (port #23743) (#24533)
Co-authored-by: HuangYi <huang@crypto.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-23 14:53:36 +00:00
39bdcc7fc2 build(deps): Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 in /x/upgrade in the go_modules group (#24556)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-23 14:37:43 +00:00
81aad93381 build(deps): Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 in /tests in the go_modules group (#24555)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-23 14:37:17 +00:00
Maxim Evtush 153f8c250e docs: Update Documentation Links to Latest Version (#24546) 2025-04-23 14:21:03 +00:00
dependabot[bot]anddependabot[bot] 898d789363 build(deps): Bump google.golang.org/grpc from 1.71.1 to 1.72.0 in /tools/benchmark (#24553)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-04-23 14:17:46 +00:00
Alex | Interchain Labs c2e66d630f chore: clean up some workflows and templates (#24542) 2025-04-17 19:14:13 +00:00
Tyler 2e7bed9e72 chore: add telemetry measurement to x/auth PreBlocker (#24541) 2025-04-17 18:02:17 +00:00
beer-1 553f8955c3 fix: incorrect retention height when commitHeight equals minRetainBlocks (#24526) 2025-04-17 16:11:35 +00:00
Maxim EvtushandAlex | Interchain Labs 6b723d2dd7 docs: Update doc links from v0.50.0-alpha.0 to v0.53.0-rc.2 (#24521)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-17 15:06:32 +00:00
dependabot[bot] 4694c46980 build(deps): Bump http-proxy-middleware from 2.0.7 to 2.0.9 in /docs in the npm_and_yarn group across 1 directory (#24538)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 10:59:16 -04:00
Alex | Interchain Labs c360fc3b90 chore: clean up nightly sims workflows (#24536) 2025-04-16 23:30:50 +00:00
Tyler e79ca47a91 docs: update simulation docs (#24529) 2025-04-16 15:44:36 +00:00
Alex | Interchain Labs adae979132 chore: use new tags (#24518) 2025-04-16 10:56:07 -04:00
Đông LiềuandTyler 0846f9a3c7 fix(x/gov): Do not call Remove during Walk (#24460)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-15 16:54:51 +00:00
Alex | Interchain Labs ccd37e1d99 chore: prep x/tx for release (#24513) 2025-04-14 21:44:46 +00:00
Alex | Interchain Labs 8d944a01a5 chore: remove issue labeler (#24516) 2025-04-14 21:44:24 +00:00
Alex | Interchain Labs 6a8fcc790d chore: prep systemstest (#24514) 2025-04-14 21:43:50 +00:00
kilavvy 7e5e8dc44b docs: update documentation links (#24497) 2025-04-14 17:34:21 +00:00
Alex | Interchain Labs b55b9e14fb chore: move simsx to testutil (#24481) 2025-04-14 17:30:59 +00:00
Alex | Interchain LabsandTyler c5cbda08f2 feat: custom x/mint minting function (#24436)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-14 15:58:34 +00:00
Ruslan 2bca0bf2fa docs: overview link fix (#24496) 2025-04-14 15:54:26 +00:00
Hung Dinh | DecentrioandAlex | Interchain Labs e2aa8474a5 test(integration/tx): Add tx simulate benchmark test (#24462)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-14 15:46:01 +00:00
TylerandAlex | Interchain Labs b8723adca1 docs: add docs about x/gov new option (#24493)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-14 14:07:57 +00:00
Tyler c463a6237c docs: link to cosmos EVM docs (#24494) 2025-04-14 13:58:59 +00:00
leopardracer 3037346f36 docs: Update documentation links from v0.50.0-alpha.0 to v0.53.0-rc.2 (#24487) 2025-04-11 16:29:47 +00:00
3d8c846802 perf(bank): Reduce the number of ValidateDenom calls in Coin and Bank (#24431)
Co-authored-by: Tuan Tran <tuantran@notional.ventures>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-11 16:25:51 +00:00
Alex | Interchain Labs 9236abd4a5 chore: use v0.53.0-rc.3 tag (#24471) 2025-04-11 16:03:53 +00:00
Alexander PetersandAlex | Interchain Labs f18c6ea274 feat(api): Add block height to response headers (#24428)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-10 20:47:33 +00:00
1e92c9c7b7 build(deps): Bump cosmossdk.io/schema from 1.0.0 to 1.1.0 in /collections (#24473)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-10 20:42:03 +00:00
b881ed792d build(deps): Bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 in /tools/cosmovisor (#24478)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-10 20:29:37 +00:00
VolodymyrBg d7dc912309 docs: update reference to v50 in x/auth (#24466) 2025-04-10 19:58:32 +00:00
Alex | Interchain Labs 0d616c9659 chore: clean up workflows (#24470) 2025-04-10 18:57:12 +00:00
Hung Dinh | DecentrioandAlex | Interchain Labs 9b1246d714 docs(math): update decimal-handling.md to reflect Dec removal (#24444)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-10 18:33:07 +00:00
dependabot[bot]andAlex | Interchain Labs 84e3fe39e2 build(deps): Bump rtCamp/action-slack-notify from 2.3.2 to 2.3.3 (#24457)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-10 18:13:49 +00:00
FT 4b47a1de7b docs: Update Cosmos SDK references in gas fees documentation (#24459) 2025-04-10 16:23:48 +00:00
Jack Squire 7926e0e46d docs(CONTRIBUTING.md): mergify.io link fix (#24465) 2025-04-10 16:21:32 +00:00
dependabot[bot]anddependabot[bot] 53d811347a build(deps): Bump github.com/magiconair/properties from 1.8.9 to 1.8.10 (#24456)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-04-10 16:18:14 +00:00
Tyler c6fe679d17 chore: add example yaml app (#24453) 2025-04-09 21:18:49 +00:00
Alex | Interchain LabsandJulián Toledano e7bcfc23b4 fix(x/tx): add feePayer as signer (#22311) BACKPORT (#24408)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
2025-04-09 20:58:23 +00:00
julienrbrt 73bedad9ad fix(client/v2): add fallbacks when incorrect protos (#24449) 2025-04-09 16:45:14 -04:00
6a1ec1bfc0 docs: runtime docs + fix runtime missing field (#22816) (#24429)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-09 18:11:21 +00:00
Alexander PetersandAlex | Interchain Labs 65acc32084 chore(staking): Replace panics with error results; more verbose error messages (#24391)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-09 17:33:38 +00:00
Alex | Interchain Labs 49862cc712 chore: add a logged warning for merged proto registry when creating baseapp (#24450) 2025-04-09 17:21:00 +00:00
dependabot[bot]andAlex | Interchain Labs a0a79bee9a build(deps): Bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0 (#24443)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-09 10:34:48 -04:00
leopardracer 55d94f4f6b docs: update documentation links to v0.53.0-rc.2 (#24445) 2025-04-09 09:14:01 -04:00
TylerandAlex | Interchain Labs 29083cb75f docs: unordered txs (#24419)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-08 19:19:17 +00:00
Tyler 2f2fff2e9e docs: fix ToC linking in upgrade guide (#24434) 2025-04-08 17:29:31 +00:00
dependabot[bot]anddependabot[bot] 459800159b build(deps): Bump go.uber.org/mock from 0.5.0 to 0.5.1 (#24421)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-04-08 15:28:34 +00:00
dependabot[bot]andAlex | Interchain Labs d3ab67b1d2 build(deps): Bump estree-util-value-to-estree from 3.3.2 to 3.3.3 in /docs in the npm_and_yarn group across 1 directory (#24422)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-08 11:25:05 -04:00
cc06af64c0 build(deps): Bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4 in /tools/confix (#24425)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-08 14:53:49 +00:00
Tyler 63329c1423 docs: update docs with fixes from main-backup [part 1] (#24418) 2025-04-08 10:49:22 -04:00
Tyler 43f8fa1136 docs: explicit warnings about using external community pool with x/distribution (#24398) 2025-04-08 10:44:25 -04:00
Alex | Interchain Labs c755efef89 chore: clean up buf warnings when running make proto-all (#24416) 2025-04-08 14:01:24 +00:00
Tomás AndróilandAlex | Interchain Labs 3f887cd947 docs(errors): update and unify error comments in errors.go (#24405)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-07 17:24:27 +00:00
9072117d31 build(deps): Bump golang.org/x/crypto from 0.36.0 to 0.37.0 (#24401)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-07 13:25:08 -04:00
Alex | Interchain LabsandMatt Kocubinski 84deebac66 fix(x/tx): fallback to injected resolver for placeholder descriptors BACKPORT (#24409)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2025-04-07 17:20:48 +00:00
TylerandAlex | Interchain Labs 0afb905b9b docs: web link to ADRs (#24396)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-07 11:03:56 -04:00
be20b26c8b build(deps): Bump golang.org/x/sync from 0.12.0 to 0.13.0 (#24402)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-07 13:27:40 +00:00
dependabot[bot]andAlex | Interchain Labs a7609364e8 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.53.0-rc.1 to 0.53.0-rc.2 in /x/nft (#24403)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-07 13:19:18 +00:00
leopardracerandAlex | Interchain Labs f4f9fd6c40 docs: update references from app_v2 to app_d1 in documentation and code comments (#24400)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-07 09:18:23 -04:00
healthyyyoungandAlex | Interchain Labs 61f4c3b71b chore(tx): use buffer byte slice method directly (#24350)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-07 13:09:44 +00:00
Alex | Interchain LabsandTyler ed70bf336f feat: custom gov tally fn (#24355)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-07 12:51:09 +00:00
Alex | Interchain Labs 640e70736e chore: use latest math (#24395) 2025-04-04 19:27:17 +00:00
Alex | Interchain Labs 2c6117e820 refactor: remove Dec type (#24375) 2025-04-04 15:00:25 -04:00
b49e864cf8 perf(staking): optimize endblock by reducing bech32 conversions (#24354)
Co-authored-by: Dev Ojha <dojha@berkeley.edu>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-04 18:55:29 +00:00
Tyler f758346dd5 docs: clean up app wiring docs (#24393) 2025-04-04 18:52:04 +00:00
dependabot[bot]andAlex | Interchain Labs b0057cc941 build(deps): Bump actions/create-github-app-token from 1.12.0 to 2.0.2 (#24382)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-04 11:15:10 -04:00
dependabot[bot]andAlex | Interchain Labs 197119d501 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.53.0-rc.1 to 0.53.0-rc.2 in /tools/cosmovisor (#24384)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-04 14:05:31 +00:00
Alex | Interchain Labs 427cbeed83 fix: vuln check workflow (#24389) 2025-04-04 10:09:12 -04:00
e29139fe83 fix(baseapp): Fix post handler error always results in code 1 (#24261)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-04 13:57:08 +00:00
TylerandAlex | Interchain Labs 0d68f6586e docs: include upgrade reference in docs (#24380)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-04 09:46:04 -04:00
Alex | Interchain Labs 405f29d755 chore: use new depinject tag (#24377) 2025-04-04 13:36:47 +00:00
kakyshaandAlex | Interchain Labs d6f3ede8dc fix(t/tx): fix data race for "err" shared variable in getSignersFunc (#24344)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-03 16:33:25 -04:00
4215914f6b feat(client/v2): support definitions of inner messages (cherry-pick #22890) (#24366)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-03 20:02:32 +00:00
Tyler 37d65402a2 docs: fixes from v53 branch (#24373) 2025-04-03 19:54:07 +00:00
julienrbrtandAlex | Interchain Labs 28c50a4ab1 fix(proto): set added_in annotations (#24358)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-03 14:34:31 -04:00
healthyyyoungandAlex | Interchain Labs 709c0c186b chore: replace strings.SplitN(arg, sep, 2) with strings.Cut(arg, sep) (#24147)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-03 17:15:34 +00:00
julienrbrtandAlex | Interchain Labs a2cf15cd38 feat(client/v2): support gov proposals (cherry-pick #18461) (#24359)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-03 14:52:56 +00:00
877b4fb2dc fix(cosmovisor): Fix consensus failure lottery (#24262)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Zygimantas <zygis@skip.build>
2025-04-03 14:45:06 +00:00
Alex | Interchain Labs 3c6deab626 chore: run modernize (#24356) 2025-04-03 10:42:20 -04:00
julienrbrt df07789843 fix(client/v2): *big.Int unmarshal (cherry-pick #21853) (#24361) 2025-04-03 10:02:26 -04:00
167f3f12e2 refactor: migrate codec/types to type aliases, remove depinject dep on sdk (#24336)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-04-02 23:37:19 +00:00
Đông Liều 41e3e9d004 feat(math/Dec): Add comparison and utility APIs MinDec, MaxDec, Neg(), Abs(), GT(), GTE(), LT(), LTE() (#24343) 2025-04-02 17:28:10 +00:00
dependabot[bot] 11c41291a4 build(deps): Bump image-size from 1.2.0 to 1.2.1 in /docs in the npm_and_yarn group across 1 directory (#24353)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-02 12:49:45 -04:00
3ec128b4d1 feat(client): add default key name (backport #18101) (#24332)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-02 15:03:54 +00:00
Alexander PetersandAlex | Interchain Labs ea908cef68 feat(sims): Add simsx support to modules (#24145)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-02 13:23:36 +00:00
dependabot[bot]andaljo242 99da3279be build(deps): Bump github.com/cosmos/cosmos-sdk from 0.53.0-rc.1 to 0.53.0-rc.2 in /tools/benchmark (#24340)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-04-02 13:23:07 +00:00
dependabot[bot]andaljo242 4a467194e6 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.53.0-rc.1 to 0.53.0-rc.2 in /x/feegrant (#24339)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-04-02 13:22:47 +00:00
dependabot[bot]andaljo242 f5d1033c74 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.53.0-rc.1 to 0.53.0-rc.2 in /client/v2 (#24338)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-04-02 13:22:32 +00:00
dependabot[bot] 64200a3dd0 build(deps): Bump rtCamp/action-slack-notify from 2.2.0 to 2.3.2 (#24337)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-02 09:09:34 -04:00
Tyler 715192db5d docs: upgrade guide (#24333) 2025-04-01 21:34:27 +00:00
aljo242 9c15a2af47 update 2025-04-01 16:49:00 -04:00
TronicaandAlex | Interchain Labs bf679429c9 test: fix output formatting, typo corrections, and test case expectations in dec tests (#24325)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 20:37:03 +00:00
Danilo PantaniandAlex | Interchain Labs 6555c98d09 fix: use the gogoproto merge registry as a file resolver instead of the interface registry (#24330)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 20:36:40 +00:00
mergify[bot] 03009a01e0 fix(x/auth): set from flag in multi-sign command (backport #19239) (backport #24265) (#24331)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-04-01 18:47:29 +00:00
TylerandAlex | Interchain Labs d47a35a93a docs: v0.53.x upgrade guide (#24245)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 18:01:05 +00:00
Alex | Interchain Labs 3bc29ba2aa chore: update the core and collections deps (#24324) 2025-04-01 13:49:55 -04:00
dependabot[bot] 8daa95bb98 build(deps): Bump the npm_and_yarn group across 1 directory with 8 updates (#24328)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 13:49:43 -04:00
Alex | Interchain Labs 3b7cd13d2a chore: update deps to silence dependatbot (#24327) 2025-04-01 17:41:30 +00:00
62ca4df2b9 docs(math): backport decimal-handling.md (#24312)
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
Co-authored-by: samricotta <samanthalricotta@gmail.com>
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 13:20:29 -04:00
dependabot[bot] 4e3d70d509 build(deps): Bump the npm_and_yarn group across 1 directory with 16 updates (#24323)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 12:53:20 -04:00
dependabot[bot]andAlex | Interchain Labs eea1a6cb52 build(deps): Bump actions/setup-go from 4 to 5 (#24272)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 12:34:47 -04:00
dependabot[bot]andAlex | Interchain Labs 254e62ff3f build(deps): Bump actions/cache from 3 to 4 (#24268)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 12:34:11 -04:00
dependabot[bot] 877708b20e build(deps): Bump github/codeql-action from 2 to 3 (#24270)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 12:33:27 -04:00
dependabot[bot]andAlex | Interchain Labs b00541c60c build(deps): Bump nanoid from 3.3.6 to 3.3.11 in /docs (#24294)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 12:31:40 -04:00
dependabot[bot]andAlex | Interchain Labs 70d69096fd build(deps): Bump serialize-javascript from 6.0.0 to 6.0.2 in /docs (#24300)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 12:31:18 -04:00
dependabot[bot]andAlex | Interchain Labs 9e3babd22c build(deps): Bump @babel/helpers from 7.19.4 to 7.27.0 in /docs (#24309)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 12:29:49 -04:00
dependabot[bot]andAlex | Interchain Labs 3bcf8c33e4 build(deps): Bump actions/setup-node from 3 to 4 (#24282)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 12:29:18 -04:00
dependabot[bot]andAlex | Interchain Labs c2da4bb3e0 build(deps): Bump @babel/runtime-corejs3 from 7.19.4 to 7.27.0 in /docs (#24308)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 12:28:42 -04:00
dependabot[bot] a5b30744e6 build(deps): Bump cross-spawn from 7.0.3 to 7.0.6 in /docs (#24307)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 12:28:23 -04:00
dependabot[bot]andAlex | Interchain Labs 71142ab6ce build(deps): Bump actions/checkout from 3 to 4 (#24276)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 12:28:02 -04:00
dependabot[bot] 60de271388 build(deps): Bump prismjs from 1.29.0 to 1.30.0 in /docs (#24303)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 12:16:36 -04:00
Alex | Interchain Labs 29f7446e2c Merge pull request #24187 from cosmos/v53-set
chore: set `main` to `release/v0.53.x`
2025-04-01 12:12:30 -04:00
aljo242 069b3a12ae Merge branch 'release/v0.53.x' into v53-set 2025-04-01 12:04:32 -04:00
a53a593da1 feat: make 0.53 compatible with core-less collections v1.2.x (#24088)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 15:57:11 +00:00
aljo242 2faea825dc Merge branch 'release/v0.53.x' into v53-set 2025-04-01 11:17:01 -04:00
9c568bb511 build(deps): Bump gaurav-nelson/github-action-markdown-link-check from 1.0.16 to 1.0.17 (backport #24246) (#24264)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-04-01 14:54:31 +00:00
luozexuan ac90304f4d chore: fix some function names in comment (#24263)
Signed-off-by: luozexuan <fetchcode@139.com>
2025-04-01 14:48:58 +00:00
dependabot[bot] 6b2861f0c0 build(deps): Bump gaurav-nelson/github-action-markdown-link-check from 1.0.16 to 1.0.17 (#24246)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 10:48:29 -04:00
Alexander Peters b25ecf398e test(client/rpc): Fix flacky RPC client test (#24260) 2025-04-01 14:47:25 +00:00
Alex | Interchain Labs 76a25e022c chore: use rc tags (#24244) 2025-04-01 14:46:11 +00:00
Alex | Interchain Labs 33220c17b5 chore: use sdk release tag (#24243) 2025-03-31 21:00:43 +00:00
aljo242 94ce924ea2 Merge branch 'release/v0.53.x' into v53-set 2025-03-31 15:56:43 -04:00
Alex | Interchain Labs a6faafb107 chore: use latest store (#24240) 2025-03-31 19:50:38 +00:00
aljo242 232353847d Merge branch 'release/v0.53.x' into v53-set 2025-03-31 15:17:49 -04:00
Alex | Interchain Labs 59559e2f35 chore: use cosmossdk.io/api v0.9.0 (#24230) 2025-03-31 17:24:56 +00:00
Alex | Interchain LabsandTyler 93ecb7c84b chore: prep store for v1.1.2 (#24231)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-31 17:02:29 +00:00
Alex | Interchain Labs ec1d27bedf chore: use math v1.5.1 (#24186) 2025-03-31 16:45:04 +00:00
Alex | Interchain Labs 005937547f feat: create and test migration from LegacyDec->Dec (#24229) 2025-03-31 16:43:47 +00:00
aljo242 51bb39f099 Merge branch 'release/v0.53.x' into v53-set 2025-03-31 12:31:21 -04:00
lido333andAlex | Interchain Labs 8cd9b20cbc chore: slices Delete (#24164)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-31 16:26:44 +00:00
Alex | Interchain Labs f55595fcc9 chore: prep api for release (#24227) 2025-03-31 15:34:28 +00:00
aljo242 9115cfcbbe Merge branch 'release/v0.53.x' into v53-set 2025-03-31 10:26:07 -04:00
Đông Liều cc14f21cef fix(x/auth): ensure the elements of do not exceed 1000 (#24208) 2025-03-31 14:07:45 +00:00
aljo242 8b15e0fc5f Merge release/v0.53.x into main to reset content 2025-03-29 23:09:52 -04:00
4f445ed933 refactor(baseapp): create checktx handler (#24069)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-29 19:45:41 +00:00
Alex | Interchain LabsandTyler d68d169a63 feat: add x/protocolpool (#23933)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-29 19:45:39 +00:00
Alex | Interchain LabsandTyler edd47822b5 chore: prep math for v1.5.1 (#24185)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-29 01:12:55 +00:00
Alex | Interchain Labs 056bcd7022 test: example upgrade handler and systems test (#24182) 2025-03-29 00:46:08 +00:00
Alex | Interchain Labs e85a5c0bc1 chore: use latest errors (#24184) 2025-03-29 00:44:32 +00:00
Alex | Interchain Labs e8d366e733 chore: bump linter (#24180) 2025-03-29 00:38:08 +00:00
2ccf08a3fe refactor(collections): remove core dependency (#24081)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-28 22:22:27 +00:00
Alex | Interchain Labs a340fa39d0 chore: use latest log tag (#24183) 2025-03-28 20:00:12 +00:00
Alex | Interchain Labs f7aa70a492 Update CHANGELOG.md 2025-03-28 15:01:17 -04:00
Alex | Interchain Labs 2fd5341a07 chore: dependency prep (#24179) 2025-03-28 16:55:56 +00:00
Alexander PetersandAlex | Interchain Labs 150f12e4ad feat(sims): introduce message factories/ simsx (#24126)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-28 16:08:23 +00:00
mmsqe a3e6264416 fix(test): to avoid reusing previous store across upgrade test (#24170) 2025-03-28 10:13:47 -04:00
0fbbf26f63 feat(baseapp): extend abci listeners in streaming manager (backport #24160) (#24163)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-27 19:05:55 +00:00
Tyler cfda49b436 fix: prune cmd should disable async pruning (#24090) 2025-03-27 18:43:27 +00:00
lido333 d2ac39cb46 refactor: slices.Contains (#24162) 2025-03-27 16:54:37 +00:00
193a7390c4 refactor(client): check name validation for keys add|import|rename (backport #18950) (#24152)
Co-authored-by: levisyin <150114626+levisyin@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-27 16:40:47 +00:00
mmsqeandyihuang ab8b878f57 feat(baseapp): extend abci listeners in streaming manager (#24160)
Co-authored-by: yihuang <huang@crypto.com>
2025-03-27 12:05:12 -04:00
f4f9ea5a4a feat(client/keys): check multisig key duplicate (backport #18703) (#24153)
Co-authored-by: levisyin <150114626+levisyin@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-27 15:43:01 +00:00
fc725a35d6 feat(client/keys): add --yes option to keys export and keys mnemonic (backport #18745) (#24154)
Co-authored-by: levisyin <150114626+levisyin@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-27 03:10:13 +00:00
0f52ccd54a test: add test to ensure timeout timestamp can be encoded/decoded in txs (#24103)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-26 18:25:06 +00:00
lido333 a8e44c6a80 chore: clean utils's SliceContains (#24149) 2025-03-26 17:58:48 +00:00
16f1b61de5 feat(grpc): adds error handling for out-of-gas panics in grpc query handlers (#24073)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-26 15:25:49 +00:00
Đông LiềuandAlex | Interchain Labs 2bf3947ce9 feat(types): Implement .IsGT for types.Coin (#24093)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-26 04:44:28 +00:00
a2b7cea8a7 chore: update error message in SetCMS (backport #23951) (#24083)
Co-authored-by: Tristav <124001124+Pricstas@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-25 21:05:23 +00:00
8a54f41c7d refactor(x/bank): swap sendrestriction check in InputOutputCoins (backport #21976) (#24053)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-25 21:04:33 +00:00
Alex | Interchain Labs f78a75ce96 chore: actually fix gosec (#24133) 2025-03-25 16:01:03 -04:00
Alex | Interchain Labs 7ccf478fd6 ci: fix gosec (#24132) 2025-03-25 15:27:54 -04:00
49be51a951 refactor(proto): Use cosmos_proto added_in annotation instead comments (#24105)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-25 17:57:47 +00:00
7827aee97b fix(sims): Minor fixes (#24095)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-25 17:45:55 +00:00
quantix9andTyler 5254d57c5b chore(all): modernized code with slices (#24125)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-25 17:31:32 +00:00
Đông Liều 731d9305ff feat(x/bank): Placing SendRestriction before Deduction of Coins in SendCoins (#24106) 2025-03-25 17:06:16 +00:00
2be528f04f fix(server): allow align block header with skip check heaader in grpc server (#24068)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-25 16:54:43 +00:00
MarkoandTyler d6fca6a5b6 feat: allow ed25519 signatures in txs (#24030)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-25 16:23:23 +00:00
Tyler e64ed5ef2d chore: gen mocks (#24129) 2025-03-25 16:08:16 +00:00
Alex | Interchain Labs b7a20b81f6 chore: lint v2 (#24118) 2025-03-25 15:57:24 +00:00
quantix9 9acd7716dd chore(all): modernized code with built-in min/max (#24124) 2025-03-25 11:43:05 -04:00
Tyler 94068be123 refactor: PoC for unordered txs per new spec (#24010) 2025-03-24 21:49:52 +00:00
riyueguang 6fc8d0dc64 refactor: use the built-in max/min to simplify the code (#24112)
Signed-off-by: riyueguang <rustruby@outlook.com>
2025-03-24 17:35:40 +00:00
Hoang DoandAlex | Interchain Labs 85a33eb62b chore(testutil): remove unnecessary error check (#24107)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-24 09:35:09 -07:00
9b2e91fbf9 fix: Do not call Remove during Walk (#24044)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-24 15:18:59 +00:00
Đông LiềuandAlex | Interchain Labs e9fffcc4a7 feat(client/keys): add support for importing hex key using standard input (#24071)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-24 14:48:21 +00:00
mergify[bot]andmmsqe ddce50f42e fix(test): avoid panic of SetStreamingManager() on sealed BaseApp (backport #24109) (#24110)
Co-authored-by: mmsqe <mavis@crypto.com>
2025-03-24 10:36:26 -04:00
mmsqe da5a74da3b fix(test): avoid panic of SetStreamingManager() on sealed BaseApp (#24109) 2025-03-24 10:04:55 -04:00
Hoang DoandAlex | Interchain Labs f0bc9af678 feat(types): Add a ValueCodec for Uint complex type (#24070)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-24 09:59:00 -04:00
Alex | Interchain Labs 7fd79df4e1 chore: fix all linting (#24101) 2025-03-21 15:04:36 -07:00
mergify[bot]anddependabot[bot] b7fb7f4858 build(deps): Bump actions/create-github-app-token from 1.11.6 to 1.11.7 (backport #24091) (#24097)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-21 17:04:54 -04:00
b3342d9962 refactor(cosmovisor): get block height from db after node execution fails (#23720)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-21 18:37:59 +00:00
Alexander PetersandAlex | Interchain Labs bc57ce3ba7 perf: Replace runsim with Go stdlib testing (#24045)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-21 15:48:00 +00:00
linghuyingandAlex | Interchain Labs b7c35f2568 refactor(simapp): use maps.Clone to simplify the code (#24077)
Signed-off-by: linghuying <1599935829@qq.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-21 11:36:39 -04:00
454467d081 feat(crypto/keyring): expose db keyring used in the keystore (#24040)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-21 11:04:30 -04:00
dependabot[bot] cc545340ca build(deps): Bump actions/create-github-app-token from 1.11.6 to 1.11.7 (#24091)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-21 09:29:00 -04:00
healthyyyoungandAlex | Interchain Labs f6fa4f25bd refactor(store): use map.Copy for cleaner map handling (#24076)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-20 22:22:52 +00:00
Tyler 73e2bba699 ci: try running lint with just --new flag (#24089) 2025-03-20 15:12:40 -07:00
Tyler ad574ef276 fix(scripts): lint scripts display different output in local vs CI (#24087) 2025-03-20 17:32:05 -04:00
Alex | Interchain Labs 1c47307bfd chore: fix proto building warning (#24086) 2025-03-20 16:59:52 -04:00
Alex | Interchain Labs 98f0f76e73 chore: lint fixes (#24084) 2025-03-20 16:20:39 -04:00
aljo242 978978a3fe tidy 2025-03-20 15:32:51 -04:00
aljo242 82cc186b27 mod tidy 2025-03-20 15:32:40 -04:00
Tristav a9e7d5b5ad fix: correct panic messages and enforce sealing check in SetStreamingManager (#23951) 2025-03-20 15:01:40 -04:00
Alex | Interchain Labs 7b930541cf fix: vuln CI job (#24079) 2025-03-20 14:02:37 -04:00
Hoang DoandAlex | Interchain Labs b6163a2d86 fix(baseapp): Use CometBFT's ComputeProtoSizeForTxs in defaultTxSelector.SelectTxForProposal (#24074)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-20 12:47:31 -04:00
Đông LiềuandAlex | Interchain Labs 9539caae6e feat(tools/benchmark): introduce benchmark module (#24021)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-20 10:56:03 -04:00
Hoang Do 8bf5430d7e chore(optimize): Return BlockHeader by shallow copy in server Context (#24072) 2025-03-20 10:03:12 -04:00
Tyler e8ac0f580e fix(baseapp): align block header when querying with latest height (#24055) 2025-03-19 18:13:44 -07:00
2a67b267c8 feat: add --qrcode flag to keys show command (backport #18557) (#24011)
Co-authored-by: levisyin <150114626+levisyin@users.noreply.github.com>
Co-authored-by: julienrbrt <julien@rbrt.fr>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-19 20:52:41 -04:00
TylerandAlex | Interchain Labs 27322f5866 chore: make validator-count flag less breaking (#24054)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-19 20:28:26 +00:00
ba35a41fdd fix(baseapp): fix BaseApp.getContext data races (#24042)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-19 16:15:42 -04:00
TylerandAlex | Interchain Labs 6577e1eeef docs: adr-070 unordered transactions refactor (#23974)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-19 19:46:44 +00:00
Hoang DoandAlex | Interchain Labs 7f5f3fccf8 fix(client,server): consistently set env prefix between client/server (#24059)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-19 15:28:03 -04:00
Alex | Interchain LabsandEzequiel Raynaudo 87403fadae fix(crypto/ledger): Improve error message when deriving paths (#22116) (#24036)
Co-authored-by: Ezequiel Raynaudo <raynaudo.ee@gmail.com>
2025-03-19 13:37:43 -04:00
Hoang DoandAlex | Interchain Labs 700d33457a chore(client): remove redundant error check for tar reader (#24058)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-19 10:09:42 -04:00
TylerandAlex | Interchain Labs 26bc9f66ee fix(ci): vuln check comment (#24056)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-19 09:31:49 -04:00
Hoang DoandAlex | Interchain Labs 97dad50388 fix(client/keys): don't return when key not found in keys delete (#24041)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-19 09:21:36 -04:00
998a124bd4 docs: add transaction malleability docs (backport #23958) (#24050)
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-18 16:07:49 -04:00
Aaron CraeliusandAlex | Interchain Labs 9f8a03fa4e docs: add transaction malleability docs (#23958)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-18 13:38:22 -04:00
5a71f927fc refactor(client): use map.Copy for cleaner map handling (backport #24022) (#24048)
Co-authored-by: petersssong <petersssong@proton.me>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-18 11:48:15 -04:00
petersssong ef81fc89ab refactor(client): use map.Copy for cleaner map handling (#24022) 2025-03-18 11:19:09 -04:00
Alex | Interchain Labs 7bba055c34 chore: create temp fix for faulty vuln report in CI (#24046) 2025-03-18 11:03:03 -04:00
Hoang DoandAlex | Interchain Labs 3ac5b7c912 feat(genutil): Allow manually setting the consensus key type in genesis (#24018)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-17 17:32:39 -04:00
Marko a0c1a347fa chore: remove issue to project action (#24029) 2025-03-17 16:30:51 -04:00
Hoang DoandAlex | Interchain Labs 64d4cd125b fix(baseapp): correctly check errors before sealing in BaseApp.Init (#24027)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-17 16:28:46 -04:00
Alex | Interchain Labs a90a35149a chore: deps (#23973) 2025-03-17 14:14:00 -04:00
c4ae99c423 fix: tx compat (#23850)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2025-03-17 17:51:33 +00:00
mergify[bot]andpetersssong a6dc1e1af5 docs: Deprecation of 'go get' for installing executables (backport #24006) (#24020)
Co-authored-by: petersssong <petersssong@proton.me>
2025-03-17 12:20:16 -04:00
petersssong 267b93ee74 docs: Deprecation of 'go get' for installing executables (#24006) 2025-03-17 10:10:51 -04:00
Hoang Do ec2a017160 docs: enhance OfferSnapshot documentation (#24017) 2025-03-17 10:01:36 -04:00
Alex | Interchain Labs 5f36263548 chore: attempt to fix flakey test (#24009) 2025-03-17 09:25:32 -04:00
Alex | Interchain Labs f804b4ae3b chore: restore key testutil (#24008) 2025-03-14 16:51:07 -04:00
Alex | Interchain Labs d34c85b7a6 chore: restore TxWithTimeoutHeight (#24007) 2025-03-14 16:10:24 -04:00
Zygimantas 70c5e77153 ci: use depot setup action (#24002) 2025-03-13 15:34:10 -04:00
plubber 84eab8b4c8 fix: update documentation links for module migrations and error types (#24003) 2025-03-13 15:33:49 -04:00
Alex | Interchain Labs a978969be5 chore: clean up CI (#23968) 2025-03-12 12:30:28 -04:00
Alex | Interchain Labs 5ede887757 chore: update system tests (#23931) 2025-03-12 11:54:09 -04:00
Alexander Peters cbd69fb1f4 Merge commit from fork
* Fix ABS061

* Update changelog
2025-03-12 10:51:25 -04:00
Alexander Peters 2f09f3af69 Merge commit from fork
* Fix ABS061

(cherry picked from commit f6f56395fd4b919063e19aa94e7178793ac0fd6b)
(cherry picked from commit 34b30b0ed6b3145b94719650eb3246a91ed977ce)

* Review feedback

(cherry picked from commit c892055e7fa86db8382fb2af17bb66342d7e2eeb)

* Check for events

(cherry picked from commit 16fc26041457b01077df4d3d3d25c9eaf00780d2)

* Review feedback

* Remove unecessary code comments

* Update changelog

* Remove duplicate headline after merge
2025-03-12 10:51:25 -04:00
mergify[bot]andAlex | Interchain Labs b3cad5938d docs: add x/ docs (backport #23955) (#23956)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-10 14:40:04 -04:00
Alex | Interchain Labs 548ca00b11 docs: add x/ docs (#23955) 2025-03-10 13:56:05 -04:00
Alex | Interchain Labs 3832e2d06b chore: clarify essential and supplmental modules (#23937) 2025-03-10 13:52:34 -04:00
Alexander PetersandAlex | Interchain Labs 011d795eb0 fix(sims): Use liveness matrix for validator sign status in sims (21952) (#23952)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-10 12:39:23 -04:00
9d04acb366 chore: backport add MustValAddressFromBech32 function (#23919)
Co-authored-by: Luke <luchenqun@qq.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-03-10 11:55:50 -04:00
Alex | Interchain Labs 047379caaf chore: run systems tests on DI and direct applications (#23930) 2025-03-10 11:22:07 -04:00
6854ec67f0 fix(x/distribution): vulnerable incrementReferenceCount in distribution (#19301) (#23934)
Co-authored-by: Naveen <70747893+knkcse@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2025-03-10 11:04:49 -04:00
Tyler 8087ca63da ci: use old releaser method (#23939) 2025-03-07 14:58:40 -08:00
Tyler 429dd08950 ci: bump release action and set workdir (#23938) 2025-03-07 13:05:17 -08:00
Tyler 07f4de850c ci: update go releaser version (#23935) 2025-03-07 12:34:57 -08:00
TylerandAlex | Interchain Labs 88eb5f9613 ci: add releaser for simapp (#23922)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-07 12:14:16 -08:00
f38f05040c build(deps): bump sonic in log (backport #23927) (#23928)
Co-authored-by: julienrbrt <julien@rbrt.fr>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-07 10:51:50 -05:00
julienrbrt f479c2eff6 build(deps): bump sonic in log (#23927) 2025-03-07 08:55:28 -05:00
1cf0c517a2 fix: using t.TempDir() to simplify test temp dir manager (backport #23893) (#23917)
Co-authored-by: petersssong <petersssong@proton.me>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-06 13:32:20 -05:00
petersssongandTyler 159bba145f fix: using t.TempDir() to simplify test temp dir manager (#23893)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-06 10:45:51 -05:00
Alex | Interchain LabsandTyler 2076e2fc86 chore: setup systemtests in CI (#23886)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-06 10:44:55 -05:00
mergify[bot]andTyler 6da7508765 ci: remove darwin from platforms (backport #23909) (#23910)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-05 15:06:31 -08:00
Tyler 982dc981ad ci: remove darwin from platforms (#23909) 2025-03-05 16:47:36 -05:00
mergify[bot]andTyler 794f0e5eed ci: add darwin to platforms (backport #23905) (#23907)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-03-05 12:42:14 -08:00
Tyler 4258cabded ci: add darwin to platforms (#23905) 2025-03-05 12:32:29 -08:00
b0ee102cfa fix(baseapp): ensure finalize block response is not empty (backport #23879) (#23902)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-05 15:13:52 -05:00
Alex | Interchain Labs 8903e43a9e chore: use go1.23 (#23897) 2025-03-05 14:17:59 -05:00
Alex | Interchain Labs 3670066fab chore: use errors v1 (#23901) 2025-03-05 13:09:51 -05:00
mmsqe 05df209fa4 fix(baseapp): ensure finalize block response is not empty (#23879) 2025-03-05 12:59:07 -05:00
89fee9c24c docs: update version references (backport #23898) (#23899)
Co-authored-by: plubber <51789398+ericHgorski@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-05 12:51:29 -05:00
mergify[bot]andhuochexizhan d38bf643ed refactor: use slices.Contains to simplify code (backport #23894) (#23900)
Co-authored-by: huochexizhan <huochexizhan@outlook.com>
2025-03-05 12:40:18 -05:00
huochexizhan 77af49c1d4 refactor: use slices.Contains to simplify code (#23894)
Signed-off-by: huochexizhan <huochexizhan@outlook.com>
2025-03-05 11:48:20 -05:00
plubber 5411e73bb8 docs: update version references (#23898) 2025-03-05 11:47:28 -05:00
e8579020cb fix: Fix npe in pagination (backport #23880) (#23883)
Co-authored-by: Eric Warehime <eric.warehime@gmail.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-04 15:43:41 -05:00
Eric Warehime 44bd60f7e3 fix: Fix npe in pagination (#23880) 2025-03-04 12:31:12 -05:00
40e201e061 refactor: use a more straightforward return value (backport #23718) (#23875)
Co-authored-by: fuyangpengqi <167312867+fuyangpengqi@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-03-03 16:40:33 -05:00
Tyler f56b1bf38b fix: add missing field to unordered for amino json signing (#23860) 2025-03-03 17:52:32 +00:00
4588a019d1 build(deps): Bump actions/create-github-app-token from 1.11.3 to 1.11.6 (backport #23863) (#23874)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-03 11:06:16 -05:00
mergify[bot]andAlex | Interchain Labs 65f851b9e8 chore: set up backport rule for 53 (backport #23871) (#23872)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-03-03 15:55:38 +00:00
fuyangpengqi 4d474617de refactor: use a more straightforward return value (#23718)
Signed-off-by: fuyangpengqi <995764973@qq.com>
2025-03-03 10:53:17 -05:00
dependabot[bot] e2d969d59d build(deps): Bump actions/create-github-app-token from 1.11.3 to 1.11.6 (#23863)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 10:40:29 -05:00
Alex | Interchain Labs 11a35fea26 chore: set up backport rule for 53 (#23871) 2025-03-03 10:38:50 -05:00
8742cc06a0 chore: debug log gRPC queries (#19049) (#23844)
Co-authored-by: Adam Tucker <adam@osmosis.team>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-02-28 10:29:15 -05:00
Alex | Interchain LabsandJoowon Yun 351d704c23 feat(x/bank): Allow value with slashes in DenomMetadata (#22543) (#23836)
Co-authored-by: Joowon Yun <40225835+JoowonYun@users.noreply.github.com>
2025-02-27 16:14:31 -05:00
7f7c41e4aa feat: backport unordered transactions (#23708)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-02-27 11:01:50 -08:00
Alex | Interchain LabsandTyler ff779eca8d feat(epochs): backport (#23815)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-02-26 16:10:00 -05:00
Alex | Interchain Labs 4ed61468a2 feat: deprecate x/params (#23826) 2025-02-26 15:39:44 -05:00
crStiv 05933ed2e9 docs: update x/evidence README.md links to v0.50 (#23832) 2025-02-26 14:56:29 -05:00
Alex | Interchain Labsandzakir 9b83b2f7b6 feat(client): backport autocli for node service (#23811)
Co-authored-by: zakir <80246097+zakir-code@users.noreply.github.com>
2025-02-26 10:17:26 -05:00
mmsqeandHuangYi fa82101b0e fix(auth): support legacy global AccountNumber when query historical state (#23743)
Co-authored-by: HuangYi <huang@crypto.com>
2025-02-25 18:23:05 -05:00
Alex | Interchain Labs da14035fcf test(ci): expand CI build testing (#23812) 2025-02-25 18:03:42 -05:00
Alex | Interchain Labs 7df377415d chore: update all for release/v0.53.x (#23750) 2025-02-25 16:02:07 -05:00
VolodymyrBg 537ff477d5 docs: update types/errors package documentation link to v0.52.0-beta.1 (#23749) 2025-02-25 12:51:48 -05:00
aljo242 741dcb1469 fix changelog 2025-02-25 11:09:59 -05:00
ad0b79a020 Merge commit from fork
* Prevent empty groups

(cherry picked from commit 95090a0ec1f193104ba7d6d033a490d1515e54d8)

* Handle inflight proposals

(cherry picked from commit 855983471882068894ed7952b592ab3e61b464b9)

* No empty group with simulations

* Update changelog

* Set release date

* updates

* Update RELEASE_NOTES.md

* Update RELEASE_NOTES.md

---------

Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-02-25 11:08:23 -05:00
aljo242 0951ca9257 fix changelog 2025-02-25 11:03:06 -05:00
Akhil Kumar P 87d3a432af fix: collection filtered pagination (#23002) 2025-02-25 11:00:46 -05:00
Alex | Interchain Labs d811f92100 test: fix genutil test (#23748) 2025-02-24 17:05:40 -05:00
Alex | Interchain Labs cbf7850daa chore: use new proto builder (#23730) 2025-02-24 16:58:48 -05:00
Alex | Interchain Labs c2ec9f795c chore: remove crisis from simapp and deprecate (#23722) 2025-02-24 08:48:52 -05:00
Alex | Interchain Labs c665a95892 chore: comment out examples (#23738) 2025-02-24 08:46:12 -05:00
Alex | Interchain Labs 1fda5b615c chore: set proto/cosmos/autocli to main (#23725) 2025-02-21 13:39:12 -05:00
Alexander Peters 0a98b65b24 Merge commit from fork
* Prevent empty groups

* Handle inflight proposals

* Update changelog

* No empty group with simulations

* Remove release version from changelog
2025-02-20 11:14:22 -05:00
Alex | Interchain Labs 2a338e032c chore: update proto builder (#23721) 2025-02-19 12:58:14 -05:00
Tyler 8be3016158 ci: lint only new changes (#23710) 2025-02-14 18:23:49 -05:00
Tyler b4bae1a55c test: add systemtests (#23686) 2025-02-14 17:27:03 -05:00
Alex | Interchain Labs a5661db02a chore: errors main (#23707) 2025-02-14 12:32:53 -05:00
Alex | Interchain Labs eafa0e2c9d chore: update .github (#23702) 2025-02-14 12:32:43 -05:00
Tyler 13b450a2ad chore: set depinject to main (#23700) 2025-02-14 07:06:40 -10:00
Tyler edcb427a6e chore: set math to main (#23697) 2025-02-14 07:05:23 -10:00
Tyler 8abca32b6c chore: set log to main (#23698) 2025-02-13 16:23:25 -05:00
Tyler 256e3e143b chore: set collections to main (#23696) 2025-02-13 15:46:33 -05:00
Zygimantas a01cb3ba66 ci: move at the speed of light (deprecate github actions runners) (#23701) 2025-02-13 19:56:52 +00:00
Alex | Interchain Labs 3120df7ff7 chore: set telemetry to main (#23688) 2025-02-13 13:30:15 -05:00
Tyler 2aab12281e ci: remove liveness (#23690) 2025-02-13 09:09:58 -05:00
Tyler 1aca09ce6e ci: remove hubl (#23689) 2025-02-13 09:05:56 -05:00
Alex | Interchain Labs 98f2048979 chore: set tools to main (#23687) 2025-02-12 17:13:41 -05:00
Alex | Interchain Labs 224e68e1e5 chore: set contrib to main (#23684) 2025-02-12 16:31:57 -05:00
f5e8e517ab chore: set up release/v0.53.x branch (#23660)
Co-authored-by: Zygimantas <5236121+Zygimantass@users.noreply.github.com>
Co-authored-by: Zygimantas <zygis@skip.build>
2025-02-12 15:48:20 -05:00
sjtucoderandAlex | Interchain Labs d2b7f56627 refactor: using slices.Contains to simplify the code (#23634)
Signed-off-by: sjtucoder <sjtucoder@icloud.com.>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-02-12 15:43:17 -05:00
Alex | Interchain LabsandZygimantas ec78863c60 chore: back port depot (#23682)
Co-authored-by: Zygimantas <5236121+Zygimantass@users.noreply.github.com>
2025-02-12 14:28:14 -05:00
Alex | Interchain Labs 4f9882b552 chore: bump internal to main (#23681) 2025-02-12 14:13:20 -05:00
Alex GartnerandAlex | Interchain Labs f072ecaba6 fix(tools/cosmovisor): do not download all binaires with autodownload (#23653)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-02-12 11:28:35 -05:00
Alex | Interchain Labs dfccd9c27e chore: move and clean fuzz test dir (#23679) 2025-02-12 11:28:17 -05:00
Alex | Interchain Labs ce846b3efe chore: set up branch codeowners (#23680) 2025-02-12 11:28:00 -05:00
edafb06a9b chore: remove unused orm module (backport #23633) (#23678)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Zachary Becker <zrbecker@gmail.com>
2025-02-12 11:27:44 -05:00
Alex | Interchain Labs d9bc4bb317 chore: temp remove sonar cloud (#23677) 2025-02-12 10:15:28 -05:00
Julien RobertandJohn Letey e3718e06c9 docs: correct explanation on how to set custom signer via depinject (#23654)
Co-authored-by: John Letey <john@noble.xyz>
2025-02-12 00:06:24 +00:00
Zygimantas c0fafff838 ci: use depot for docker builds (#23661) 2025-02-11 21:43:06 +00:00
Julien Robert bb03cd1c15 fix(tools/cosmovisor): fix wrong dir prepare-upgrade when non archive (#23652) 2025-02-11 10:45:29 -05:00
Zachary Becker d7f101e6aa chore: remove unused orm module (#23633) 2025-02-07 18:10:45 +00:00
MarkoandAlex | Interchain Labs 5cedd50480 fix(accounts): lockup check sender in context not in message (#23621)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-02-06 11:48:30 -05:00
Alex | Interchain Labs f7f301d1d9 chore: update codeowners (#23626) 2025-02-06 10:49:32 -05:00
Marko cd2801589d chore(bank): add more information to the godoc (#23624) 2025-02-06 13:25:15 +00:00
Julien RobertandAlex | Interchain Labs 7e391959b9 test: migrate last few integration tests to integration/v2 (#23359)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-02-05 13:47:08 +00:00
9ea03a3c4b chore: remove baseapp and sdk.Context fully from x/upgrade (#23396)
Co-authored-by: aljo242 <alex@skip.money>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-02-05 12:30:18 +00:00
Julien Robert fe1c8af22a fix(runtime/v2): properly register runtime services (#23607) 2025-02-04 12:41:40 +00:00
dependabot[bot] e41dfb6fb6 build(deps): Bump github.com/cometbft/cometbft from 0.38.15 to 0.38.17 in /tools/confix (#23595)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-04 08:08:33 +00:00
dependabot[bot] 01aba594a2 build(deps): Bump github.com/cometbft/cometbft from 0.38.15 to 0.38.17 in /tools/cosmovisor (#23596)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-04 08:04:57 +00:00
Alex | Interchain Labs 9312fda8cd chore: bump comet for bug fix (#23601) 2025-02-04 08:02:21 +00:00
d3e059dd2a feat: add support for ed25519 tx signature verification (#23283)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Marko <marko@baricevic.me>
2025-02-04 07:57:07 +00:00
dependabot[bot] 4900359445 build(deps): Bump actions/create-github-app-token from 1.11.2 to 1.11.3 (#23603)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-04 07:50:22 +00:00
plubber 738f288181 fix(docs): various typos and misspelled function names (#23600) 2025-02-03 16:10:02 -05:00
9a92843c21 store/v2: remove auto migration and fix restore cmd (#23568)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2025-01-31 17:34:44 +00:00
Julien Robert 009bcc38e5 fix(simapp/v2): wire swagger in testnet cmd (#23570) 2025-01-31 15:34:37 +00:00
ddf9e18ee4 fix(auth): audit issues with unordered txs (#23392)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
2025-01-31 15:27:13 +00:00
dependabot[bot] 8eb6822d25 build(deps): Bump actions/create-github-app-token from 1.11.1 to 1.11.2 (#23567)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 10:18:26 +00:00
mergify[bot]andAlessio Treglia b9db4d29aa docs(keyring): add keyctl docs (backport #23563) (#23566)
Co-authored-by: Alessio Treglia <al@essio.dev>
2025-01-31 01:29:47 +01:00
Alessio Treglia caebe005dd docs(keyring): add keyctl docs (#23563) 2025-01-30 21:58:45 +00:00
Alex | Interchain Labs b87acd2cc0 chore: rm tools/hubl (#23562) 2025-01-30 17:51:44 +00:00
dependabot[bot]anddependabot[bot] 97c61cfb24 build(deps): Bump github.com/spf13/pflag from 1.0.5 to 1.0.6 (#23555)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-01-30 09:57:55 -05:00
cb55aed8a8 build(deps): Bump cosmossdk.io/x/tx from 1.0.1 to 1.1.0 (#23547)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-29 13:54:24 -05:00
mergify[bot]andJulien Robert 5f08d2183b feat(client/v2): add map support (backport #23544) (#23554)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-01-29 17:37:36 +00:00
Julien Robert d8ea6a9526 feat(client/v2): add map support (#23544) 2025-01-29 15:39:24 +00:00
Alexander Peters 576448b821 fix(db): Fix pebbleDB integration (#23552) 2025-01-29 11:58:31 +00:00
mergify[bot]andJulien Robert f1b139de54 feat(x/tx): add an option to encode maps using amino json (backport #23539) (#23540)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-01-28 21:09:12 +01:00
e2027bf628 build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.36.3-20241120201313-68e42a58b301.1 to 1.36.4-20241120201313-68e42a58b301.1 in /api (#23520)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-28 19:19:22 +00:00
dependabot[bot]anddependabot[bot] dc26b4113c build(deps): Bump github.com/golang/glog from 1.2.3 to 1.2.4 in /tools/hubl (#23541)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-01-28 18:35:04 +00:00
Julien RobertandAlex | Interchain Labs aef1a2a06e fix(x/tx): add an option to encode maps using amino json (ref #23513) (#23539)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-28 17:14:12 +00:00
dependabot[bot]andaljo242 fe5b695684 build(deps): Bump cosmossdk.io/collections from 1.0.0 to 1.1.0 (#23534)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-01-28 15:27:51 +00:00
7189abc5af build(deps): Bump github.com/bytedance/sonic from 1.12.7 to 1.12.8 in /log (#23516)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-28 15:21:10 +00:00
Alex | Interchain Labs 33442d9a94 chore: fix changelog for v0.52.0-rc.2 (#23502) 2025-01-27 19:41:11 +00:00
9a717100e6 build(deps): Bump google.golang.org/protobuf from 1.36.3 to 1.36.4 in /x/upgrade (#23512)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-27 14:31:07 -05:00
Julien Robert 7fdf3a2c37 chore(collections): bring in protocodec in collections directly (#23515) 2025-01-27 16:52:54 +00:00
John Letey b6d3d72fee feat(x/tx): add an option to encode maps using amino json (#23513) 2025-01-27 14:01:23 +00:00
Julien Robert a60f3b6eab fix(codec): provide legacy amino og type (#23504) 2025-01-27 13:44:59 +00:00
Tyler e9b16a4eae chore: remove unecessary SDKGasMeter impl (#23503) 2025-01-24 22:48:45 +00:00
Eng Zer JunandAlex | Interchain Labs 26758571f4 refactor: replace golang.org/x/exp with stdlib (#23501)
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-24 18:26:15 +00:00
66e610c5ea build(deps): Bump google.golang.org/grpc from 1.69.4 to 1.70.0 in /tools/cosmovisor (#23496)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-24 17:16:41 +00:00
dependabot[bot]andAlex | Interchain Labs 1bf6246eda build(deps): Bump google.golang.org/grpc from 1.69.4 to 1.70.0 in /store (#23494)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-24 16:39:22 +00:00
dependabot[bot]andAlex | Interchain Labs 55464a0e9a build(deps): Bump github.com/hashicorp/go-plugin from 1.6.2 to 1.6.3 in /store (#23493)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-24 15:55:48 +00:00
Alexander Peters 332599307a ci: Fix Ci job target (#23500) 2025-01-24 15:11:13 +00:00
Julien Robert 0cc73ba1b2 feat(server/v2): add swagger server component (#23486) 2025-01-24 09:24:26 +00:00
Alexander Peters 5e58330196 chore(sims): Complete sims integration for app v2 (#23478) 2025-01-24 07:58:11 +00:00
mmsqe 494389d15a fix(x/auth/tx): add missing timeoutTimestamp in newBuilderFromDecodedTx (#23492) 2025-01-24 07:57:55 +00:00
Alex | Interchain Labs 8493d4fdcb refactor: export HasRegisterServices (#23488) 2025-01-23 21:01:19 +00:00
caseylove 1253ee5fef chore(x/auth): use cosmossdk.io/core/codec instead of github.com/cosmos/cosmos-sdk/codec (#23487) 2025-01-23 14:55:12 +00:00
Julien Robert 18a82523bf chore(simapp/v2): consensus server isn't command dep (#23480) 2025-01-23 11:33:24 +00:00
mmsqe 9fdcd6de98 fix(server/v2): inject latest height when not provide in grpc query (#23483) 2025-01-23 08:58:58 +00:00
Julien Robert 3860b2b04b feat(server/v2/store): Add ModuleHashByHeightQuery command (#23479) 2025-01-22 19:55:49 +00:00
Julien Robert 39b0244eee refactor: simplify sign mode (2/2) (#23476) 2025-01-22 12:23:12 +00:00
Julien Robert e441778435 refactor!: simplify signing packages (#23470) 2025-01-22 11:15:49 +00:00
9f71028ed2 fix(store/v2): chunkBody.Close and chunkFile.Close both are called twice (#23271)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-21 23:07:05 +00:00
c7b878c6eb build(deps): Bump github.com/bytedance/sonic from 1.12.6 to 1.12.7 in /log (#23370)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-01-21 22:11:02 +00:00
Eric MokayaandAlex | Interchain Labs 7880832bed docs: add syncing documentation (#23344)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-21 20:43:49 +00:00
d4317c32a0 build(deps): Bump cosmossdk.io/x/tx from 1.0.0 to 1.0.1 (#23455)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-21 19:31:24 +00:00
69d8c61ab5 build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.36.2-20241120201313-68e42a58b301.1 to 1.36.3-20241120201313-68e42a58b301.1 in /api (#23468)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-21 18:48:48 +00:00
dependabot[bot]andAlex | Interchain Labs a005c10f6b build(deps): Bump github.com/hashicorp/go-getter from 1.7.7 to 1.7.8 in /x/upgrade (#23457)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-21 17:14:17 +00:00
Julien Robert f40f820ec7 fix(x/protocolpool): withdraw rewards before export genesis (#23467) 2025-01-21 13:29:44 +00:00
dependabot[bot] c04ae66d35 build(deps): Bump gaurav-nelson/github-action-markdown-link-check from 1.0.15 to 1.0.16 (#23469)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-21 10:18:00 +00:00
Eric MokayaandAlex | Interchain Labs 84a32cc4b3 fix(x/staking): fix validator metadata update (#23461)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-20 18:52:20 +00:00
Alexander Peters 66a766beae chore: Review feedback (#23465) 2025-01-20 12:04:29 +00:00
Julien Robert 0440a13dd0 refactor(v2): proper iavl v2 config (#23463) 2025-01-20 10:28:33 +00:00
Alexander Peters 5359c8f9e5 fix: Add sims export/import test and fix (#23462) 2025-01-20 09:57:10 +00:00
f9bb1803f1 build(deps): Bump github.com/prometheus/common from 0.61.0 to 0.62.0 (#23426)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@djinntek.world>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
2025-01-17 22:43:39 +00:00
MarkoandAlex | Interchain Labs 7f827c55fa refactor!: remove duplicate block (#23437)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-17 21:57:12 +00:00
6105831118 build(deps): Bump cosmossdk.io/api from 0.8.1 to 0.8.2 (#23427)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
Co-authored-by: Alex | Interchain Labs <alex@djinntek.world>
Co-authored-by: aljo242 <alex@interchainlabs.io>
2025-01-17 21:49:55 +00:00
ebb3724f6c build(deps): Bump google.golang.org/protobuf from 1.36.2 to 1.36.3 (#23400)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-17 19:29:01 +00:00
7539072e72 test: add BeginBlock extension interface to module mocks (port #23442) (#23443)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-17 19:25:06 +00:00
Julien Robert d7d5b15d38 fix(x/tx): add unordered and timeout timestamp fields in textual signing (#23324) 2025-01-17 17:04:23 +00:00
Julien Robert 86ab3f8b2d feat: EmptyAppOptions implement DynamicConfig (#23440) 2025-01-17 17:04:23 +00:00
Marko b23bb7aee8 chore: revert multisig M>N rule (#23439) 2025-01-17 14:35:21 +00:00
MarkoandAlex | Interchain Labs 642e8814f8 refactor(crypto): add check in multisig verification (#23395)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-17 12:31:10 +00:00
Julien Robert b5dada36d4 docs: sync main with 0.52 branch (#23415) 2025-01-17 10:16:22 +00:00
caseyloveandAlex | Interchain Labs ef285497fd chore(x/auth): use cosmossdk.io/core/codec instead of github.com/cosmos/cosmos-sdk/codec (#23403)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-17 09:53:22 +00:00
Alexander Peters b8638f892c test: add more sims tests (#23421) 2025-01-17 09:52:55 +00:00
Robert ZarembaandAlex | Interchain Labs bcf7bd61e9 docs: Overwrite registered app module (#23416)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-17 09:46:14 +00:00
Zoro ac033af33b docs: fix autocli for non module commands example code link (#23407) 2025-01-17 09:08:57 +00:00
SuiYuanandAlex | Interchain Labs adc1d3175b docs: fix the outdated description of transaction.Msg (#23409)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-17 00:15:59 +00:00
øllieandAlex | Interchain Labs 77d43598a3 docs: fix: escape mod reference (#23418)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-16 19:00:14 +00:00
Alex | Interchain LabsandTyler 952db2b320 chore: remove baseapp from x/accounts (#23355)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-01-16 18:52:36 +00:00
Tyler 9a27317209 fix(x/auth): update proto address conversion query to prevent duplicate HTTP binding (#23357) 2025-01-16 17:31:23 +00:00
mmsqe 85682ac1a5 fix(x/upgrade): register missing implementation for CancelSoftwareUpgradeProposal (#23378) 2025-01-16 09:09:15 +00:00
Julien Robert 6ffebdff6a chore: finish prep beta.2 (#23411) 2025-01-16 08:53:49 +00:00
a03c90beb2 build(deps): Bump google.golang.org/grpc from 1.69.2 to 1.69.4 (#23389)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-15 21:23:22 +00:00
Tyler 2488a33af8 refactor(server/v2): use net/http for matching logic in auto-gateway (#23390) 2025-01-15 20:17:25 +00:00
Julien Robert bbf813ccda docs: clarify what is available in ctx.BlockHeader() (#23394) 2025-01-15 17:19:03 +00:00
Alex | Interchain Labs 69defb4011 chore: fix system test for v2 (#23328) 2025-01-14 22:50:02 +00:00
1c9159d572 build(deps): Bump github.com/hashicorp/go-getter from 1.7.6 to 1.7.7 in /x/upgrade (#23336)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-14 21:43:48 +00:00
8cdfe98db9 build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.36.1-20241120201313-68e42a58b301.1 to 1.36.2-20241120201313-68e42a58b301.1 in /api (#23369)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-14 20:32:21 +00:00
fudancoder 64e828099c refactor: use slices.Equal to simplify code (#23384)
Signed-off-by: fudancoder <fudancoder@icloud.com.>
2025-01-14 15:45:55 +00:00
Julien RobertandAlex | Interchain Labs 80552a69c4 docs(depinject): clarify how to wrap module (#23373)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-14 14:45:45 +00:00
caseyloveandAlex | Interchain Labs dfb5cc29f2 chore(store): use the built-in clear to clear the map (#23381)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-14 14:33:52 +00:00
luchenhan 5fb5ddaa1c docs: fix function name and comment (#23372)
Signed-off-by: luchenhan <hanluchen@aliyun.com>
2025-01-14 11:56:31 +00:00
hidewrong d2aa3c25be chore(store): use the built-in clear to clear the map (#23375)
Signed-off-by: hidewrong <hidewrong@outlook.com>
2025-01-14 10:21:06 +00:00
caseylove ec744ec88a fix(schema): fix make lint-fix reports error (#23374) 2025-01-14 10:19:37 +00:00
mmsqe 76e75bb4ed fix(server/v2/cometbft): align default response for filter cmd when handleQueryP2P (#23365) 2025-01-14 10:00:33 +00:00
mmsqe 5581225a9b fix(x/upgrade): register missing implementation for SoftwareUpgradeProposal (#23179) 2025-01-14 09:40:50 +00:00
mmsqe 4466ea5121 feat(testutil/sims): add back AppStateFnWithExtendedCbs (#23236) 2025-01-14 09:23:05 +00:00
Alex | Interchain LabsandTyler b4e88cc517 test: v2 services helpers and demo using x/bank (#23057)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
2025-01-14 00:45:41 +00:00
Tyler 265cb94e8d fix(server/v2): post request fallback (#23361) 2025-01-14 00:25:07 +00:00
TylerandAlex | Interchain Labs b461a3142a refactor(server/v2): auto-gateway improvements (#23262)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-13 21:13:13 +00:00
9f048ebd8a fix: default comet port (#23343)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-01-13 17:30:46 +00:00
Julien RobertandMarko 3586e39e35 chore: prep release (#23349)
Co-authored-by: Marko <marko@baricevic.me>
2025-01-13 17:10:03 +00:00
Julien Robert 9ca815c8d6 fix: marshal old tx body if unordered not used (#22723) 2025-01-13 14:04:59 +00:00
064c9ba638 feat(store/v2): build the migration manager in the root store factory (#22336)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-13 10:56:48 +00:00
Julien Robert c79e19dfc9 fix(server/v2/grpc): fix reflection (#23333) 2025-01-13 10:14:24 +00:00
Alexander PetersandAlex | Interchain Labs 8cdae287f7 test: Add more sims test scenarios (#23278)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-13 09:50:55 +00:00
caseylove bc9ce394cb chore(x/): use cosmossdk.io/core/codec instead of github.com/cosmos/cosmos-sdk/codec (#23313) 2025-01-13 09:27:53 +00:00
DevOrbitlabs e4d50b07da chore(x/gov, x/authz): use cosmossdk.io/core/codec instead of github.com/cosmos/cosmos-sdk/codec (#23292) 2025-01-13 09:07:08 +00:00
Julien RobertandAlex | Interchain Labs 7da5372dd2 docs: clarification on timeout timestamp (#23322)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-13 08:58:14 +00:00
GarmashAlexandJulien Robert 1b5b338eeb docs: Add environment documentation link and description (#23330)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-01-13 08:57:17 +00:00
dependabot[bot]andAlex | Interchain Labs a1a4c9a962 build(deps): Bump cosmossdk.io/collections from 0.4.0 to 1.0.0 in /collections/protocodec (#23288)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-10 21:42:47 +00:00
dependabot[bot]andAlex | Interchain Labs 1dda2330dd build(deps): Bump github.com/otiai10/copy from 1.14.0 to 1.14.1 in /tools/cosmovisor (#23287)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-10 18:15:37 +00:00
Julien Robert eb1211a38d fix(simapp/v2): correctly wire client/v2, clean-up api client/v2 (#23325) 2025-01-10 17:46:42 +00:00
Matt Kocubinski a6b0924ff5 refactor(x/auth/tx): Provide DefaultTxDecoder (#23318) 2025-01-10 11:50:05 +00:00
mmsqe 8cc13ed2e2 fix(systemtests): align halt-height with comet in upgrade (#23306) 2025-01-10 10:37:37 +00:00
mmsqe 2ab05c6797 fix(systemtests): wait longer to detect double sign (#23286) 2025-01-10 10:36:45 +00:00
517839bc96 fix(x/auth/tx): avoid panic from newWrapperFromDecodedTx (#23170)
Co-authored-by: Alex | Skip <alex@djinntek.world>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-09 22:28:48 +00:00
06f5339d78 chore: fix spelling errors (#23270)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-09 20:52:55 +00:00
87dfe258b2 build(deps): Bump github.com/hashicorp/go-metrics from 0.5.3 to 0.5.4 (#23272)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aljo242 <alex@skip.money>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-01-09 20:02:12 +00:00
DevOrbitlabs 80b1422684 chore(x/auth): use cosmossdk.io/core/codec instead of github.com/cosmos/cosmos-sdk/codec (#23273) 2025-01-09 17:52:05 +00:00
26f1f0ecf6 build(deps): Bump golang.org/x/net from 0.32.0 to 0.33.0 in /tools/hubl (#23277)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: aljo242 <alex@skip.money>
2025-01-09 17:39:13 +00:00
Tuan TranandMarko ea78b3c5b5 chore(x/upgrade): Use cosmossdk.io/core/codec instead of github.com/cosmos/cosmos-sdk/codec (#23261)
Co-authored-by: Marko <marko@baricevic.me>
2025-01-09 17:36:19 +00:00
dependabot[bot]anddependabot[bot] 96373915ab build(deps): Bump cosmossdk.io/math from 1.4.0 to 1.5.0 in /x/tx (#23263)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-01-09 13:43:56 +00:00
Zoro 60e8c6a2ea docs: fix runtime doc dead link to app-go-di.md (#23264) 2025-01-09 09:30:45 +00:00
Alexander Peters b8e6107af4 chore: Linting only (#23266) 2025-01-09 09:28:55 +00:00
Markoandaljo242 cf2216968a refactor(systemtests): remove v2 checks (#23098)
Co-authored-by: aljo242 <alex@skip.money>
2025-01-09 08:43:01 +00:00
Alexander PetersandAlex | Interchain Labs cf721a6540 feat(sims): Integration with app v2 (#23013)
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-09 08:19:35 +00:00
39a55ed045 build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.6 to 1.0.0 in standalone packages (no sdk deps) (#23241)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-08 22:32:40 +00:00
a829d5c034 build(deps): Bump google.golang.org/protobuf from 1.36.1 to 1.36.2 (#23239)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
2025-01-08 21:25:17 +00:00
9de8d7ddc3 build(deps): Bump cosmossdk.io/api from 0.7.6 to 0.8.0 in /orm (#23243)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: aljo242 <alex@skip.money>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-01-08 21:15:45 +00:00
Marko d634326e55 chore: update codeowners (#23259) 2025-01-08 14:26:02 +00:00
MarkoandAlex | Skip 9afe2f71d7 docs: add a synopsis upgrade doc for 52 (#23097)
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-08 13:25:52 +00:00
Julien Robert c5b3033b3a refactor(server)!: continue server v1 removal (#23238) 2025-01-08 12:18:19 +00:00
Zoro 597c176900 docs: update collections api example code link (#23251) 2025-01-08 09:47:01 +00:00
DevOrbitlabs 831d523626 style(test/integration): fix lint (#23254) 2025-01-08 09:44:39 +00:00
Robert ZarembaandMarko b0031a103d docs: remove RocksDB (#23212)
Co-authored-by: Marko <marko@baricevic.me>
2025-01-07 19:39:41 +00:00
ead1b1c9df fix(store/v2): flaky TestDenomMetadata integration test. (#23184)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-07 16:36:19 +00:00
Zoro c1192daf56 docs: update global type registration code link (#23230) 2025-01-07 13:00:41 +00:00
26dc8b3df4 build(deps): Bump github.com/creachadair/atomicfile from 0.3.6 to 0.3.7 in /tools/confix (#23220)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-07 11:19:41 +00:00
13fabd3a86 build(deps): Bump golang.org/x/crypto from 0.31.0 to 0.32.0 (#23216)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-07 10:56:00 +00:00
Julien Robert ad6a20c65e fix(x/staking): use overwritten default bond denom (#23233) 2025-01-07 10:40:16 +00:00
dependabot[bot]andJulien Robert d0198ece4e build(deps): Bump cosmossdk.io deps (#23215)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-01-07 10:37:19 +00:00
dependabot[bot]anddependabot[bot] 8acd6170f7 build(deps): Bump github.com/creachadair/tomledit from 0.0.26 to 0.0.27 in /tools/confix (#23219)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-01-07 10:36:55 +00:00
lfz941andAlex | Skip 26ea9b2f84 fix(store/v2): chunk.Close is called twice (#23168)
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-07 08:03:51 +00:00
arlaiandAlex | Skip f77a27432a fix: query balances with --resolve-denom panics on invalid metadata.Display (#23149)
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-07 08:01:20 +00:00
mmsqe 6f2bab52f1 fix(x/auth/tx): add missing CacheWithValue for ExtensionOptions (#23144) 2025-01-06 16:43:44 +00:00
Julien Robert 58d71c0c23 chore: prep collections v1 and api v0.8.0 (#23198) 2025-01-06 15:38:06 +00:00
261f0b967f feat(collections): add Address and Integer codecs (#22517)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-06 14:10:30 +00:00
mmsqe 51f9809d0e feat(simsx): allow RunWithSeeds with custom randAccFn (#23197) 2025-01-06 12:34:39 +00:00
luchenhan ec13857152 refactor: using slices.Contains to simplify the code (#23175)
Signed-off-by: luchenhan <hanluchen@aliyun.com>
2025-01-06 11:52:58 +00:00
Marko 787a713a93 ci: ci cleanup (#23192) 2025-01-06 10:40:28 +00:00
mmsqe d2567a3c11 fix(simsx): make use chainID from config (#23185) 2025-01-06 10:25:55 +00:00
MarkoandJulien Robert 65971ffb40 fix(x/staking): avoid overriding error (#23076)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-01-06 09:54:19 +00:00
Akhil Kumar PandJulien Robert c9ca206e13 test(integration): port types tests to server v2 (#22981)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2025-01-06 09:13:23 +00:00
violet 4ff445ca6a fix(x/gov,x/distribution): Balance assertions on genesis import shouldn't be exact (#22832) 2025-01-06 08:57:57 +00:00
hatti da19b360f5 docs: update modules list doc (#23172) 2025-01-06 08:41:13 +00:00
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
haiyizxxandAlex | Skip 93282e101d refactor: improve edge case handling for recursion limits (#22988)
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-06 08:26:46 +00:00
Tyler 884a7a51c3 feat(server/v2)!: grpcgateway autoregistration (#22941) 2025-01-06 08:12:42 +00:00
dependabot[bot]anddependabot[bot] 23595c82d9 build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.36.0-20241120201313-68e42a58b301.1 to 1.36.1-20241120201313-68e42a58b301.1 in /api (#23135)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-01-06 08:03:38 +00:00
mmsqe 07d5168d29 fix(x/auth/tx): avoid panic from intoAnyV2 when v1.PublicKey is optional (#23148) 2025-01-03 16:54:32 +00:00
f29d7f75f1 chore: fix struct field name and some typos in comment (#23126)
Signed-off-by: oftenoccur <ezc5@sina.com>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-03 16:54:07 +00:00
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
dependabot[bot]andmergify[bot] cd183556f3 build(deps): Bump github.com/cosmos/iavl from 1.3.4 to 1.3.5 in /store (#23162)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-03 14:57:10 +00:00
mmsqe 76169e757c fix: avoid simd not exist error when make localnet-build-env (#23164) 2025-01-03 14:47:23 +00:00
b3cecf0f34 build(deps): Bump google.golang.org/protobuf from 1.36.0 to 1.36.1 in /tests (#23119)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marko@baricevic.me>
2025-01-03 14:37:09 +00:00
ba8d778df4 chore: fix comment (#23138)
Signed-off-by: peicuiping <ezc5@sina.cn>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Skip <alex@skip.money>
2025-01-03 14:23:04 +00:00
Skylar Ray 1721583af3 chore: typo mnemonic.go (#23160) 2025-01-03 14:16:56 +00:00
4f537d5231 feat(store/v2): full iavl/v2 support (#23131)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: auricom <27022259+auricom@users.noreply.github.com>
2025-01-03 10:41:47 +00:00
Marko 3d544c1ef3 fix: remove 0 length check in pebble (#23157) 2025-01-02 17:44:41 +00:00
oliveredget 87c7e5e98a docs: fix typos (#23152)
Signed-off-by: oliveredget <188809800+oliveredget@users.noreply.github.com>
2025-01-02 15:02:09 +00:00
mmsqe 57a1437fdf feat(x/auth/ante): allow custom verifyIsOnCurve when validate tx for public key (#23128) 2025-01-02 14:29:18 +00:00
lfz941 8f3122e31c fix(server/v2): fp.Close is called twice (#23146) 2025-01-02 14:29:05 +00:00
Marko 1c6dc34041 chore(docs): Appmanager readme (#23151) 2025-01-02 14:06:10 +00:00
Zoro 5a9b265c4b docs: update collections readme latest code refer link (#23142) 2025-01-02 11:59:49 +00:00
chloefeal 5fc8b0ca1a docs: fix multiple typos (#23143)
Signed-off-by: chloefeal <188809157+chloefeal@users.noreply.github.com>
2025-01-02 11:59:18 +00:00
Marko b740560d19 chore(docs): STF readme (#23150) 2025-01-02 11:52:05 +00:00
oliveredgetandMarko 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
Akhil Kumar P 697219c9c4 fix: collection filtered pagination (#23002) 2024-12-31 16:34:12 +00:00
hatti 5e935bc842 refactor: remove x/crisis under .github config (#23124) 2024-12-31 16:32:18 +00:00
Marko 0547b77875 chore: linting fixes (#23136) 2024-12-31 16:32:02 +00:00
986974a7cd fix(build): fix build tags (#23132)
Co-authored-by: auricom <27022259+auricom@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-12-31 14:36:18 +00:00
son trinh 4fb2347af4 refactor(testutil): Removing testutil integration (#23091) 2024-12-30 13:18:49 +00:00
hatti dafa93f05d docs: add missing modules accounts and group in modules list (#23125) 2024-12-30 13:17:27 +00:00
shubh7791 4f3f401b0f Fix typo in x/slashing/README.md (#23107) 2024-12-28 17:24:04 +00:00
chloefeal 1003caba49 fix: typos (#23105) 2024-12-28 17:23:35 +00:00
Miguel Dingli 4a533fd385 test: Fix total supply bug in test util GenesisStateWithValSet (#23072) 2024-12-27 14:37:55 +00:00
Bob ef7dbc9ab9 Fixed typos and improved clarity in documentation (#23077) 2024-12-27 14:10:46 +00:00
Marko 817557365b ci: remove pr reminder (#23096) 2024-12-27 14:01:21 +00:00
Hieu Vu 784d1c8763 test(systemtest): Fix QueryBySig (#23102) 2024-12-27 12:54:00 +00:00
dependabot[bot]anddependabot[bot] aabd4b1922 build(deps): Bump github.com/jackc/pgx/v5 from 5.7.1 to 5.7.2 in /indexer/postgres/tests (#23078)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-26 09:37:48 +00:00
oliveredgetandson trinh 3be4eebf64 chore: fix typos (#23075)
Co-authored-by: son trinh <trinhleson2000@gmail.com>
2024-12-26 04:19:13 +00:00
DongLieu e39065d2c2 style(chore autocli): updates Example, Use auctocli (#23088) 2024-12-26 04:05:07 +00:00
leo 45a41a56bf docs: Quotation marks are used incorrectly. (#23071)
Signed-off-by: RiceChuan <lc582041246@gmail.com>
2024-12-26 04:02:05 +00:00
Hieu Vu 8ef2f8d00f test(test/systemtests): Add GasImprovement test (#22927) 2024-12-23 12:52:50 +00:00
dependabot[bot] 7982d3d2b4 build(deps): Bump actions/create-github-app-token from 1.11.0 to 1.11.1 (#23041)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 12:48:58 +00:00
fuder.eth d1f9fd8f36 docs: fix typos in documentation files (#23063) 2024-12-23 11:52:30 +00:00
SuiYuan 9729bf6a88 docs: fix markdown link syntax (#23060) 2024-12-23 11:48:12 +00:00
hatti 765ab62949 docs: remove redundant words and symbols (#23058) 2024-12-23 11:34:22 +00:00
ZoroandHieu Vu 2596c7f6be docs: fix dead link in UPGRADING.md (#23059)
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
2024-12-23 11:33:51 +00:00
dependabot[bot]anddependabot[bot] e66b3834a1 build(deps): Bump github.com/cosmos/cosmos-db from 1.1.0 to 1.1.1 (#23043)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-21 17:48:39 +00:00
Julián Toledano b14eeec3b6 fix(make): init-simapp (#23037) 2024-12-21 08:28:27 +00:00
Alex | Skip c12136bb51 refactor!: remove x/params (#22995) 2024-12-20 22:02:51 +00:00
Julien Robert 6a550b9e35 refactor: remove v1 commands and begin server removal (#23018) 2024-12-20 21:43:16 +00:00
Alex | SkipandMarko 71ddfbddbf refactor: remove invariants (#22994)
Co-authored-by: Marko <marko@baricevic.me>
2024-12-20 17:13:08 +00:00
osrm 6ed94527c1 docs: fix spelling errors (#23038) 2024-12-20 13:51:07 +00:00
Julien Robert b2c39e2bd0 docs: create v2 upgrading guide skeleton (#22696) 2024-12-20 11:09:11 +00:00
Julien Robert 5856fb6533 chore: prepare v2 beta (3/3) (#23034) 2024-12-20 09:27:18 +00:00
Julien Robert 5765ceef3d chore: prepare v2 beta (2/3) (#23032) 2024-12-20 09:06:28 +00:00
mmsqe 422be70442 fix(server/v2/api/telemetry): avoid panic due to no telemetry address (#23022) 2024-12-20 08:30:32 +00:00
dependabot[bot]andJulien Robert 9d3c384c84 build(deps): Bump github.com/cosmos/ledger-cosmos-go from 0.13.3 to 0.14.0 (#23029)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-20 08:16:55 +00:00
dependabot[bot] f465587407 build(deps): Bump github.com/cosmos/cosmos-db from 1.1.0 to 1.1.1 (#23030) 2024-12-20 08:42:03 +01:00
Julien Robert c6ac2ddf9d chore: prepare v2 beta (1/3) (#23017) 2024-12-20 04:23:38 +00:00
Julien Robert 4f5c3d8ca0 chore: remove snapshot commands (#23015) 2024-12-19 19:34:44 +00:00
Facundo Medica 65ceca640b docs: add docs on server v2 vote extensions (#23010) 2024-12-19 19:30:47 +00:00
Damian Nolan 2c16372907 fix(baseapp): fulfil all header.Info fields in test helpers context (#23014) 2024-12-19 19:30:14 +00:00
Julien Robert 4a073fa4a4 chore: remove simapp v1 (#23009) 2024-12-19 18:51:59 +00:00
Mateusz Kaczanowski 150f2d6b3a docs: Add blazar project to Cosmos SDK external tooling readme section (#23012) 2024-12-19 17:30:10 +00:00
fudancoder 69025c5566 chore: fix some function names in comment (#23008)
Signed-off-by: fudancoder <fudancoder@icloud.com.>
2024-12-19 15:47:48 +00:00
Julien Robert a9c1149155 test: investigate test failure due to wal log (#22679) 2024-12-19 15:00:37 +00:00
EmmanuelandJuan Leni 448b33d78d build(deps): upgrade ledger-cosmos-go package (#23007)
Co-authored-by: Juan Leni <juan.leni@zondax.ch>
2024-12-19 14:17:19 +00:00
Facundo Medica 6d12b1df8c feat(server/v2/cometbft): Implement necessary handlers and helpers for vote extensions (#22830) 2024-12-19 12:40:02 +00:00
9013a76bbf chore: fix spelling errors (#23004)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-19 12:15:23 +00:00
son trinh cb82789871 refactor(tests/integration) Migrate lockup and multisig integration tests to server v2 (#22924) 2024-12-19 10:48:37 +00:00
Julien Robert 578763edcc chore: sync changelogs (#22992) 2024-12-19 07:32:49 +00:00
dependabot[bot]anddependabot[bot] 88e4ce9610 build(deps): Bump github.com/spf13/cast from 1.7.0 to 1.7.1 (#22998)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-19 07:13:39 +00:00
dependabot[bot]anddependabot[bot] 9673817fe5 build(deps): Bump cosmossdk.io/schema from 0.4.0 to 1.0.0 in /core (#22996)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-19 07:12:20 +00:00
manuel-404 a68f032e5a docs: wrong link to getting started (#22991) 2024-12-18 21:02:16 +00:00
Ocenka 96cfd521d5 chore(docs): fix incorrect usage of 'a' and 'an' across documentation (#22976) 2024-12-18 17:10:47 +00:00
Julien Robert 4d6c991fb2 refactor: simplify group dependency graph and align 0.52 and main (#22978) 2024-12-18 13:29:52 +00:00
Julián Toledano cb56c6e47f feat(client/v2): support definitions of inner messages (#22890) 2024-12-18 10:48:12 +00:00
Julien Robert ca559989da refactor: limit breaking changes for next version (#22972) 2024-12-18 08:47:12 +00:00
dependabot[bot] 751679fc2e build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.6 to 0.50.11 in /systemtests (#22970)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-18 07:52:21 +00:00
Akhil Kumar P 8a11925ce5 test(integration): port x/staking tests to server v2 (#22813) 2024-12-18 07:45:37 +00:00
Julien Robert 771d66284b chore: package release prep (3/n) (#22929) 2024-12-18 06:48:16 +00:00
Ayene 36a846c621 chore: fix docs links (#22931) 2024-12-17 18:36:26 +00:00
son trinhandAlexander Peters def23f0932 fix(x/accounts/default/lockup): Lockup account track undelegation when unbonding entry is mature (#22254)
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
2024-12-17 16:22:15 +00:00
Julien Robert 0a8917802c chore: re-add IntProto and DecProto and deprecate msg (#22925) 2024-12-17 14:57:03 +00:00
dependabot[bot]anddependabot[bot] 5799c15b90 build(deps): Bump github.com/bytedance/sonic from 1.12.5 to 1.12.6 in /log (#22917)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-17 07:54:35 +00:00
dependabot[bot]anddependabot[bot] fb2bce5367 build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.35.2-20241120201313-68e42a58b301.1 to 1.36.0-20241120201313-68e42a58b301.1 in /api (#22916)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-17 06:55:16 +00:00
Julien Robert 129ac8f223 chore: add v0.47.15 and v0.50.11 changelog to main (#22911) 2024-12-17 05:16:50 +00:00
dependabot[bot] 7f63b6eb8d build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.10 to 0.50.11 in /tools/hubl (#22905)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 22:46:25 +00:00
dependabot[bot] 36849974d7 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.10 to 0.50.11 in /tools/confix (#22906)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 22:45:48 +00:00
dependabot[bot] 28e3bc4de1 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.10 to 0.50.11 in /tools/cosmovisor (#22907)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 22:45:34 +00:00
dependabot[bot] ad10d24526 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.6 to 0.50.11 in /tests/systemtests (#22908)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 22:45:21 +00:00
Julien Robert ee5da1a70d chore: package release prep (2/n) (#22885) 2024-12-16 19:35:53 +00:00
Alex | Skip f14cbd2584 refactor(x/validate): add nil protection (#22902) 2024-12-16 19:32:13 +00:00
Alexander Peters c6b1bdcd56 fix: Limit recursion depth for unknown field detection and unpack any (#22901) 2024-12-16 17:04:52 +00:00
son trinh f22d2a84a1 refactor(tests/integration): Port x/accounts integration tests to server v2 (#22881) 2024-12-16 16:29:18 +00:00
4e81d17254 chore: fix spelling errors (#22888)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-16 16:27:30 +00:00
Julien Robert eb1a8e88a4 chore: prep v0.50.11 release notes (#22898) 2024-12-16 17:17:28 +01:00
Julien RobertandMarko cfe194013c test: fix failing tests after protocompat changes (#22889)
Co-authored-by: Marko <marko@baricevic.me>
2024-12-16 16:06:22 +00:00
Alexander Peters ba7ac458c9 Merge commit from fork
* Limit recursion depth for unknown field detection

(cherry picked from commit f038dc731c55be1e1c526e67695acc358631afd6)

* Limit unpack any

(cherry picked from commit 1a2bff56fb7391f9ce87d4fbe9e0367ae991c0b2)

* Update Changelog

* Another limit recursion depth for unknown field detection

* Update changelog
2024-12-16 17:06:10 +01:00
mmsqe c263939faa fix(test): avoid concurrent read and write on same hash in oe test (#22892) 2024-12-16 13:47:43 +00:00
Marko 234cdc45f2 refactor(x/staking)!: removing unbonding queue index (#22795) 2024-12-16 10:48:54 +00:00
mergify[bot]andJulien Robert 679ca5efcd chore: edit changelog store (partial backport #22864) (#22884)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-16 11:26:24 +01:00
dependabot[bot]anddependabot[bot] 2c2249ffd3 build(deps): Bump cosmossdk.io/x/tx from 1.0.0-alpha.2 to 1.0.0-alpha.3 (#22873)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-16 09:06:36 +00:00
Julien Robert 8ff9f48bb4 chore: package release prep + update UPGRADING.md (#22864) 2024-12-16 09:04:23 +00:00
lilasxie 5761530e50 docs: correct Continous spelling to Continuous (#22880) 2024-12-16 08:37:47 +00:00
Andi 6500a72e58 docs: fix spelling errors in the description (#22874)
Signed-off-by: ChengenH <hce19970702@gmail.com>
2024-12-16 06:18:47 +00:00
RiceChuan a7372d932e docs: Spelling error. (#22872)
Signed-off-by: RiceChuan <lc582041246@gmail.com>
2024-12-15 23:50:19 +00:00
son trinh 615226093e refactor(tests/integration): Migrate mint and protocolpool integration tests to server v2 (#22859) 2024-12-15 11:13:55 +00:00
Julien Robert 256ec4f902 refactor(client/v2): remove gov dependency (#22867) 2024-12-13 16:45:04 +00:00
testinginprod 25cbf98983 fix(baseapp): hybrid handlers do not drop any (#22866) 2024-12-13 15:46:03 +00:00
son trinh 957e241716 refactor(tests/integrations): Port gov integration tests with server v2 setup (#22850) 2024-12-13 08:13:18 +00:00
Julien Robert 570585090a chore: sync changelog to main + clean-up replaces (#22846) 2024-12-13 07:49:38 +00:00
Matt Kocubinski 629106eb84 fix(x/tx): fallback to injected resolver for placeholder descriptors (#22852) 2024-12-12 18:20:56 +00:00
Matt Kocubinski 14c841c86e feat(tools/benchmark): introduce benchmark module (#22778) 2024-12-12 15:33:23 +00:00
Robert Zaremba 02fe18c7dc build(deps): fix x/protocolpool version in x/feegrant (#22840) 2024-12-12 13:39:18 +00:00
Julien Robert e6948eeda8 fix(stf,server/v2/cometbft): fix default events + improve codec handling (#22837) 2024-12-12 10:42:57 +00:00
dependabot[bot]andJulien Robert 3b082b5e14 build(deps): Bump cosmossdk.io/x/tx from 0.13.6-0.20241003112805-ff8789a02871 to 0.13.6 (#22844)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-12 09:54:42 +00:00
dependabot[bot]anddependabot[bot] a068405339 build(deps): Bump cosmossdk.io/schema from 0.3.0 to 0.4.0 in /core (#22842)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-12 07:59:32 +00:00
dependabot[bot]anddependabot[bot] 0895a2ff64 build(deps): Bump golang.org/x/crypto from 0.30.0 to 0.31.0 (#22841)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-12 06:33:57 +00:00
mergify[bot] d62bcbdb55 fix(x/tx): fix amino json drift from legacy spec (backport #21825) (#22088) 2024-12-12 02:13:57 +01:00
Julien Robert f2663280c4 test(systemtest): fix cometbft client (#22835) 2024-12-11 20:36:48 +00:00
Hieu VuandJulien Robert a38a6a2c8b refactor(server/v2/cometbft): Handle non-module service queries (#22803)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-11 15:49:53 +00:00
899099f1d6 chore: fix spelling errors (#22829)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-11 14:31:14 +00:00
Akhil Kumar PandJulien Robert cef0f8497f refactor!: remove testutil/network (#22392)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-11 11:51:39 +00:00
Julien Robert 71d2571e21 refactor(testutil)!: remove cmdtest (#22826) 2024-12-11 11:19:24 +00:00
Julián Toledano 5b124267e6 feat(client/v2)!: dynamic prompt (#22775) 2024-12-11 10:28:23 +00:00
Julien Robert aa8266e702 docs: runtime docs (#22816) 2024-12-11 08:10:45 +00:00
Julien Robert c08ab17de6 docs: update server/v2 api contract (#22815) 2024-12-11 06:52:21 +00:00
dependabot[bot] 0adf6fde1a build(deps): Bump github.com/fergusstrange/embedded-postgres from 1.29.0 to 1.30.0 in /indexer/postgres/tests (#22822)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-11 06:45:14 +00:00
4a73a1ecef fix(client/v2/autocli): add CoinDec flag (backport #22817) (#22821)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-10 22:32:14 +01:00
Marko 19fbd0b855 chore(v2): add example of setting store metrics (#22819) 2024-12-10 21:07:52 +00:00
57b4d3003b fix(client/v2/autocli): add CoinDec flag (#22817)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-10 20:20:30 +00:00
Alex | Skip 6a7ecd89ee feat(version): update version command to return v2 info (#22807) 2024-12-10 16:52:17 +00:00
mmsqe cb26ce3fe3 fix(server/v2): avoid server stop get call before start for multi components (#22811) 2024-12-10 15:43:51 +00:00
mmsqe e07fee5cc1 fix(systemtests): avoid HTTP server on port 8080 conflict when AddFullnode (#22810) 2024-12-10 08:11:55 +00:00
Facundo Medica 332d0b106d feat(indexer/postgres)!: add basic support for header, txs and events (#22695) 2024-12-09 18:36:24 +00:00
Julien Robert 34f407d636 test(systemtests): fix export v2 (#22799) 2024-12-09 14:53:49 +00:00
testinginprodandJulien Robert ecd53f8497 feat(x/accounts)!: make address generation more robust and add predictable address creation (#22776)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-09 14:50:11 +00:00
13e3e211a6 chore: fix spelling errors (#22802)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-09 12:26:05 +00:00
Marko f995d0a219 chore(docs): update store v2 adr (#22794) 2024-12-09 11:19:18 +00:00
Julien RobertandAkhil Kumar P 8ef35c39ba docs: rewrite building module section (2/n) -- env + core services (#22790)
Co-authored-by: Akhil Kumar P <36399231+akhilkumarpilli@users.noreply.github.com>
2024-12-09 09:30:13 +00:00
dependabot[bot]anddependabot[bot] 6cf9d57be9 build(deps): Bump github.com/magiconair/properties from 1.8.7 to 1.8.9 (#22797)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-09 07:14:31 +00:00
Julien Robert 9525d91f6e fix(simapp/v2): register extra gRPC gateway routes (#22786) 2024-12-09 07:14:16 +00:00
Andi 7e02d59d32 refactor(x/tx): Error handling now includes detailed information using fmt.Errorf (#22796)
Signed-off-by: ChengenH <hce19970702@gmail.com>
2024-12-09 06:45:09 +00:00
xujiangyuandheren-ke 8ca82729fa test: add test examples for prefixdb.go (#22752)
Co-authored-by: heren-ke <fghjtuy@163.com>
2024-12-07 12:53:05 +00:00
Julien Robert dda47b5e0e chore: clean-up main (#22787) 2024-12-06 14:16:59 +00:00
Julien Robert 467dc245bc test(systemtests): fix mint v2 tests (#22789) 2024-12-06 13:57:12 +00:00
son trinh 9c40d0f6d6 docs(x/accounts/defaults/lockup): Add slash document for lockup account (#22783) 2024-12-06 13:02:26 +00:00
Julien Robert 4caac04c23 test(systemtests): fix gRPC tests for v1 & v2 (#22774) 2024-12-06 11:03:12 +00:00
mmsqe 3a2a0ac666 test(systemtests): fix query block-results in TestStakeUnstake for v2 (#22782) 2024-12-06 06:19:56 +00:00
Matt Kocubinski 10c54005be fix(confix): correctly distinguish server/v2 config (#22780) 2024-12-05 22:47:32 +00:00
Alexander Peters abc5fd0226 feat(math): Implement custom hybrid un-/marshal model (#22529) 2024-12-05 20:28:14 +00:00
Akhil Kumar P 00c7756610 test(integration): port x/slashing tests to server v2 (#22754) 2024-12-05 13:27:26 +00:00
66c593f147 build(deps): Bump google.golang.org/grpc from 1.68.0 to 1.68.1 (#22764)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-12-05 10:57:45 +00:00
Hieu Vu 9f7f17b667 test(server/v2/cometbft): Add Consensus query p2p, app, grpc (#22771) 2024-12-05 10:26:13 +00:00
Julien Robert 3727f23efd ci: run runtime/v2 tests in CI (#22769) 2024-12-05 09:51:30 +00:00
Alex | Skip 227854e258 test: fix failing runtime/v2 test (#22760) 2024-12-05 08:29:55 +00:00
Dong Lieu ec5225c31c docs(x/gov): Sync Example with Use in autocli (#22768) 2024-12-05 08:13:29 +00:00
dependabot[bot]anddependabot[bot] f8a3226ad5 build(deps): Bump github.com/prometheus/common from 0.60.1 to 0.61.0 (#22761)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-12-05 06:32:55 +00:00
Julien Robertandmmsqe 556102cfa0 fix(server/v2/cometbft): proper query error (#22746)
Co-authored-by: mmsqe <mavis@crypto.com>
2024-12-04 16:06:09 +00:00
Damian Nolan 92ddbf7dc3 fix(baseapp): sort res.Validators before comparing in InitChain (#22757) 2024-12-04 15:15:56 +00:00
yihuang eb3bf8b046 fix: prune cmd should disable async pruning (#22656) 2024-12-04 12:31:27 +00:00
Julien Robert 7fa2356c07 feat(server/v2/stf): delayed marshalling of typed event (#22684) 2024-12-04 10:16:18 +00:00
Damian Nolan 330954e884 fix(baseapp): set req.Time for ctx header info in ExtendVote (#22745) 2024-12-04 10:05:47 +00:00
Hieu Vu c47fb8ab2d refactor: Use HybridResolver instead of protoregistry.GlobalFiles in runtime/v2/manager (#22744) 2024-12-04 10:00:30 +00:00
mmsqe aa5d8ab1bd ci: disable mockgen that fails duplicate imports error (#22743) 2024-12-04 09:44:01 +00:00
Alex | Skip 99dd55b221 docs(simapp): update CHANGELOG to proper version (#22739) 2024-12-03 22:23:55 +00:00
Julien Robert 7d117425d8 fix(runtime/v2): return genesis val updates (#22729) 2024-12-03 21:25:27 +00:00
Damian Nolan 371e05abc4 fix(baseapp): correctly set header info time on query ctx (#22732) 2024-12-03 21:10:05 +00:00
Julien Robert af4b7d20c5 refactor(server/v2/grpc): simplify node service (#22728) 2024-12-03 17:11:19 +00:00
Marko 94cfcc11aa refactor(store/v2)!: simplify storage (#22683) 2024-12-03 16:18:19 +00:00
Julien Robert 5426cd8f34 docs: rewrite building module section (1/n) - mm (#22724) 2024-12-03 14:39:55 +00:00
Julián Toledano 538e1d1c7c refactor(client/v2)!: remove client.Context (#22493) 2024-12-03 12:34:43 +00:00
Akhil Kumar P 0e31188d50 test(integration): port x/evidence tests to server v2 (#22709) 2024-12-03 12:08:27 +00:00
johson-llandheren-ke 2964c5ef63 test: add test case for memiterator.go (#22725)
Co-authored-by: heren-ke <fghjtuy@163.com>
2024-12-03 10:34:13 +00:00
son trinh 6a52694ef7 refactor(tests/integration): Port distribution integration tests to server v2 (#22667) 2024-12-03 09:45:15 +00:00
78c8057a18 docs: fix typos in various documentation files (#22722)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-03 09:10:51 +00:00
Julien Robert 4d1adcf955 fix(x/auth): facultative vesting as well in simulation (#22721) 2024-12-03 08:32:13 +00:00
Julien Robert 1c4dc89ead chore(schema): rename ReferenceType to ReferenceableType (#22698) 2024-12-03 08:07:32 +00:00
Marko 9d9c19c0f8 fix(crypto): bls compilation (#22717) 2024-12-02 17:34:30 +00:00
mmsqeandJulien Robert f350775d0e feat(server/v2/grpcgateway): register grpcgateway server and module endpoints (#22701)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-12-02 11:51:47 +00:00
Julien Robert 96a30160b3 chore: prepare v0.50.11 (#22643) 2024-12-02 11:48:49 +01:00
mmsqe e7fe651b49 fix(simapp/v2): failed to start HTTP server on port 8080 conflict (#22687) 2024-12-02 10:32:49 +00:00
mmsqe c207a45051 fix(simapp/v2): add binary version cmd (#22705) 2024-12-02 07:59:29 +00:00
Matt KocubinskiandMarko 40430febc5 fix(store/v2): iavl/v2 reverse iterator (#22699)
Co-authored-by: Marko <marko@baricevic.me>
2024-12-01 18:49:31 +00:00
Julien Robert 26afbaf0d1 fix(store/v2): don't delete future version when calling LoadVersion (#22681) 2024-11-30 03:43:56 +00:00
Matt Kocubinski 24d456db40 feat(store/v2): add support for iavl/v2 (#22424) 2024-11-29 19:02:47 +00:00
dependabot[bot]andJulien Robert 6fb8299a67 build(deps): Bump github.com/cosmos/iavl from 1.3.1 to 1.3.2 in /store (#22691)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-29 10:26:31 +00:00
李绪熙 87f7994353 chore: fix some problematic function names in comment (#22690)
Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
2024-11-29 08:15:29 +00:00
Julien Robert 6cfe2dc1bb feat(server/v2,upgrade): add skip upgrade flag (#22682) 2024-11-28 14:52:53 +00:00
Randy GrokandRandy Grok 9caec0658d feat(server/v2/cometbft): optimistic execution (#22560)
Co-authored-by: Randy Grok <@faulttolerance.net>
2024-11-28 12:29:35 +00:00
Julien Robertandmarbar3778 ca48cef255 build(deps): bump cometbft to v1.0.0-rc2 (#22577)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-11-28 11:33:27 +00:00
Facundo Medica 300348fe53 chore: Fix go.mods replaces from #22544 (#22677) 2024-11-28 10:42:41 +00:00
Facundo Medica bd76b47e1d feat(indexer): add to modules and implement proto fields (#22544) 2024-11-28 09:46:59 +00:00
Hieu Vu 18dcdb8f45 fix: TestAccountsMigration systemtest with simdv2 (#22673) 2024-11-28 09:17:02 +00:00
Alexander Peters a267da6ef6 fix(simapp,systemtests): fix chain upgrade (#22669) 2024-11-27 14:51:11 +00:00
oren-lava b5b2f49e81 feat(collections): add collections reverse triple helpers (#22641) 2024-11-27 11:54:45 +00:00
son trinh 5048f26d66 refactor(tests): Port auth integration tests to server v2 (#22554) 2024-11-27 11:24:42 +00:00
dependabot[bot]andJulien Robert 43ac3df692 build(deps): Bump github.com/cosmos/iavl from 1.2.0 to 1.2.2 (#22662)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-27 09:28:29 +01:00
Julien Robert f296a5005c chore: prepare systemtests release (#22658) 2024-11-27 06:32:59 +00:00
Julien Robert 48f2b36854 fix(x/staking): make metadata nullable (#22556) 2024-11-26 23:46:22 +00:00
Alexander Petersandmarbar3778 14d98d2771 refactor(systemtests): Extract system test framework (#22578)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-11-26 14:46:54 +00:00
Marko f153426ab2 chore: move generic txdecoder (#22653) 2024-11-26 14:25:08 +00:00
Julien Robert a60dfdab12 fix(x/staking): use staking bonddenom in check (#22646) 2024-11-26 08:23:22 +00:00
dependabot[bot] 8c00b866c2 build(deps): Bump github.com/bytedance/sonic from 1.12.4 to 1.12.5 in /log (#22648)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 08:10:02 +00:00
c1f8cfc936 build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.35.2-20240701160653-fedbb9acfd2f.1 to 1.35.2-20241120201313-68e42a58b301.1 in /api (#22647)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: son trinh <trinhleson2000@gmail.com>
2024-11-26 07:55:34 +00:00
auricom 923613db5e ci: checkout with app-token (dependabot-update-all) (#22612) 2024-11-26 02:23:19 +00:00
dependabot[bot]andJulien Robert 7bb2a3d8ce build(deps): Bump github.com/cosmos/cosmos-db from 1.0.2 to 1.1.0 (#22638)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-25 13:07:13 +01:00
Julien Robert 2d04a1af21 fix(testutil/integration): use only one context in integration test framework (#22616) 2024-11-25 10:54:23 +00:00
463104903f build(deps): Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#22627)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-25 08:37:27 +00:00
Joowon Yun 6cbd15cfc7 feat(x/bank): Allow value with slashes in DenomMetadata (#22543) 2024-11-25 08:22:44 +00:00
mergify[bot] bb58fc6c1b ci(mergify): upgrade configuration to current format (#22626)
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
2024-11-25 01:15:49 +00:00
Hieu Vu fdb7688804 test: fix integration test TestSendEnabled (#22620) 2024-11-22 15:22:43 +00:00
testinginprod 3ebd7e53ed feat(serverv2): add benchmarks of (old) cacheKV vs branch (#22497) 2024-11-22 12:15:02 +00:00
Marko 9d6d1067bc fix: match comets bls implmentation (#22613) 2024-11-22 10:36:30 +00:00
4ed1087cf5 feat(math): Upstream GDA based decimal type (#21982)
Co-authored-by: samricotta <samanthalricotta@gmail.com>
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2024-11-22 10:29:01 +00:00
8210b50647 fix(client/v2/autocli): prevent duplicate addition of customCommands (backport #22576) (#22615)
Co-authored-by: violet <158512193+fastfadingviolets@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-21 21:43:48 +01:00
violetandJulien Robert 685218e532 fix(client/v2/autocli): prevent duplicate addition of customCommands (#22576)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-21 15:19:42 +00:00
f74a9f63a8 build(deps): Bump cosmossdk.io/math from 1.3.0 to 1.4.0 (#22580)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-21 08:02:33 +00:00
dependabot[bot] 56c2c7dce7 build(deps): Bump cosmossdk.io/math from 1.3.0 to 1.4.0 (#22607) 2024-11-21 11:46:22 +04:00
Marko b45cf753a7 fix(server/v2/api/telemetry): enable global metrics (#22571) 2024-11-20 17:39:09 +00:00
Julien Robert efc05e8122 refactor(server/v2/cometbft): add codec.Codec and clean-up APIs (#22566) 2024-11-20 15:52:18 +00:00
Julien Robert d810b77c71 feat(core/coretesting): make memDB satisfy db.Db interface (#22570) 2024-11-20 15:35:37 +00:00
mergify[bot]andJulien Robert 47874acfaf fix(server): fix fallback genesis path (backport #22564) (#22573)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-20 15:33:42 +00:00
Alexander PetersandJulien Robert c6522a72a4 Merge commit from fork
* Fix valid decimal range

* Review feedback

* Update changelog; retract versions

---------

Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-20 16:13:08 +01:00
Julien Robert 1effb80c8b fix(server(/v2)): fix fallback genesis path (#22564) 2024-11-20 15:02:02 +00:00
Damian Nolan 50c5963d96 fix: only overwrite context chainID when necessary (#22568) 2024-11-20 10:51:51 +00:00
Eric Mokaya 6351dc3a73 docs(client): Update setFeeGranter and setFeePayer comments (#22526) 2024-11-20 10:20:23 +00:00
Julien Robert 3d618f500e fix(baseapp): populate header info in NewUncachedContext (#22557) 2024-11-20 07:03:21 +00:00
b1f95988e5 build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.35.1-20240701160653-fedbb9acfd2f.1 to 1.35.2-20240701160653-fedbb9acfd2f.1 in /api (#22551)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-19 15:45:52 +00:00
c7e3d6066d build(deps): Bump github.com/creachadair/atomicfile from 0.3.5 to 0.3.6 in /tools/confix (#22552)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-19 15:44:18 +00:00
NAIHANUandJulien Robert bf6d6f3ae8 docs: Update reference of Approximation (#22550)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-19 15:34:46 +00:00
Julien Robert d697a3de0f fix(server/v2/comebft): wire missing services + fix simulation (#21964) 2024-11-19 13:49:33 +00:00
auricom f96b3b00e3 ci: fix permissions for GITHUB_TOKEN on dependabot workflows (#22547) 2024-11-19 13:36:22 +00:00
auricom 9e36674378 ci: fix permissions for GITHUB_TOKEN in spell check workflow (#22545) 2024-11-18 14:57:43 +00:00
1b3aeb75d4 build(deps): Bump google.golang.org/protobuf from 1.35.1 to 1.35.2 (#22537)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: son trinh <trinhleson2000@gmail.com>
2024-11-18 10:05:16 +00:00
Akhil Kumar P fbd725dce7 fix(cosmovisor): premature upgrade on restart (#22528) 2024-11-18 08:46:41 +00:00
Matt Kocubinski 005ecad6c9 fix(store/v2/pebble): handle version 0 in keys (#22524) 2024-11-15 23:07:47 +00:00
Julien Robert e74799e1c3 refactor(server/v2/telemetry): swap redirects (#22520) 2024-11-13 14:39:44 +00:00
XiaoBei 276a667d77 docs: Update content in CODE_OF_CONDUCT.md (#22518) 2024-11-13 14:07:44 +00:00
Wukingbow f1bd0d8358 docs: update links for https security protocol (#22514) 2024-11-12 14:32:44 +00:00
dependabot[bot] 96a1c1c833 build(deps): Bump github.com/bytedance/sonic from 1.12.3 to 1.12.4 in /log (#22513)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 09:19:12 +00:00
Facundo Medica 13c234f421 feat(x/protocolpool)!: allow any coins in continuous funds (#21916) 2024-11-11 18:05:59 +00:00
middthe d98626913c docs: Update protobuf tx signing message format outer link (#22510) 2024-11-11 18:04:16 +00:00
Akhil Kumar P 78f08e8cac test(accounts): fix integration tests (#22418) 2024-11-11 15:12:15 +00:00
pinglanlu 370ee14df1 chore(x): fix some typos in comment (#22508)
Signed-off-by: pinglanlu <pinglanlu@outlook.com>
2024-11-11 13:03:13 +00:00
d38d026356 build(deps): Bump cosmossdk.io/log from 1.4.1 to 1.5.0 (#22487)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-11 10:59:54 +00:00
dependabot[bot]andJulien Robert ab3128ad3a build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.5 to 1.0.0-alpha.6 (#22502)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-11 09:42:13 +00:00
606544c7be build(deps): Bump golang.org/x/crypto from 0.28.0 to 0.29.0 (#22480)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-08 15:38:15 +00:00
Marko 78b5cd4dbd docs(adr75): server v2 (#21069) 2024-11-08 14:49:57 +00:00
Julien Robert 6eca7eb9da fix(server/v2): improve server stop (#22455) 2024-11-08 14:44:15 +00:00
Julien Robert 3ac16655ea chore: prepare core changelog (#22495) 2024-11-08 14:43:49 +00:00
Matt KocubinskiandMarko 43e28b43ad refactor(store/v2): simplify genesis flow (#22435)
Co-authored-by: Marko <marko@baricevic.me>
2024-11-08 14:05:25 +00:00
406f977be0 build(deps): Bump google.golang.org/grpc from 1.67.1 to 1.68.0 (#22486)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: son trinh <trinhleson2000@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-08 09:59:21 +00:00
auricom d8d7eb0a31 build(deps): Bump actions/xxx-artifact from v3 to v4 (#22473) 2024-11-08 10:20:25 +01:00
8b31c5dc19 build(deps): Bump golang.org/x/sync from 0.8.0 to 0.9.0 (#22482)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: son trinh <trinhleson2000@gmail.com>
2024-11-08 08:44:01 +00:00
GnaD 42c616c87f feat(x/circuit): Allow msg Reset with empty msgURL (#22459) 2024-11-08 04:05:23 +00:00
auricom 4e240908dd build(deps): Bump actions/xxx-artifact from v3 to v4 (#22468) 2024-11-07 15:38:45 +00:00
testinginprodandmarbar3778 99b4858a95 feat(stf/branch): simplify merged iterator (#22131)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-11-07 14:50:26 +00:00
Julien Robert ffa74d17cb refactor(log): disable coloring in testing logger (#22466) 2024-11-07 13:13:48 +00:00
Julián Toledano f6c7ab68e7 chore(x/tx): update changelog to alpha.2 (#22465) 2024-11-07 11:01:21 +00:00
dependabot[bot] 6caa2377f8 build(deps): Bump github.com/cometbft/cometbft from 0.38.8 to 0.38.15 in /tests/systemtests (#22450)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-07 09:05:32 +00:00
GnaD 00f3065e70 feat(x/circuit): Add validation for permission when an account is assigned and validation for msgURL (#22460) 2024-11-07 08:48:33 +00:00
dependabot[bot]andsontrinh16 0ab53198c7 build(deps): Bump cosmossdk.io/depinject from 1.0.0 to 1.1.0 (#22463)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
2024-11-07 09:47:34 +01:00
cool-developer 2290c5ee55 fix(indexer): the issues during simapp v1 integration (#22413) 2024-11-06 23:26:57 +00:00
Matt Kocubinski fdccc8455e fix(simapp/v2): full AutoCLI support (#22410) 2024-11-06 19:06:55 +00:00
Matt Kocubinski b5993d6b03 test(integration): port x/bank tests to server/v2 app (#21912) 2024-11-06 18:53:30 +00:00
dependabot[bot]andmergify[bot] 2d4000daa8 build(deps): Bump github.com/cometbft/cometbft from 0.38.12 to 0.38.15 in /tools/confix (#22449)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-11-06 18:10:03 +00:00
GnaD feec831d2d docs(x/circuit): Update specific detail on x/circuit module document (#22453) 2024-11-06 18:09:39 +00:00
dependabot[bot] bf422bcff0 build(deps): Bump github.com/cometbft/cometbft from 0.38.12 to 0.38.15 in /tools/cosmovisor (#22448)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-06 18:01:52 +00:00
dependabot[bot]andmergify[bot] f86298de3a build(deps): Bump github.com/cometbft/cometbft from 0.38.12 to 0.38.15 in /tools/hubl (#22451)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-11-06 18:01:43 +00:00
Julien Robert 3014713d44 refactor(server/v2): remove serverv2.AppI (#22446) 2024-11-06 17:14:14 +00:00
Matt KocubinskiandJulien Robert bf8c0da179 feat(depinject): silently ignore private fields on In structs (#22438)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-06 15:40:50 +00:00
mergify[bot]andJulien Robert 3b72e771ec feat(client/v2): add keyring flags in query commands (backport #22443) (#22445)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-06 16:21:51 +01:00
Julien Robert 1539e004ee feat(client/v2): add keyring flags in query commands (#22443) 2024-11-06 15:02:28 +00:00
Matt Kocubinski 9611c5a0e6 build(deps): upgrade to iavl@v1.3.1 (#22436) 2024-11-06 09:35:05 +00:00
Eric MokayaandJulien Robert d0d8585e8a docs: Update tendermint validators query pagination documentation (#22412)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-06 09:13:21 +00:00
Julián ToledanoandJulien Robert ed46a4c93a refactor(client/v2): offchain uses client/v2/factory (#22344)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-05 15:49:09 +00:00
62ddd3e939 feat: wire new handlers to grpc (#22333)
Co-authored-by: Randy Grok <@faulttolerance.net>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-05 15:31:22 +00:00
mergify[bot]andJulien Robert 6be4b79066 fix(x/group): proper address rendering in error (backport #22425) (#22432)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-05 10:26:27 +01:00
Julien Robert 8c24b6bef1 fix(x/group): proper address rendering in error (#22425) 2024-11-05 09:02:47 +00:00
Hieu Vu 55f7cfceba refactor(serevr/v2/cometbft): update RegisterQueryHandlers and GRPC queries (#22403) 2024-11-05 07:39:32 +00:00
Julien Robert e9436a6a1b docs: update ADR 59 (#22423) 2024-11-05 07:38:08 +00:00
e0f644beb9 build(deps): Bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0 in /tools/cosmovisor (#22407)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-11-04 19:54:49 +00:00
Eric Mokaya 3ba4661dc7 docs: Module account address documentation (#22289) 2024-11-04 16:04:56 +00:00
Eric Mokaya 80402e7dce feat(baseapp): add per message telemetry (#22175) 2024-11-04 14:17:28 +00:00
Hwangjae Lee 838f1557af docs: Update Twitter Links to X in Documentation (#22408)
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
2024-11-04 08:42:51 +00:00
Troy 5b7fc8ae90 docs: redirect the remote generation page (#22404) 2024-10-31 20:21:46 +00:00
testinginprod c754b206c2 refactor(serverv2): remove unused interface methods, honuor context (#22394) 2024-10-30 17:23:34 +00:00
Matt Kocubinski 470e085946 fix(server/v2): return ErrHelp (#22399) 2024-10-30 15:35:07 +00:00
cool-developerandFacundo Medica 6b6e71594a feat(indexer): implement schema.HasModuleCodec interface in the bank module (#22349)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-10-30 13:13:12 +00:00
xujiangyuandheren-ke ee16adb092 refactor(math): refactor ApproxRoot for readality (#22263)
Co-authored-by: heren-ke <fghjtuy@163.com>
2024-10-30 10:49:00 +00:00
KI fa3eadccf6 docs: fix KWallet Handbook (#22395) 2024-10-30 10:47:54 +00:00
Julián Toledano 78cfc68c83 feat(client/v2): broadcast logic (#22282) 2024-10-29 09:20:41 +00:00
Matt Kocubinski 31f97e934e refactor(server/v2): eager config loading (#22267) 2024-10-29 06:09:16 +00:00
Julián Toledano 7b9a89b568 test(system): check feePayers signature (#22389) 2024-10-28 18:59:35 +00:00
Marko 22231f7c6d refactor(x/slashing): remove extra get (#22376) 2024-10-28 13:40:42 +00:00
Marko 6e3b2df7f9 feat(core): add a new codec to core (#22326) 2024-10-28 13:08:08 +00:00
Akhil Kumar P 94919dc99a ci: increase test-system timeout (#22386) 2024-10-28 12:36:40 +00:00
e37d71ad24 test: migrate remaining e2e tests to integration tests (#22364)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marko@baricevic.me>
2024-10-27 14:15:02 +00:00
fc5536a641 build(deps): Bump github.com/prometheus/common from 0.60.0 to 0.60.1 (#22362)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-27 04:29:16 +00:00
Pratik patil 51d8acf0f1 docs: fixed typo in threshold and quorums section of onchain multi-sig guide in user guide section of sdk docs (#22374) 2024-10-26 14:04:15 +00:00
harry m. k. 712b76e170 docs: fix run-in-prod hyperlink (#22373) 2024-10-26 13:59:11 +00:00
Matt Kocubinski cf419e11b3 build(deps): use cosmossdk.io/core v1.0.0-alpha.5 (#22369) 2024-10-25 15:56:10 +00:00
dfc6bf0c84 build(deps): Bump github.com/hashicorp/go-plugin from 1.6.1 to 1.6.2 in /store (#22363)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-25 15:18:50 +00:00
Julián Toledano 9f79dd39f5 docs: learn/advance (#22367) 2024-10-25 15:04:42 +00:00
Matt Kocubinski 49e1bc2073 feat(core): add ConfigMap type (#22361) 2024-10-25 11:38:52 +00:00
Hieu Vu aa4614e480 test: migrate e2e/genutil to systemtest (#22325) 2024-10-25 07:55:29 +00:00
testinginprod ec63f94894 feat(accounts): re-introduce bundler (#21562) 2024-10-25 07:46:23 +00:00
Mark Rushakoff 7262cf3346 feat(log): add slog-backed Logger type (#22347) 2024-10-24 18:24:31 +00:00
Julián Toledano bf58aaf2bf fix(x/tx): add feePayer as signer (#22311) 2024-10-24 14:37:51 +00:00
Akhil Kumar P cea49ba2b9 test: migrate e2e/baseapp to integration tests (#22357) 2024-10-24 10:46:06 +00:00
Akhil Kumar P 33e323135e test: add x/circuit system tests (#22331) 2024-10-24 09:29:41 +00:00
Hieu Vu ea219a201c test: migrate e2e/tx tests to systemtest (#22152) 2024-10-24 09:18:37 +00:00
Mark Rushakoff 6e6255df1f refactor(simdv2): allow non-comet server components (#22351) 2024-10-24 08:32:38 +00:00
dependabot[bot] 0630099f4c build(deps): Bump rtCamp/action-slack-notify from 2.3.1 to 2.3.2 (#22352)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-24 08:32:11 +00:00
Mark Rushakoff bf127028b2 fix(server/v2): respect context cancellation in start command (#22346) 2024-10-23 20:11:06 +00:00
Mark Rushakoff 864ae34378 chore(simdv2): allow overriding the --home flag (#22348) 2024-10-23 20:05:21 +00:00
Mark Rushakoff 762fad2aa0 feat(server/v2): add SimulateWithState to AppManager (#22335) 2024-10-23 12:33:28 +00:00
Julien Robert 98be2b8551 docs(x/accounts): improve comments (#22339) 2024-10-23 10:33:03 +00:00
zakir 1515856560 chore: remove unused local variables (#22340) 2024-10-23 08:33:36 +00:00
Lucas Francisco López 8fa3090aab test: x/accounts systemtests (#22320) 2024-10-23 01:29:50 +00:00
Mark Rushakoff 1c949f772f chore(client): use command's configured output (#22334) 2024-10-22 23:08:45 +00:00
Marko cd3ce0c7a4 perf(log): use sonic json lib (#22233) 2024-10-22 17:43:32 +00:00
Julien Robert 3e65a610bd build(deps): bump x/tx (#22327) 2024-10-22 10:27:51 +00:00
Julien Robert 2711ecefc1 fix(x/accounts/lockup): fix proto path (#22319) 2024-10-21 15:33:47 +00:00
Julien Robert 681366e346 refactor(runtime/v2): simplify app manager (#22300) 2024-10-21 13:45:28 +00:00
cool-developer 97d37ae243 feat(store): add new api LatestVersion (#22305) 2024-10-21 13:09:58 +00:00
cool-developer 6e59ad0dee feat(store/v2): route to the commitment during migration (#22290) 2024-10-21 11:50:45 +00:00
Matt KocubinskiandJulien Robert 2f0a2b400c refactor(x/tx): rm dependency on core (#22281)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-21 11:28:43 +00:00
Shude Li fc91e76354 build(all): migrate to go.uber.org/mock (#22315) 2024-10-21 09:58:09 +00:00
XiaoBei 64e6d882c6 docs: fix markdown code grammar (#22316) 2024-10-21 05:11:51 +00:00
dependabot[bot]andJulien Robert 71ac584b38 build(deps): Bump rtCamp/action-slack-notify from 2.3.0 to 2.3.1 (#22308)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-20 11:44:11 +00:00
f84b585864 build(deps): Bump go.uber.org/mock from 0.4.0 to 0.5.0 in /store (#22309)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-18 11:40:48 +00:00
Julien Robert aa507faeab feat(systemtests): increase verbosity (#22306) 2024-10-18 07:35:55 +00:00
c1707b8308 fix: sequence should be higher or equal than expected during checktx and equal during deliver tx (#22299)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-10-17 15:45:43 +00:00
Akhil Kumar P 29ea9c8a5e test: migrate e2e/mint to system tests (#22294) 2024-10-17 13:15:56 +00:00
Julien Robert c905c5ee9b feat(server/v2): enable pprof (#22284) 2024-10-17 13:10:13 +00:00
Julien RobertandTeddy Ding 11698aa864 feat(baseapp): Abort OE in PrepareProposal (Upstream dydx) (#22287)
Co-authored-by: Teddy Ding <teddy@dydx.exchange>
2024-10-17 13:09:57 +00:00
Julien Robert f01baf302e fix(server/v2/cometbft): fix mock store (#22293) 2024-10-17 09:14:05 +00:00
Hieu Vu 20dd65b057 refactor: improvements on rest v2 server (#22292) 2024-10-17 09:03:57 +00:00
Vishal Potpelliwar 3440ad6e60 docs(x/accounts): fix doc (#22295) 2024-10-17 08:46:18 +00:00
Akhil Kumar P 553e11082c test: migrate e2e/group to system tests (#22278) 2024-10-16 20:08:53 +00:00
Marko 8a0244b43b chore: add crisis changelog (#22280) 2024-10-16 16:26:34 +00:00
MarkoandCool Developer 76529d7680 feat(store/v2): add version exists (#22235)
Co-authored-by: Cool Developer <cool199966@outlook.com>
2024-10-16 15:55:23 +00:00
abaccb4d4b build(deps): Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 (#22270)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-16 15:10:39 +00:00
e666764af6 feat: wire v2 handlers (#22112)
Co-authored-by: Randy Grok <@faulttolerance.net>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-16 14:21:18 +00:00
Wukingbow 4adbd6fadd docs: add comments for funcs (#22279) 2024-10-16 14:08:01 +00:00
Hoa Nguyen ee3d320eaa chore(server): bump cosmossdk.io/core and correct comment naming (#22245) 2024-10-15 14:00:36 +00:00
f89382df90 build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.34.2-20240701160653-fedbb9acfd2f.2 to 1.35.1-20240701160653-fedbb9acfd2f.1 in /api (#22262)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-10-15 13:30:45 +00:00
Alexander Peters 3862ebabf6 chore(doc): Update sims doc (#22258) 2024-10-15 13:00:44 +00:00
Julián Toledano 77254b735b docs: update some learn/advanced (#22255) 2024-10-15 07:19:09 +00:00
Hoa Nguyen 4274dcf442 refactor: add close body after use and fix lint (#22248) 2024-10-14 21:25:11 +00:00
xujikksandkeke-ka 8c39f41101 docs(crypto): update docs (#22247)
Co-authored-by: keke-ka <kkektkid@163.com>
2024-10-14 12:18:51 +00:00
Julien Robert 0b43fcc216 fix(server/v2/cometbft): wire app closer (#22240) 2024-10-14 06:07:34 +00:00
Julien Robert 1f941bbec7 fix(server/v2): use only one logger for app and server (#22241) 2024-10-14 06:05:47 +00:00
Julien Robert 65ed5eb800 refactor(core): structural typing for kvstore (#22242) 2024-10-11 20:44:12 +00:00
Akhil Kumar P 4733fc1769 test: migrate e2e/auth to system tests and fix sign-batch (#22149) 2024-10-11 12:13:00 +00:00
mergify[bot]andJulien Robert 751e5ecbb2 chore(x/group): update supported flags (backport #22229) (#22231)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-11 14:04:02 +02:00
Julien Robert 8ad20815dd chore(x/group): update supported flags (#22229) 2024-10-11 11:36:02 +00:00
9efec4293d fix(x/tx): sort with oneof field name in amino-json (backport #21782) (#22228)
Co-authored-by: Luis Carvalho <mail.lmcarvalho@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-11 13:35:38 +02:00
Luis CarvalhoandMatt Kocubinski 60cbe2db29 fix(x/tx): sort with oneof field name in amino-json (#21782)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-10-11 08:17:06 +00:00
dependabot[bot] ae9ddffcdd build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.7 to 0.50.10 in /tools/cosmovisor (#22225)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-11 05:53:46 +00:00
cool-developerandJulien Robert e84c0eb86b feat(server/v2): init the indexer in server/v2 (#22218)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-10 21:40:14 +00:00
Matt Kocubinski dd2369daf2 refactor(runtime/v2): use AppI.GetStore() to fetch an initialized RootStore (#22205) 2024-10-10 14:29:40 +00:00
xujk-byte 63b1652d98 docs(collections): add comments for funcs (#22214) 2024-10-10 14:20:01 +00:00
Julián Toledano db6a8352c3 docs(x/staking): update readme (#22216) 2024-10-10 13:01:33 +00:00
Julien Robert 3a03804c14 refactor(store/v2): replace dboptions by dynamic config (#22185) 2024-10-10 10:25:26 +00:00
Julien Robert 04c1590a6e docs: fix rendering issue (#22211) 2024-10-10 09:56:49 +00:00
Julien Robert 910a97af4b chore: bring v0.52.0-beta.2 changelog to main (#22188) 2024-10-10 09:19:24 +00:00
mergify[bot]andJulien Robert 955304a491 docs: add docs boilerplate (backport #22202) (#22210)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-10 10:40:00 +02:00
Julien Robert e6a719c1a6 docs: add docs boilerplate (#22202) 2024-10-10 08:15:33 +00:00
psiphi5andJulien Robert 5b53ccaf0c feat(tools/cosmovisor): cosmovisor batch upgrades (#21790)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-10 07:31:29 +00:00
Julien Robert 7e517369e3 docs: bring back user docs in main repo (#22201) 2024-10-10 07:27:02 +00:00
Matt Kocubinski 742cb0737a refactor(server/v2): late bound storeBuilder (#22206) 2024-10-10 07:22:18 +00:00
Julien Robert 27f1f7885d chore(simapp): be consistent with runtime (#22203) 2024-10-10 08:35:33 +02:00
Matt Kocubinski c39ec6ff2d refactor(runtime/v2): genesis event service bindings (#22192) 2024-10-09 22:18:14 +00:00
Facundo Medica 864e9f16a3 refactor(x/bank,x/distr,x/feegrant)!: reduce auth keeper dependency (#21651) 2024-10-09 20:00:09 +00:00
auricom e475af3c4b ci: reduce rocksdb-cache execiton frequence (#22193) 2024-10-09 19:47:03 +00:00
Julián Toledano fc9ca8ea20 docs: update learn/beginner docs (#22191) 2024-10-09 19:18:36 +00:00
Julien Robert fae85e0ec4 docs: fix pre.sh (#22194) 2024-10-09 16:56:09 +00:00
Hieu Vu 597e0fac11 test(systemtest): Fix prune & gov test (#22190) 2024-10-09 15:43:31 +00:00
Julien Robert 91c0e79f47 ci: push docker image on betas (#22189) 2024-10-09 15:21:22 +00:00
3220aab2bd docs(x/accounts/defaults/lockup): Add tutorial document (#22168)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: beep <beepdeepor@gmail.com>
2024-10-09 07:29:03 +00:00
Wukingbow f48fac3e50 docs: update protobuf links (#22182) 2024-10-09 07:18:53 +00:00
4aeb053925 refactor(genutil): Use sdk types genesis validator (#21678)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-10-09 05:18:05 +00:00
tutufen 325728a9fd docs: update missing wrong cometbft prefixdb links (#22173) 2024-10-08 17:58:49 +00:00
Matt Kocubinski 05fb492bd5 refactor(server/v2): clean up storage use and config (#22008) 2024-10-08 17:12:06 +00:00
Julien Robert 43c41be136 fix(client/v2): *big.Int unmarshal (#21853) 2024-10-08 15:14:23 +00:00
testinginprod 5fea67d59c docs(x/accounts): init of the x/accounts module docs. (#22099) 2024-10-08 13:32:40 +00:00
Alexander Peters 5dc8768ef1 test(server/v2/stf): Add test for mergeiterator (#22141) 2024-10-08 09:26:14 +00:00
Matt Kocubinski 1587955171 fix(x/tx/amino): special case for string represented decimals (#22161) 2024-10-08 09:21:25 +00:00
1f332e1e0b build(deps): Bump google.golang.org/protobuf from 1.34.2 to 1.35.1 (#22164)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-08 08:31:22 +00:00
tutufen 8117f2c503 docs: update cometbft db code reference link (#22166) 2024-10-08 08:04:39 +00:00
Matt Kocubinski 9076487d03 docs(core): create docs for environment and core API (#22156) 2024-10-07 19:52:43 +00:00
XiaoBei 46b01ba176 docs: modify the corresponding link in the code document (#22151) 2024-10-07 15:11:54 +00:00
Lucas Francisco López 8e34382463 docs: Update mint docs (#22108) 2024-10-07 13:38:31 +00:00
Artur Troian 326545d442 feat(tools/cosmovisor): create current symlink as relative (#21891)
Signed-off-by: Artur Troian <troian.ap@gmail.com>
2024-10-07 13:27:55 +00:00
Alexander Peters b33484a31e test(systemtests): fix failing tests (#22145) 2024-10-07 13:18:52 +00:00
Julián Toledano 6211be616d docs(x/distribution): updates (#22148) 2024-10-07 13:16:20 +00:00
XiaoBei 112e22887e docs: fix inaccessible links (#22147) 2024-10-07 11:28:30 +00:00
harry m. k. cc25229d1e docs(gov): remove stores & proposal processing queue (#22143) 2024-10-07 09:24:28 +00:00
bbff2c8712 build(deps): Bump golang.org/x/crypto from 0.27.0 to 0.28.0 (#22139)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-07 08:58:51 +00:00
mmsqe 6cc6a6c5bf fix(baseapp): align block header when query with latest height (#21003) 2024-10-07 07:59:29 +00:00
XiaoBei 38662ecb20 docs: fix several typos in the document (#22135) 2024-10-07 00:08:29 +00:00
tutufen 7ff7454ef9 docs: remove invariants (#22136) 2024-10-06 20:28:07 +00:00
Akhil Kumar P 489aaae402 test: migrate e2e/distribution to system tests (#21908) 2024-10-04 15:36:23 +00:00
Eric Mokaya 440aa68e86 docs: demonstrate how to define hooks using depinject (#21892) 2024-10-04 15:24:45 +00:00
Ezequiel Raynaudo a1978c248c docs(x/consensus): fixes (#22114) 2024-10-04 13:02:14 +00:00
Julien Robert 080ff34141 docs: pre,begin,end block (#22127) 2024-10-04 12:25:29 +00:00
Julien Robert 581a927479 docs: remove invariants (#22126) 2024-10-04 12:22:36 +00:00
Narangde dc1496029a feat(epochs): add wrapper of epoch getter (#22068) 2024-10-04 08:15:57 +00:00
Artur Troian eec7392c9b chore: set correct checksums after adding multiarch support (#22102)
Signed-off-by: Artur Troian <troian.ap@gmail.com>
2024-10-04 08:11:37 +00:00
cool-developer 6abfa2baa8 docs(store/v2): Add missing documents (#22118) 2024-10-04 08:11:15 +00:00
tutufen b2aa804e50 docs(server): fix comet bootstrap-state command example (#22106) 2024-10-04 07:11:55 +00:00
dependabot[bot] 957000ce35 build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.3 to 1.0.0-alpha.4 in /store (#22120)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-04 06:01:48 +00:00
dependabot[bot] a328a6e100 build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.3 to 1.0.0-alpha.4 in /collections (#22119)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-04 06:01:12 +00:00
Ezequiel Raynaudo 5bed9658aa fix(crypto/ledger): Improve error message when deriving paths (#22116) 2024-10-03 19:39:50 +00:00
Lucas Francisco López 69914dc9e2 docs: Update upgrade docs (#22105) 2024-10-03 18:09:11 +00:00
Gin 2df9e3070a doc: fix link for proto-gen (#22111) 2024-10-03 17:28:07 +00:00
Lucas Francisco López dda96797ec docs: Update slashing docs (#22107) 2024-10-03 17:01:50 +00:00
Ezequiel Raynaudo 76862a089f docs(crypto): Add readme file (#22082) 2024-10-03 15:44:17 +00:00
cd2c8eac55 docs: fix several typos in the document (#22098)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-03 13:50:51 +00:00
Wukingbow 1312a811d4 docs: update contributing link (#22103) 2024-10-03 13:46:39 +00:00
cool-developer 80726f7ebd feat(baseapp): integrate the appdata.Listener in baseapp (#21965) 2024-10-03 13:10:22 +00:00
Julián ToledanoandJulien Robert c8f4cf787b feat(client/v2): factory (#20623)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-03 12:45:10 +00:00
mergify[bot]andtutufen b57ce4d19b docs(x/genutil): fix genesis migrate command examples (backport #22090) (#22097)
Co-authored-by: tutufen <tutufen@outlook.com>
2024-10-03 14:30:18 +02:00
tutufen 8bbf51c5ca docs(x/genutil): fix genesis migrate command examples (#22090) 2024-10-03 12:04:15 +00:00
Marko a4a0107e64 feat(server/v2/cometbft): add checktx handler (#21985) 2024-10-03 11:35:43 +00:00
Alexander Petersandmarbar3778 72f7716385 chore(systemtests): Remove testutil dependency (#21995)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-10-03 11:27:07 +00:00
testinginprod e914910b02 fix(cometbft/grpc): gRPC path parsing (#22081) 2024-10-03 11:26:58 +00:00
Julien Robert 30003f6679 ci: split system tests in two job (#22080) 2024-10-03 11:15:26 +00:00
Matt Kocubinski 2d40cc1ab6 fix(x/tx): fix amino json drift from legacy spec (#21825) 2024-10-03 11:10:02 +00:00
Julien Robert bb7d11d077 refactor(x/bank): swap sendrestriction check in InputOutputCoins (#21976) 2024-10-03 11:08:23 +00:00
Lucas Francisco López 9c646d8b7c docs: Update nft docs (#22060) 2024-10-03 10:57:40 +00:00
Akhil Kumar P 09be7c7522 docs: update authz docs (#22062) 2024-10-03 10:52:14 +00:00
tutufen 2c6c31ca66 docs(x/circuit): fix circuit command examples (#22076) 2024-10-03 10:51:58 +00:00
Julián Toledano adb4c5af40 docs: update learn/intro (#22046) 2024-10-03 10:40:05 +00:00
Hieu Vu d1426c70d8 docs: Update build/abci docs (#22067) 2024-10-03 10:38:26 +00:00
son trinh 9251d4e237 docs: update bank docs (#22053) 2024-10-03 10:37:03 +00:00
Emmanuel T Odeke c5889a418a test(x/auth/vesting/types): test Periods.String() (#22059) 2024-10-03 10:14:12 +00:00
Julien Robert 55ec58cefd docs: update package list (#22063) 2024-10-03 10:14:04 +00:00
testinginprodandcoderabbitai[bot] 0f63adee90 refactor(runtime/v2): untie runtimev2 from the legacy usage of gRPC (#22043)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-10-03 10:12:48 +00:00
Julien Robert d3ee514b1e chore: Revert "docs: update gov docs (backport #22048)" (#22064) 2024-10-03 11:53:17 +02:00
XiaoBeiandJulien Robert 947ffe0131 docs: fix several typos in the document (#22066)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-03 09:12:15 +00:00
mergify[bot]andtutufen 8df6800cc1 docs(keys): remove unsupported --dry-run flag description for keys migrate (backport #22057) (#22070)
Co-authored-by: tutufen <tutufen@outlook.com>
2024-10-03 11:06:23 +02:00
dependabot[bot] 89fc7b9e16 build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.3 to 1.0.0-alpha.4 in /core/testing (#22055)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 08:56:50 +00:00
dependabot[bot] 162b54a5e1 build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.3 to 1.0.0-alpha.4 in /x/tx (#22054)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 08:56:39 +00:00
tutufen 5a411c36b8 docs(keys): remove unsupported --dry-run flag description for keys migrate (#22057) 2024-10-03 08:54:43 +00:00
clmyy 4e6a43be5d docs: fix several typos in the document (#22052) 2024-10-03 07:37:36 +00:00
Julien Robert 3a5a619e9d docs: tooling (#22049) 2024-10-03 05:05:39 +00:00
cool-developer bf95c814f8 feat(server/v2/cometbft,stf): Listener integration in server/v2 (#21917) 2024-10-02 18:25:51 +00:00
mergify[bot] 35f8d0565b docs: update gov docs (backport #22048) (#22050) 2024-10-02 16:59:11 +00:00
Julien Robert deec679f28 docs: update gov docs (#22048) 2024-10-02 16:48:54 +00:00
tianyeyouyou e2decc637e docs: Update More Info link of SECURITY.md (#22042) 2024-10-02 16:43:04 +00:00
tianyeyouyou e4c5d2b611 docs(baseapp): update function comment (#22047) 2024-10-02 16:42:43 +00:00
f2c78d68e0 build(deps): Bump github.com/prometheus/common from 0.59.1 to 0.60.0 (#22019)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-02 16:13:24 +00:00
Alexander Peters 5c4f4ac305 docs: Add initial doc for system tests (#22002) 2024-10-02 11:59:01 +00:00
Marko 0ea2445acf refactor(baseapp): create checktx handler (#21979) 2024-10-02 11:39:47 +00:00
bfdd954866 build(deps): Bump google.golang.org/grpc from 1.67.0 to 1.67.1 (#22036)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-02 09:04:48 +00:00
beep c85fbae7eb docs: update go table driven tests link in CODING_GUIDELINES.md (#22040) 2024-10-02 08:00:19 +00:00
beep 33bdaabcca docs(x/bank): fix function comments (#22039) 2024-10-02 07:33:25 +00:00
beep fc28210a72 docs: update go module link (#22037) 2024-10-02 06:26:31 +00:00
Hieu Vu 0102077fb2 feat(bank/v2): Introduce global send restriction (#21925) 2024-10-02 06:03:04 +00:00
testinginprodandJulien Robert 90f362d782 refactor(core/handlers): be more devx friendly (#21984)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-10-02 05:38:22 +00:00
testinginprod a3729c1ad6 feat(core/handlers): improve handlers registration DevX (#22007) 2024-10-01 19:16:20 +00:00
Julien Robert a0f96930ab fix(cosmovisor): fix show-upgrade info command (#22010) 2024-10-01 19:15:48 +00:00
huochexizhan 8833670ec3 fix(x/auth): fix slice init length (#22006) 2024-10-01 19:05:16 +00:00
beep 3a69bb67b1 refactor(store/v2): join batch.Close error with original err (#22005) 2024-10-01 19:00:16 +00:00
beep 7be56e213c fix: update go module link (#22003) 2024-10-01 18:50:54 +00:00
Lucas Francisco López 3f9c9a0877 feat(cosmovisor): Add prepare-upgrade cmd (#21972) 2024-10-01 18:28:21 +00:00
MarkoandHieu Vu 52d8b2eb43 docs: amend docs for 52 changes (#21992)
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
2024-10-01 09:46:47 +00:00
Akhil Kumar P 8eeb3ff6a9 test: migrate e2e/authz to system tests (#21819) 2024-10-01 08:16:04 +00:00
Matt Kocubinski 3a20261c78 refactor(runtime/v2): use StoreBuilder (#21989) 2024-10-01 08:01:06 +00:00
73ee336359 feat(schema): add API descriptors, struct, oneof & list types, and wire encoding spec (#21482)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Marko <marko@baricevic.me>
2024-10-01 07:40:42 +00:00
Eric Mokaya 617d54761f docs: add instructions to change DefaultGenesis (#21680) 2024-10-01 07:37:25 +00:00
Eric Mokaya 814d4cf6b7 feat(x/staking)!: Add metadata field to validator info (#21315) 2024-10-01 07:35:58 +00:00
Facundo Medica 8763d8d99f chore(x/authz)!: Remove account keeper dependency (#21632) 2024-10-01 07:29:56 +00:00
harry m. k. c44683d49f chore(contributing): delete link (#21990) 2024-10-01 05:47:22 +00:00
Hieu Vu d493145644 test(gov): Migrate e2e to system test (#21927) 2024-09-30 14:29:12 +00:00
Julián Toledano 91b47cb5e6 test: e2e/client to system tests (#21981) 2024-09-30 13:52:18 +00:00
Julien Robert e5b22e4cda chore(baseapp): fix api break latest schema (#21978) 2024-09-30 12:07:40 +00:00
AdamKorcz 968bc7cbd9 test(fuzz): fix broken OSS-Fuz build (#21940)
Signed-off-by: Adam Korczynski <Adam@adalogics.com>
2024-09-30 10:32:27 +00:00
testinginprod 7ce403f51e feat(accounts): make x/accounts more depinject friendly (#21928) 2024-09-30 07:51:50 +00:00
Julien Robert 7c6e0388a3 chore(server/v2/cometbft): improve code check (#21955) 2024-09-30 05:40:13 +00:00
tianyeyouyou 1b32cc86f2 refactor(tools): echo the binary path after build tools (#21969) 2024-09-30 05:38:28 +00:00
Wukingbowandwujinbao 21b3a26254 docs: update tooling link (#21973)
Co-authored-by: wujinbao <www.389092100@qq.com>
2024-09-30 05:37:48 +00:00
beep d5f24de7e1 fix(baseapp): startTime of telemetry metric should be calculated before defer (#21968) 2024-09-29 18:19:15 +00:00
Bastien R.andBastien Rigaud e82949d57d feat(tools/cosmovisor): Add ShowUpgradeInfoCmd (#21932)
Co-authored-by: Bastien Rigaud <bastienrigaud@mbp-de-bastien.home>
2024-09-28 19:23:11 +00:00
Julien Robert 787ee6980f refactor: simplify collected metrics (#21963) 2024-09-28 11:20:39 +00:00
tianyeyouyou dd9e5825ae chore: fix comment (#21966) 2024-09-28 07:18:08 +00:00
Julien Robert 7fe95fc3f9 feat(server/v2): wire telemetry + server refactors (#21746) 2024-09-27 16:53:21 +00:00
Julien RobertandAkhil Kumar P 9d631d355c chore(confix): update v2 config (#21956)
Co-authored-by: Akhil Kumar P <36399231+akhilkumarpilli@users.noreply.github.com>
2024-09-27 14:48:54 +00:00
Alexander Peters 0d9b416cbc fix(sims): Use liveness matrix for val sign status in sims (#21952) 2024-09-27 11:11:30 +00:00
Alexander Peters dcf00cf911 chore(systemtest): More stable fraud test (#21949) 2024-09-27 09:38:07 +00:00
4e74a30430 chore: regenerate addrbook.json for in-place-testnet (backport #21941) (#21947)
Co-authored-by: Adam Tucker <adam@osmosis.team>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-27 07:50:31 +00:00
Adam Tucker dc09671841 chore: regenerate addrbook.json for in-place-testnet (#21941) 2024-09-27 07:05:24 +00:00
dependabot[bot] cb0fcf3691 build(deps): Bump actions/github-script from 6 to 7 (#21942)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-27 06:56:32 +00:00
lfz941 648ef5fb2d refactor: keep batch.Close error handle logic consistance (#21812) 2024-09-26 20:21:49 +00:00
Artur Troian 89d96e88a0 chore(tools/cosmovisor): update download checksums (#21933)
Signed-off-by: Artur Troian <troian.ap@gmail.com>
2024-09-26 20:15:55 +00:00
Matt Kocubinski e4240b6bef test(x/tx): add amino JSON pretty bytes demonstration test (#21935) 2024-09-26 20:10:25 +00:00
Julien Robert 2c8569404c ci: add auto assign job (#21939) 2024-09-26 20:09:54 +00:00
ced9572d86 feat(client/v2): improve error message on enums (backport #21936) (#21938)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-26 19:28:07 +00:00
Facundo Medica dc2cea5bcf feat(client/v2): improve error message on enums (#21936) 2024-09-26 18:03:48 +00:00
NAIHANU 2d8ca73afa docs: redirect the modules introduce doc (#21934) 2024-09-26 15:14:47 +00:00
yihuang dbf6cdbd92 feat(x/tx): support bytes field as signer (#21850) 2024-09-26 14:27:40 +00:00
Artur Troian 0ab189cb3e chore(tools/cosmovisor): add multiarch bin references (#21911)
Signed-off-by: Artur Troian <troian.ap@gmail.com>
2024-09-26 13:32:30 +00:00
412f4e719e fix(client/v2): correctly handle enhanced sub commands (backport #21809) (#21930)
Co-authored-by: John Letey <john@noble.xyz>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-26 15:28:07 +02:00
Julien RobertandMatt Kocubinski f927e9b551 ci: actually enable v2 system test (#21539)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-09-26 13:16:28 +00:00
John Letey 13f1d6cf66 fix(client/v2): correctly handle enhanced sub commands (#21809) 2024-09-26 13:04:20 +00:00
dependabot[bot]andJulien Robert c9d3a0b792 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.9 to 0.50.10 in /tools/hubl (#21918)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-26 08:17:58 +00:00
bcd31a16ab fix(sims): Skip sims test when running dry on validators (backport #21906) (#21910)
Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-26 09:58:40 +02:00
2609f9c55e fix(cli): avoid id isn't supported error when query address-by-acc-num (backport #21919) (#21922)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-26 09:29:12 +02:00
mmsqe cb9ed71efc fix(cli): avoid id isn't supported error when query address-by-acc-num (#21919) 2024-09-26 07:11:05 +00:00
Alexander Peters 3856e777b4 fix(sims): Skip sims test when running dry on validators (#21906) 2024-09-25 12:51:51 +00:00
Markoandauricom e52d3b16e0 chore: pr reminder for slack (#21830)
Co-authored-by: auricom <27022259+auricom@users.noreply.github.com>
2024-09-25 12:50:45 +00:00
Marko d54f6fa95b refactor(x/evidence): accept address codec in constructor (#21859) 2024-09-25 09:42:27 +00:00
fa02dcd021 chore(docs): rename merlin to simapp (backport #21884) (#21886)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-09-25 09:39:13 +00:00
Julián Toledano c971f75acf test: e2e/staking to system tests (#21882) 2024-09-25 07:04:10 +00:00
71f18076d6 build(deps): Bump cosmossdk.io/api from 0.7.5 to 0.7.6 (#21895)
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>
2024-09-25 07:03:18 +00:00
d8ebac5f1b build(deps): Bump google.golang.org/grpc from 1.66.2 to 1.67.0 (#21893)
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>
2024-09-25 06:59:42 +00:00
MarkoandJulien Robert f6d7a92779 refactor(x/mint): remove staking as a required module (#21858)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-24 19:52:31 +00:00
Marko f195a8660b chore(docs): rename merlin to simapp (#21884) 2024-09-24 15:54:46 +00:00
Alexander Peters bc3ddfa5f2 test: fix flaky Snapshotter test (#21878) 2024-09-24 13:33:00 +00:00
Alexander Peters 5590c16c68 fix(systemtest): upgrade test (#21877) 2024-09-24 12:40:45 +00:00
lilasxie e6b1bbc351 chore(collections): fix import lint error by make lint-fix (#21875) 2024-09-24 10:38:35 +00:00
Wukingbowandwujinbao 1b8cfd5a79 docs: fix function comments (#21876)
Co-authored-by: wujinbao <www.389092100@qq.com>
2024-09-24 10:38:19 +00:00
Akhil Kumar PandMatt Kocubinski 0611fbcc09 fix(runtime/v2): bring back concurrent export genesis in v2 (#21554)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-09-24 09:36:16 +00:00
Aaron Craelius bed3ac01e2 feat(collections): add optional key and value naming methods (#20538) 2024-09-24 08:13:59 +00:00
dependabot[bot]andsontrinh16 eb7653cfec build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.9 to 0.50.10 in /tools/confix (#21866)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
2024-09-24 06:59:02 +00:00
testinginprodandAkhil Kumar P ebbaa0e92e feat(auth): allow BaseAccounts to be migrated to x/accounts (#21820)
Co-authored-by: Akhil Kumar P <36399231+akhilkumarpilli@users.noreply.github.com>
2024-09-23 21:22:01 +00:00
cool-developer 0202d71f70 feat(store): migrate db backends to store/db and remove the cosmos-db deps completely (#21765) 2024-09-23 18:01:26 +00:00
Hieu Vu 04da382a9f feat(bank/v2): Add MsgSend handler (#21736) 2024-09-23 16:32:30 +00:00
Aaron CraeliusandMarko d273ae03da feat(schema/indexer)!: implement start indexing (#21636)
Co-authored-by: Marko <marko@baricevic.me>
2024-09-23 16:09:01 +00:00
a5f463a965 fix(x/staking): query redelegation command (backport #21856) (#21861)
Co-authored-by: Akhil Kumar P <36399231+akhilkumarpilli@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-23 15:56:53 +00:00
f3a295a1a1 build(deps): Bump github.com/huandu/skiplist from 1.2.0 to 1.2.1 (#21852)
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>
2024-09-23 15:05:29 +00:00
cool-developerandJulien Robert a7a0daf704 fix(store/v2): fix the pebbledb storage implementation (#21837)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-23 14:49:07 +00:00
Akhil Kumar P 06c2fc72df fix(x/staking): query redelegation command (#21856) 2024-09-23 14:49:07 +00:00
Hieu VuandAlexander Peters 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
809950e764 feat(crypto/keyring): add Linux's keyctl support (backport #21653) (#21840)
Co-authored-by: Alessio Treglia <al@essio.dev>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-21 18:27:56 +00:00
Oksana 4666e1dca6 docs: fix typo (#21835) 2024-09-21 11:01:14 +00:00
harry m. k. 231ee05375 chore(contributing): delete old file path (#21838) 2024-09-21 06:58:10 +00:00
Julien Robert 763e4d68e4 feat: introduce x/validate and split x/auth/tx/config (#21822) 2024-09-20 15:05:46 +00:00
Julien Robert 465ca23154 chore: add releases to changelog (#21831) 2024-09-20 11:15:03 +00:00
Julien Robert 6dc6e8b2a8 chore: correct date cl v0.50.10 (#21832) 2024-09-20 12:56:35 +02:00
Alexander Petersandmarbar3778 aa90bb43d8 fix: Fixes memiterator (#21775)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-09-20 09:56:14 +00:00
zakir 8d248f0bfa feat(client/keys): add support for importing hex key using standard input (#21829) 2024-09-20 09:51:41 +00:00
Matt Kocubinski 5a05f12097 tests(math): fix zero value test (#21821) 2024-09-20 09:38:31 +00:00
Oksana fa9ce49d9d docs: posted a link to the developers Github (#21828) 2024-09-20 09:37:59 +00:00
Matt Kocubinski d6364b8956 refactor(stf): remove RunWithCtx (#21739) 2024-09-19 21:39:47 +00:00
cool-developer 98eb0b7cd6 fix(staking): avoid the double iterator close in staking (#21823) 2024-09-19 21:05:04 +00:00
043cea3cf0 feat(testutil/integration): allow to pass baseapp options (backport #21816) (#21818)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-09-19 15:31:23 +00:00
Julien Robert bdda21f2f9 feat(testutil/integration): allow to pass baseapp options (#21816) 2024-09-19 10:36:09 +00:00
c9b90ad577 build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.2 to 1.0.0-alpha.3 (#21810)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-19 07:52:56 +00:00
hatti 8d5020fd0a docs: fix typo (#21815) 2024-09-19 07:20:41 +00:00
Wukingbowandwujinbao 29077c866c docs: fix function comments (#21814)
Co-authored-by: wujinbao <www.389092100@qq.com>
2024-09-19 06:53:08 +00:00
Matt Kocubinski b8014dfe68 tests(math): document unexpected behavior in nil values (#21806) 2024-09-19 05:47:50 +00:00
cool-developer 01212de2d9 feat(server/v2): refactor the server/v2 events (#21785) 2024-09-18 15:37:13 +00:00
lfz941andMarko 71d4a08b11 refactor(store/v2): handle the error returned by batch.Close (#21789)
Co-authored-by: Marko <marko@baricevic.me>
2024-09-18 15:12:55 +00:00
Alexander Peters cc8366c3ee fix(sims): TestAppSimulationAfterImport and legacy proposal handling (#21800) 2024-09-18 15:03:03 +00:00
Julien RobertandMarko 356df96770 refactor(mempool)!: match server/v2/cometbft and sdk mempool interface (#21744)
Co-authored-by: Marko <marko@baricevic.me>
2024-09-18 13:57:52 +00:00
Julien Robert 25255e4e3c feat(client/v2): use x/tx AminoNameAsTypeURL option in 0.50 (#21801) 2024-09-18 15:52:15 +02:00
Marko f1dd03f212 feat: make validator key injectable by application developers (#21608) 2024-09-18 12:27:25 +00:00
mergify[bot]andJulien Robert 7ee3115a9d feat(x/tx): add aminoNameAsTypeURL option in aminojson encoder (backport #21712) (#21798)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-18 14:21:44 +02:00
Julien RobertandMatt Kocubinski 0c8ad9d2c6 feat(x/tx): add aminoNameAsTypeURL option in aminojson encoder (#21712)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-09-18 09:48:39 +00:00
MarkoandJulián Toledano 870cab5efd docs: minor cleanup to simulation docs (#21777)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
2024-09-18 09:33:14 +00:00
lilasxie c29bfb7bf9 chore(store/internal): use std maps (#21792) 2024-09-18 09:19:11 +00:00
lilasxie f283f0c978 chore: using pre-defined flag variables (#21794) 2024-09-18 08:43:44 +00:00
6f1dae993a build(deps): Bump github.com/prometheus/client_golang from 1.20.3 to 1.20.4 (#21786)
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>
2024-09-18 08:32:30 +00:00
Julien Robert 355f66f7ff chore: add simsx labels & more (#21776) 2024-09-18 08:11:18 +00:00
winniehere 0042db5ea3 refactor(runtime): reduce loop iteration complexity of checkStoreUpgrade (#21791) 2024-09-18 07:25:54 +00:00
testinginprod 81ec7ea9e7 feat(auth): support accounts from auth (#21688) 2024-09-17 18:12:45 +00:00
Julien Robert f812291dd0 chore: prepare v0.50.10 (#21498) 2024-09-17 20:10:08 +02:00
Gin ffc16099aa docs: fix buf link in protobuf.md (#21781) 2024-09-17 16:06:36 +00:00
Julien Robert c9f0e2e4d8 feat(runtime(v2)): add sanity checks on store upgrades (#21748) 2024-09-17 10:52:08 +00:00
mergify[bot]andJulien Robert b2ec2f6fff fix(runtime): fix option order (backport #21769) (#21771)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-17 10:16:12 +00:00
mergify[bot]andJulien Robert 9a0a76f3bc docs(x/circuit): display correct example (backport #21768) (#21773)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-17 10:12:30 +00:00
Julien Robert 081b90edbd docs(x/circuit): display correct example (#21768) 2024-09-17 09:30:25 +00:00
Julien Robert b98795f3b3 fix(runtime): fix option order (#21769) 2024-09-17 09:27:34 +00:00
6aaa935019 fix(store/v2): error info maybe covered by err = batch.Close() (#21727)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marko@baricevic.me>
2024-09-17 09:21:01 +00:00
Julien Robert 3feb2c08b5 docs: demonstrate how to wire custom ante handlers in 0.50 app_di (#21767) 2024-09-17 11:01:19 +02:00
Julien Robert 3314cfb899 chore: use std maps (#21763) 2024-09-17 07:48:42 +00:00
cool-developer 7856d22603 feat(core/event): make core/event as a type alias of schema/appdata (#21719) 2024-09-16 22:18:50 +00:00
MarkoandJulien Robert a9f057bf70 chore: remove consensus authority (#21734)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-16 20:06:21 +00:00
cool-developerandJulien Robert ddc7740eca chore: use the appropriate version of core module in store (#21753)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-16 19:37:57 +00:00
Julien Robert cbdfd9bdfa chore: bump golangci-lint and fix all linting issues (#21761) 2024-09-16 19:11:19 +00:00
Julien Robert 52ba264c80 feat(server/v2/cometbft): wire mempool config (#21741) 2024-09-16 18:45:21 +00:00
Marko f348d84c1a docs: fix broken links (#21751) 2024-09-16 13:56:01 +00:00
Alexander Peters bf7768006c feat(sims): Add sims2 framework and factory methods (#21613) 2024-09-16 13:42:48 +00:00
Julien Robert e49ecfe4ed fix(server/v2/store): fix store server flags (#21745) 2024-09-16 10:19:25 +00:00
c0eced8d7e feat(crypto/keyring): add Linux's keyctl support (#21653)
Signed-off-by: Alessio Treglia <al@essio.dev>
Co-authored-by: Alessio Treglia <alessio@jur.io>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marko@baricevic.me>
2024-09-16 08:35:11 +00:00
Julien Robert 924798f19e test(e2e/accounts): fix build (#21725) 2024-09-16 08:31:13 +00:00
Aaron Craeliusandcool-developer ae40e809b9 refactor(schema)!: rename ObjectType -> StateObjectType (#21691)
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
2024-09-16 08:17:52 +00:00
Aaron Craeliusandcool-developer 397ff0bd22 feat(schema): add ReferenceType interface (#21692)
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
2024-09-16 08:17:30 +00:00
b21441cf59 feat(types/collections): add LegacyDec collection value (backport #21693) (#21724)
Co-authored-by: John Letey <john@noble.xyz>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
2024-09-16 09:31:14 +02:00
Julien Robert 01473479c7 test: fix sims (#21735) 2024-09-15 16:06:58 +00:00
Julien Robert 5909f0a872 build: bump proto-builder (#21730) 2024-09-15 09:21:54 +00:00
Aaron Craeliusandcool-developer 47561a93f2 refactor(schema)!: rename IntegerStringKind and DecimalStringKind (#21694)
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
2024-09-14 01:45:15 +00:00
John LeteyandLuca Graziotti 3bc707a5a2 feat(types/collections): add LegacyDec collection value (#21693)
Co-authored-by: Luca Graziotti <luca@noble.xyz>
2024-09-13 19:01:36 +00:00
Julien Robert d54f034462 refactor(server): alias AppOptions to coreserver.DynamicConfig (#21711) 2024-09-13 18:51:45 +00:00
Julien Robert 7ee7c207d5 refactor(simapp): simplify simapp di (#21718) 2024-09-13 18:32:59 +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
Randy Grokandmarbar3778 7d6ff0df56 feat(runtime/v2): store loader on simappv2 (#21704)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-09-13 14:22:14 +00:00
Julien Robert b712516f50 docs(x/auth): vesting (#21715) 2024-09-13 12:54:32 +00:00
7392525a03 build(deps): Bump google.golang.org/grpc from 1.66.1 to 1.66.2 (#21670)
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>
2024-09-13 11:30:49 +00:00
Alexander Peters 81c917280a refactor(systemtest): Add cli.RunAndWait for common operations (#21689) 2024-09-13 11:28:02 +00:00
f78ed4997f feat(x/genutil): add better error messages for genesis validation (backport #21701) (#21708)
Co-authored-by: Eric Mokaya <4112301+ziscky@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-09-13 12:43:39 +02:00
Matt Kocubinski 9fc6675885 fix(runtime/v2): provide default factory options if unset in app builder (#21690) 2024-09-13 10:28:04 +00:00
Marko c0e84afffc chore: remove duplicate proto files for the same proto file (#21648) 2024-09-13 10:14:17 +00:00
Eric Mokaya 9c5cea08c8 feat(x/genutil): add better error messages for genesis validation (#21701) 2024-09-13 09:40:13 +00:00
dependabot[bot]andJulien Robert 90d81f05c9 build(deps): Bump cosmossdk.io/core from 1.0.0-alpha.1 to 1.0.0-alpha.2 (#21698)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-13 08:37:19 +00:00
Akhil Kumar P 0064ccbce6 test: migrate e2e/bank to system tests (#21607) 2024-09-13 06:56:41 +00:00
cool-developer f611150a30 chore: fix the gci lint issue in testutil (#21695) 2024-09-13 06:53:47 +00:00
fe37dfba5e docs(x/authz): update grant docs (backport #21677) (#21700)
Co-authored-by: Eric Mokaya <4112301+ziscky@users.noreply.github.com>
Co-authored-by: Akhil Kumar P <36399231+akhilkumarpilli@users.noreply.github.com>
2024-09-13 11:13:08 +05:30
Eric Mokaya 4c7cc8643f docs(x/authz): update grant docs (#21677) 2024-09-13 05:17:52 +00:00
Julien Robert bd52dcf096 ci: remove duplicate gosec & lint fixes (#21685) 2024-09-12 12:30:50 +00:00
Hieu Vu a77a92adf1 feat(bank/v2): Send function (#21606) 2024-09-12 12:27:45 +00:00
Julien Robert bf817f89aa refactor(x/bank/v2): migrate to handlers (#21659) 2024-09-12 12:23:41 +00:00
Julien Robert 766117c5ff refactor(server/v2/cometbft): use only protov1 and backport #21084 (#21681) 2024-09-12 10:40:30 +00:00
Julien Robert 54759038a9 chore(x/staking): revert proto breakage (#21666) 2024-09-12 09:14:24 +00:00
Julien Robert 17bd18b12c build(deps): bump rocksdb & core & update ci codeowners (#21652) 2024-09-12 08:51:14 +00:00
ef8a575d7f docs(client/debug): correct debug raw-bytes command example (backport #21671) (#21676)
Co-authored-by: lilasxie <thanklilas@163.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-12 08:06:28 +00:00
lilasxie 0fc06f1410 docs(client/debug): correct debug raw-bytes command example (#21671) 2024-09-12 07:08:12 +00:00
Alessio Treglia 979f885885 build: don't reinstall golangci-lint if already installed (#21662) 2024-09-12 06:47:07 +00:00
Julien Robert 88cfebe15b refactor(server/v2): kill viper from server components (#21663) 2024-09-12 06:24:28 +00:00
Julien Robert 6afa3c1a13 chore: sync changelog with latest releases (#21658) 2024-09-12 06:23:44 +00:00
Matt Kocubinski 57f35dcdfe refactor: remove viper as a direct dependency (#21635) 2024-09-12 06:00:42 +00:00
auricom 4fe934e8af ci: centralized job for rocksdb libaries cache (#21657) 2024-09-11 20:12:45 +00:00
Mark Rushakoff cc1eab1826 fix: remove stray fmt.Println (#21661) 2024-09-11 20:06:57 +00:00
Marko 72620a5776 feat(store/v2): support rocks out of the box (#21649) 2024-09-11 14:36:51 +00:00
auricom aa8bf41eb9 ci: rocksdb version in makefile (#21654) 2024-09-11 12:30:19 +00:00
Facundo Medica e9eaefa379 fix(unorderedtx): issues reported in audit (#21467) 2024-09-11 11:46:10 +00:00
Julien Robertandauricom 071aa508eb refactor(store/v2): human readable ss/sc types (#21645)
Co-authored-by: auricom <27022259+auricom@users.noreply.github.com>
2024-09-11 10:21:23 +00:00
son trinh 1d4ecd5e37 refactor: decouple comet from modules (#21382) 2024-09-11 09:18:13 +00:00
Hanlu 04cec5b5e5 docs: Add missing symbol in README.md (#21640) 2024-09-11 08:10:05 +00:00
hatti f4816df891 docs(x/epochs): fix note box display failure (#21644) 2024-09-11 08:09:46 +00:00
auricom c536c0f18c ci: remove nix from gh workflows (#21572) 2024-09-11 08:08:09 +00:00
dependabot[bot] 9dd6a99a64 build(deps): Bump github.com/jackc/pgx/v5 from 5.6.0 to 5.7.1 in /indexer/postgres/tests (#21643)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 08:05:22 +00:00
Julien Robert 298792f2e3 fix(x/accounts/lockup): prevent double withdraw (#21619) 2024-09-10 20:18:43 +00:00
Daniel Wedul 71fa043ef4 fix(x/bank): Better handling of negative spendable balances (#21407) 2024-09-10 18:12:48 +00:00
Marko f220f8bf62 refactor: remove consensus as a imported type in modules (#21480) 2024-09-10 15:36:33 +00:00
64887ce050 build(deps): Bump google.golang.org/grpc from 1.66.0 to 1.66.1 (#21622)
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: sontrinh16 <trinhleson2000@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-10 13:33:05 +00:00
Aaron Craelius abc81a6e9c feat(schema): add convenience object & enum lookup methods (#21549) 2024-09-10 13:22:52 +00:00
Gin 3c9fa960df docs: use the right link for app.go[Supplementary Omission] (#21616) 2024-09-10 09:35:19 +00:00
psiphi5 3db444a6cf perf: incremental json parsing for AppGenesis (#21249) 2024-09-10 06:45:31 +00:00
Cosmos SDKandgithub-merge-queue 50288938d1 chore: fix spelling errors (#21610)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-09-09 13:33:12 +00:00
Julien Robert ac1b859b4c build(deps): bump to core v1.0.0-alpha.1 and remove replaces (#21603) 2024-09-09 12:17:21 +00:00
Hieu VuandJulien Robert ac53e337a9 test(server/v2/cometbft): Add abci unit tests (#21020)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-09 10:34:29 +00:00
fx0x55 9672879d21 refactor(x/bank): Simplify the return (#21602) 2024-09-09 10:08:10 +00:00
Julien Robert bf98b56cd6 chore: prepare core 1.0.0-alpha.1 (#21564) 2024-09-09 09:49:49 +00:00
Julien Robert eeeb5b86b5 refactor(core): re-add handlers (#21575) 2024-09-09 09:01:46 +00:00
testinginprod b1bf48867c fix(stf/branch/memiter): Fix Iter validity (#21556) 2024-09-09 08:37:59 +00:00
63a535e8d2 docs(client/debug): correct and improve debug pubkey-raw command example (backport #21594) (#21600)
Co-authored-by: lilasxie <thanklilas@163.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-09 08:29:51 +00:00
lilasxie b92c173ca4 docs(client/debug): correct and improve debug pubkey-raw command example (#21594) 2024-09-09 07:50:51 +00:00
Marko d275c67d6d build(deps): update comet (#21586) 2024-09-09 07:49:55 +00:00
Aaron Craelius 561840fa26 feat(schema): update event index definitions (#21565) 2024-09-09 07:31:44 +00:00
f34d100282 build(deps): Bump github.com/jhump/protoreflect from 1.16.0 to 1.17.0 in /tests (#21580)
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>
2024-09-09 07:22:43 +00:00
mergify[bot] dad56e1c65 docs(x/evidence): fix evidence module subcommands help message (backport #21589) (#21592) 2024-09-09 08:50:50 +02:00
yukionfire 92f20f9794 chore(all): replace all fmt.Errorf without paramters with errors.New (#21590) 2024-09-09 06:50:03 +00:00
hatti 644b263c71 docs(x/gov): fix typos (#21588) 2024-09-09 06:20:29 +00:00
lilasxie 28bcdbc738 docs(x/evidence): fix evidence module subcommands help message (#21589) 2024-09-09 06:19:41 +00:00
Gin 95383f5cd8 docs: use the right link for app.go (#21585) 2024-09-07 20:51:32 +00:00
Julien Robert 02b20f99af test(x/upgrade): fix tests (#21582) 2024-09-07 14:41:33 +00:00
Julián Toledano a48a75fe91 refactor(baseapp): remove AccAddress.String() (#21521) 2024-09-07 07:44:42 +00:00
Julien Robert c7c3fa7c02 feat(bank/v2): create module boilerplate (#21559) 2024-09-06 16:04:21 +00:00
Randy Grok dce0365c23 feat: unify version modifier for v2 (#21508) 2024-09-06 15:56:29 +00:00
Julien Robert e9d72f5d05 chore: cleanups after #21450 (#21573) 2024-09-06 10:47:43 +00:00
Julien Robert f516a1eb7c build(deps): bump iavl in cosmossdk.io/store 1.1.x (#21574) 2024-09-06 12:37:35 +02:00
dependabot[bot]andgithub-actions 36d9b25e89 build(deps): Bump github.com/prometheus/common from 0.58.0 to 0.59.1 (#21569)
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>
2024-09-06 09:08:51 +00:00
ae1fb2e2e4 build(deps): Bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3 (#21571)
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>
2024-09-06 08:44:20 +00:00
6033330182 build(deps): Bump golang.org/x/crypto from 0.26.0 to 0.27.0 (#21570)
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: sontrinh16 <trinhleson2000@gmail.com>
2024-09-06 08:30:41 +00:00
Marko 68cb1635a0 chore: audit auth (#21566) 2024-09-05 17:23:27 +00:00
son trinh 0c10dd0cc1 refactor(x/gov): Audit gov changes (#21454) 2024-09-05 17:15:01 +00:00
Julien Robert a57b25418a refactor(core): move amino registrar and drop legacy package (#21531) 2024-09-05 11:44:52 +00:00
Julien Robert 30688b02bd refactor: simplify epoch hooks (#21552) 2024-09-05 09:41:58 +00:00
winniehere 3d0fba5768 docs: fix function comments (#21555) 2024-09-05 09:40:21 +00:00
e89009eac5 fix(mempool): data race in mempool prepare proposal handler (backport #21413) (#21541)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-05 07:25:12 +00:00
Alexander PetersandJulien Robert 6b20ef7388 docs: system test tutorial (#20812)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-05 04:24:03 +00:00
7f1eeb1801 docs: fix typos (#21514)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-04 19:47:16 +00:00
c8aec4d15e feat(x/genutil): bulk add genesis accounts (backport #21372) (#21544)
Co-authored-by: Reece Williams <31943163+Reecepbcups@users.noreply.github.com>
Co-authored-by: Reece Williams <reecepbcups@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-04 19:27:47 +00:00
MarkoandReece Williams 580579202a docs: add ignite to docs (#21537)
Co-authored-by: Reece Williams <31943163+Reecepbcups@users.noreply.github.com>
2024-09-04 15:49:20 +00:00
Ezequiel Raynaudo 502661ba93 refactor(staking): check for nil ptrs after GetCachedValue() (#21300) 2024-09-04 15:13:49 +00:00
cui d56bbb8991 refactor: using unsafe.String and unsafe.SliceData (#21412) 2024-09-04 15:10:47 +00:00
d0c8d675d7 build(deps): Bump github.com/cometbft/cometbft from 0.38.11 to 0.38.12 (#21535)
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>
2024-09-04 16:53:31 +02:00
Aaron Craelius 292d7b49c3 feat(indexer/postgres): add insert/update/delete functionality (#21186) 2024-09-04 12:06:49 +00:00
Reece WilliamsandJulien Robert 4b78f15f65 feat(x/genutil)!: bulk add genesis accounts (#21372)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-04 11:33:09 +00:00
Julien RobertandAkhil Kumar P 6ffa71abd3 chore: extract improvements from #21497 (#21506)
Co-authored-by: Akhil Kumar P <36399231+akhilkumarpilli@users.noreply.github.com>
2024-09-04 10:57:07 +00:00
yihuang 0d201dead3 fix(mempool): data race in mempool prepare proposal handler (#21413) 2024-09-04 10:42:43 +00:00
Matt Kocubinski daef0542ce docs(x/authz): update changelog to include API breaking events change (#21522) 2024-09-04 08:41:30 +00:00
Hieu Vu 95b8092cbd refactor(server/v2): Update prepare & process proposal (#21237) 2024-09-04 07:58:07 +00:00
dependabot[bot]andgithub-actions 3bb9528e59 build(deps): Bump github.com/prometheus/common from 0.57.0 to 0.58.0 (#21532)
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>
2024-09-04 07:53:53 +00:00
dependabot[bot] d78ad877c6 build(deps): Bump peter-evans/create-pull-request from 6 to 7 (#21533)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 07:49:35 +00:00
Julien RobertandAaron Craelius 6fc677faec docs(core): add core documentation and principles (#21511)
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2024-09-03 22:20:05 +00:00
Marko 70488a89a8 refactor: revert auth extraction (#21507) 2024-09-03 21:12:21 +00:00
testinginprod 8431dbd38a feat(accounts/base): give chains the possibility to pick their chosen pubkey types for the base accounts (#21466) 2024-09-03 17:09:04 +00:00
11039b7932 fix(types/mempool): fix slice init length (backport #21494) (#21519)
Co-authored-by: dropbigfish <fillfish@foxmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-03 14:25:20 +00:00
Julián Toledano 54b49d4bcc refactor(baseapp): audit QA v0.52 (#21515) 2024-09-03 14:08:37 +00:00
dropbigfishandJulien Robert 7bf0442748 fix(types/mempool): fix slice init length (#21494)
Signed-off-by: dropbigfish <fillfish@foxmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-03 13:46:47 +00:00
Alexander Peters 62bf23a5ae fix(sims): OOM at sim-multi-seed-long run (#21503) 2024-09-03 13:41:22 +00:00
Julien Robert 50b2254249 feat(types/module): add deprecation panics on unsupported apis (#21512) 2024-09-03 12:49:08 +00:00
Chill Validation e3d8378384 test(cosmovisor): fix typo daemon + fix flaky test (#21487) 2024-09-03 10:11:33 +00:00
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
Marko 9197f541e5 chore: remove accounts replaces (#21504) 2024-09-02 19:56:47 +00:00
Aaron Craeliusandcoderabbitai[bot] 5fb584aedd docs: RFC 003: Cross Language Account, Module, Message Model (#21242)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-09-02 18:22:05 +00:00
Akhil Kumar P 496cd0de9b refactor(x/slashing): audit QA (#21477) 2024-09-02 11:13:52 +00:00
1ca62cb9d0 fix(x/consensus)!: update cons params parsing checks (backport #21484) (#21493)
Co-authored-by: MSalopek <matija.salopek994@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-02 12:29:06 +02:00
Julián Toledano a51b432b76 refactor(types,client,simapp): remove some address String() calls (#21455) 2024-09-02 10:28:12 +00:00
MSalopek f79b3802ac fix(x/consensus)!: update cons params parsing checks (#21484) 2024-08-31 16:18:31 +00:00
Julien Robert f42285dd46 chore: update codeowners (#21489) 2024-08-30 21:42:57 +00:00
cool-developer ce4fb98cb8 feat: replace the cosmos-db.DB interface with core/store interface (#21450) 2024-08-30 21:25:25 +00:00
Aaron CraeliusandFacundo Medica f843f1a478 feat(collections): support indexing (#20704)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-08-30 21:23:17 +00:00
8c9152d9c6 fix(baseapp): preblock events are not emmitted correctly (backport #21444) (#21458)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-30 19:53:57 +00:00
Aaron Craelius c94f4b91fc chore: update schema to v0.2.0 in all go.mod's (#21488) 2024-08-30 19:42:48 +00:00
Aaron Craelius ce8f9d40f2 refactor(schema)!: rename Schema -> TypeSet and other small renamings (#21446) 2024-08-30 17:01:48 +00:00
Lucas Francisco López b33ed0716b refactor(server): audit QA (#21442) 2024-08-30 14:41:14 +00:00
Julien Robert 24401543bd chore: update codeowners (#21469) 2024-08-30 12:46:19 +00:00
Cosmos SDKandgithub-merge-queue 092655312f chore: fix spelling errors (#21478)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-30 12:34:50 +00:00
Julien Robert efb11b3b75 docs(x/genutil): audit genutil (#21471) 2024-08-30 09:29:19 +00:00
dependabot[bot]andgithub-actions 185676a8f8 build(deps): Bump github.com/cosmos/ics23/go from 0.10.0 to 0.11.0 (#21472)
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>
2024-08-30 07:57:01 +00:00
dependabot[bot]andgithub-actions f2b1a522a5 build(deps): Bump github.com/cosmos/ics23/go from 0.10.0 to 0.11.0 (#21473)
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>
2024-08-30 07:56:46 +00:00
Hieu Vu 4096fb803b refactor(simapp): Audit simapp (#21311) 2024-08-29 21:23:26 +00:00
Julien Robert aeaa7564d6 feat(tools/cosmovisor): pass stdin to process (#21462) 2024-08-29 21:15:54 +00:00
son trinh 41a9af76e0 fix(core/gas): Add consumed API for GasMeter (#21443) 2024-08-29 15:16:33 +00:00
mergify[bot]andJulien Robert f3b34fdd56 feat(x/bank): add origin address in event multisend (backport #21460) (#21465)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-29 15:14:21 +00:00
Julien Robert 33c463ec27 feat(x/bank): add origin address in event multisend (#21460) 2024-08-29 12:29:07 +00:00
Akhil Kumar P 43f59c8258 refactor(x/bank): audit QA (#21459) 2024-08-29 11:01:06 +00:00
Hieu Vu 17d864f6c0 refactor(x/auth/tx): Implement UnorderedTxManager tx validator (#21426) 2024-08-29 09:00:22 +00:00
Facundo Medica 58bbcd9d75 fix(baseapp): preblock events are not emmitted correctly (#21444) 2024-08-29 08:59:20 +00:00
1bbeb9c6fa build(deps): Bump google.golang.org/grpc from 1.65.0 to 1.66.0 (#21452)
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>
2024-08-29 08:32:05 +00:00
Akhil Kumar PandJulien Robert 81a225e6a2 feat(server/v2): add min gas price and check with tx fee (#21173)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-29 07:46:58 +00:00
dependabot[bot]andgithub-actions 78de1a2549 build(deps): Bump github.com/prometheus/common from 0.56.0 to 0.57.0 (#21448)
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>
2024-08-29 06:57:59 +00:00
Aaron Craelius 89ec787f7e feat(schema): add JSON marshaling for ModuleSchema (#21371) 2024-08-28 18:42:40 +00:00
Aaron Craelius 8ca94d9acb refactor(schema)!: use type references rather than embedding enum types (#21425) 2024-08-28 17:26:28 +00:00
Facundo MedicaandJulien Robert 43fa816a1e refactor(x/circuit): add TxValidator (#21441)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-28 15:54:22 +00:00
Julien Robert 355f4d7e42 feat(x/auth/tx): extend app module + docs (#21409) 2024-08-28 09:47:51 +00:00
Julien RobertandJulián Toledano 39b61a3102 chore(types): deprecate acc address stringer (#21435)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
2024-08-28 09:04:44 +00:00
Julien Robert 01abf4fbf9 feat(client): use address codec for tx.Sign (#21436) 2024-08-28 08:14:36 +00:00
dependabot[bot] 4c796d2ae1 build(deps): Bump github.com/fergusstrange/embedded-postgres from 1.28.0 to 1.29.0 in /indexer/postgres/tests (#21432)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 07:22:05 +00:00
dependabot[bot]andgithub-actions c9a3591599 build(deps): Bump github.com/prometheus/common from 0.55.0 to 0.56.0 (#21433)
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>
2024-08-28 07:21:03 +00:00
Hyde Zhang ed25f88a13 refactor: unnecessary error return of NewSigningOptions function (#21424) 2024-08-27 18:04:40 +00:00
son trinhandJulien Robert f0c0e8154f refactor(runtime): Audit runtime changes (#21309)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-27 12:51:22 +00:00
Akhil Kumar P e98b8e9617 refactor(types): audit QA (#21355) 2024-08-27 12:19:11 +00:00
Julien Robert 03d3a93991 refactor(simapp,runtime): audit changes (#21310) 2024-08-27 12:17:12 +00:00
Julián Toledano 8e0efbdff9 refactor(x/consensus): audit QA v0.52 (#21416) 2024-08-27 11:22:47 +00:00
Marko 355f748add chore: cleanup core/app (#21368) 2024-08-27 09:55:16 +00:00
dependabot[bot]andgithub-actions 58af7ee027 build(deps): Bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 (#21410)
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>
2024-08-27 05:49:04 +00:00
Ukeje GoodnessandJulien Robert 8dd69484ff docs(simapp): refactored README readability and more usability (#21383)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-27 03:45:52 +00:00
Facundo Medica 19e0de5e0a fix!: Add ValidateTx to ExtensionOptionChecker ante (#21403) 2024-08-26 14:01:24 +00:00
Julián Toledano 28c792bcd0 test(x/slashing): add infractions test (#21387) 2024-08-26 10:07:55 +00:00
mergify[bot]andKI 2f81f5c40a docs: fix outdated link (backport #21397) (#21400)
Co-authored-by: KI <KIVIKY@protonmail.com>
2024-08-26 10:07:30 +00:00
KI 41fa461529 docs: fix outdated link (#21397) 2024-08-26 10:00:10 +00:00
dependabot[bot]andgithub-actions 3cb95a334f build(deps): Bump github.com/prometheus/client_golang from 1.20.1 to 1.20.2 (#21395)
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>
2024-08-26 09:57:09 +00:00
Facundo Medica 7c85b981c8 fix: reimplement sig verification for app v2 (#21386) 2024-08-26 09:40:54 +00:00
Lucas Francisco López 9bc5df6469 refactor(x/circuit): audit QA (#21370) 2024-08-26 09:26:02 +00:00
Julián Toledano 59e0a3d6be refactor(x/feegrant)!: audit QA v0.52 (#21377) 2024-08-26 07:50:44 +00:00
XiaoBei c40cf3e737 refactor: use errors.New to replace fmt.Errorf with no parameters (#21394) 2024-08-25 11:41:31 +00:00
Julien Robert a554a21a0e refactor(core,stf,x)!: remove InvokeTyped from router (#21224) 2024-08-23 21:38:06 +00:00
dependabot[bot] fc87374ff7 build(deps): Bump bufbuild/buf-setup-action from 1.37.0 to 1.38.0 (#21385)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 19:20:16 +00:00
Facundo Medica 7c69f65fa8 chore: run make protogen (#21378) 2024-08-23 19:19:35 +00:00
Aaron Craelius 51b63f7ffb feat(schema): schema diffing (#21374) 2024-08-23 15:02:54 +00:00
Randy Grok 8ddea56bb2 fix(server/v2/stf): include safety checks to the execution context (#21359) 2024-08-23 10:22:17 +00:00
NAIHANU 0aa9eeb533 docs(tools/cosmovisor): Fix CHANGELOG (#21381) 2024-08-22 13:47:36 +00:00
Aaron Craelius e88c138760 refactor(indexer/postgres)!: use schema/indexer API and hide types/methods (#21363) 2024-08-21 14:49:02 +00:00
dependabot[bot]andgithub-actions fb7775ad0c build(deps): Bump github.com/prometheus/client_golang from 1.20.0 to 1.20.1 (#21375)
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>
2024-08-21 09:22:23 +00:00
Lucas Francisco López bdb9232ed8 refactor(cli): Standardize Use field convention and update readme (#21369) 2024-08-21 08:36:34 +00:00
Aaron Craelius 95dcf845c3 fix(schema)!: fixes and key restrictions based on indexer testing (#21362) 2024-08-20 22:52:49 +00:00
Aaron Craelius 08a3da44b1 feat(schema/indexer): add address codec param (#21361) 2024-08-20 15:01:29 +00:00
Aaron Craelius da27d8b9a1 feat(schema/appdata)!: efficiency & data model improvements aligned with server/v2 (#21305) 2024-08-20 14:49:06 +00:00
Aaron Craelius 27d3d4892b feat(schema/appdata)!: make commit async (#21306) 2024-08-20 13:06:25 +00:00
Ezequiel Raynaudo aeb0f275f9 docs(x/feegrant): Update readme (#21364) 2024-08-20 06:49:00 +00:00
dependabot[bot]andgithub-actions ee8331b97f build(deps): Bump github.com/creachadair/atomicfile from 0.3.4 to 0.3.5 in /tools/confix (#21365)
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>
2024-08-20 06:28:54 +00:00
Facundo Medica c286e6ef7d fix(x/protocolpool)!: do not incur into extra writes if there are no continuous funds (#21356) 2024-08-19 16:02:01 +00:00
Julien Robert 6f30de3a41 refactor: remove x/exp dep (#21281) 2024-08-19 13:14:34 +00:00
son trinh 294b608022 feat(runtime/v2): Add pre and post msg handler register (#21346) 2024-08-19 10:26:56 +00:00
Julián Toledano c50c6b2549 docs: update upgrading for nested messages simulation (#21354) 2024-08-19 10:16:35 +00:00
Lucas Francisco López 0add6d5ead refactor(x/protocolpool): audit QA (#21337) 2024-08-19 08:01:57 +00:00
dependabot[bot]andgithub-actions 73215a9f83 build(deps): Bump cosmossdk.io/log from 1.4.0 to 1.4.1 (#21351)
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>
2024-08-19 09:38:30 +02:00
harry m. k. 0a0250a622 docs: fix Introduction.md (#21352) 2024-08-19 07:22:27 +00:00
dependabot[bot] 7abeee5888 build(deps): Bump bufbuild/buf-setup-action from 1.36.0 to 1.37.0 (#21344)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 07:18:01 +00:00
dependabot[bot]andgithub-actions 0a90d2846f build(deps): Bump cosmossdk.io/log from 1.4.0 to 1.4.1 (#21345)
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>
2024-08-19 07:17:40 +00:00
dependabot[bot]andgithub-actions c62a768007 build(deps): Bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.6 (#21347)
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>
2024-08-19 07:17:08 +00:00
Julien Robert d6ea8e30b8 docs: more app v2 renaming (#21336) 2024-08-19 07:16:17 +00:00
Oksana cd92990619 chore: update link in disclaimer (#21339) 2024-08-18 14:04:13 +00:00
ee04cee0ca refactor(x/distribution): audit QA (#21316)
Co-authored-by: Randy Grok <98407738+randygrok@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Cosmos SDK <113218068+github-prbot@users.noreply.github.com>
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2024-08-17 19:49:32 +00:00
mergify[bot]andJulien Robert e3c64e3adf docs: rename app v2 to app di when talking about runtime v0 (backport #21329) (#21335)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-17 09:25:42 +00:00
Julien Robert 651868a177 docs: rename app v2 to app di when talking about runtime v0 (#21329) 2024-08-17 07:33:15 +00:00
Aaron Craelius e57a9370fa feat(schema): specify JSON mapping (#21243) 2024-08-16 14:35:38 +00:00
Julien Robert 54df7585a2 fix(x/authz): bring back msg response in DispatchActions (#21044) 2024-08-16 13:26:30 +00:00
Julien Robert 6276b015bb chore: fix all lint issue since golangci-lint bump (#21326) 2024-08-16 13:03:24 +00:00
Julián Toledano 825e81b688 refactor(x/mint): v0.52 audit x/mint (#21301) 2024-08-16 12:55:45 +00:00
Cosmos SDKandgithub-merge-queue f8ab520ad7 chore: fix spelling errors (#21327)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-16 12:09:01 +00:00
Randy Grokandmarbar3778 aeeaca64da feat: export genesis in simapp v2 (#21199)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-08-16 11:15:45 +00:00
Julien Robert e37404dce3 chore: bring in core v0.11.x (v0.50 compatible) to v0.50 (#21298) 2024-08-16 12:16:41 +02:00
624fe4a027 fix(baseapp)!: Halt at height now does not produce the halt height block (backport #21256) (#21323)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-08-16 11:16:30 +02:00
Facundo Medica e2ec889bb7 fix(baseapp)!: Halt at height now does not produce the halt height block (#21256) 2024-08-16 08:18:31 +00:00
Gin b01d5a000d refactor(scripts): remove unused variable (#21320) 2024-08-16 06:40:48 +00:00
Aaron CraeliusandJulien Robert 0f39b4e491 chore(schema/testing): upgrade to go 1.23 iterators (#21282)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-15 20:58:58 +00:00
Julien Robert 858ec2fcb8 chore: readmes + upgrading docs (#21271) 2024-08-15 19:42:37 +00:00
zakir 1cb2336a67 feat(client): add auto cli for node service (#21074) 2024-08-15 18:52:45 +00:00
Diogo Teles Sant'Anna adf5d1b3bb ci: fix github workflow vulnerable to script injection (#21304)
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
2024-08-15 13:48:50 +00:00
dependabot[bot]andgithub-actions 55a60856de build(deps): Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 (#21307)
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>
2024-08-15 10:42:00 +00:00
Julien Robert 819330872c build(deps): use Go 1.23 instead of Go 1.22 (#21280) 2024-08-15 08:43:08 +00:00
son trinh 0fe3115dcf refactor(x/auth): audit x/auth changes (#21146) 2024-08-14 15:11:55 +00:00
james.zhangandcoderabbitai[bot] ec17e1e6ed chore: remove todo: "abstract out staking message back to staking" (#21266)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-08-14 10:06:39 +00:00
Aaron Craelius cacea0f642 fix(schema/testing): proper integer and decimal comparison (#21241) 2024-08-14 09:55:20 +00:00
dependabot[bot]andgithub-actions 2f49e9e120 build(deps): Bump github.com/cosmos/gogoproto from 1.6.0 to 1.7.0 (#21294)
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>
2024-08-14 09:38:49 +02:00
dependabot[bot]andgithub-actions 7f1dd9701c build(deps): Bump github.com/cosmos/gogoproto from 1.6.1-0.20240809124342-d6a57064ada0 to 1.7.0 (#21284)
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>
2024-08-14 07:18:56 +00:00
Julián ToledanoandJulien Robert 67ed23b8be refactor(x/slashing): audit x/slashing changes (#21270)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-13 19:49:59 +00:00
Ezequiel Raynaudo 588c780cdd docs: Fix old links in x/staking (#21277) 2024-08-13 19:36:06 +00:00
7306552f44 feat(confix): allow customization of migration plan (backport #21202) (#21268)
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-13 18:37:34 +02:00
Marko 072a29c838 refactor: use corestore.StoreUpgrades (#21259) 2024-08-13 13:44:34 +00:00
dependabot[bot]andJulien Robert 75db9d7750 build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.8 to 0.50.9 in /tools/confix (#21263)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-13 10:28:01 +00:00
TomandHieu Vu 1d7f891ea9 feat(confix): allow customization of migration plan (#21202)
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
2024-08-13 10:03:21 +00:00
dependabot[bot]andgithub-actions f7ee7006f1 build(deps): Bump github.com/cometbft/cometbft from 0.38.10 to 0.38.11 (#21264)
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>
2024-08-13 11:40:29 +02:00
Aaron Craelius 431b52309c refactor(schema)!: move view interfaces from testing to schema (#21204) 2024-08-12 21:04:23 +00:00
cool-developer df3b035dd8 chore(core/store): Batch interface alias (#21262) 2024-08-12 20:40:28 +00:00
Julien Robert 76e1fa30fb fix(cosmovisor): fix upgrade detection (#20585) 2024-08-12 20:08:36 +00:00
Marko 3e413243db refactor: remove consensus messages (#21248) 2024-08-12 14:19:13 +00:00
Marko 810a542d6b refactor: zerodep core (#21239) 2024-08-12 12:57:44 +00:00
Cosmos SDKandgithub-merge-queue fba4dacef6 chore: fix spelling errors (#21255)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-12 12:57:15 +00:00
son trinh 367d94ad29 refactor(x/authz): audit x/authz changes (#21251) 2024-08-12 10:10:17 +00:00
oren-lavaandFacundo Medica e30dc06169 feat(collections): quad collection (#21090)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-08-11 09:10:30 +00:00
8c5f521735 feat: module hash by height query (backport #20779) (#21247)
Co-authored-by: Adam Tucker <adam@osmosis.team>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-08-10 08:32:16 +00:00
4e97c4951e feat: module hash by height query (#20779)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Marko <marko@baricevic.me>
2024-08-10 04:41:27 +00:00
son trinh 7a59ce9d95 chore(store/v2): Increase storev2 tests coverage (#21094) 2024-08-09 16:10:30 +00:00
Facundo Medica a9a687c7da refactor(x/consensus): audit QA (#21151) 2024-08-09 15:20:42 +00:00
cool-developerandmarbar3778 bc698d8bb2 test(store/v2): add the root store unit test (#21208)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-08-09 15:11:05 +00:00
668854d16f build(deps): Bump google.golang.org/grpc from 1.64.1 to 1.65.0 in /simapp (#21228)
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>
2024-08-09 12:51:03 +00:00
luozexuan 7f04ef89e5 chore: fix some comments (#21238)
Signed-off-by: luozexuan <fetchcode@139.com>
2024-08-09 12:29:07 +00:00
dependabot[bot]andgithub-actions 1862e38c9c build(deps): Bump github.com/cosmos/gogoproto from 1.5.0 to 1.6.0 (#21229)
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>
2024-08-09 07:08:53 +00:00
dependabot[bot]andgithub-actions 057cd3bc76 build(deps): Bump github.com/cosmos/gogoproto from 1.5.0 to 1.6.0 (#21234)
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>
2024-08-09 08:47:46 +02:00
Hemanth Sai 6f86b323bf chore: fix spelling errors (#21235) 2024-08-09 06:44:22 +00:00
Aaron Craelius f6fee983a5 feat: make schema and core kv-pair updates compatible (#21223) 2024-08-08 20:24:29 +00:00
Cosmos SDKandgithub-merge-queue b0ab3aaac4 chore: fix spelling errors (#21220)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-08 15:10:44 +00:00
Aaron Craelius dccdd5daba feat(core/store): make KVStore structurally typed (#21222) 2024-08-08 13:14:59 +00:00
Akhil Kumar P 849bccc02a refactor(server/v2/stf): pass exec mode to validateTx (#21219) 2024-08-08 13:07:55 +00:00
Hieu Vu 57ad13a999 refactor(serverv2/cometbft): Update vote extensions (#21198) 2024-08-08 12:21:00 +00:00
Julien Robert 8400d9b426 refactor: clarify usage of genesis.TxHandler in v1 vs v2 (#21213) 2024-08-08 11:23:41 +00:00
Julien Robert 22fb753099 build(deps): bump proto-builder and regen protos (#21215) 2024-08-08 08:45:15 +00:00
dependabot[bot]andmergify[bot] 90741c375c build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.8 to 0.50.9 in /tools/hubl (#21207)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-08-08 08:14:05 +00:00
Marko 156231be8a chore: backport NewMemStoreService method (#21212) 2024-08-08 09:53:41 +02:00
Julien Robert 7040177316 refactor(core,stf): complete gas service + simplify deps (#21166) 2024-08-08 07:30:09 +00:00
dependabot[bot]andgithub-actions 1cde7541b7 build(deps): Bump cosmossdk.io/log from 1.3.1 to 1.4.0 (#21209)
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>
2024-08-08 09:02:12 +02:00
dependabot[bot]andgithub-actions 7dacef600f build(deps): Bump cosmossdk.io/log from 1.3.1 to 1.4.0 (#21205)
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>
2024-08-08 05:51:07 +00:00
testinginprod 4dc9469320 feat(stf/router): support backwards compat type URL in router (#21177) 2024-08-07 13:17:42 +00:00
Julien Robert 90fd6320a6 fix(server/v2/cometbft): add tx result for failed tx (#21200) 2024-08-07 13:07:28 +00:00
Julien Robert 72e77c3580 refactor(core): core review (1/n) (#21193) 2024-08-07 12:04:53 +00:00
Julien Robert 6b4557ddb8 chore: prepare log v1.4.0 (#21197) 2024-08-07 09:20:53 +00:00
5a08833386 build(deps): Bump golang.org/x/crypto from 0.25.0 to 0.26.0 (#21189)
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>
2024-08-07 08:53:07 +00:00
655b303675 build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0 (#21190)
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>
2024-08-07 08:52:43 +00:00
Julien Robert cc25f59e61 ci: add compat check 052 x main (#21174) 2024-08-07 08:39:14 +00:00
mergify[bot]andJulien Robert 8bfcf55427 ci: attempt to fix goreleaser (backport #21194) (#21196)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-07 10:35:19 +02:00
Hieu Vu 5b7d8b6d82 test(stf/mock): Unmarshal with knowing the message type (#21178) 2024-08-07 08:34:00 +00:00
Julien Robert 641f964651 ci: attempt to fix goreleaser (#21194) 2024-08-07 08:26:51 +00:00
Hieu Vu a0fdab27b2 test(server/v2): Update testdata prune options (#21192) 2024-08-07 08:07:20 +00:00
dependabot[bot] 4b4ec478df build(deps): Bump bufbuild/buf-setup-action from 1.35.1 to 1.36.0 (#21191)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 07:38:09 +00:00
Julien Robert 16d3025d81 chore: prepare v0.50.9 (#21163) 2024-08-07 09:37:37 +02:00
feb0e077a9 feat: [ADR-071] Cryptography v2 (#18824)
Co-authored-by: educlerici-zondax <142804355+educlerici-zondax@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julian Toledano <jtoledanodiaz@gmail.com>
2024-08-06 21:13:50 +00:00
MarkoandFacundo 111a99995e docs: rename v2 to di (#21181)
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-08-06 19:19:01 +00:00
Facundo Medica 6779dc5a97 refactor(bank): audit/QA changes (#21048) 2024-08-06 16:54:37 +00:00
Hieu Vu 8fb47b368c feat(server/v2): Add snapshots commands (#21065) 2024-08-06 15:28:30 +00:00
Facundo Medica ca8122c3f3 refactor(baseapp): improve readability of preblock (#21179) 2024-08-06 10:00:15 +00:00
3f6796fba4 fix(baseapp): return events from preblocker in FinalizeBlockResponse (backport #21159) (#21162)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-08-06 09:36:14 +00:00
cool-developerandMatt Kocubinski 6d4097bfb7 feat(store/v2): implement the feature to upgrade the store keys (#20453)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-08-05 12:34:36 +00:00
0ddf5c0bfa build(deps): Bump golang.org/x/sync from 0.7.0 to 0.8.0 (#21169)
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: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
Co-authored-by: Marko <marko@baricevic.me>
2024-08-05 11:01:41 +00:00
984afb59e6 build(deps): Bump github.com/fergusstrange/embedded-postgres from 1.27.0 to 1.28.0 in /indexer/postgres/tests (#21121)
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: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-08-05 10:38:50 +00:00
Julien Robert 892a3e355d fix: proto gen (#21172) 2024-08-05 10:20:24 +00:00
pengbanban 3128b08cfc chore: fix function names (#21168)
Signed-off-by: pengbanban <pengbanban@aliyun.com>
2024-08-05 08:50:49 +00:00
dependabot[bot]andgithub-actions 3fc80745ee build(deps): Bump cosmossdk.io/x/tx from 0.13.3 to 0.13.4 (#21170)
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>
2024-08-05 10:47:42 +02:00
Julien Robert ccd3d992ea docs: update branching strategy (#21141) 2024-08-03 11:53:01 +00:00
neeel.eth bc0731cb49 docs: fixes collections intValue reference (#21165) 2024-08-02 20:42:00 +00:00
Hieu Vu a26970e547 refactor(server/v2/cometbft): Consensus get chain-id from viper (#21116) 2024-08-02 14:21:26 +00:00
Julien Robert a565daad48 chore: bring in v0.13.x x/tx in release/v0.50.x (#21158) 2024-08-02 13:23:53 +02:00
Julien Robert cffeedff64 test(client/v2): update golden file (#21139) 2024-08-02 11:08:23 +00:00
Facundo Medica c312d99ea0 fix(baseapp): return events from preblocker in FinalizeBlockResponse (#21159) 2024-08-02 10:50:19 +00:00
04bedcd32b chore(systemtests): better support for app v2 (#21128)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marko@baricevic.me>
2024-08-02 10:16:03 +00:00
Hieu Vu bc72e34d55 fix(storev2/snapshots): Close StateChanges channel in doRestoreSnapshot (#21106) 2024-08-02 09:49:01 +00:00
Julien Robert e507900e45 chore: check err before logging (#21133) 2024-08-02 07:19:44 +00:00
Alexander Peters 23fac2f1b8 fix(systemtests): Fix account creation test to wait for TX committed (#21149) 2024-08-02 06:40:46 +00:00
31ef899f4c docs: Fix cli usage examples (backport #21150) (#21154)
Co-authored-by: Christoph Otter <chipshort@tutanota.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-01 14:58:53 +00:00
ffd569672c fix(simapp): concurrent map writes when calling GetSigners (backport #21073) (#21130)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-08-01 16:20:17 +02:00
Christoph Otter fb9efdf875 docs: Fix cli usage examples (#21150) 2024-08-01 14:19:21 +00:00
Julien Robert c55e8d7101 chore(runtime/v2): cleanup replaces (#21147) 2024-08-01 11:05:32 +00:00
Julien Robert 49179ebfec fix(server/v2/cometbft): fix slice appending (#21142) 2024-08-01 10:00:32 +00:00
Alexander Petersandmarbar3778 aee9803a0a test(systemtests): Add double signing test (#21115)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-07-31 20:54:46 +00:00
Marko 43dd23137e refactor: remove comet info from consensus as it will be stored in context for v2 (#21120) 2024-07-31 20:21:23 +00:00
Julien Robert 98e09a720d refactor(server/v2): add missing comet flags (#21123) 2024-07-31 15:58:50 +00:00
Facundo Medica 453c86ebf1 chore: small fix in readme (#21127) 2024-07-31 15:39:26 +00:00
Facundo Medica de0708b401 fix(x/tx): concurrent map writes when calling GetSigners (#21073) 2024-07-31 15:15:17 +00:00
Alexander Peters 6b7e9f8935 fix: fixes evidence skipped (#21122) 2024-07-31 13:51:48 +00:00
Marko df72853b3c chore: rename snapshots to v2 in store/v2 (#21100) 2024-07-31 13:29:47 +00:00
Aaron Craeliusandcoderabbitai[bot] e7844e640c feat(schema): testing utilities (#20705)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-31 06:58:30 +00:00
lfz941 6eea0ae6d2 refactor(store/v2): handle the error returned by batch.Close correctly (#21095) 2024-07-31 03:37:18 +00:00
Cosmos SDKandgithub-merge-queue e5e2dafca3 chore: fix spelling errors (#21117)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-07-30 15:53:13 +00:00
8e0bf86bec docs: ADR-071 Bank/v2 (#20316)
Co-authored-by: Julien Robert <29894366+julienrbrt@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-30 10:35:25 +00:00
8b47141655 feat(serverv2): integrate gRPC (#21038)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-07-30 09:26:16 +00:00
91d412cc7d feat: check latest block if no arg in q block and q block-results (backport #21084) (#21111)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
2024-07-30 10:15:39 +02:00
Julien Robert c4de9a9706 feat: check latest block if no arg in q block and q block-results (#21084) 2024-07-29 22:52:21 +00:00
Lucas Francisco López b2989459ae docs: Enhance provisions docs (#21109) 2024-07-29 19:28:31 +00:00
Matt Kocubinski d80afaa55a fix(x/auth/tx): JSON TX encoding/decoding (#20803) 2024-07-29 18:29:06 +00:00
585335690b feat(tx)!: make timeout_height time based (#20870)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-29 11:53:27 +00:00
Aaron Craelius 9b6f61e3d0 feat(indexer/postgres): block, tx and event schemas (#21078) 2024-07-29 09:54:10 +00:00
Akhil Kumar P e7b6d73147 feat(confix): add migration to v2 (#21052) 2024-07-29 06:16:21 +00:00
Hieu Vu 3f22acc5d9 refactor(simd/v2): Rename to minimum-gas-price (#21099) 2024-07-29 05:08:48 +00:00
Julien Robert 73a9396a0a ci: make init-simapp v1 / v2 consistent (#21082) 2024-07-28 07:28:05 +00:00
Alexander Petersandmarbar3778 b05bb2601e fix(stf): fixes to make init genesis pass (#21088)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-07-27 18:11:24 +00:00
2e0884564f chore: fix spelling errors (#21092)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-26 15:14:27 +00:00
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
riyueguang 9f5ee3a083 chore: fix some comments (#21085)
Signed-off-by: riyueguang <rustruby@outlook.com>
2024-07-26 11:00:15 +00:00
Julián Toledano fe8474e9b4 feat: simulate nested messages (#20291) 2024-07-26 10:53:32 +00:00
e135030273 fix(runtime): remove appv1alpha1.Config from runtime (backport #21042) (#21080)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-07-26 09:08:39 +00:00
Julien Robert cc5c4d0699 chore(network): remove DefaultConfigWithAppConfigWithQueryGasLimit (#21055) 2024-07-26 08:16:12 +00:00
Julien Robert 502450cd1e fix(runtime): remove appv1alpha1.Config from runtime (#21042) 2024-07-25 21:43:19 +00:00
Hieu Vu b6eaf70b6a feat(simapp/v2): Add store server to testnet init cmd (#21076) 2024-07-25 20:50:57 +00:00
Aaron Craelius a0207294c5 chore(indexer/postgres): update to changes on main (#21077) 2024-07-25 16:36:17 +00:00
Aaron Craeliusandcool-developer 683371f779 feat(schema/appdata): async listener mux'ing (#20879)
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
2024-07-25 13:53:26 +00:00
Alexander Peters 897f4f8484 ci: Use large box for 052 branch sims on CI (#21067) 2024-07-25 12:55:49 +00:00
yukionfire d6ad92db0f chore(all): replace all fmt.Errorf without paramters with errors.New (#21068) 2024-07-25 14:54:49 +02:00
dependabot[bot] 6a2d039e12 build(deps): Bump bufbuild/buf-setup-action from 1.35.0 to 1.35.1 (#21063)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-25 07:28:23 +00:00
Marko d514f339d1 chore: add test for account creation (#21053) 2024-07-25 06:22:27 +00:00
Facundo Medica 0fda53f265 feat(x/protocolpool,x/distribution)!: remove dependency + fix continuous fund bug (#20790) 2024-07-24 15:07:50 +00:00
Aaron Craelius 339e26ea8f feat(schema)!: add more range methods, rename EnumDefinition -> EnumType (#21043) 2024-07-24 13:42:47 +00:00
Alexander Peters 1f0ce2f5b5 refactor(sims)!: Remove Baseapp from sims (#21039) 2024-07-24 12:40:01 +00:00
Aaron Craelius b536d11532 docs: update ADR 054 (go semver compatible SDK modules) (#21009) 2024-07-24 11:27:30 +00:00
Facundo Medica e8222c8092 fix(x/slashing): do not error when val has zero tokens (#20977) 2024-07-24 11:06:41 +00:00
Hieu Vu e00145735a refactor(server/v2/cometbft): typecast SC & SS to correct interfaces (#21050) 2024-07-24 09:22:06 +00:00
Alexander Peters 18dd65d714 test(sims): Reduce test scope to 150 blocks for long sim run (#21049) 2024-07-24 08:54:17 +00:00
Marko 24977a92a2 ci: add 52 labels and ci (#21041) 2024-07-24 07:44:50 +00:00
Hieu Vu 4ea7f9fc82 docs(x/epochs): Fix proto comment (#21047) 2024-07-24 07:12:52 +00:00
Aaron Craelius 7d892e5432 refactor(schema)!: collect all types in ModuleSchema (#21036) 2024-07-23 20:02:00 +00:00
Hieu Vu 0ca95ee5eb feat(server/v2) Add prune cmd to serverv2 (#20736) 2024-07-23 16:48:54 +00:00
Julien Robert 070271939d feat: use depinject v1.0.0 (#21000) 2024-07-23 10:42:13 +02:00
Facundo Medica 564cc4d370 fix(crypto): revert #20438 (#21019) 2024-07-22 16:08:40 +02:00
mergify[bot]andson trinh eb71828960 fix: NewIntegrationApp does not write default genesis to state (backport #21006) (#21008)
Co-authored-by: son trinh <trinhleson2000@gmail.com>
2024-07-21 19:53:57 +02:00
mergify[bot] 7d0d59da69 fix(client/grpc): node.NewQueryServer method not setting cfg (backport #20969) (#20973) 2024-07-17 13:27:36 +02:00
mergify[bot]andJulien Robert 451683bc83 fix(client/v2): use (PREFIX)_HOME instead of NODE_HOME (backport #20964) (#20970)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-17 12:46:13 +02:00
dependabot[bot]andgithub-actions 28721bce03 build(deps): Bump github.com/cometbft/cometbft from 0.38.9 to 0.38.10 (#20960)
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>
2024-07-16 10:29:55 +02:00
711d86a691 fix: include pagination.key at reverse mode (backport #20939) (#20954)
Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-15 14:40:46 +00:00
Julien Robert d975e0160c chore(simapp): use tagged version (#20951) 2024-07-15 12:43:27 +02:00
Julien Robert c64d101080 chore: prepare v0.50.8 (#20910) 2024-07-15 11:45:35 +02:00
698627016d fix(simulation): Fix all problems make test-sim-custom-genesis-fast for simulation test. (backport #17911) (#20909)
Co-authored-by: Chenqun Lu <luchenqun@qq.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-11 08:28:37 +00:00
c51f58c799 fix(simulation): fix the problem of validator set is empty after InitGenesis in simulation test (backport #18196) (#20897)
Co-authored-by: Chenqun Lu <luchenqun@qq.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-05 16:01:19 +02:00
dependabot[bot]andgithub-actions 1c16683b58 build(deps): Bump github.com/cometbft/cometbft from 0.38.8 to 0.38.9 (#20836)
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>
2024-07-02 09:12:34 +02:00
dependabot[bot]andgithub-actions ba5b444dd1 build(deps): Bump github.com/cometbft/cometbft from 0.38.7 to 0.38.8 (#20805)
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>
2024-06-28 10:22:08 +02:00
mergify[bot]andJulien Robert e4c342eb99 feat: parse home flag earlier (backport #20771) (#20777)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-06-25 20:04:23 +00:00
mergify[bot] 0e6db14834 docs(x/group): orm codespace comment (backport #20749) (#20751) 2024-06-23 11:15:24 +00:00
mergify[bot]andJulien Robert 5d349c2661 feat(client/v2): get keyring from context (backport #19646) (#20727)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-06-19 20:39:31 +00:00
5db395bcca fix: nested multisig signatures using CLI (backport #20438) (#20692)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-06-19 22:25:22 +02:00
d6428f7335 feat(client): Add flag & reading mnemonic from file (backport #20690) (#20712)
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-06-18 11:01:32 +02:00
mergify[bot] 5e0f76726e docs: remove Ineffective code block (backport #20703) (#20711) 2024-06-18 08:02:52 +02:00
ea16396f71 fix: Properly parse json in the wait-tx command. (backport #20631) (#20660)
Co-authored-by: Daniel Wedul <github@wedul.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-06-13 21:44:33 +00:00
c5253e8229 docs: Update high level overview and introduction (backport #20535) (#20627)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-06-12 09:25:29 +02:00
Julien Robert aeb1e8f46b refactor(x/authz,x/feegrant): provide updated keeper in depinject (#20590) 2024-06-07 14:34:02 +02:00
dependabot[bot]andgithub-actions d8bfb8a36a build(deps): Bump github.com/cosmos/gogoproto from 1.4.12 to 1.5.0 (#20567)
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>
2024-06-06 10:18:38 +02:00
Julien Robert 62212dfc04 chore: prepare v0.50.7 (#20475) 2024-06-04 11:25:47 +02:00
Julien Robert 9313b0f883 chore(x/upgrade): bump vulnerable go-getter library (#20530) 2024-06-03 13:13:25 +00:00
mergify[bot]andMarko 9cfb3499d1 docs: add docs on permissions (backport #20526) (#20527)
Co-authored-by: Marko <marko@baricevic.me>
2024-06-03 12:57:33 +02:00
d180df817e fix(x/consensus): harden consensus params proposal (#20381)
Co-authored-by: Sergio Mena <sergio@informal.systems>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
2024-05-28 10:25:56 +00:00
mergify[bot]andPolyMa 443f153559 docs: update link contents (backport #20437) (#20462)
Co-authored-by: PolyMa <151764357+polymaer@users.noreply.github.com>
2024-05-27 13:24:08 +00:00
mergify[bot]andcocoyeal 5545d4579a docs: fix note blocks display failure (backport #20457) (#20459)
Co-authored-by: cocoyeal <150209682+cocoyeal@users.noreply.github.com>
2024-05-27 09:09:14 +00:00
2ca98739ab docs: update diagram to be shown properly (backport #20454) (#20460)
Co-authored-by: tianyeyouyou <150894831+tianyeyouyou@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-05-27 11:05:28 +02:00
b99ca2c1fd fix: correctly assign execModeSimulate to context for simulateTx (backport #20342) (#20346)
Co-authored-by: Damian Nolan <damiannolan@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-05-17 11:42:48 +00:00
83747c5325 feat(client): overwrite client context instead of setting new one (backport #20356) (#20383)
Co-authored-by: Shude Li <islishude@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-05-14 13:59:32 +00:00
08fdfec954 feat(client): add consensus address for debug cmd (backport #20328) (#20366)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-05-13 15:18:36 +00:00
mergify[bot] 5b6045c6b9 style: Fix gov query proposals examples syntax (backport #20353) (#20357) 2024-05-12 11:26:26 +02:00
dependabot[bot] b696f7a6a2 build(deps): Bump cosmossdk.io/api from 0.7.4 to 0.7.5 (#20338) 2024-05-10 10:23:08 +02:00
mergify[bot] 5d5e2d0433 fix(client/v2): correctly check subcommand short descriptions (backport #20330) (#20340) 2024-05-10 06:53:25 +00:00
39042281a0 fix: allow tx decoding to fail in GetBlockWithTxs (backport #20323) (#20329)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-05-09 13:23:31 +00:00
mergify[bot]andbeer-1 9f8e3a58d0 feat(runtime): Add missing NewTransientStoreService (backport #20261) (#20327)
Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com>
2024-05-09 11:46:51 +00:00
a2d3b2a6e5 feat(client/v2): override short description in generated command (backport #20266) (#20269)
Co-authored-by: John Letey <j@letey.de>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-05-09 09:57:48 +02:00
Julien Robert bd886bb4b0 feat(baseapp): expose grpc query router via depinject. (#20264) 2024-05-03 15:40:14 +02:00
mergify[bot]andMarko 8ffc80749b fix: remove txs from mempool when antehandler fails in recheck (backport #20144) (#20251)
Co-authored-by: Marko <marko@baricevic.me>
2024-05-02 22:45:02 +02:00
a65c2f73f2 fix(server): bootstrap-state command can't parse latest genesis format (backport #20020) (#20045)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-04-29 14:07:27 +00:00
dependabot[bot]andgithub-actions f74c0e967a build(deps): Bump github.com/cometbft/cometbft from 0.38.6 to 0.38.7 (#20206)
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>
2024-04-29 08:31:39 +00:00
mergify[bot]andLeon 66ac7843ba fix(testsuite/sims): set all signatures (backport #20151) (#20185)
Co-authored-by: Leon <156270887+leonz789@users.noreply.github.com>
2024-04-25 10:07:46 +00:00
mergify[bot]andReece Williams 016389c756 docs: add authz reference info in the circuit antehandler (backport #20146) (#20155)
Co-authored-by: Reece Williams <31943163+Reecepbcups@users.noreply.github.com>
2024-04-23 12:09:29 +02:00
dependabot[bot] d4896c233f build(deps): Bump cosmossdk.io/x/tx from 0.13.2 to 0.13.3 (#20152) 2024-04-23 08:13:31 +02:00
Julien Robert bb9f451758 build(deps): bump modules in simapp (#20137) 2024-04-22 15:57:35 +02:00
mergify[bot] ad8c205846 docs: fix broken link (backport #20133) (#20138) 2024-04-22 14:15:21 +02:00
7828a00244 fix(baseapp): avoid header height overwrite block height (backport #20107) (#20129)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-04-22 13:36:31 +02:00
mergify[bot]andsamricotta 3437fd5006 docs(gas/fees): Update block gas documentation (backport #20128) (#20131)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2024-04-22 13:34:43 +02:00
Julien Robert a42a85abd3 build(deps): bump sdk in modules (#20126) 2024-04-22 12:57:20 +02:00
Julien Robert c4d9a49505 chore: update v0.50.6 release notes (#20124) 2024-04-22 11:24:19 +02:00
Julien Robert fcb9d84edb fix(x/authz,x/feegrant): check blocked address (#20102) 2024-04-21 21:27:56 +02:00
mergify[bot]andmmsqe 0a682f7ae3 fix: use timestamp for sim log file name (backport #20108) (#20111)
Co-authored-by: mmsqe <mavis@crypto.com>
2024-04-21 21:16:03 +02:00
Julien Robert 4bd0e0216d chore: prepare v0.50.6 (#19998) 2024-04-21 20:59:10 +02:00
mergify[bot]andJulien Robert 2a32f4287d feat(client/v2): implement version filtering using annotation (backport #20083) (#20099)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-04-19 09:38:55 +00:00
dependabot[bot] a2abf1a442 build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.4 to 1.0.0-beta.5 (#20095) 2024-04-19 10:40:16 +02:00
mergify[bot]andFacundo Medica 49c3ae6a57 fix: secp256r1 json missing quotes (backport #20060) (#20069)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-04-17 10:21:30 +00:00
mergify[bot] 994149877c fix(baseapp): don't share global gas meter in tx execution (backport #19616) (#20050) 2024-04-16 11:45:09 +02:00
mergify[bot] dafcc78dfd feat(x/bank): support depinject for send restrictions (backport #20014) (#20024) 2024-04-15 23:29:52 +02:00
d6a0fa1504 build(deps): Bump cosmossdk.io/x/tx from 0.13.1 to 0.13.2 (#20042)
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>
2024-04-15 12:39:46 +02:00
mergify[bot]andmmsqe 741b01c2d2 fix(client/v2): respect output format from client ctx (backport #20033) (#20046)
Co-authored-by: mmsqe <mavis@crypto.com>
2024-04-15 12:25:31 +02:00
mergify[bot]andFacundo Medica 521ebe52bd fix: Implement gogoproto customtype to secp256r1 keys (backport #20027) (#20031)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-04-13 12:16:24 +02:00
mergify[bot]andmmsqe 452632ffea fix(x/bank): align query with multi denoms for send-enabled (backport #20028) (#20029)
Co-authored-by: mmsqe <mavis@crypto.com>
2024-04-12 17:14:38 +02:00
974a24c58c feat: Conditionally emit metrics based on enablement (backport #19903) (#20017)
Co-authored-by: Lucas Francisco López <lucaslopezf@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-04-12 12:13:28 +02:00
f76c659fd2 fix(mempool): use no-op mempool as default (backport #19970) (#20008)
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-04-11 17:48:11 +02:00
mergify[bot]andJulien Robert 525b720871 fix(client/v2): add encoder for cosmos.base.v1beta1.DecCoin (backport #19976) (#20001)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-04-10 22:02:13 +02:00
4b7176799e build(deps): Bump github.com/cosmos/iavl from 1.1.1 to 1.1.2 (#19985)
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>
2024-04-10 10:10:20 +00:00
mergify[bot] f63e5fdf7c docs(x/mint): Fix inconsistency in mint docs (backport #19915) (#19925) 2024-04-03 19:20:38 +09:00
405471ba0d build(deps): Bump cosmossdk.io/store from 1.0.2 to 1.1.0 (#19810)
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: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-28 12:21:52 +00:00
mergify[bot]andJulien Robert 7b35e36329 feat(server): add custom start handler (backport #19854) (#19884)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-28 11:57:24 +00:00
mergify[bot] 8641cd2a7c feat(client): replace event-query-tx-for with wait-tx (backport #19870) (#19887) 2024-03-27 19:18:09 +01:00
yihuang d78edac68e reuse fromAddrString (minor cleanup) (#19881) 2024-03-27 11:09:28 +07:00
9c53142c92 feat(x/gov): emit depositor in proposal_deposit event (backport #19853) (#19859)
Co-authored-by: Kien <kien@notional.ventures>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-25 16:42:08 +00:00
a0faab3cb9 feat(x/gov): emit proposer address in submit proposal event (backport #19842) (#19844)
Co-authored-by: Aryan Tikarya <akaladarshi@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-24 21:23:00 +00:00
dependabot[bot]andgithub-actions 87ad797688 build(deps): Bump github.com/cosmos/gogoproto from 1.4.11 to 1.4.12 (#19811)
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>
2024-03-21 16:09:28 +01:00
Marko a6c7aa5e44 chore(store): add release date (#19797) 2024-03-20 16:17:26 +01:00
ff30f6e0a4 build(deps): Bump github.com/cosmos/iavl from 1.0.1 to 1.1.1 in store (#19770)
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: Cool Developer <cool199966@outlook.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-20 12:03:18 +00:00
mergify[bot]andJulien Robert 1ad7fad702 fix(client/v2): fix comment parsing (backport #19377) (#19777)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-19 09:09:48 +00:00
0df29024da fix(x/upgrade): Stop treating inline JSON as a URL (backport #19706) (#19767)
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-03-18 12:46:45 +00:00
9a59234c42 fix: align signer extraction adapter for mempool remove (backport #19759) (#19773)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-03-18 12:16:07 +00:00
dependabot[bot]andgithub-actions 6977c223b2 build(deps): Bump github.com/cometbft/cometbft from 0.38.5 to 0.38.6 (#19751)
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>
2024-03-14 13:38:31 +07:00
b8659ae019 fix(crypto): error if incorrect ledger public key (backport #19691) (#19745)
Co-authored-by: Rootul P <rootulp@gmail.com>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
2024-03-14 02:59:02 +07:00
Julien Robert a32186608a chore: prepare v0.50.5 (#19715) 2024-03-12 13:42:07 +01:00
a877c47d47 fix(x/gov): grpc query tally for failed proposal (backport #19725) (#19727)
Co-authored-by: David Tumcharoen <david@alleslabs.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-12 12:04:27 +00:00
mergify[bot]andJulien Robert c382225138 feat(x/distribution): add rewards-by-validator autocli config (backport #19707) (#19714)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-11 11:15:11 +00:00
yihuang f055cde5d1 feat(baseapp): add option to disable block gas meter (#19626) 2024-03-11 11:55:55 +01:00
4467110df4 Merge pull request from GHSA-95rx-m9m5-m94v
* validate ExtendedCommit against LastCommit

test cases

* account for core.comet types

* logging

* linting

* cherry-pick staking fix

* nits

* linting fix

* run tests

---------

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Marko Baricevic <markobaricevic3778@gmail.com>
2024-03-11 11:48:32 +01:00
mergify[bot]andJulien Robert 6689e3689b build(deps): Bump deps (backport #19655) (#19711)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-11 09:45:50 +00:00
Julien Robert 3382e8ea82 fix(types): check for HasABCIGenesis in CoreAppModuleBasicAdaptor (#19709) 2024-03-08 21:38:02 +01:00
f9041cde5c refactor(x/auth): allow empty public keys for GetSignBytesAdapter (backport #19651) (#19675)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-07 16:15:17 +00:00
Julien Robert 2abd2ec8a5 feat(client/v2): marshal enum as string (#19653) 2024-03-06 15:33:20 +01:00
dependabot[bot]andgithub-actions 09a49fe260 build(deps): Bump cosmossdk.io/x/tx from 0.13.0 to 0.13.1 (#19665)
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>
2024-03-06 09:43:01 +01:00
mergify[bot]andMarko 515bd8d8ad docs: add section on creating a testnets from mainnet exports (backport #19475) (#19648)
Co-authored-by: Marko <marbar3778@yahoo.com>
2024-03-05 13:58:25 +01:00
Tom b118a0adac fix(staking): fix impossible conditions (#19621) 2024-03-01 19:27:14 +01:00
Julien Robert e7bea5fa52 ci: run test pipeline on merge v0.50 branch (#19582) 2024-02-27 20:22:51 +01:00
khanhandJulien Robert c21c8249c8 Merge pull request from GHSA-86h5-xcpx-cfqc
* fix slashing hole with test

* release notes + changelog

* word

* date

* updates

---------

Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-27 17:28:05 +01:00
fcfc099953 build(deps): Bump github.com/cosmos/cosmos-db from 1.0.0 to 1.0.2 (#19566)
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>
2024-02-26 10:34:11 +00:00
a8b5e7f5dc fix(depinject): Authtx was not accepting custom signers (backport #19549) (#19551)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
Co-authored-by: Qt <golang.chen@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-26 08:51:30 +00:00
dependabot[bot] 3dcf24e86e build(deps): Bump cosmossdk.io/math from 1.2.0 to 1.3.0 (#19562) 2024-02-26 08:05:24 +01:00
yihuang def228d0ad fix(simapp): typo in GetStoreKeys (#19544) 2024-02-24 14:43:01 +01:00
mergify[bot]andAdam Tucker aba4e2d0d8 fix: in-place-testnet edgecases (backport #19516) (#19526)
Co-authored-by: Adam Tucker <adam@osmosis.team>
2024-02-23 01:27:45 +01:00
Julien Robert 7dbed2fc0c Merge pull request from GHSA-4j93-fm92-rp4m
* fix(x/auth/vesting): Add `BlockedAddr` check in `CreatePeriodicVestingAccount`

* updates
2024-02-19 17:56:39 +01:00
dependabot[bot]andgithub-actions 18ea4c5200 build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.3 to 1.0.0-beta.4 (#19471)
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>
2024-02-19 10:10:02 +01:00
dependabot[bot]andgithub-actions 55807a2a0b build(deps): Bump github.com/cosmos/iavl from 1.0.0 to 1.0.1 (#19464)
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>
2024-02-19 09:22:42 +01:00
Julien Robert cc0b5c40df build(deps): bump to cosmossdk.io/api v0.7.3 (#19376) 2024-02-19 10:00:36 +05:30
Julien Robert aef27e38b4 chore: prepare v0.50.4 (#19432) 2024-02-18 10:52:31 +01:00
c122a3d8ab feat(server): in-place testnet creator (backport #19280) (#19405)
Co-authored-by: Adam Tucker <adam@osmosis.team>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-15 08:52:56 +01:00
mergify[bot]andJulien Robert fe2f853d98 fix(simapp): fix default home (backport #19393) (#19399)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-12 11:07:59 +00:00
mergify[bot] e738785539 fix: avoid cli redundant log in stdout (backport #19371) (#19375) 2024-02-08 00:07:28 +01:00
859b4140b8 build(deps): Bump cosmossdk.io/log from 1.3.0 to 1.3.1 (#19358)
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>
2024-02-06 09:33:58 +01:00
2b47327569 fix: Set headerInfo in context on setState (backport #19338) (#19342)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-02-05 10:02:26 +01:00
d2f9634443 fix(simapp): home flag is not respected (backport #18994) (#19297)
Co-authored-by: Connor Davis <17688291+PoisonPhang@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-30 21:53:35 +00:00
mergify[bot]andFacundo Medica a4bd70895d test(baseapp): Refactor tx selector tests + better comments (backport #19284) (#19287)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-01-30 11:17:59 +01:00
c4a2fe2b89 fix: skip same-sender non-sequential sequence and then add others txs new solution (backport #19177) (#19249)
Co-authored-by: Brann Bronzebeard <90186866+ZiHengLee@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-01-26 15:26:01 +00:00
mergify[bot] 0abf94a334 fix(ve): Ensure that sdk side ve math matches cometbft (backport #19200) (#19251) 2024-01-25 18:38:58 +00:00
dependabot[bot]andgithub-actions 861a7d7fd0 build(deps): Bump github.com/cometbft/cometbft from 0.38.4 to 0.38.5 (#19237)
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>
2024-01-25 09:44:46 +01:00
mergify[bot]andJulien Robert bdbd2b09c9 refactor(client/v2,simapp): align and simplify sign mode wiring (backport #19216) (#19219)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-24 11:28:12 +00:00
mergify[bot]andAleksandr Bezobchuk 8dcd61baf0 fix(baseapp): ensure ABCI listeners always run in FinalizeBlock (backport #19202) (#19217)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-24 11:53:16 +01:00
mergify[bot]andAleksandr Bezobchuk e5a9e1117d fix(OE): Remove usage of pointer in logs (backport #19198) (#19201)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-24 09:32:01 +01:00
mergify[bot] 9bfc163891 docs: fix typo in 06-grpc_rest.md (backport #19192) (#19193) 2024-01-23 18:23:16 +01:00
dependabot[bot]andgithub-actions 30b86c11f6 build(deps): Bump github.com/cometbft/cometbft from 0.38.2 to 0.38.4 (#19170)
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>
2024-01-23 08:58:14 +01:00
904d5e7cd2 docs: vote-extensions link in UPGRADING.md (backport #19155) (#19157)
Co-authored-by: Bryan White <bryanchriswhite@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-22 12:52:22 +01:00
mergify[bot]andMarko d0c414eb62 refactor(server): use bootstrap api from comet (backport #17899) (#19150)
Co-authored-by: Marko <marbar3778@yahoo.com>
2024-01-19 17:43:18 +00:00
396be81acd fix: allow empty public keys when setting signatures (backport #19106) (#19107)
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-19 10:21:48 +01:00
mergify[bot]andJulien Robert 3897926e72 fix(client/v2): resolve keyring flags properly (backport #19060) (#19105)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-18 21:09:41 +00:00
mergify[bot] 60c6d9ba88 fix(x/gov): check right params (backport #19102) (#19104) 2024-01-18 19:24:34 +00:00
mergify[bot]andHalimao 19d9d84baf chore(confix): update <simd> config subcommand description (backport #19047) (#19072)
Co-authored-by: Halimao <1065621723@qq.com>
2024-01-16 09:09:23 +01:00
mergify[bot]andJulien Robert 7e6948f50c fix(baseapp): nil check in posthandler events (backport #19058) (#19067)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-15 21:24:04 +01:00
3e9a3e94bf feat: Add signer extraction adapter to prio-nonce mempool (backport #18991) (#19042)
Co-authored-by: Eric Warehime <eric.warehime@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-15 10:25:14 +01:00
8ac0492142 feat(gRPC): Add halt-height to gRPC Node Config Query (backport #19043) (#19044)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-13 18:38:15 +00:00
c0beb19986 refactor(client/v2): use address codec instead of global (backport #19026) (#19029)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-01-11 12:06:02 +00:00
Julien Robert b3ec532227 chore: prepare v0.50.3 (#19009) 2024-01-10 19:52:14 +00:00
2a199f57c5 feat(x/bank): adding DenomOwnersByQuery for denom owners for token (backport #18956) (#19007)
Co-authored-by: gsai967 <153279976+gsai967@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-10 17:56:00 +01:00
mergify[bot]andgluax fe4b58b2bd fix(testutil): fix FreeTCPAddr localhost usage (backport #18996) (#18999)
Co-authored-by: gluax <16431709+gluax@users.noreply.github.com>
2024-01-10 09:08:21 +00:00
mergify[bot] 7f1a2b31cb chore: clean-up buf workspace (backport #18993) (#18997) 2024-01-10 08:24:38 +01:00
2a0e4a10b6 test: add NodeURI for clientCtx (backport #18930) (#18987)
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-09 14:42:45 +00:00
mergify[bot]andhattizai b2c506b12a refactor(client/keys): keys show command help message (backport #18939) (#18947)
Co-authored-by: hattizai <150505746+hattizai@users.noreply.github.com>
2024-01-06 12:52:27 +01:00
mergify[bot]andDevon Bear 336adf7e32 fix(config): metrics (backport #18936) (#18940)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
2024-01-04 00:57:07 -05:00
3518df28ec fix(abci): add ExecModeVerifyVoteExtension (backport #18915) (#18932)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-01-03 12:20:08 +00:00
MarkoandDevon Bear 25a7ac6a07 chore(store): add changelog for 18897 (#18903)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
2023-12-27 12:59:37 -05:00
96a33ddd1f fix: Dedup Vote Extensions in ValidateVoteExtensions (backport #18895) (#18900)
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2023-12-27 09:51:58 -08:00
Devon Bear f08c8cce31 fix(store/v1): Do not panic on prune in Commit (#18897) 2023-12-27 09:47:28 -08:00
f3e18dfb63 perf: Speedup DecCoin.Sort() when coins is of length 1 (backport #18888) (#18889)
Co-authored-by: Dong Lieu <93205232+DongLieu@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-12-26 15:54:55 +00:00
23b78d9dd1 perf: Speedup coins.Sort() when coins is of length 1 (backport #18875) (#18877)
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-23 13:22:51 +00:00
52c3db2eae fix(baseapp): introduce mutex to state (backport #18846) (#18863)
Co-authored-by: Nikhil Vasan <97126437+nivasan1@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
2023-12-22 17:46:17 +00:00
0930b39329 feat(client): add WithFromName to tx factory (backport #18852) (#18853)
Co-authored-by: gsai967 <153279976+gsai967@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-21 10:24:41 +00:00
dependabot[bot]andgithub-actions 314198bbbe build(deps): Bump cosmossdk.io/x/tx from 0.12.0 to 0.13.0 (#18839)
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>
2023-12-20 08:48:19 +01:00
samricotta 46ac36b51e docs: add abci docs for 0.50 (#18820) 2023-12-19 16:10:02 +01:00
532d389f60 docs: fix for links (backport #18816) (#18818)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
Co-authored-by: samricotta <samanthalricotta@gmail.com>
2023-12-19 14:21:23 +01:00
mergify[bot] 7a43e49066 fix(baseapp): Reset GasMeter before deliverTX (backport #18714) (#18774) 2023-12-18 19:25:10 +01:00
mergify[bot] 3ea39a32bb docs: add index page for learn section (backport #18777) (#18778) 2023-12-18 15:58:40 +01:00
3fa3e06f5f fix(x/auth): remove misleading gas wanted value from tx simulation failure response (backport #18772) (#18775)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-18 09:54:37 +00:00
mergify[bot]andJulien Robert e284927eb6 docs: add ante precision (backport #18709) (#18729)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-13 08:50:55 +01:00
mergify[bot] 14bc239f36 feat(x/gov): better gov genesis validation (backport #18707) (#18711) 2023-12-13 07:51:24 +01:00
Julien Robert d8fb76d4c2 build(deps): bump to latest tagged modules in simapp (#18681) 2023-12-11 06:02:51 +00:00
mergify[bot]andJulien Robert cddc197887 feat(telemetry): enable statsd and dogstatsd telemetry sinks (backport #18646) (#18673)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-10 19:30:37 +00:00
Julien Robert ea9de8ada6 chore: prepare v0.50.2 (#18639) 2023-12-08 16:49:36 +01:00
455b0be998 fix(baseapp): protocompat.go gogoproto.Merge does not work with custom types (backport #18654) (#18661)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-08 10:33:15 +00:00
4459865ea7 chore: typos fix (backport #18642) (#18645)
Co-authored-by: Pioua <136521243+dzizazda@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-06 20:24:08 +00:00
c95ebb69c9 fix(baseapp)!: postHandler should run regardless of result (backport #18627) (#18638)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-06 20:25:34 +01:00
dependabot[bot]andgithub-actions fe7a3ec790 build(deps): Bump github.com/cometbft/cometbft-db from 0.9.0 to 0.9.1 (#18630)
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>
2023-12-05 11:52:22 +01:00
dependabot[bot]andgithub-actions 379114d16a build(deps): Bump github.com/cometbft/cometbft-db from 0.7.0 to 0.9.0 (#18618)
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>
2023-12-04 10:46:58 +00:00
5146593fe3 docs: fix typos in UPGRADING.md (backport #18613) (#18614)
Co-authored-by: buldazer <93915704+buldazer23@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-03 19:52:18 +00:00
50514957dd fix(x/auth): Add fees on batch sign (backport #18564) (#18592)
Co-authored-by: Ezequiel Raynaudo <raynaudo.ee@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-30 15:25:19 +01:00
mergify[bot]andtestinginprod 36116624a3 refactor(codec/unknownproto): use official descriptorpb types, do not rely on gogo code gen types. (backport #18541) (#18593)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
2023-11-29 17:33:50 +01:00
Julien Robert cfc2a335fd build(deps): Bump cosmossdk.io/store from 1.0.0 to 1.0.1 (#18590) 2023-11-29 10:35:54 +01:00
Marko 34899c8cff chore: update store/v1 changelog (#18581) 2023-11-28 15:42:21 +01:00
Marko 20337d9053 fix: prevent nil lastcommitid hash (#18563) 2023-11-28 15:27:42 +01:00
mergify[bot]andFacundo Medica 67fecca08d fix(baseapp): allow empty consensus params (backport #18531) (#18577)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-11-28 10:16:57 +01:00
ab80e48d38 build(deps): Bump github.com/cometbft/cometbft from 0.38.1 to 0.38.2 (#18571)
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-11-27 21:21:16 +00:00
mergify[bot]andJulien Robert aa427cd555 fix(server): properly parse multiple gas config (backport #18537) (#18543)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-22 16:54:39 +01:00
ffa30608a7 build(deps): Bump github.com/cometbft/cometbft from 0.38.0 to 0.38.1 (#18516)
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-11-20 12:19:26 +00:00
1b517b02b4 feat(server): cmd flag to disable colored logs (backport #18478) (#18507)
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-19 15:11:12 +00:00
mergify[bot] 514ef91f2e fix(client/tx): simulate with correct pk (backport #18472) (#18502) 2023-11-18 00:56:54 +01:00
mergify[bot]andJulien Robert 42c741ad2c refactor(simapp,confix): change example of custom app.toml extension (backport #18496) (#18497)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-17 17:09:36 +00:00
27320cb864 fix: pass FinalizeBlock request and response to ABCIListener (backport #18486) (#18493)
Co-authored-by: MSalopek <matija.salopek994@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-11-16 20:18:52 +00:00
Marko d367589abc fix: fix docs script (#18491) 2023-11-16 21:03:35 +01:00
mergify[bot]andMarko aaa56b8d29 chore: remove uneeded pr review action (backport #18488) (#18489)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-11-16 15:58:39 +01:00
mergify[bot]andMarko 2e48b8e545 docs: avoid copying non existent files & counter readme (backport #18487) (#18490)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-11-16 15:53:50 +01:00
50fb4faa9c docs(client/v2): Update README.md - Update Broken Link (backport #18482) (#18484)
Co-authored-by: Erlangshen219 <104747507+Erlangshen219@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-16 12:57:18 +01:00
mergify[bot]andJulien Robert ec8992d046 refactor(x/upgrade): configure go-getter (backport #18470) (#18474)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-15 20:17:44 +00:00
dc30a6a642 feat(version): Add extraInfo to version cmd (backport #18063) (#18437)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-10 12:11:46 +00:00
b93bdea1dc feat: add debug cmd for application codec types (backport #18219) (#18433)
Co-authored-by: Damian Nolan <damiannolan@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-10 10:32:00 +00:00
8f25a613c2 feat: add base64 Pubkeys from cli (backport #17639) (#18434)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-10 11:13:31 +01:00
mergify[bot]andJulien Robert 2b42efcfc0 refactor(x/gov): refactor q gov proposer (backport #18025) (#18432)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-10 10:09:22 +00:00
445f10d497 feat: Wait shutdown-grace-seconds to flush async db writes to disk (backport #17094) (#18431)
Co-authored-by: Chill Validation <92176880+chillyvee@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-10 09:31:29 +00:00
Julien Robert 52aabffb87 chore: bump tagged modules in simapp v0.50 (#18410) 2023-11-07 21:08:00 +00:00
Julien Robert 2bad2b5a5d chore: prepare v0.50 module tags (#18409) 2023-11-07 21:02:05 +01:00
mergify[bot]andJulien Robert 9814f684b9 chore: tagged the wrong branch (backport #18407) (#18408)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-07 20:31:20 +01:00
Julien Robert e36a25c65b chore: prepare v0.50.0 release notes and changelog (#18191) 2023-11-07 18:14:16 +01:00
mergify[bot]andJulien Robert 5bed3ae6de fix: deterministic protov2 marshal (backport #18403) (#18406)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-07 18:13:45 +01:00
d1f41e55bb build(deps): Bump cosmossdk.io/math from 1.1.3-rc.1 to 1.2.0 (#18386)
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-11-07 10:01:18 +00:00
mergify[bot]andJulien Robert 1313c0e1af fix(client/v2): fix short command description if not set and skip unsupported commands (backport #18324) (#18371)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-06 11:38:18 +00:00
mergify[bot]andJulien Robert 57637f7c47 docs: clarify cosmovisor doc (backport #18359) (#18370)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-06 09:05:12 +00:00
mergify[bot]andJulien Robert e83a20081c fix(client/v2): fix marshalling of queries with any (backport #18309) (#18354)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-03 11:11:58 +00:00
7843204d63 feat(baseapp): Add Hybrid Protobuf handlers to MsgServiceRouter (backport #18071) (#18338)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
Co-authored-by: unknown unknown <unknown@unknown>
2023-11-03 11:08:02 +00:00
mergify[bot]andLuke Ma f6d4b2e838 refactor(x/group): check the new admin address when updating the group policy admin (backport #18350) (#18352)
Co-authored-by: Luke Ma <lukema95@gmail.com>
2023-11-03 09:56:42 +00:00
mergify[bot]andJulián Toledano 790781009d docs: adding some missing parenthesis (backport #18344) (#18346)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
2023-11-02 20:20:10 +01:00
680f4c0a30 feat(x/gov): implement a minimum amount per deposit (backport #18146) (#18333)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo <facundomedica@gmail.com>
2023-11-02 20:18:55 +01:00
mergify[bot]andtestinginprod d2987a5b77 feat(grpcrouter): add hybrid query handler (backport #17921) (#18339)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
2023-11-02 15:41:00 +00:00
dependabot[bot]andgithub-actions 4fed7392c6 build(deps): Bump cosmossdk.io/store from 1.0.0-rc.0 to 1.0.0 (#18340)
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>
2023-11-02 16:23:00 +01:00
mergify[bot]andJulien Robert d73199f8b3 fix(client/v2): set context for queries (backport #18323) (#18326)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-01 10:34:26 +00:00
MarkoandJulien Robert 35955817c1 chore: prep store v1.0.0 (#18318)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-01 08:20:56 +01:00
dependabot[bot]andgithub-actions 1788e32d11 build(deps): Bump github.com/cosmos/ledger-cosmos-go from 0.13.2 to 0.13.3 (#18315)
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>
2023-10-31 09:16:09 +00:00
Marko 21605015bd chore(store): bump iavl to final v1 (#18308) 2023-10-30 21:06:55 +00:00
mergify[bot] 37ef60177f fix(snapshot): grant execution permissions to the snapshot dir for the owner (backport #18294) (#18295) 2023-10-29 08:47:34 +00:00
mergify[bot]andDamian Nolan 0469fc17e1 docs: adding additional info on amino.encoding proto annotations (backport #18274) (#18275)
Co-authored-by: Damian Nolan <damiannolan@gmail.com>
2023-10-26 14:10:21 +00:00
mergify[bot]andMarko 0bc6756a4a fix: use a lower file permission in file creation (backport #18206) (#18263)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-26 10:53:19 +00:00
d8957530a5 perf: parse chain-id from big genesis file could be slow (backport #18204) (#18267)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-10-26 12:46:39 +02:00
mergify[bot]andJulien Robert 9c6c648436 fix(server): don't hardcode grpc address to localhost (backport #18254) (#18258)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-25 18:53:48 +00:00
mergify[bot]andJulien Robert 301ceca874 refactor: modules should implement appmodule.AppModule (backport #18252) (#18255)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-25 12:55:55 +00:00
mergify[bot]andJulien Robert ef43d02a8d refactor(network): call app.Close() on network cleanup (backport #18249) (#18250)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-25 10:39:02 +00:00
mergify[bot]andJulien Robert 06dacdcee8 fix(simapp): textual wiring (backport #18242) (#18244)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-24 21:52:24 +00:00
mergify[bot]andMarko 5d6b2c2a4a fix(docs): fix simulator links (backport #18234) (#18235)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-24 13:51:51 +02:00
cabde7b191 chore(x/upgrade): Use ValidateBasic for Plan in ReadUpgradeInfoFromDisk (backport #18210) (#18229)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-24 12:29:29 +02:00
42dbfc4d70 feat: Optimistic Execution (backport #16581) (#18205)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2023-10-23 21:44:56 +02:00
1376e0dc3f fix(textual): only enable when online and added upgrading docs (backport #18166) (#18222)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-23 17:12:06 +00:00
mergify[bot]andMarko 56043427c0 refactor(x/authz): extend validate genesis (backport #18042) (#18207)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-23 19:00:01 +02:00
026631cd83 feat(x/feegrant): Add limits to grant pruning and enable message to aid manually (backport #18047) (#18128)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-23 16:08:33 +00:00
mergify[bot]andMarko aa72f10b5f fix(authz): check string is not empty (backport #18209) (#18217)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-23 16:03:15 +00:00
535567e231 fix: RelativePow now returns 1 when 0^0 (backport #18211) (#18216)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-10-23 13:45:21 +00:00
mergify[bot]andJulien Robert ee589c81d4 feat(x/gov): limit deposited coins to accepted proposal denom (backport #18189) (#18192)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-20 18:30:20 +02:00
mergify[bot]andJulien Robert c81038cf24 chore: improve align cli help (backport #18179) (#18187)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-20 15:51:39 +00:00
mergify[bot]andMarko 0c9930dfe3 chore(docs): add missing param to gov readme (backport #18181) (#18182)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-20 00:18:33 +02:00
mergify[bot]andJulien Robert faca3c1ce4 refactor(x/gov)!: let hooks return an error (backport #18173) (#18174)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-19 15:55:41 +02:00
3abc61fb75 build(deps): Bump cosmossdk.io/api from 0.7.1 to 0.7.2 (#18137)
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-10-18 12:40:24 +00:00
Philip Offtermatt 97cfd71b23 feat(server): Start grpc and api server in standalone mode (v0.50.x) (#18163) 2023-10-18 14:27:36 +02:00
dependabot[bot] 4d2638bc1a build(deps): Bump cosmossdk.io/x/tx from 0.10.0 to 0.11.0 (#18138) 2023-10-17 08:39:24 +02:00
dependabot[bot] 02de6cd5fc build(deps): Bump github.com/cosmos/ledger-cosmos-go from 0.13.1 to 0.13.2 (#18139) 2023-10-17 08:38:32 +02:00
mergify[bot]andEmmanuel T Odeke d9d9a52221 perf(x/staking/keeper): make Slash return early iff zero tokens to burn (backport #18049) (#18126)
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
2023-10-16 17:18:30 +02:00
Julien Robert 18733a684e feat: bring autocli module config to v0.50 (#18111) 2023-10-16 15:09:06 +02:00
mmsqe 9c2c424a1e fix(x/bank): miss keypair of SendEnabled to restore legacy param set before migration (#18113) 2023-10-16 05:05:35 +02:00
mergify[bot]andMarko 753dd912f5 chore: fix comments on bech32 (backport #18114) (#18116)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-13 13:57:37 +00:00
40447199f0 build(deps): Bump github.com/cosmos/ledger-cosmos-go from 0.13.0 to 0.13.1 (#18098)
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-10-12 09:20:25 +00:00
0863b5c500 chore: check for nil params (backport #18041) (#18068)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-11 11:05:45 +00:00
mergify[bot]andMatt Kocubinski 1ba896ecb4 fix(x/auth/tx): propagate tx options to signing handlers (backport #17996) (#18067)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-10-11 10:59:35 +00:00
mergify[bot]andJulien Robert fb4e8cffaa test(client/v2): update golden file (backport #18048) (#18050)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-10 20:28:52 +02:00
mergify[bot]andFacundo Medica 08936710ee fix(runtime): PreBlocker getting overwritten if set as a baseapp option (backport #17944) (#18046)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-10-10 15:35:12 +00:00
mergify[bot]andMarko 735c14397a fix: comment on flag for textual (backport #18040) (#18045)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-10 14:33:58 +00:00
mergify[bot]andMarko 0d25c00a59 fix: comment on flag for textual (backport #18040) (#18045)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-10 14:33:25 +00:00
e5454c4dc7 fix: keep behavior from v0.47 in PrepareProposal panic recovery (backport #17930) (#18038)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-10 12:44:40 +00:00
1f7ec34374 fix(x/slashing/keeper): hoist non-changing addresses parsing out of redelegation loop (backport #18035) (#18037)
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-10-10 10:34:43 +00:00
8ab33f58d7 fix: fixed key in slashing bitmap migration (backport #18016) (#18033)
Co-authored-by: swelf19 <62722506+swelf19@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-10 08:24:32 +00:00
mergify[bot]andvuittont60 95c008392a docs: fix typos (backport #18028) (#18031)
Co-authored-by: vuittont60 <81072379+vuittont60@users.noreply.github.com>
2023-10-10 09:51:59 +02:00
mergify[bot]andJulien Robert 0f419f36d8 feat(x/slashing): add autocli options for tx (backport #17967) (#18017)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-09 14:36:33 +00:00
mergify[bot]andshuoer86 4fac43125a docs: fix typos (backport #18018) (#18019)
Co-authored-by: shuoer86 <129674997+shuoer86@users.noreply.github.com>
2023-10-09 16:27:35 +02:00
mergify[bot]andJulien Robert daaff088e2 feat(x/feegrant): add autocli options for tx (backport #17959) (#18013)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-09 14:18:07 +02:00
mergify[bot]andMarko b0d20bce2b chore(staking): add delegator to events (backport #18006) (#18011)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-10-09 11:48:57 +00:00
mergify[bot]andDevon Bear ef5c356ae8 feat(baseapp): expose Mempool (backport #17954) (#18009)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
2023-10-09 11:32:12 +00:00
Marko 43acebdbfa chore(docs): rfc links (#18007) 2023-10-09 13:09:26 +02:00
mergify[bot] eb90de5334 chore(x/staking): fix some README typos (backport #17997) (#17998) 2023-10-07 09:19:20 +02:00
mergify[bot] 5d73a8e90c chore: Update RequestExtendVote (backport #17993) (#17994) 2023-10-06 19:12:05 +00:00
mergify[bot]andJulien Robert 9af83f4b92 feat(x/circuit): add autocli options for tx (backport #17956) (#17987)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-06 10:20:24 +00:00
a2f2c92796 feat(x/crisis): add autocli options for tx (backport #17965) (#17982)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-10-06 08:46:27 +00:00
a05fc0d1d6 fix(x/gov): set default constitution in gov migration (backport #17953) (#17983)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-10-06 08:34:40 +00:00
mergify[bot] 53d228f4eb docs: VerifyVoteExtension has to be deterministic (backport #17957) (#17977) 2023-10-05 18:56:02 +00:00
mergify[bot]andJulien Robert 10bd5a2cac feat(x/nft): add autocli options for tx (backport #17825) (#17974)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-05 14:04:44 +00:00
mergify[bot]andJulien Robert 8334eefaaf feat(client/v2): signing (backport #17913) (#17972)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-05 15:41:50 +02:00
mergify[bot] 3da9f9c9ec fix(x/auth): properly populate tx config options and deprecate ProtoCodecMarshaler (backport #17946) (#17952) 2023-10-04 23:49:07 +02:00
mergify[bot]andHlib Kanunnikov 31e603ac8d chore: fixing typos and grammar for vote extension docs (backport #17948) (#17949)
Co-authored-by: Hlib Kanunnikov <hlibwondertan@gmail.com>
2023-10-04 00:18:19 +02:00
mergify[bot] 2b2d1179cc feat(abci): Add context to SelectedTxs (backport #17940) (#17941) 2023-10-02 22:10:39 +02:00
mergify[bot]andDevon Bear 138e55725f refactor(abci): Pass context to TxSelector (backport #17932) (#17939)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
2023-10-02 14:32:07 +02:00
mergify[bot] c696c02133 docs: Typo on Application - Specific documentation (backport #17933) (#17934) 2023-10-01 09:48:20 +02:00
1cbae0dd16 fix(baseapp): vote extensions on first block (backport #17909) (#17922)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
2023-09-29 14:52:05 +02:00
mergify[bot]andJulien Robert e6b06db813 fix(simapp): do not overwrite tx options (backport #17920) (#17926)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-29 13:21:10 +02:00
mergify[bot]andJulien Robert 74e89952c5 feat(confix): add view command (backport #17904) (#17918)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-28 10:18:37 +00:00
71c9b7675f refactor(x/gov): remove gov vote and proposal based telemetry (backport #17910) (#17915)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-27 19:37:56 +00:00
mergify[bot]andMarko 13bd2264e3 chore(store): check value (backport #17900) (#17907)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-27 17:26:56 +02:00
mergify[bot]andMarko f4796c9a14 chore(auth): return accId in error (backport #17903) (#17905)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-27 13:13:11 +00:00
Julien Robert 9e26bf541d build(confix): fix go install (#17897) 2023-09-27 12:27:52 +02:00
mergify[bot]andsamricotta 6403f7c8ac docs: small update for routes change (backport #17881) (#17886)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2023-09-26 17:42:42 +02:00
mergify[bot]andJulien Robert 14d163a69c fix(client/v2): fix variable arguments (backport #17313) (#17884)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-26 12:44:14 +00:00
mergify[bot]andJulien Robert ab6a1e6dcb fix(gov): fail proposal when implementation not found (backport #17873) (#17882)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-26 12:03:03 +00:00
Julien Robert cd9f0a61b7 chore: bump modules to v0.50.0-rc.1 (#17874) 2023-09-26 08:54:55 +02:00
mergify[bot]andJulien Robert 467d2f7184 build(deps): bump math to rc (backport #17866) (#17872)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-25 17:06:03 +00:00
mergify[bot] 64e0e89808 fix(baseapp): select txs correctly with no-op mempool (backport #17769) (#17847) 2023-09-25 11:15:19 -04:00
mergify[bot]andMarko 19632293df fix: recreate legacy behaviour for addresscodec (backport #17870) (#17871)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-25 14:20:31 +00:00
mergify[bot]andJulián Toledano 5ccb0057e6 test(client/keys): Test_runImportCmd unique dir per test (backport #17863) (#17865)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
2023-09-25 11:04:39 +00:00
mergify[bot]andJulien Robert d9134ee760 chore(x/gov): improve PromptMetadata readability (backport #17859) (#17864)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-25 10:11:28 +00:00
mergify[bot]andMarko 5c4ff0b6ab chore(nft): remove address.String() calls from nft (backport #17846) (#17861)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-25 09:58:23 +00:00
mergify[bot]andJulien Robert f4976244f2 chore(client/v2): better method naming (backport #17858) (#17860)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-25 09:01:19 +00:00
mergify[bot] 05d1148783 chore(client/v2): remove trailing whitespace in golden files (backport #17852) (#17857) 2023-09-25 06:22:19 +00:00
mergify[bot] d34bcffd2e test(client/keys): deflake Test_runImportHexCmd by a unique directory per sub-test run (backport #17855) (#17856) 2023-09-25 08:16:33 +02:00
mergify[bot]andomahs ceaf5b9b40 docs: fix typos (backport #17831) (#17832)
Co-authored-by: omahs <73983677+omahs@users.noreply.github.com>
2023-09-21 10:31:09 +00:00
mergify[bot]andMarko cdd7d8cafc chore: rename develop to learn (backport #17821) (#17830)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-21 12:26:37 +02:00
mergify[bot]andJulien Robert 3d9ce99e4e feat(client/v2): message binder (backport #17707) (#17829)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-21 09:23:56 +00:00
deea20c712 refactor!: remove tips (backport #17787) (#17819)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-21 10:24:58 +02:00
samricottaandmarbar3778 b1208ef298 docs: link correction for docs (#17799)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-09-19 12:48:03 +02:00
mergify[bot] c25ddd3101 docs: fix UPGRADING.md link (backport #17800) (#17801) 2023-09-19 08:10:34 +02:00
Julien Robert caf2524ec9 chore: prepare v0.50.0-rc.1 (#17732) 2023-09-18 19:47:46 +00:00
87ba5a6a13 feat(gov): handle panics when executing x/gov proposals (backport #17780) (#17790)
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-18 15:33:57 +00:00
dependabot[bot] 2196edacb9 build(deps): Bump cosmossdk.io/api from 0.7.1-0.20230820170544-1bd37053e0c0 to 0.7.1 (#17768) 2023-09-15 19:18:31 +02:00
mergify[bot] 245e21875f feat(client/v2): Add clientCtx to commands in autocli (backport #17709) (#17763) 2023-09-15 17:36:41 +02:00
mergify[bot]andsamricotta bb9729e8a1 docs: update links for removed and re-added file (backport #17761) (#17762)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2023-09-15 14:04:40 +02:00
4955776845 refactor!: reimplement PreFinalizeBlockHook as PreBlocker (backport #17713) (#17754)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-15 08:14:23 +00:00
mergify[bot]andMarko b1dd67aa77 chore: remove unneeded code (backport #17741) (#17744)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-14 16:03:09 +00:00
mergify[bot] e5781a9d02 docs: improve upgrade docs on preblocker (backport #17734) (#17735) 2023-09-13 23:54:10 +02:00
dependabot[bot]andgithub-actions 5a347a4635 build(deps): Bump cosmossdk.io/x/tx from 0.9.1 to 0.10.0 (#17731)
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>
2023-09-13 19:39:35 +00:00
mergify[bot]andJulien Robert 32969cf7cc refactor: precise compiler assertions and cleanup module.go (backport #17718) (#17724)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-13 19:08:56 +00:00
4c083c6f23 feat: introduce PreBlock (backport #17421) (#17712)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-13 19:40:08 +02:00
mergify[bot]andsamricotta 92d1d9a106 docs: update documentation order for build tab (backport #17722) (#17723)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2023-09-13 17:30:56 +02:00
mergify[bot]andJulien Robert 85387cdb6b feat(client/v2): stringify bytes cosmos.Dec (backport #16985) (#17714)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-13 17:04:11 +02:00
mergify[bot]andJulien Robert 74cc0fe2f4 docs: move 00-protobuf to correct folder (backport #17708) (#17710)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-13 13:07:33 +02:00
samricotta ba7bd0606c docs: fix breaking documentation link (#17706) 2023-09-13 12:24:06 +02:00
dependabot[bot]andgithub-actions 1c9c5ae64e build(deps): Bump github.com/cometbft/cometbft from 0.38.0-rc3 to 0.38.0 (#17704)
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>
2023-09-13 04:01:21 +00:00
dependabot[bot]andgithub-actions 757e09051a build(deps): Bump cosmossdk.io/core from 0.10.0 to 0.11.0 (#17703)
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>
2023-09-13 05:42:26 +02:00
mergify[bot] e4033faa38 fix: genesis on migrations (backport #17679) (#17683) 2023-09-11 21:02:09 +02:00
612d0a68bf fix: nil pointer ref priority nonce mempool iterator (backport #17668) (#17674)
Co-authored-by: Bala Murali Krishna Komatireddy <krishna192reddy@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-11 13:38:01 +02:00
Marko babe072c95 docs: add back removed readmes (#17673) 2023-09-11 10:25:24 +02:00
mergify[bot] 2350ee4cac feat: CV Close databases opened by cosmos-sdk during BaseApp shutdown (backport #17667) (#17669) 2023-09-10 16:01:03 +02:00
mergify[bot]andMarko ccd7288ef3 docs: edit encoding docs (backport #17626) (#17665)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-08 16:33:26 +02:00
samricotta 837430f8bc fix(docs): update links for documentation (#17659) 2023-09-08 11:47:42 +02:00
mergify[bot] 8cff58c1f6 feat(bank): Allow injectable restrictions on bank transfers (backport #14224) (#17457) 2023-09-07 22:48:49 +02:00
mergify[bot]andMarko ea095bdc7c docs: add docs on proto annotations (backport #15548) (#17654)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-07 11:29:12 +02:00
mergify[bot] 1fd50fba04 chore(confix): update v0.47 and v0.50 config (backport #17652) (#17653) 2023-09-07 10:43:03 +02:00
mergify[bot] 0fa4c54a98 fix(config): mempool.max-txs configuration is invalid (backport #17649) (#17650) 2023-09-07 08:40:29 +02:00
mergify[bot]andBryan White 59f8183aec fix: typo in comment (backport #17635) (#17636)
Co-authored-by: Bryan White <bryanchriswhite@gmail.com>
2023-09-06 11:58:43 +02:00
1ee1b4c8cd fix: remove duplicated app.Close call (backport #17619) (#17634)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-06 09:52:29 +00:00
samricottaandmarbar3778 d6627830b4 docs: fix ugrading doc conflicts (#17633)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-09-06 11:35:33 +02:00
mergify[bot]andMarko b80ea56686 chore: add back deleted readmes (backport #17627) (#17628)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-06 03:33:55 -03:00
6a9777fff2 docs: Add notes regarding BeginBlocker and EndBlocker to upgrading.md (backport #17620) (#17621)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-09-05 16:10:04 +02:00
a980bf720e refactor: docs path updates (backport #17459) (#17624)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: samricotta <samanthalricotta@gmail.com>
2023-09-05 15:57:54 +02:00
mergify[bot]andMarko 0428c48339 chore: correct api docs (backport #17622) (#17625)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-05 10:31:40 +02:00
mergify[bot]andMarko 7a6f7d4597 docs: add documentation about getsigners (backport #17012) (#17623)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-09-05 09:46:07 +02:00
mergify[bot]andJulien Robert 878e00a9bb docs: update mm docs (backport #17595) (#17601)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-31 20:19:21 +02:00
mergify[bot]andJulien Robert 0996c19055 docs: add genesis changes in upgrading.md (backport #17596) (#17598)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-31 16:05:36 +02:00
mergify[bot]andMarko 013889de23 refactor: introduce abciGenesis interface (backport #17554) (#17575)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-08-31 13:05:57 +02:00
mergify[bot]andRootul P b2627e9fae docs: improve DeductFeeDecorator godoc (backport #17559) (#17589)
Co-authored-by: Rootul P <rootulp@gmail.com>
2023-08-31 07:58:50 +00:00
Julien Robert 9c7624d7c1 fix(simapp): fix example config template (#17587) 2023-08-31 09:45:07 +02:00
mergify[bot]andFacundo Medica ac64612dc2 fix(circuit): Reset only doable by authorized account (backport #17511) (#17581)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-08-30 14:18:05 +00:00
6e68abc2ae feat(x/genutil): Allow creation of AppGenesis without a file lookup (backport #17571) (#17573)
Co-authored-by: Cian Hatton <cianhatton@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-29 17:22:47 +02:00
Markoandmarbar3778 8a0f494bab chore: bump store and iavl versions (#17525)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-28 16:41:20 +02:00
b922a37513 fix(baseapp): Utilizing voting power from VEs in ValidateVoteExtensions (backport #17518) (#17552)
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-28 15:49:16 +02:00
mergify[bot] 2cef4a1aa9 chore: log panic recovery in runTx (backport #17556) (#17558) 2023-08-28 07:43:39 +00:00
mergify[bot]andFélix C. Morency 992c164b49 docs(x/group): fix submit-proposal help json example (backport #17546) (#17550)
Co-authored-by: Félix C. Morency <1102868+fmorency@users.noreply.github.com>
2023-08-25 18:22:32 +02:00
mergify[bot]andFélix C. Morency 30849cdca8 docs: update x/group create-proposal to submit-proposal (backport #17544) (#17547)
Co-authored-by: Félix C. Morency <1102868+fmorency@users.noreply.github.com>
2023-08-25 15:25:54 +00:00
mergify[bot]andJulien Robert f05e2573ea build(deps): bump cosmossdk.io/log to v1.2.1 (backport #17532) (#17540)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-25 13:40:24 +00:00
mergify[bot]andJulien Robert 09276c37c6 test(baseapp): use no-op logger (backport #17528) (#17531)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-25 07:34:49 +00:00
mergify[bot] a9b9792150 fix(x/authz): GetAuthorizations (backport #17334) (#17523) 2023-08-24 18:26:37 +02:00
dependabot[bot]andgithub-actions 99101abf82 build(deps): Bump cosmossdk.io/math from 1.0.1 to 1.1.2 (#17491)
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>
2023-08-21 16:41:43 +02:00
Julien Robert e8164be949 build(deps): bump modules to v0.50.0-rc.0 (#17453) 2023-08-19 09:03:46 +02:00
Julien Robert b7d9d4c8a9 revert: Revert RunMigrationBeginBlock addition in v0.50 (#17450) 2023-08-18 20:48:38 +00:00
657add7a8a chore: format proto files (backport #17445) (#17447)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-18 17:01:43 +02:00
Julien Robert 27547306f5 chore: prepare v0.50 rc (#17384) 2023-08-18 14:17:23 +00:00
mergify[bot]andJulien Robert c402c51a15 build: bump to Go 1.21 (backport #17333) (#17442)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-18 11:54:13 +00:00
dependabot[bot]andgithub-actions b372cdcc0e build(deps): Bump cosmossdk.io/collections from 0.3.1-0.20230808102719-f04fefdc7a68 to 0.4.0 (#17431)
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>
2023-08-18 13:25:09 +02:00
f9616a2673 build(deps): Bump github.com/cosmos/gogoproto from 1.4.10 to 1.4.11 (#17440)
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-08-18 12:23:13 +02:00
mergify[bot]andmmsqe 8d4a47f8a5 feat: add event-query-tx-for cmd to subscribe and wait for transaction (backport #17274) (#17434)
Co-authored-by: mmsqe <mavis@crypto.com>
2023-08-17 16:54:53 +00:00
mergify[bot]andJulián Toledano 0fc0ed5d58 feat: import hex keys (backport #17424) (#17432)
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
2023-08-17 16:25:23 +00:00
mergify[bot]andfx0x55 116e279e5a feat: add apphash to process proposal calls (backport #17401) (#17413)
Co-authored-by: fx0x55 <80245546+fx0x55@users.noreply.github.com>
2023-08-17 14:33:39 +02:00
Julien Robert e19fb38ff5 refactor: remove collections.ErrInvalidIterator when unecessary (#17367) 2023-08-17 09:05:39 +00:00
mergify[bot] 57a22c1ddd fix: use correct config key for db_backend (backport #17406) (#17410) 2023-08-16 18:46:06 +00:00
mergify[bot]andJulien Robert 6a5adc4a81 refactor: move UpgradeModule interface to appmodule and fix mocks (backport #17383) (#17409)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-16 16:58:11 +02:00
mergify[bot]andJulien Robert b056224747 feat: use autocli for comet commands (backport #17389) (#17405)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-16 12:03:38 +00:00
mergify[bot]andjohnzhu0907 af29f5521d chore(x/gov): update proposal.json go doc (backport #17397) (#17402)
Co-authored-by: johnzhu0907 <90296451+johnzhu0907@users.noreply.github.com>
2023-08-16 07:37:02 +00:00
mergify[bot]andNikhil Vasan 9645227115 fix(ve-validation): account for BlockID flag in vote-extensions (backport #17394) (#17396)
Co-authored-by: Nikhil Vasan <97126437+nivasan1@users.noreply.github.com>
2023-08-15 22:00:17 +00:00
mergify[bot]andJulien Robert ae48128ae2 fix(client/v2): fix duplicate modules addition and add logger (backport #17390) (#17391)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-15 13:59:47 +00:00
e76102f885 refactor: migrate away from using valBech32 globals (2/2) (backport #17157) (#17379)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-14 17:06:56 +02:00
mergify[bot]andJulien Robert 7407866317 feat(client,simapp): inject keyring in autocli opts (backport #17351) (#17382)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-14 14:44:58 +00:00
mergify[bot] 3a96bb9f7f docs: update upgrade doc and changelog for MigrationModuleManager (backport #17373) (#17378) 2023-08-13 15:29:10 +02:00
mergify[bot] 53398b5183 fix(types): check mm endblocker assertion for core api and abci (backport #17371) (#17377) 2023-08-12 19:59:10 +02:00
mergify[bot] 5333b404da chore: remove sdk from side bar (backport #17374) (#17375) 2023-08-12 16:24:30 +00:00
mergify[bot] 27f5db221a fix: Add MigrationModuleManager to handle migration of upgrade module before other modules (backport #16583) (#17370) 2023-08-12 10:29:01 +02:00
mergify[bot]andJulien Robert 2f6573aef9 refactor(types)!: remove handler and update docs (backport #17358) (#17366)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-11 12:29:42 +00:00
mergify[bot]andDevon Bear 5b0c08130c feat(x/gov): Emit VoterAddr (backport #17354) (#17355)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
2023-08-11 08:06:59 +00:00
mergify[bot]andJulien Robert 4e55f96a6d chore(baseapp): audit (backport #17325) (#17349)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-10 11:57:46 +02:00
d7f3b46efe build(deps): Bump cosmossdk.io/depinject from 1.0.0-alpha.3 to 1.0.0-alpha.4 (#17339)
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-08-09 16:06:43 +00:00
mergify[bot]andDev Ojha bee95b19b5 feat!: Add gas limits to queries (backport #16239) (#17324)
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
2023-08-09 10:22:34 +02:00
mergify[bot]andJulien Robert 6b395f61d9 feat(client/v2): add key lookup interface (backport #17308) (#17317)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-08 10:37:49 +00:00
mergify[bot]andJulien Robert d9247a9b55 refactor: reword upgrading.md and verify match with repo (backport #17262) (#17312)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-07 16:27:17 +00:00
mergify[bot]andJulien Robert 6861a06332 refactor(client/v2): refactor of flags (backport #17306) (#17309)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-07 16:20:24 +02:00
mergify[bot]andJulien Robert c56cd8a6fd fix(runtime): allow to properly register non app wiring modules (backport #17284) (#17304)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-07 11:31:58 +00:00
6e075c5ced refactor: add MigrateHandler to allow reuse migrate genesis related function (backport #17296) (#17299)
Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-07 08:32:18 +00:00
mergify[bot]andsamricotta 81ff4dae91 docs: Amend usage of sdk.Context (backport #17239) (#17292)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2023-08-04 17:26:46 +00:00
69db56b49b fix: ValidatorStore interface doesn't match StakingKeeper (backport #17164) (#17283)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-03 23:13:13 +00:00
mergify[bot]andJulien Robert 8375a67cff fix(simapp): do not create data dir at each run (backport #17240) (#17275)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-03 15:35:26 +02:00
mergify[bot]andJosh Klopfenstein c1e800a7fd docs: fix typo in 00-protobuf.md (backport #17232) (#17271)
Co-authored-by: Josh Klopfenstein <git@joshklop.com>
2023-08-03 11:03:02 +02:00
mergify[bot] ee5b2e3afc docs: fix app.toml links (backport #17264) (#17265) 2023-08-02 19:14:22 +02:00
mergify[bot] db64728aff refactor(staking): remove expected distribution keeper (backport #17261) (#17263) 2023-08-02 17:52:31 +02:00
397b9ce1a9 refactor(client): use cmtservice for comet-validator-set command (backport #17187) (#17257)
Co-authored-by: zakir <80246097+zakir-code@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-02 09:21:23 +00:00
mergify[bot]andJulien Robert 2dd4a5d693 docs: mention autocli in upgrading.md (backport #17252) (#17258)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-02 09:16:05 +00:00
mergify[bot] e9ee747c99 docs: Better describe ABCI-exposed /key and /subspace store APIs (backport #17231) (#17255) 2023-08-01 23:38:56 +00:00
mergify[bot]andFacundo Medica 86ca92a5cf fix: Allow VerifyVoteExtensions without ExtendVote (backport #17251) (#17254)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-08-01 19:45:43 +00:00
dependabot[bot]andgithub-actions 9e2abf8ef4 build(deps): Bump cosmossdk.io/log from 1.1.1-0.20230704160919-88f2c830b0ca to 1.2.0 (#17246)
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>
2023-08-01 14:16:13 +02:00
mergify[bot]andJulien Robert f42be248f5 feat(gov,group): allow draft-proposal to skip metatada prompt (backport #17220) (#17242)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-01 11:41:53 +00:00
mergify[bot]andn0b0dy 5624447be5 fix(x/distribution): add nil check in Params.ValidateBasic (backport #17236) (#17241)
Co-authored-by: n0b0dy <n0b0dyCN@users.noreply.github.com>
2023-08-01 10:56:00 +00:00
mergify[bot]andzakir ff6a9a6a7c feat(cli): status cmd cli support output text (backport #17184) (#17237)
Co-authored-by: zakir <80246097+zakir-code@users.noreply.github.com>
2023-08-01 08:48:53 +00:00
mergify[bot] a1f1104d7a feat(docker): Add debuging dependencies directly into the dockerfile (backport #17228) (#17229) 2023-07-31 20:02:03 +02:00
mergify[bot]andzakir 515042bb2e fix: text output format of block-results cmd cli (backport #17183) (#17219)
Co-authored-by: zakir <80246097+zakir-code@users.noreply.github.com>
2023-07-31 13:12:14 +00:00
fac64cd5d5 feat(testutil): adding DefaultContextWithKeys test helper (backport #17216) (#17217)
Co-authored-by: Damian Nolan <damiannolan@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-31 12:47:50 +00:00
mergify[bot]andsamricotta 75cad9d952 docs: additional fields in context.go to be added to context.md (backport #17199) (#17218)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
2023-07-31 12:38:46 +00:00
mergify[bot]andJulien Robert f41d6789f6 ci: skip fix_registration.go when using LINT_DIFF=1 (backport #17185) (#17213)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-31 10:37:08 +00:00
9a0ca3338f refactor(keys): remove duplicate --home flag (backport #17197) (#17212)
Co-authored-by: zakir <80246097+zakir-code@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-31 10:23:03 +00:00
mergify[bot]andFacundo Medica ce496ea5ca fix(x/auth): internal error on AccountInfo when PubKey is nil (backport #17209) (#17210)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-31 09:51:36 +00:00
eba0b9e9c2 refactor: hide --output flags that don't work (backport #17188) (#17191)
Co-authored-by: zakir-code <80246097+zakir-code@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-30 00:09:49 +00:00
mergify[bot] 49ac9b23df perf(abci): removes the goroutine when call SnapshotIfApplicable (backport #17174) (#17182) 2023-07-29 10:36:54 +02:00
mergify[bot]andmmsqe 7e7e15d6c6 fix(bank): avoid empty spendable error message on send coins (backport #17170) (#17179)
Co-authored-by: mmsqe <mavis@crypto.com>
2023-07-28 14:53:21 +00:00
mergify[bot]andJulien Robert 4d139f83d7 refactor: remove iavl-lazy-loading from config (backport #17177) (#17178)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-28 13:52:15 +00:00
mergify[bot]andzakir-code 8bbed8c675 feat(confix): add shorthand flag to set cmd cli (backport #17175) (#17176)
Co-authored-by: zakir-code <80246097+zakir-code@users.noreply.github.com>
2023-07-28 11:31:39 +00:00
mergify[bot]andzakir-code a39e093a9e refactor(simapp): add ,squash tag (backport #17172) (#17173)
Co-authored-by: zakir-code <80246097+zakir-code@users.noreply.github.com>
2023-07-28 09:29:37 +00:00
d200d421ec feat(bank): Add secondary query for bank metadata (backport #16852) (#17168)
Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-27 23:53:55 +00:00
mergify[bot]andMarko dcb628064a fix(circuit): partial perms bug fix (backport #17165) (#17167)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-07-27 20:14:59 +00:00
mergify[bot]andDevon Bear bd61e84ef1 fix(abci): Validators can propose blocks that exceed the gas limit. (backport #17159) (#17160)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
2023-07-27 12:18:50 +00:00
mergify[bot]andatheeshp abd0bd5b10 fix(x/staking): DelegationsByValidator migrations (backport #17154) (#17156)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2023-07-27 11:39:37 +02:00
46be66ed42 refactor: remove global valaddress bech32 codec calls (1/2) (backport #17098) (#17149)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-27 00:55:11 +02:00
mergify[bot] 9492cf3c27 fix(x/group): rename group's legacy ORM error codespace to prevent co… (backport #17146) (#17148) 2023-07-26 20:58:17 +02:00
mergify[bot]andGiuseppe Natale efc0b6c0f5 fix(simapp): set chain-id on NewSimApp for sim bench tests (backport #17138) (#17140)
Co-authored-by: Giuseppe Natale <12249307+giunatale@users.noreply.github.com>
2023-07-26 12:01:50 +00:00
mergify[bot]andJulien Robert dea7694a14 docs: improve usage of :::note (backport #17132) (#17133)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-26 11:02:22 +02:00
mergify[bot]andJulien Robert 5f608b6e94 feat(client/v2): combine autocli and custom cmd within a module (backport #17088) (#17131)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-25 21:54:41 +00:00
d234c6aea2 feat: Improve getSDKVersion() to handle module replacements (backport #17096) (#17125)
Co-authored-by: devmosis <ryzond6728@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-25 14:19:28 +02:00
0cff9ce3cd refactor!: remove rosetta from repo (backport #17112) (#17117)
Co-authored-by: Carlos Santiago Yanzon <27785807+bizk@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-24 20:00:39 +00:00
mergify[bot]andJulien Robert 983c9f7aec chore: cherry-pick some inj changes (backport #17109) (#17110)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-24 13:36:24 +00:00
mergify[bot]andYaroslav Savchuk 31c4fcdd8f fix(x/circuit): msg_url is skipped when publishing events (backport #17105) (#17108)
Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>
2023-07-24 14:20:18 +02:00
mergify[bot]andDevon Bear d68a1231a4 refactor(x/staking): Use ValidatorAddrCodec (backport #17095) (#17097)
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
2023-07-24 00:01:19 +02:00
mergify[bot] 35492de285 fix: testutil/configurator: correctly create fresh copy of defaultConfig (backport #17089) (#17091) 2023-07-22 10:29:46 +02:00
mergify[bot]andJulien Robert 923af3611a chore(types): audit (backport #17075) (#17083)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-20 19:59:22 +02:00
mergify[bot]andJulien Robert 6b3f2c6cf9 ci: fix lint script (backport #17080) (#17082)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-20 17:19:27 +00:00
mergify[bot]andJulien Robert ab140e5a56 ci: speed up lint job (backport #17071) (#17076)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-20 18:58:54 +02:00
Julien Robert 75501a16e1 refactor(testutil): remove unused api (#17067) 2023-07-20 00:53:39 +02:00
Julien Robert 93c44d9da7 build(deps): bump modules to v0.50.0-beta.0 (#17070) 2023-07-19 15:02:59 +00:00
16ab635645 refactor(staking): use validator & address codecs in staking (backport #16958) (#17066)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-19 16:02:28 +02:00
609a4e8c8b feat(codec): add collections value codec for protov2 APIs. (backport #17042) (#17069)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-19 15:19:04 +02:00
Julien Robert a32b7ea859 chore: prepare v0.50 beta (#17027) 2023-07-19 13:34:09 +02:00
mergify[bot]andJulien Robert cdd484578e chore(client): add missing modules from swagger (backport #17051) (#17052)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-18 21:44:21 +00:00
mergify[bot]andMarko 87d02909fc chore(docs): regenerate swagger (backport #17047) (#17050)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-07-18 18:40:47 +02:00
mergify[bot]andJulien Robert 6ddf0af2e7 refactor(runtime): define address codec providers in runtime (backport #17037) (#17043)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-18 16:38:14 +02:00
mergify[bot] 2049c4b82a chore(runtime): audit (backport #17035) (#17036) 2023-07-18 04:19:05 +00:00
mergify[bot]andJulien Robert d23caef6f6 feat(group): autocli query support (backport #17006) (#17028)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-17 13:17:14 +00:00
mergify[bot] 509a228bc4 docs: change bank multi-send command description (backport #16950) (#17017) 2023-07-17 10:36:52 +02:00
dependabot[bot] 1e115626bc build(deps): Bump github.com/cometbft/cometbft from 0.38.0-rc2 to 0.38.0-rc3 (#17016) 2023-07-17 08:34:26 +02:00
mergify[bot] e58a669a44 docs(group): fix typo in README.md (backport #17009) (#17010) 2023-07-16 10:24:57 +02:00
mergify[bot] 19e770e08f feat(params): autocli query support (backport #17007) (#17008) 2023-07-15 08:52:13 +00:00
mergify[bot] fbe45d635c feat(slashing): autocli query config (backport #16659) (#17005) 2023-07-15 09:15:20 +02:00
mergify[bot]andFacundo Medica e1efdfef8b feat: Add preFinalizeBlockHook to allow VE persistence (backport #16898) (#17001)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-14 14:53:07 -04:00
mergify[bot]andJulien Robert 562723cfa9 chore: replace amino cosmos_dec_bytes annoation by scalar cosmos.Dec and add missing annotations (backport #17000) (#17002)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-14 18:46:33 +00:00
mergify[bot]andJulien Robert 93a995ca0c feat(gov): autocli query support (backport #16987) (#16999)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-14 09:43:56 +00:00
mergify[bot]andJulien Robert 1018f5346f feat(client/v2): support consensus address decoding (backport #16927) (#16997)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-14 10:35:17 +02:00
d2b61d0bf5 fix(query): filtered collections pagination (backport #16905) (#16991)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-13 22:27:37 +00:00
mergify[bot]andAhmet Ömer Kayabaşı d4284d7f14 feat(gov): Add proposal failed reason (backport #16976) (#16992)
Co-authored-by: Ahmet Ömer Kayabaşı <69629296+amedumer@users.noreply.github.com>
2023-07-13 20:45:59 +02:00
dependabot[bot] cfc24bb046 build(deps): Bump cosmossdk.io/x/tx from 0.8.0 to 0.9.1 (#16990) 2023-07-13 19:06:46 +02:00
mergify[bot]andJulien Robert bc7221f5c5 feat(authz): autocli query support (backport #16986) (#16988)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-13 15:33:55 +00:00
mergify[bot]andJulien Robert 4076c6a918 feat(staking)!: add consensus and validator address codec in staking (backport #16959) (#16977)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-13 11:40:57 +00:00
Robert Zaremba 914e4e5136 chore(proto): deprecated IntProto and DecProto (#16980) 2023-07-13 13:28:57 +02:00
mergify[bot]andGustavo Grieco 77562a60dd test: print the value initialStake instead of its pointer (backport #16951) (#16975)
Co-authored-by: Gustavo Grieco <31542053+ggrieco-tob@users.noreply.github.com>
2023-07-13 09:08:00 +00:00
mergify[bot]andJulien Robert 5567e86977 feat(api): add consensus bech32 prefix in app config (backport #16945) (#16964)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-12 22:08:07 +00:00
ede4b3fe23 feat: Add CLI commands: 1) simulate a transaction, 2) query block results (backport #16887) (#16962)
Co-authored-by: larry <26318510+larry0x@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-12 22:15:09 +02:00
mergify[bot] 25f526f45d docs: clarify software upgrade proposals are legacy (backport #16954) (#16961) 2023-07-12 18:04:45 +00:00
mergify[bot] 1ae705868f chore: remove unused getsigner functions (backport #16937) (#16957) 2023-07-12 18:11:24 +02:00
12d9cdc0a8 fix: Sims failing and not skipping with empty valset (backport #16947) (#16952)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-12 15:22:05 +02:00
mergify[bot]andLikhita Polavarapu 0028264b73 chore: x/circuit audit changes (backport #16901) (#16953)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-07-12 15:03:38 +02:00
dependabot[bot]andgithub-actions 9ea398e5be build(deps): Bump cosmossdk.io/store from 0.1.0-alpha.1.0.20230606190835-3e18f4088b2c to 1.0.0-alpha.1 (#16942)
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>
2023-07-12 11:01:27 +02:00
mergify[bot]andMatt Kocubinski d3229bf600 docs(x/auth): improve godoc for GetSigningTxData (backport #16933) (#16935)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-07-11 21:07:46 +02:00
mergify[bot]andJulien Robert abbc2b97c5 docs: clarify legacy proposal mention (backport #16932) (#16934)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-11 19:22:53 +02:00
mergify[bot]andJulien Robert e292bdab10 chore(simapp): audit (backport #16914) (#16922)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-11 17:22:30 +02:00
mergify[bot]andLikhita Polavarapu bf24d366fd docs: Clarify gov docs (backport #16917) (#16924)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-07-11 17:10:10 +02:00
mergify[bot]andJulien Robert 3cc94a24f3 feat(upgrade): autocli query support (backport #16903) (#16921)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-11 13:39:40 +00:00
mergify[bot]andVishal Potpelliwar 5ca5039cf2 fix: changed the data type for FeePayer and FeeGranter (backport #16272) (#16920)
Co-authored-by: Vishal Potpelliwar <71565171+vishal-kanna@users.noreply.github.com>
2023-07-11 15:11:52 +02:00
mergify[bot]andRootul P 7d07df5bd8 docs: describe x/gov usage on Cosmos Hub (backport #16910) (#16911)
Co-authored-by: Rootul P <rootulp@gmail.com>
2023-07-10 21:07:25 +00:00
mergify[bot] a4097358b9 feat(circuit): autocli query support (backport #16906) (#16907) 2023-07-10 21:42:18 +02:00
mergify[bot]andJulien Robert df8ba7e8ac feat!: simplify AppModuleBasic interface for CLI (backport #16890) (#16904)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-10 14:11:53 +00:00
mergify[bot]andJulien Robert c8a49b35cd feat(bank): autocli query support (backport #16899) (#16902)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-10 12:48:24 +00:00
mergify[bot]andJulien Robert 3fee9db359 feat(auth): autocli query support (backport #16650) (#16900)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-10 12:07:38 +02:00
mergify[bot]andFacundo Medica 8295e4a3e0 fix: Revert 16794 (backport #16895) (#16896)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-10 08:02:04 +00:00
4762a2fa7d feat(staking): add autocli query cmd (backport #16641) (#16884)
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-07 16:58:28 +00:00
mergify[bot]andatheeshp 939fa27625 chore: gov audit (secondary reviewer) (backport #16870) (#16878)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2023-07-07 14:06:44 +02:00
mergify[bot]andJulien Robert 2809154caf fix(cli): improve prune command ux (backport #16856) (#16874)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-07 11:38:28 +00:00
26d3559aeb fix(authz): error msg (backport #16869) (#16873)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-07 10:35:40 +00:00
mergify[bot]andJulien Robert e141d8e106 fix(simapp): do not repeat errors (backport #16865) (#16872)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-07 11:58:13 +02:00
mergify[bot]andJulien Robert d6780c1094 chore(upgrade): clean up handler and typo (backport #16845) (#16862)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-07 00:19:39 +02:00
mergify[bot]andJulien Robert bc5eb31751 fix(client/v2): improve resolver and tests (backport #16842) (#16861)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-06 17:34:32 +00:00
mergify[bot]andFacundo Medica 4bda616956 fix: remove setting of finalizeBlockState in FinalizeBlock + fix initialHeight + add ProcessProposal in tests/sims (backport #16794) (#16857)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-06 12:22:57 -04:00
c919775fdb fix(bank): make DenomAddressIndex less strict with respect to index values. (backport #16841) (#16853)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-06 13:59:40 +02:00
981c294d1d refactor(types)!: cherry-pick sdk collections key changes from #16440 (#16854)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-06 11:00:32 +00:00
mergify[bot]andLikhita Polavarapu 73aa872155 chore: x/gov Audit changes (backport #16822) (#16844)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-07-05 17:31:08 +02:00
mergify[bot]andLikhita Polavarapu 565b1e9809 fix: delete all votes when proposal is cancelled (backport #16824) (#16837)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-07-05 10:56:42 +02:00
cd48d403ac build(deps): Bump cosmossdk.io/collections from 0.2.0 to 0.3.0 (#16834)
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-07-05 07:50:05 +00:00
mergify[bot]andJulien Robert 2bf3414afb fix: properly use --trace flag (backport #16827) (#16830)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-04 19:53:42 +00:00
mergify[bot]andJulien Robert deb85fdefe refactor(genutil): audit (backport #16818) (#16819)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-03 15:21:32 +02:00
af357c8d30 chore(x/staking): audit changes (backport #16795) (#16815)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-03 08:04:12 +00:00
mergify[bot]andJulien Robert d9c53bfefc refactor!: remove types/math aliases (backport #16798) (#16803)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 19:56:38 +02:00
Julien Robert ce54aab92e chore: prepare v0.50.0-alpha.1 (#16801) 2023-06-30 18:22:05 +02:00
mergify[bot]andJulien Robert 9f4a4e416f build(deps): use hashicorp/go-metrics instead of armon/go-metrics (backport #16790) (#16800)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 15:27:05 +00:00
950b910030 refactor(x/distribution): audit changes (backport #16785) (#16799)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 14:51:43 +00:00
mergify[bot]andFacundo Medica 3ede42b462 refactor(x/upgrade): audit changes (backport #16786) (#16797)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-06-30 11:39:27 +00:00
ce08c799e1 fix(x/slashing): Emit slashing event with the correct reason in SlashWithInfractionReason (backport #16784) (#16792)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 13:16:25 +02:00
mergify[bot]andJulien Robert 0bbfc654a3 feat(auth,client/v2): add validator address codec (backport #16768) (#16789)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 10:33:40 +00:00
a1507450b7 refactor(mint): audit (backport #16760) (#16787)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
2023-06-30 09:25:20 +00:00
cf2dca60cf fix(baseapp): audit changes (backport #16596) (#16783)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-30 08:12:16 +00:00
mergify[bot]andLikhita Polavarapu c256d51915 chore: Fix changelog issue reference (backport #16765) (#16782)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-06-30 07:56:42 +00:00
mergify[bot]andJulien Robert 7a1e2cad32 chore(confix): audit (backport #16764) (#16774)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-29 15:12:33 +00:00
mergify[bot]andMarko 6172a1a0bf chore: add apphash to finalize block calls (backport #16744) (#16770)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-29 14:32:15 +00:00
mergify[bot]andJulien Robert d6c9d2cf66 docs(evidence): update cli docs (backport #16766) (#16769)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-29 16:06:41 +02:00
mergify[bot]andJulien Robert 979c5d7e6b refactor(vesting)!: improve validate functions and return error in constructor (backport #16741) (#16763)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-29 13:16:40 +00:00
mergify[bot]andatheeshp 1a7f4dce2a chore(feegrant): remove GetSigners in msgs.go (backport #16759) (#16761)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2023-06-29 11:04:51 +00:00
mergify[bot]andJulien Robert d805e631e4 refactor: use appmodule.AppModule in integration helpers (backport #16755) (#16756)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-29 11:01:43 +00:00
Julien RobertandJacob Gadikian c452721442 style: add gci linter (#16758)
Co-authored-by: Jacob Gadikian <faddat@users.noreply.github.com>
2023-06-29 09:46:37 +00:00
dependabot[bot] 86f47a99bd build(deps): Bump cosmossdk.io/core from 0.8.0 to 0.9.0 (#16753) 2023-06-29 06:49:45 +02:00
730a352b0a fix(x/consensus): Add missing ABCI consensus param in MsgUpdateParams (backport #16713) (#16745)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-28 20:30:04 +00:00
9b2eb526f1 fix(baseapp): ABCI Consensus Failure Fix (backport #16700) (#16746)
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-28 20:26:09 +00:00
cd8ba48926 feat(auth): make address codec pluggable (backport #16621) (#16736)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-28 12:19:55 +00:00
2377c638b2 fix(x/auth/vesting): panic on overflowing & negative EndTimes for PeriodicVestingAccount (backport #16733) (#16735)
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-28 12:14:02 +00:00
mergify[bot] 84256a0a7c feat: add custom max gas for block for sim config (backport #16656) (#16729) 2023-06-27 23:15:22 +00:00
ce7c059f78 refactor: x/bank audit changes (backport #16690) (#16724)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-27 15:21:41 +00:00
mergify[bot]andLikhita Polavarapu efae407c06 chore: x/evidence audit changes (backport #16715) (#16725)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-06-27 14:41:51 +00:00
1ac4a4dbfe fix: halt-height behavior is not deterministic (backport #16639) (#16722)
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-27 14:32:18 +00:00
mergify[bot]andJulien Robert 21ce241763 fix: revert f235aae (part 2) (backport #16697) (#16723)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-27 14:07:30 +00:00
mergify[bot]andyihuang a3d66328d7 feat: make abci handshake graceful interruptible (backport #16206) (#16710)
Co-authored-by: yihuang <huang@crypto.com>
2023-06-27 13:36:39 +00:00
mergify[bot]andMarko 7166be445a chore: audit x/mint (backport #16702) (#16720)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-27 13:35:08 +00:00
mergify[bot]andLikhita Polavarapu dfc112c4d1 chore: remove GetSigners from x/authz (backport #16712) (#16721)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-06-27 13:06:58 +00:00
mergify[bot]andMarko 6f2c021d97 docs: update for 0.38 (backport #16501) (#16719)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-27 14:52:31 +02:00
mergify[bot]andLikhita Polavarapu 48f2b02899 refactor: x/consensus audit changes (backport #16695) (#16718)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2023-06-27 12:22:55 +00:00
cee7e93dd3 build(deps): Bump github.com/cometbft/cometbft from 0.38.0-rc1 to 0.38.0-rc2 (#16707)
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-26 20:33:21 +00:00
mergify[bot]andJulien Robert a5b6ce7c3f feat: add configurator config options (backport #16672) (#16703)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-26 19:44:53 +00:00
mergify[bot]andJulien Robert 82100602c7 docs: improve upgrading.md and changelog for autocli changes (backport #16696) (#16699)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-26 19:38:22 +02:00
mergify[bot]andMarko bc745afe94 chore: remove getsigners from mint (backport #16668) (#16673)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-24 00:09:20 +02:00
mergify[bot]andww4tson 23f3e123dd docs: correct comment typo in address.go (backport #16671) (#16674)
Co-authored-by: ww4tson <133960002+ww4tson@users.noreply.github.com>
2023-06-24 00:08:34 +02:00
mergify[bot]andMarko 275744f332 chore: remove unneeded getsigners method from nft (backport #16665) (#16669)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-23 20:54:43 +02:00
mergify[bot]andatheeshp 02a0f59000 chore: x/feegrant audit changes (backport #16652) (#16664)
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2023-06-23 13:31:03 +02:00
mergify[bot] d5bbf84dd8 chore: make configurator.Config.ModuleConfigs public (backport #16653) (#16662) 2023-06-23 10:10:27 +02:00
mergify[bot]andMarko 430d400a29 chore: add sortJSON back & mark as deprecated (backport #16649) (#16657)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-22 16:11:27 +00:00
466d6e8223 fix: check tx gas limit against block gas limit (backport #16547) (#16628)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-22 08:43:12 +00:00
7c1c2c91e5 feat(mint): add autocli config for mint (backport #16640) (#16648)
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-22 07:13:30 +00:00
mergify[bot] e61ce3c26e refactor: authz audit changes (backport #16631) (#16647) 2023-06-22 06:27:40 +00:00
mergify[bot] 7539520d50 feat(consensus): wire autocli query (backport #16633) (#16646) 2023-06-22 06:23:32 +00:00
mergify[bot] e991124b07 refactor: cleanup profiling code with equivalent one (backport #16634) (#16635) 2023-06-21 16:40:48 +00:00
mergify[bot]andJulien Robert 179c6c7451 feat(evidence): autocli query support (backport #16625) (#16629)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-21 08:36:54 +00:00
mergify[bot] b6102fb6a8 chore: make configurator.Config public (backport #16624) (#16626) 2023-06-20 21:32:51 +02:00
mergify[bot]andJulien Robert 9b1d32b78d docs: add explaination on how to change home folder globaly (backport #16620) (#16622)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-20 17:44:11 +02:00
e9ba371ef2 feat(client): add positional optional to client v2 (backport #16316) (#16615)
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
Co-authored-by: Jeancarlo <jeancarlobarrios@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-20 17:19:55 +02:00
1fb9c870c9 fix!: Ensure Handler Exists for Messages (backport #16613) (#16614)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-19 22:25:03 +00:00
mergify[bot]andMarko c5bda905ac chore: audit crisis changes (backport #16609) (#16612)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-19 21:17:13 +00:00
9f7a16080a refactor(x/staking)!: KVStoreService, return errors and use context.Context (backport #16324) (#16598)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
2023-06-19 11:40:27 -03:00
mergify[bot]andAleksandr Bezobchuk c06d8d7bef feat: add dummy VE handler to simapp (backport #16595) (#16597)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-16 22:42:13 +02:00
mergify[bot]andJeancarlo Barrios feab9b6380 feat(x/distribution): add autocli config query (backport #16218) (#16594)
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
2023-06-16 16:21:15 +02:00
ae3e30a715 fix(x/auth): ensure nil .BaseAccounts are reported in ModuleAccount.Validate (backport #16554) (#16568)
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-15 12:54:23 +02:00
mergify[bot]andMarko e0dd83ffed chore: set headerinfo where needed in baseapp (backport #16542) (#16546)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-14 15:51:53 +00:00
mergify[bot]andJulien Robert 5c3139be4b chore: clean-up all replaces and add tagging process (backport #16528) (#16539)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-14 12:31:23 +00:00
mergify[bot]andJulien Robert 8f77ce5068 feat: make checksum optional in upgrade validation (backport #16511) (#16532)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-13 17:19:39 +00:00
mergify[bot]andJulien Robert 8c43cd7b73 chore: remove github.com/cosmos/cosmos-sdk/db from sdk deps (backport #16527) (#16529)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-13 15:10:25 +00:00
26d2907f57 build(deps): Bump github.com/cockroachdb/errors from 1.9.1 to 1.10.0 (backport #16516) (#16518)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-13 12:37:36 +00:00
e5d9bb5475 chore: finish removing all exported *SortJSON usages (backport #16497) (#16502)
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-12 15:19:42 +02:00
mergify[bot] 9d80495901 chore: finish TODO of removing defunct sortJSON (backport #16401) (#16489) 2023-06-10 12:33:04 +02:00
mergify[bot]andJulien Robert e73d5c6cba chore: improve v0.50-alpha.0 changelog (backport #16480) (#16486)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-06-09 16:43:02 +00:00
mergify[bot]andMarko 40204f63d2 chore: changelog & upgrading documentation for ABCI++ (backport #16315) (#16482)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-09 13:14:29 +02:00
mergify[bot]andChill Validation 2100a73dce fix: StateSync Restore by excluding memory store (backport #16449) (#16451)
Co-authored-by: Chill Validation <92176880+chillyvee@users.noreply.github.com>
2023-06-07 23:28:47 +00:00
Julien Robert 4eea902c54 chore: prepare v0.50 alpha (#16446) 2023-06-08 01:07:33 +02:00
mergify[bot]andJeancarlo Barrios 77233670c8 feat(x/feegrant): feegrant autcli module query (backport #16213) (#16448)
Co-authored-by: Jeancarlo Barrios <JeancarloBarrios@users.noreply.github.com>
2023-06-07 21:31:19 +00:00
4267 changed files with 806400 additions and 173436 deletions
-32
View File
@@ -1,32 +0,0 @@
language: "en"
early_access: false
reviews:
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: true
path_filters:
- "!api/"
path_instructions:
- path: "**/*.go"
instructions: "Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations."
- path: "tests/**/*"
instructions: |
"Assess the integration and e2e test code assessing sufficient code coverage for the changes associated in the pull request"
- path: "**/*_test.go"
instructions: |
"Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"
- path: "**/*.md"
instructions: |
"Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"
auto_review:
enabled: true
ignore_title_keywords:
- "WIP"
- "DO NOT MERGE"
drafts: false
base_branches:
- "main"
chat:
auto_reply: true
-9
View File
@@ -1,9 +0,0 @@
cips
pullrequest
keypair
pastTime
hasTables
Nam
EyT
upTo
pullRequests
+8 -7
View File
@@ -2,13 +2,14 @@
# NOTE: Order is important; the last matching pattern takes the most precedence
# Primary repo maintainers
# Cosmos SDK Codeowners
* @cosmos/sdk-core-dev
# Core team as default owners
# CODEOWNERS for docs configuration
* @cosmos/sdk-core-dev
/docs/docusaurus.config.js @julienrbrt @tac0turtle
/docs/sidebars.js @julienrbrt @tac0turtle
/docs/pre.sh @julienrbrt @tac0turtle
/docs/post.sh @julienrbrt @tac0turtle
# Components
# docs configuration
/docs/ @cosmos/sdk-core-dev
+30
View File
@@ -0,0 +1,30 @@
---
name: Bug Report
about: Create a report to help us squash bugs!
title: "[Bug]: "
labels: "T:Bug"
---
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for opening an issue! ✰
v Before smashing the submit button please review the template.
v Please also ensure that this is not a duplicate issue :)
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
<!--
IMPORTANT: Prior to opening a bug report, check if it affects one of the core modules
and if its elegible for a bug bounty on `SECURITY.md`. Bugs that are not submitted
through the appropriate channels won't receive any bounty.
-->
## Summary of Bug
<!-- Concisely describe the issue -->
## Version
<!-- git commit hash or release version -->
## Steps to Reproduce
<!-- What commands in order should someone run to reproduce your problem? -->
+31
View File
@@ -0,0 +1,31 @@
---
name: Epic
about: Create an epic/user
title: "[Epic]: "
labels: T:Epic
---
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for opening an issue! ✰
v Before smashing the submit button please review the template.
v Word of caution: poorly thought-out proposals may be rejected
v without deliberation
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
## Summary
<!-- Short, concise description of the proposed feature/changes to the repository
What are the user needs?
How could this solution fix the user facing problem? -->
## Problem Definition
<!-- Why do we need this feature?
What problems may be addressed by introducing this feature?
What benefits does the SDK stand to gain by including this feature?
Are there any disadvantages of including this feature? -->
## Work Breakdown
<!-- Break the work into many bullet points that will later be turned into issues that can be assigned to developers to work on
This work may been to be broken up into phases of work in order to better organize when and how things get done. -->
+28
View File
@@ -0,0 +1,28 @@
---
name: Feature Request
about: Create a proposal to request a feature
title: "[Feature]: "
labels: T:feature-request
---
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for opening an issue! ✰
v Before smashing the submit button please review the template.
v Word of caution: poorly thought-out proposals may be rejected
v without deliberation
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
## Summary
<!-- Short, concise description of the proposed feature -->
## Problem Definition
<!-- Why do we need this feature?
What problems may be addressed by introducing this feature?
What benefits does the SDK stand to gain by including this feature?
Are there any disadvantages of including this feature? -->
## Proposal
<!-- Detailed description of requirements of implementation -->
-2
View File
@@ -25,10 +25,8 @@ v without deliberation
* [ ] Audit x/auth
* [ ] Audit x/authz
* [ ] Audit x/bank
* [ ] Audit x/bank/v2
* [ ] Audit x/circuit
* [ ] Audit x/consensus
* [ ] Audit x/crisis
* [ ] Audit x/distribution
* [ ] Audit x/evidence
* [ ] Audit x/epochs
+2 -13
View File
@@ -10,7 +10,8 @@ are the most critical to review. -->
## 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.*
please add links to any relevant follow up issues. Your PR will not be merged unless you satisfy
all of these items.*
I have...
@@ -35,15 +36,3 @@ I have...
* [ ] updated the relevant documentation or specification, including comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] 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.*
Please see [Pull Request Reviewer section in the contributing guide](../CONTRIBUTING.md#reviewer) for more information on how to review a pull request.
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
* [ ] reviewed state machine logic, API design and naming, documentation is accurate, tests and test coverage
@@ -1,36 +0,0 @@
# from https://github.com/MercymeIlya/last-workflow-status with fixes
name: "Get status of last workflow"
description: "Get conclusion of last workflow run on current branch."
branding:
icon: "arrow-left"
color: "yellow"
inputs:
github_token:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: true
outputs:
last_status:
description: "Conclusion of last workflow run on current branch"
value: ${{ steps.last_status.outputs.last_status }}
runs:
using: "composite"
steps:
- name: Get workflow id
shell: bash
run: |
WORKFLOW_ID=$(curl --header 'authorization: Bearer ${{ inputs.github_token }}' \
--header 'content-type: application/json' \
https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }} | jq -r .workflow_id)
echo "WORKFLOW_ID=$WORKFLOW_ID" >> $GITHUB_ENV
echo "Workflow id: ${WORKFLOW_ID}"
- name: Get previous build status
shell: bash
id: last_status
run: |
last_status=$(curl --silent --header 'authorization: Bearer ${{ inputs.github_token }}' \
--header 'content-type: application/json' \
"https://api.github.com/repos/${{ github.repository }}/actions/workflows/${{ env.WORKFLOW_ID }}/runs?per_page=1&status=completed&branch=${{ env.GITHUB_HEAD_REF }}" \
| jq -r .workflow_runs[0].conclusion)
echo "Status of the previous build: $last_status"
echo "::set-output name=last_status::${last_status}"
+1 -1
View File
@@ -8,4 +8,4 @@ paths-ignore:
- api
- '**/*_test.go'
- '**/*.pulsar.go'
- '**/*.pb.gp'
- '**/*.pb.go'
-126
View File
@@ -43,15 +43,6 @@ updates:
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/orm"
schedule:
interval: weekly
day: wednesday
time: "01:25"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/core"
schedule:
@@ -61,15 +52,6 @@ updates:
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/core/testing"
schedule:
interval: weekly
day: thursday
time: "01:30"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/depinject"
schedule:
@@ -106,24 +88,6 @@ updates:
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/indexer/postgres"
schedule:
interval: weekly
day: wednesday
time: "01:53"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/indexer/postgres/tests"
schedule:
interval: weekly
day: wednesday
time: "01:53"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/schema"
schedule:
@@ -160,15 +124,6 @@ updates:
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/tools/hubl"
schedule:
interval: weekly
day: thursday
time: "02:15"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/collections"
schedule:
@@ -178,42 +133,6 @@ updates:
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "x/accounts"
schedule:
interval: weekly
day: wednesday
time: "02:35"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "x/accounts/defaults/base"
schedule:
interval: weekly
day: wednesday
time: "02:45"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "x/accounts/defaults/multisig"
schedule:
interval: weekly
day: wednesday
time: "02:45"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "x/accounts/defaults/lockup"
schedule:
interval: weekly
day: wednesday
time: "02:55"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/nft"
schedule:
@@ -278,51 +197,6 @@ updates:
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/protocolpool"
schedule:
interval: weekly
day: wednesday
time: "03:00"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/params"
schedule:
interval: weekly
day: wednesday
time: "03:05"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/auth"
schedule:
interval: weekly
day: wednesday
time: "03:10"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/epochs"
schedule:
interval: weekly
day: wednesday
time: "03:15"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/bank"
schedule:
interval: weekly
day: wednesday
time: "03:20"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/tools/benchmark"
schedule:
-2
View File
@@ -1,2 +0,0 @@
needs-triage: # if no label is set then set triage
- ''
-34
View File
@@ -5,8 +5,6 @@
- tools/confix/**/*
"C:Cosmovisor":
- tools/cosmovisor/**/*
"C:Hubl":
- tools/hubl/**/*
"C:Keys":
- client/keys/**/*
"C:Simulations":
@@ -19,24 +17,8 @@
- store/**/*
"C:collections":
- collections/**/*
"C:core/testing":
- core/testing/**/*
"C:log":
- log/*
"C:orm":
- orm/**/*
"C:schema":
- schema/**/*
"C:indexer/postgres":
- indexer/postgres/**/*
"C:x/accounts":
- x/accounts/**/*
"C:x/accounts/base":
- x/accounts/defaults/base/**/*
"C:x/accounts/multisig":
- x/accounts/defaults/multisig/**/*
"C:x/accounts/lockup":
- x/accounts/defaults/lockup/**/*
"C:x/auth":
- x/auth/**/*
"C:x/authz":
@@ -47,8 +29,6 @@
- x/circuit/**/*
"C:x/consensus":
- x/consensus/**/*
"C:x/crisis":
- x/crisis/**/*
"C:x/distribution":
- x/distribution/**/*
"C:x/evidence":
@@ -65,8 +45,6 @@
- x/mint/**/*
"C:x/nft":
- x/nft/**/*
"C:x/params":
- x/params/**/*
"C:x/protocolpool":
- x/protocolpool/**/*
"C:x/slashing":
@@ -79,18 +57,6 @@
- x/upgrade/**/*
"C:x/epochs":
- x/epochs/**/*
"C:x/validate":
- x/validate/**/*
"C:server/v2":
- server/v2/**/*
"C:server/v2 stf":
- server/v2/stf/**/*
"C:server/v2 appmanager":
- server/v2/appmanager/**/*
"C:server/v2 cometbft":
- server/v2/cometbft/**/*
"C:server/v2 api":
- server/v2/api/**/*
"Type: ADR":
- docs/architecture/**/*
"Type: Build":
+38
View File
@@ -0,0 +1,38 @@
name: Build Docs
# This workflow runs when a PR is labeled with `docs`
# This will check if the docs build successfully by running `make build-docs`
on:
pull_request:
branches:
- main
- "release/**"
paths:
- "docs/**"
- "x/**/*.md"
- .github/workflows/deploy-docs.yml
- .github/workflows/build-docs.yml
permissions:
contents: read
jobs:
check-docs-build:
name: Check docs build
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Setup Node.js 🔧
uses: actions/setup-node@v4
with:
node-version: "16.x"
# npm install npm should be removed when https://github.com/npm/cli/issues/4942 is fixed
- name: Build docs 🔧
run: |
npm install -g npm@8.5.5
make build-docs
+13 -5
View File
@@ -15,7 +15,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
strategy:
matrix:
go-arch: ["amd64", "arm64"] # drop 32 bit support for now (and maybe forever)
@@ -33,14 +33,22 @@ jobs:
###################
- name: Build
run: GOARCH=${{ matrix.go-arch }} make build
- name: Build with BLS12381
if: matrix.go-arch == 'amd64'
run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS=bls12381 make build
- name: Build with legacy app.go
run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS="legacy" make build
# TODO re-add with comet v1
#- name: Build with BLS12381
# if: matrix.go-arch == 'amd64'
# run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS="bls12381" make build
- name: Build with Secp_cgo
if: matrix.go-arch == 'amd64'
run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS=secp make build
run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS="secp" make build
- name: Build with legacy app.go and Secp_cgo
if: matrix.go-arch == 'amd64'
run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS="legacy,secp" make build
###################
## Build Tooling ##
###################
- name: Build Cosmovisor
run: GOARCH=${{ matrix.go-arch }} make cosmovisor
- name: Build Confix
run: GOARCH=${{ matrix.go-arch }} make confix
+1 -1
View File
@@ -9,7 +9,7 @@ permissions:
jobs:
remind:
name: Changelog Reminder
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
# Skip draft PRs and PRs starting with: revert, test, chore, ci, docs, style, build, refactor
if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'revert') && !contains(github.event.pull_request.title, 'test') && !contains(github.event.pull_request.title, 'chore') && !contains(github.event.pull_request.title, 'ci') && !contains(github.event.pull_request.title, 'docs') && !contains(github.event.pull_request.title, 'style') && !contains(github.event.pull_request.title, 'build') && !contains(github.event.pull_request.title, 'refactor')"
steps:
+1 -1
View File
@@ -7,7 +7,7 @@ on:
jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
timeout-minutes: 30
steps:
+1 -6
View File
@@ -18,7 +18,7 @@ concurrency:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
permissions:
actions: read
contents: read
@@ -38,11 +38,6 @@ jobs:
languages: "go"
config-file: ./.github/codeql/config.yml
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
main:
permissions:
pull-requests: write # For reading the PR and posting comment
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: orijtech/consensuswarn@main
+15 -6
View File
@@ -2,19 +2,28 @@ name: Dependabot Update All Go Modules
on: pull_request
permissions:
contents: write
pull-requests: write
env:
PR_TITLE: ${{ github.event.pull_request.title }}
jobs:
update-all:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Generate Token
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v1
id: app-token
with:
app-id: "${{ secrets.APP_ID }}"
private-key: "${{ secrets.APP_PRIVATE_KEY }}"
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
# Secret to be added in the repo under Settings > Secrets > Dependabot
token: ${{ secrets.PRBOT_PAT }}
token: "${{ steps.app-token.outputs.token }}"
- uses: actions/setup-go@v5
with:
go-version: "1.23"
@@ -25,8 +34,8 @@ jobs:
# Extract the dependency name from the PR title
# Example: "build(deps): Bump github.com/cosmos/cosmos-sdk from 0.46.0 to 0.47.0"
# Extracts "github.com/cosmos/cosmos-sdk" and "0.47.0"
echo "name=$(echo "${{ github.event.pull_request.title }}" | cut -d ' ' -f 3)" >> $GITHUB_OUTPUT
echo "version=$(echo "${{ github.event.pull_request.title }}" | cut -d ' ' -f 7)" >> $GITHUB_OUTPUT
echo "name=$(echo "$PR_TITLE" | cut -d ' ' -f 3)" >> $GITHUB_OUTPUT
echo "version=$(echo "$PR_TITLE" | cut -d ' ' -f 7)" >> $GITHUB_OUTPUT
- name: Update all Go modules
run: |
./scripts/go-update-dep-all.sh ${{ format('{0}@v{1}', steps.deps.outputs.name, steps.deps.outputs.version) }}
@@ -34,5 +43,5 @@ jobs:
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
default_author: user_info
message: "${{ github.event.pull_request.title }} for all modules"
+23 -5
View File
@@ -8,21 +8,39 @@ permissions:
jobs:
dependency-review:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: "Setup Go"
uses: actions/setup-go@v5
with:
go-version: "1.23"
go-version: "1.24"
check-latest: true
- name: "Dependency Review"
uses: actions/dependency-review-action@v4
with:
base-ref: ${{ github.event.pull_request.base.sha || 'main' }}
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}
fail-on-severity: high # otherwise we fail on ourselves due to https://github.com/advisories/GHSA-qfc5-6r3j-jj22, https://github.com/advisories/GHSA-w44m-8mv2-v78h TODO(@julienrbrt) submit a PR to the action to ignore packages
fail-on-severity: high
- name: "Dependency audit"
run: ./scripts/dep-assert.sh
- name: "Go vulnerability check"
run: make vulncheck
id: govuln
run: |
# Run the vulnerability check and capture its output (ignoring non-zero exit codes)
make vulncheck 2>&1 | tee govulncheck-output.txt || true
# Extract vulnerability identifiers from the output (e.g., GO-2025-3443)
vulnerabilities=$(grep -o 'GO-[0-9]\{4\}-[0-9]\+' govulncheck-output.txt | sort | uniq)
echo "Detected vulnerabilities: $vulnerabilities"
# Check if any vulnerability other than GO-2025-3443 exists
for vuln in $vulnerabilities; do
if [ "$vuln" != "GO-2025-3443" ]; then
echo "Found vulnerability $vuln, failing..."
exit 1
fi
done
echo "Only known vulnerability (GO-2025-3443) present. Continuing."
+7 -2
View File
@@ -22,6 +22,7 @@ on:
permissions:
contents: read
packages: write
sid-token: write
env:
# Use docker.io for Docker Hub if empty
@@ -31,7 +32,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
with:
@@ -60,9 +61,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Depot
uses: depot/setup-action@v1
- name: Publish to GitHub Packages
uses: docker/build-push-action@v6
uses: depot/build-push-action@v1
with:
project: gnm1jqptpw
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
+36
View File
@@ -0,0 +1,36 @@
name: Run Gosec
on:
pull_request:
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
push:
branches:
- main
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
jobs:
Gosec:
permissions:
security-events: write
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: "-exclude=G101,G107 -exclude-generated -no-fail -fmt sarif -out results.sarif ./..."
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
+1 -1
View File
@@ -5,7 +5,7 @@ on:
jobs:
triage:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: github/issue-labeler@v3.4
if: join(github.event.issue.labels) == ''
+1 -1
View File
@@ -9,7 +9,7 @@ on:
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/add-to-project@v1.0.2
with:
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: amannn/action-semantic-pull-request@v5.5.3
id: lint_pr_title
+1 -1
View File
@@ -12,7 +12,7 @@ permissions:
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
+4 -4
View File
@@ -5,22 +5,22 @@ on:
- "docs/**"
jobs:
markdown-link-check:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- run: cd docs && sh ./pre.sh
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.15
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.17
with:
folder-path: "docs"
- run: cd docs && sh ./post.sh
sims-notify-failure:
permissions:
contents: none
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
if: ${{ failure() }}
steps:
- name: Notify Slack on failure
uses: rtCamp/action-slack-notify@v2.3.0
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
-30
View File
@@ -1,30 +0,0 @@
name: Spell Check
on:
pull_request:
schedule:
- cron: "0 12 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run codespell
continue-on-error: true
run: |
sudo apt-get install codespell -y
codespell -w --skip="*.pulsar.go,*.pb.go,*.pb.gw.go,*.cosmos_orm.go,*.json,*.git,*.js,crypto/keys,fuzz,*.h,proto/tendermint,*.bin,go.sum,go.mod" --ignore-words=.github/.codespellignore
- uses: peter-evans/create-pull-request@v6
if: github.event_name != 'pull_request'
with:
token: ${{ secrets.PRBOT_PAT }}
commit-message: "chore: spelling errors fixes"
title: "chore: fix spelling errors"
branch: "bot/fix-typos"
delete-branch: true
body: |
This PR fixes typos in the codebase.
Please review it, and merge if everything is fine.
If there are proto changes, run `make proto-gen` and commit the changes.
+2 -2
View File
@@ -13,7 +13,7 @@ concurrency:
jobs:
go-mod-tidy:
name: Check go mod tidy
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- name: Check out code
uses: actions/checkout@v4
@@ -33,7 +33,7 @@ jobs:
generate-mocks:
name: Check up to date mocks
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- name: Check out code
uses: actions/checkout@v4
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/labeler@v4 # v5 is broken, ref https://github.com/actions/labeler/issues/712. Do not bump.
with:
+8 -2
View File
@@ -26,10 +26,12 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
permissions:
contents: read
packages: write
id-token: write
steps:
# set VERSION to new version when making changes, when merged to main the image will automatically be pushed
- uses: actions/checkout@v4
@@ -57,9 +59,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Depot
uses: depot/setup-action@v1
- name: Publish to GHCR
uses: docker/build-push-action@v6
uses: depot/build-push-action@v1
with:
project: gnm1jqptpw
context: ./contrib/devtools
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
+2 -2
View File
@@ -13,11 +13,11 @@
# jobs:
# root:
# runs-on: ubuntu-latest
# runs-on: depot-ubuntu-22.04-4
# name: "Push to buf.build/cosmos/cosmos-sdk"
# steps:
# - uses: actions/checkout@v4
# - uses: bufbuild/buf-setup-action@v1.29.0
# - uses: bufbuild/buf-setup-action@v1.50.0
# - run: buf push proto --tag ${{ github.ref_type == 'tag' && github.ref_name || github.sha }} # https://github.com/bufbuild/buf-push-action/issues/20
## TODO at each module tag to their own buf repository
+4 -4
View File
@@ -11,20 +11,20 @@ permissions:
jobs:
lint:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.35.0
- uses: bufbuild/buf-setup-action@v1.50.0
- uses: bufbuild/buf-lint-action@v1
with:
input: "proto"
break-check:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.35.0
- uses: bufbuild/buf-setup-action@v1.50.0
- uses: bufbuild/buf-breaking-action@v1
with:
input: "proto"
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
goreleaser:
permissions:
contents: write # for goreleaser/goreleaser-action to create a GitHub release
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
goreleaser:
permissions:
contents: write # for goreleaser/goreleaser-action to create a GitHub release
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
+39
View File
@@ -0,0 +1,39 @@
name: Release Simd
on:
push:
tags:
- "simd/v*.*.*"
permissions:
contents: read
jobs:
goreleaser:
permissions:
contents: write # for goreleaser/goreleaser-action to create a GitHub release
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
check-latest: true
# get 'v*.*.*' part from 'simd/v*.*.*' and save to $GITHUB_ENV
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/simd/}" >> $GITHUB_ENV
# remove the possible pre-existing same tag for cosmos-sdk related tags instead of simd tags
# Because goreleaser enforces semantic versioning and will error on non compliant tags.(https://goreleaser.com/limitations/semver/)
- name: Tag without prefix locally to avoid error in goreleaser
run: |-
git tag -d ${{ env.RELEASE_VERSION }} || echo "No such a tag exists before"
git tag ${{ env.RELEASE_VERSION }} HEAD
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
# stick to version v0.179.0(https://github.com/cosmos/cosmos-sdk/issues/11125)
version: v0.179.0
args: release --rm-dist --skip-validate
workdir: simapp
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_CURRENT_TAG: simd/${{ env.RELEASE_VERSION }}
+3 -3
View File
@@ -14,7 +14,7 @@ jobs:
release:
permissions:
contents: write # for goreleaser/goreleaser-action to create a GitHub release
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- name: Install Go
@@ -34,10 +34,10 @@ jobs:
release-success:
needs: release
if: ${{ success() }}
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- name: Notify Slack on success
uses: rtCamp/action-slack-notify@v2.3.0
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cosmos-tech
+2 -2
View File
@@ -115,7 +115,7 @@ jobs:
- name: Notify Slack on success
if: ${{ steps.last_status.outputs.last_status == 'failure' }}
uses: rtCamp/action-slack-notify@v2.3.0
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
@@ -134,7 +134,7 @@ jobs:
if: ${{ failure() }}
steps:
- name: Notify Slack on failure
uses: rtCamp/action-slack-notify@v2.3.0
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
+12 -9
View File
@@ -1,6 +1,9 @@
name: Sims release/0.50.x
# Sims workflow runs multiple types of simulations (nondeterminism, import-export, after-import, multi-seed-short)
# This workflow will run on all Pull Requests, if a .go, .mod or .sum file have been changed
# TODO - update to 53 once we have cut release
on:
schedule:
- cron: "0 0,12 * * *"
@@ -13,7 +16,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v4
@@ -28,7 +31,7 @@ jobs:
install-runsim:
permissions:
contents: none
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
needs: build
steps:
- uses: actions/setup-go@v5
@@ -43,7 +46,7 @@ jobs:
key: ${{ runner.os }}-go-runsim-binary
test-sim-import-export:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
needs: [build, install-runsim]
timeout-minutes: 60
steps:
@@ -63,7 +66,7 @@ jobs:
make test-sim-import-export
test-sim-after-import:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v4
@@ -82,7 +85,7 @@ jobs:
make test-sim-after-import
test-sim-multi-seed-short:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v4
@@ -103,7 +106,7 @@ jobs:
sims-notify-success:
needs:
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
if: ${{ success() }}
steps:
- uses: actions/checkout@v4
@@ -115,7 +118,7 @@ jobs:
- name: Notify Slack on success
if: ${{ steps.last_status.outputs.last_status == 'failure' }}
uses: rtCamp/action-slack-notify@v2.3.0
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
@@ -130,11 +133,11 @@ jobs:
contents: none
needs:
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
if: ${{ failure() }}
steps:
- name: Notify Slack on failure
uses: rtCamp/action-slack-notify@v2.3.0
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
+21 -6
View File
@@ -16,7 +16,7 @@ concurrency:
jobs:
test-sim-multi-seed-long:
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
@@ -29,9 +29,24 @@ jobs:
run: |
make test-sim-multi-seed-long
test-sim-import-export:
runs-on: depot-ubuntu-22.04-4
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
check-latest: true
- name: test-sim-import-export
env:
GOMEMLIMIT: 14GiB # reserve 2 GiB as buffer for GC to avoid OOM
run: |
make test-sim-import-export
sims-notify-success:
needs: [test-sim-multi-seed-long]
runs-on: ubuntu-latest
needs: [test-sim-multi-seed-long, test-sim-import-export]
runs-on: depot-ubuntu-22.04-4
if: ${{ success() }}
steps:
- name: Check out repository
@@ -44,7 +59,7 @@ jobs:
- name: Notify Slack on success
if: ${{ steps.last_status.outputs.last_status == 'failure' }}
uses: rtCamp/action-slack-notify@v2.3.0
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
@@ -58,11 +73,11 @@ jobs:
permissions:
contents: none
needs: [test-sim-multi-seed-long]
runs-on: ubuntu-latest
runs-on: depot-ubuntu-22.04-4
if: ${{ failure() }}
steps:
- name: Notify Slack on failure
uses: rtCamp/action-slack-notify@v2.3.0
uses: rtCamp/action-slack-notify@v2.3.3
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
+5 -60
View File
@@ -15,7 +15,7 @@ jobs:
build:
permissions:
contents: read # for actions/checkout to fetch code
runs-on: large-sdk-runner
runs-on: depot-ubuntu-22.04-16
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
- run: make build
test-sim-import-export:
runs-on: large-sdk-runner
runs-on: depot-ubuntu-22.04-16
needs: [build]
timeout-minutes: 60
steps:
@@ -40,7 +40,7 @@ jobs:
make test-sim-import-export
test-sim-after-import:
runs-on: large-sdk-runner
runs-on: depot-ubuntu-22.04-16
needs: [build]
timeout-minutes: 60
steps:
@@ -54,7 +54,7 @@ jobs:
make test-sim-after-import
test-sim-deterministic:
runs-on: large-sdk-runner
runs-on: depot-ubuntu-22.04-16
needs: [build]
timeout-minutes: 60
steps:
@@ -68,7 +68,7 @@ jobs:
make test-sim-nondeterminism-streaming
test-sim-multi-seed-short:
runs-on: large-sdk-runner
runs-on: depot-ubuntu-22.04-16
needs: [build]
timeout-minutes: 60
steps:
@@ -80,58 +80,3 @@ jobs:
- name: test-sim-multi-seed-short
run: |
make test-sim-multi-seed-short
sims-notify-success:
needs:
[
test-sim-multi-seed-short,
test-sim-after-import,
test-sim-import-export,
test-sim-deterministic,
]
runs-on: large-sdk-runner
if: ${{ success() }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Get previous workflow status
uses: ./.github/actions/last-workflow-status
id: last_status
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Notify Slack on success
if: ${{ steps.last_status.outputs.last_status == 'failure' }}
uses: rtCamp/action-slack-notify@v2.3.0
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
SLACK_USERNAME: Sim Tests
SLACK_ICON_EMOJI: ":white_check_mark:"
SLACK_COLOR: good
SLACK_MESSAGE: Sims are passing
SLACK_FOOTER: ""
sims-notify-failure:
permissions:
contents: none
needs:
[
test-sim-multi-seed-short,
test-sim-after-import,
test-sim-import-export,
test-sim-deterministic,
]
runs-on: large-sdk-runner
if: ${{ failure() }}
steps:
- name: Notify Slack on failure
uses: rtCamp/action-slack-notify@v2.3.0
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: sdk-sims
SLACK_USERNAME: Sim Tests
SLACK_ICON_EMOJI: ":skull:"
SLACK_COLOR: danger
SLACK_MESSAGE: Sims are failing
SLACK_FOOTER: ""
-26
View File
@@ -1,26 +0,0 @@
name: "Close stale issues & pull requests"
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions."
days-before-stale: -1
days-before-close: -1
days-before-pr-stale: 30
days-before-pr-close: 4
exempt-pr-labels: "pinned, security, proposal, blocked"
+63
View File
@@ -0,0 +1,63 @@
name: System Tests
on:
pull_request:
merge_group:
push:
branches:
- main
- release/v0.53.x
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}-system-tests
cancel-in-progress: true
jobs:
setup:
runs-on: depot-ubuntu-22.04-4
outputs:
git_diff: ${{ steps.git_diff.outputs.diff }}
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
- uses: actions/setup-go@v5
with:
go-version: "1.23"
check-latest: true
cache: true
cache-dependency-path: |
./go.sum
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
PATTERNS: |
**/*.go
go.mod
go.sum
**/go.mod
**/go.sum
**/Makefile
Makefile
test-system:
needs: setup
if: needs.setup.outputs.git_diff
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- name: Run system tests
run: |
make test-system
test-system-legacy:
needs: setup
if: needs.setup.outputs.git_diff
runs-on: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- name: Run legacy system tests
run: |
COSMOS_BUILD_OPTIONS=legacy make test-system
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -13,7 +13,7 @@ private
# Build
vendor
/build
build
dist
tools-stamp
buf-stamp
@@ -52,6 +52,8 @@ vagrant
.dir-locals.el
.vscode
.venv
# Depinject & Graphviz
dependency-graph.png
debug_container.dot
@@ -63,4 +65,3 @@ debug_container.log
*.synctex.gz
/x/genutil/config/priv_validator_key.json
/x/genutil/data/priv_validator_state.json
simapp/simapp.test
+118 -97
View File
@@ -1,25 +1,22 @@
version: "2"
run:
tests: true
timeout: 15m
allow-parallel-runners: true
build-tags:
- e2e
- ledger
- test_ledger_mock
- sims
tests: true
allow-parallel-runners: true
linters:
disable-all: true
default: none
enable:
- copyloopvar
- dogsled
- errcheck
- errorlint
- copyloopvar
- gci
- goconst
- gocritic
- gofumpt
- gosec
- gosimple
- govet
- ineffassign
- misspell
@@ -27,97 +24,121 @@ linters:
- nolintlint
- revive
- staticcheck
- stylecheck
- thelper
- typecheck
- unconvert
- unused
settings:
dogsled:
max-blank-identifiers: 6
gocritic:
disabled-checks:
- regexpMust
- appendAssign
- ifElseChain
gosec:
excludes:
- G101
- G107
- G404
confidence: medium
misspell:
locale: US
nolintlint:
require-explanation: true
require-specific: false
allow-unused: false
revive:
rules:
- name: redefines-builtin-id
disabled: true
staticcheck:
checks:
- all
unused:
local-variables-are-used: false
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- linters:
- staticcheck
text: 'ST1003:'
- linters:
- staticcheck
text: 'ST1016:'
- linters:
- staticcheck
path: migrations
text: 'SA1019:'
- linters:
- staticcheck
text: 'SA1019: codec.NewAminoCodec is deprecated'
- linters:
- staticcheck
text: 'SA1019: legacybech32.MustMarshalPubKey'
- linters:
- staticcheck
text: 'SA1019: legacybech32.MarshalPubKey'
- linters:
- staticcheck
text: 'SA1019: legacybech32.UnmarshalPubKey'
- linters:
- staticcheck
text: 'SA1019: params.SendEnabled is deprecated'
- linters:
- gosec
text: 'G115: integer overflow conversion'
- linters:
- nolintlint
text: leading space
paths:
- server/grpc/gogoreflection/fix_registration.go
- fix_registration.go
- .*\.pb\.go$
- .*\.pb\.gw\.go$
- .*\.pulsar\.go$
- crypto/keys/secp256k1/internal/*
- types/coin_regex.go
- testutil/testdata
- x/params
- x/crisis
- third_party$
- builtin$
- examples$
issues:
exclude-dirs:
- testutil/testdata
exclude-files:
- server/grpc/gogoreflection/fix_registration.go
- "fix_registration.go"
- ".*\\.pb\\.go$"
- ".*\\.pb\\.gw\\.go$"
- ".*\\.pulsar\\.go$"
- crypto/keys/secp256k1/internal/*
- types/coin_regex.go
exclude-rules:
- text: "ST1003:" # We are fine with our current naming
linters:
- stylecheck
# FIXME: Disabled until golangci-lint updates stylecheck with this fix:
# https://github.com/dominikh/go-tools/issues/389
- text: "ST1016:" # Ok with inconsistent receiver names
linters:
- stylecheck
- path: "migrations" # migraitions always use deprecated code
text: "SA1019:"
linters:
- staticcheck
- text: "SA1019: codec.NewAminoCodec is deprecated" # TODO remove once migration path is set out
linters:
- staticcheck
- text: "SA1019: legacybech32.MustMarshalPubKey" # TODO remove once ready to remove from the sdk
linters:
- staticcheck
- text: "SA1019: legacybech32.MarshalPubKey" # TODO remove once ready to remove from the sdk
linters:
- staticcheck
- text: "SA1019: legacybech32.UnmarshalPubKey" # TODO remove once ready to remove from the sdk
linters:
- staticcheck
- text: "SA1019: params.SendEnabled is deprecated" # TODO remove once ready to remove from the sdk
linters:
- staticcheck
- text: "G115: integer overflow conversion" # We are doing this everywhere.
linters:
- gosec
- text: "leading space"
linters:
- nolintlint
max-issues-per-linter: 10000
max-same-issues: 10000
linters-settings:
gci:
custom-order: true
sections:
- standard # Standard section: captures all standard packages.
- default # Default section: contains all imports that could not be matched to another section type.
- prefix(cosmossdk.io)
- prefix(github.com/cosmos/cosmos-sdk)
revive:
rules:
- name: redefines-builtin-id
disabled: true
gosec:
# Available rules: https://github.com/securego/gosec#available-rules
excludes:
- G101 # Potential hardcoded credentials
- G107 # Potential HTTP request made with variable url
- G404 # Use of weak random number generator (math/rand instead of crypto/rand)
exclude-generated: true
confidence: medium
misspell:
locale: US
gofumpt:
extra-rules: true
dogsled:
max-blank-identifiers: 6
nolintlint:
allow-unused: false
require-explanation: true
require-specific: false
gosimple:
checks: ["all"]
gocritic:
disabled-checks:
- regexpMust
- appendAssign
- ifElseChain
unused:
local-variables-are-used: false
formatters:
enable:
- gci
- gofumpt
settings:
gci:
sections:
- standard
- default
- prefix(cosmossdk.io)
- prefix(github.com/cosmos/cosmos-sdk)
custom-order: true
gofumpt:
extra-rules: true
exclusions:
generated: lax
paths:
- server/grpc/gogoreflection/fix_registration.go
- fix_registration.go
- .*\.pb\.go$
- .*\.pb\.gw\.go$
- .*\.pulsar\.go$
- crypto/keys/secp256k1/internal/*
- types/coin_regex.go
- testutil/testdata
- x/params
- x/crisis
- third_party$
- builtin$
- examples$
+20 -12
View File
@@ -1,21 +1,25 @@
queue_rules:
- name: default
conditions:
- "#approved-reviews-by>1"
pull_request_rules:
- name: automerge to main with label automerge and branch protection passing
conditions:
queue_conditions:
- "#approved-reviews-by>1"
- base=main
- label=A:automerge
merge_conditions:
- "#approved-reviews-by>1"
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
merge_method: squash
pull_request_rules:
- name: backport patches to v0.53.x branch
conditions:
- base=main
- label=backport/v0.53.x
actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
backport:
branches:
- release/v0.53.x
- name: backport patches to v0.50.x branch
conditions:
- base=main
@@ -48,3 +52,7 @@ pull_request_rules:
backport:
branches:
- release/v0.45.x
- name: automerge to main with label automerge and branch protection passing
conditions: []
actions:
queue:
-18
View File
@@ -11,24 +11,6 @@
"program": "${fileDirname}",
"args": ["-test.timeout", "30m", "-test.v"],
"buildFlags": "-tags e2e"
},
{
"name": "Start: simapp/v2",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/simapp/v2/simdv2",
"args": ["start"],
"buildFlags": ""
},
{
"name": "Start: simapp/v1",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/simapp/simd",
"args": ["start"],
"buildFlags": ""
}
]
}
+620 -200
View File
@@ -36,243 +36,663 @@ Ref: https://keepachangelog.com/en/1.0.0/
# Changelog
## [Unreleased]
## [v0.53.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.53.3) - 2025-07-25
Every module contains its own CHANGELOG.md. Please refer to the module you are interested in.
## [v0.52.0-rc.2](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.52.0-rc.2) - 2025-01-23
Every module contains its own CHANGELOG.md. Please refer to the module you are interested in.
This patch update also includes minor dependency bumps.
### Features
* (sims) [#23013](https://github.com/cosmos/cosmos-sdk/pull/23013) Integration with app v2
* (x/auth/ante) [#23128](https://github.com/cosmos/cosmos-sdk/pull/23128) Allow custom verifyIsOnCurve when validate tx for public key like ethsecp256k1.
* (server) [#23321](https://github.com/cosmos/cosmos-sdk/pull/23321) Add custom rollback command option. In order to use it, you need to implement the Rollback interface and remove the default rollback command with `cmd.RemoveCommand(cmd.RollbackCmd)` and then add it back with `cmd.AddCommand(cmd.NewCustomRollbackCmd(appCreator, rollbackable))`.
* (abci_utils) [#25008](https://github.com/cosmos/cosmos-sdk/pull/24861) add the ability to assign a custom signer extraction adapter in `DefaultProposalHandler`.
### Improvements
* [#23470](https://github.com/cosmos/cosmos-sdk/pull/23470) Converge to use of one single sign mode type and signer data:
* Use api's signmode throughout the SDK to align with `cosmossdk.io/tx`. This allows developer not to juggle between sign mode types
* Deprecate `authsigning.SignerData` in favor of txsigning.SignerData and replace its usage
* Remove `APISignModeToInternal` from `x/auth` as no conversion is necessary by the user anymore
* (all) [#23445](https://github.com/cosmos/cosmos-sdk/pull/23445) Remove `v2` code from codebase.
* (codec) [#22988](https://github.com/cosmos/cosmos-sdk/pull/22988) Improve edge case handling for recursion limits.
* (proto) [#23437](https://github.com/cosmos/cosmos-sdk/pull/23437) Deprecate `Block` field from `GetBlockByHeightResponse` and return empty comet block for `GetBlockByHeight`.
* (module) [#23488](https://github.com/cosmos/cosmos-sdk/pull/23488) Remove CoreAppModuleAdaptor which is no longer used and add HasRegisterServices public interface.
## [v0.53.3](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.53.3) - 2025-07-08
### Bug Fixes
* (x/auth/tx) [#23492](https://github.com/cosmos/cosmos-sdk/pull/23492) Add missing timeoutTimestamp in newBuilderFromDecodedTx.
* (query) [#23002](https://github.com/cosmos/cosmos-sdk/pull/23002) Fix collection filtered pagination.
* (x/auth/tx) [#23170](https://github.com/cosmos/cosmos-sdk/pull/23170) Avoid panic from `newWrapperFromDecodedTx` when `AuthInfo.Fee` is optional in decodedTx.
* (x/auth/tx) [#23144](https://github.com/cosmos/cosmos-sdk/pull/23144) Add missing `CacheWithValue` for `ExtensionOptions`.
* (x/auth/tx) [#23148](https://github.com/cosmos/cosmos-sdk/pull/23148) Avoid panic from `intoAnyV2` when v1.PublicKey is optional.
* (server) [#23244](https://github.com/cosmos/cosmos-sdk/pull/23244) Allow align block header with skip check header in grpc server.
* (x/auth) [#23357](https://github.com/cosmos/cosmos-sdk/pull/23357) Fixes accessibility of the AddressStringToBytes HTTP binding and adds another binding to AddressBytesToString.
* [GHSA-p22h-3m2v-cmgh](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-p22h-3m2v-cmgh) Fix x/distribution can halt when historical rewards overflow.
### Deprecated
* (modules) [#22994](https://github.com/cosmos/cosmos-sdk/pull/22994) Deprecate `Invariants` and associated methods.
## [v0.53.2](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.53.2) - 2025-06-02
## [v0.52.0-rc.1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.52.0-rc.1) - 2024-12-18
This patch update also includes minor dependency bumps.
Every module contains its own CHANGELOG.md. Please refer to the module you are interested in.
### Bug Fixes
* (x/epochs) [#24770](https://github.com/cosmos/cosmos-sdk/pull/24770) Fix register of epoch hooks in `InvokeSetHooks`.
## [v0.53.0](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.53.0) - 2025-04-29
### Features
* (client) [#17513](https://github.com/cosmos/cosmos-sdk/pull/17513) Allow overwriting `client.toml`. Use `client.CreateClientConfig` in place of `client.ReadFromClientConfig` and provide a custom template and a custom config.
* (tests) [#17868](https://github.com/cosmos/cosmos-sdk/pull/17868) Added helper method `SubmitTestTx` in testutil to broadcast test txns to test e2e tests.
* (client) [#18101](https://github.com/cosmos/cosmos-sdk/pull/18101) Add a `keyring-default-keyname` in `client.toml` for specifying a default key name, and skip the need to use the `--from` flag when signing transactions.
* (runtime) [#18475](https://github.com/cosmos/cosmos-sdk/pull/18475) Adds an implementation for core.branch.Service.
* (baseapp) [#18499](https://github.com/cosmos/cosmos-sdk/pull/18499) Add `MsgRouter` response type from message name function.
* (simsx) [#24062](https://github.com/cosmos/cosmos-sdk/pull/24062) [#24145](https://github.com/cosmos/cosmos-sdk/pull/24145) Add new simsx framework on top of simulations for better module dev experience.
* (baseapp) [#24069](https://github.com/cosmos/cosmos-sdk/pull/24069) Create CheckTxHandler to allow extending the logic of CheckTx.
* (types) [#24093](https://github.com/cosmos/cosmos-sdk/pull/24093) Added a new method, `IsGT`, for `types.Coin`. This method is used to check if a `types.Coin` is greater than another `types.Coin`.
* (client/keys) [#24071](https://github.com/cosmos/cosmos-sdk/pull/24071) Add support for importing hex key using standard input.
* (types) [#23780](https://github.com/cosmos/cosmos-sdk/pull/23780) Add a ValueCodec for the math.Uint type that can be used in collections maps.
* (perf)[#24045](https://github.com/cosmos/cosmos-sdk/pull/24045) Sims: Replace runsim command with Go stdlib testing. CLI: `Commit` default true, `Lean`, `SimulateEveryOperation`, `PrintAllInvariants`, `DBBackend` params removed
* (crypto/keyring) [#24040](https://github.com/cosmos/cosmos-sdk/pull/24040) Expose the db keyring used in the keystore.
* (types) [#23919](https://github.com/cosmos/cosmos-sdk/pull/23919) Add MustValAddressFromBech32 function.
* (all) [#23708](https://github.com/cosmos/cosmos-sdk/pull/23708) Add unordered transaction support.
* Adds a `--timeout-timestamp` flag that allows users to specify a block time at which the unordered transactions should expire from the mempool.
* (x/epochs) [#23815](https://github.com/cosmos/cosmos-sdk/pull/23815) Upstream `x/epochs` from Osmosis
* (client) [#23811](https://github.com/cosmos/cosmos-sdk/pull/23811) Add auto cli for node service.
* (genutil) [#24018](https://github.com/cosmos/cosmos-sdk/pull/24018) Allow manually setting the consensus key type in genesis
* (client) [#18557](https://github.com/cosmos/cosmos-sdk/pull/18557) Add `--qrcode` flag to `keys show` command to support displaying keys address QR code.
* (types) [#18768](https://github.com/cosmos/cosmos-sdk/pull/18768) Add MustValAddressFromBech32 function.
* (gRPC) [#19049](https://github.com/cosmos/cosmos-sdk/pull/19049) Add debug log prints for each gRPC request.
* (types) [#19164](https://github.com/cosmos/cosmos-sdk/pull/19164) Add a ValueCodec for the math.Uint type that can be used in collections maps.
* (types) [#19281](https://github.com/cosmos/cosmos-sdk/pull/19281) Added a new method, `IsGT`, for `types.Coin`. This method is used to check if a `types.Coin` is greater than another `types.Coin`.
* (runtime) [#19571](https://github.com/cosmos/cosmos-sdk/pull/19571) Implement `core/router.Service` in runtime. This service is present in all modules (when using depinject).
* (types) [#19759](https://github.com/cosmos/cosmos-sdk/pull/19759) Align SignerExtractionAdapter in PriorityNonceMempool Remove.
* (client) [#19870](https://github.com/cosmos/cosmos-sdk/pull/19870) Add new query command `wait-tx`. Alias `event-query-tx-for` to `wait-tx` for backward compatibility.
* (client) [#19905](https://github.com/cosmos/cosmos-sdk/pull/19905) Add grpc client config to `client.toml`.
* (genutil) [#19971](https://github.com/cosmos/cosmos-sdk/pull/19971) Allow manually setting the consensus key type in genesis
* (runtime) [#19953](https://github.com/cosmos/cosmos-sdk/pull/19953) Implement `core/transaction.Service` in runtime.
* (runtime) [#18475](https://github.com/cosmos/cosmos-sdk/pull/18475) Adds an implementation for `core.branch.Service`.
* (runtime) [#19004](https://github.com/cosmos/cosmos-sdk/pull/19004) Adds an implementation for `core/header.Service` in runtime.
* (runtime) [#20238](https://github.com/cosmos/cosmos-sdk/pull/20238) Adds an implementation for `core/comet.Service` in runtime.
* (tests) [#20013](https://github.com/cosmos/cosmos-sdk/pull/20013) Introduce system tests to run multi node local testnet in CI
* (crypto/keyring) [#20212](https://github.com/cosmos/cosmos-sdk/pull/20212) Expose the db keyring used in the keystore.
* (client/tx) [#20870](https://github.com/cosmos/cosmos-sdk/pull/20870) Add `timeout-timestamp` field for tx body defines time based timeout.Add `WithTimeoutTimestamp` to tx factory. Increased gas cost for processing newly added timeout timestamp field in tx body.
* (client) [#21074](https://github.com/cosmos/cosmos-sdk/pull/21074) Add auto cli for node service
* (x/validate) [#21822](https://github.com/cosmos/cosmos-sdk/pull/21822) New module solely responsible for providing ante/post handlers and tx validators for v2. It can be extended by the app developer to provide extra tx validators.
* In comparison to x/auth/tx/config, there is no app config to skip ante/post handlers, as overwriting them in baseapp or not injecting the x/validate module has the same effect.
* (baseapp) [#21979](https://github.com/cosmos/cosmos-sdk/pull/21979) Create CheckTxHandler to allow extending the logic of CheckTx.
* (x/auth) [#24030](https://github.com/cosmos/cosmos-sdk/pull/24030) Allow usage of ed25519 keys for transaction signing.
* (baseapp) [#24163](https://github.com/cosmos/cosmos-sdk/pull/24163) Add `StreamingManager` to baseapp to extend the abci listeners.
* (x/protocolpool) [#23933](https://github.com/cosmos/cosmos-sdk/pull/23933) Add x/protocolpool module.
* x/distribution can now utilize an externally managed community pool. NOTE: this will make the message handlers for FundCommunityPool and CommunityPoolSpend error, as well as the query handler for CommunityPool.
* (client) [#18101](https://github.com/cosmos/cosmos-sdk/pull/18101) Add a `keyring-default-keyname` in `client.toml` for specifying a default key name, and skip the need to use the `--from` flag when signing transactions.
* (x/gov) [#24355](https://github.com/cosmos/cosmos-sdk/pull/24355) Allow users to set a custom CalculateVoteResultsAndVotingPower function to be used in govkeeper.Tally.
* (x/mint) [#24436](https://github.com/cosmos/cosmos-sdk/pull/24436) Allow users to set a custom minting function used in the `x/mint` begin blocker.
* The `InflationCalculationFn` argument to `mint.NewAppModule()` is now ignored and must be nil. To set a custom `InflationCalculationFn` on the default minter, use `mintkeeper.WithMintFn(mintkeeper.DefaultMintFn(customInflationFn))`.
* (api) [#24428](https://github.com/cosmos/cosmos-sdk/pull/24428) Add block height to response headers
### Improvements
* RocksDB libraries have been upgraded to support RockDB v9 instead of v8.
* (all) [#16537](https://github.com/cosmos/cosmos-sdk/pull/16537) Properly propagated `fmt.Errorf` errors and using `errors.New` where appropriate.
* (client) [#17503](https://github.com/cosmos/cosmos-sdk/pull/17503) Add `client.Context{}.WithAddressCodec`, `WithValidatorAddressCodec`, `WithConsensusAddressCodec` to provide address codecs to the client context. See the [UPGRADING.md](./UPGRADING.md) for more details.
* (crypto/keyring) [#17503](https://github.com/cosmos/cosmos-sdk/pull/17503) Simplify keyring interfaces to use `[]byte` instead of `sdk.Address` for addresses.
* (rpc) [#17470](https://github.com/cosmos/cosmos-sdk/pull/17470) Avoid open 0.0.0.0 to public by default and add `listen-ip-address` argument for `testnet init-files` cmd.
* (types) [#17670](https://github.com/cosmos/cosmos-sdk/pull/17670) Use `ctx.CometInfo` in place of `ctx.VoteInfos`
* [#17733](https://github.com/cosmos/cosmos-sdk/pull/17733) Ensure `buf export` exports all proto dependencies
* (crypto/keys) [#18026](https://github.com/cosmos/cosmos-sdk/pull/18026) Made public key generation constant time on `secp256k1`
* (crypto | x/auth) [#14372](https://github.com/cosmos/cosmos-sdk/pull/18194) Key checks on signatures antehandle.
* (types) [#18440](https://github.com/cosmos/cosmos-sdk/pull/18440) Add `AmountOfNoValidation` to `sdk.DecCoins`.
* (client/keys) [#18663](https://github.com/cosmos/cosmos-sdk/pull/18663) Improve `<appd> keys add` by displaying mnemonic discreetly on an alternate screen and adding `--indiscreet` option to disable it.
* (client/keys) [#18684](https://github.com/cosmos/cosmos-sdk/pull/18684) Improve `<appd> keys export` by displaying unarmored hex private key discreetly on an alternate screen and adding `--indiscreet` option to disable it.
* (client/keys) [#18687](https://github.com/cosmos/cosmos-sdk/pull/18687) Improve `<appd> keys mnemonic` by displaying mnemonic discreetly on an alternate screen and adding `--indiscreet` option to disable it.
* (client/keys) [#18703](https://github.com/cosmos/cosmos-sdk/pull/18703) Improve `<appd> keys add` and `<appd> keys show` by checking whether there are duplicate keys in the multisig case.
* Usage of `Must...` kind of functions are avoided in keeper methods.
* (client/keys) [#18743](https://github.com/cosmos/cosmos-sdk/pull/18743) Improve `<appd> keys add -i` by hiding inputting of bip39 passphrase.
* (client/keys) [#18745](https://github.com/cosmos/cosmos-sdk/pull/18745) Improve `<appd> keys export` and `<appd> keys mnemonic` by adding --yes option to skip interactive confirmation.
* (client) [#24561](https://github.com/cosmos/cosmos-sdk/pull/24561) TimeoutTimestamp flag has been changed to TimeoutDuration, which now sets the timeout timestamp of unordered transactions to the current time + duration passed.
* (telemetry) [#24541](https://github.com/cosmos/cosmos-sdk/pull/24541) Telemetry now includes a pre_blocker metric key. x/upgrade should migrate to this key in v0.54.0.
* (x/auth) [#24541](https://github.com/cosmos/cosmos-sdk/pull/24541) x/auth's PreBlocker now emits telemetry under the pre_blocker metric key.
* (x/bank) [#24431](https://github.com/cosmos/cosmos-sdk/pull/24431) Reduce the number of `ValidateDenom` calls in `bank.SendCoins` and `Coin`.
* The `AmountOf()` method on`sdk.Coins` no longer will `panic` if given an invalid denom and will instead return a zero value.
* (x/staking) [#24391](https://github.com/cosmos/cosmos-sdk/pull/24391) Replace panics with error results; more verbose error messages
* (x/staking) [#24354](https://github.com/cosmos/cosmos-sdk/pull/24354) Optimize validator endblock by reducing bech32 conversions, resulting in significant performance improvement
* (client/keys) [#18950](https://github.com/cosmos/cosmos-sdk/pull/18950) Improve `<appd> keys add`, `<appd> keys import` and `<appd> keys rename` by checking name validation.
* (types) [#18963](https://github.com/cosmos/cosmos-sdk/pull/18963) Swap out amino json encoding of `ABCIMessageLogs` for std lib json encoding
* (types) [#19512](https://github.com/cosmos/cosmos-sdk/pull/19512) The notion of basic manager does not exist anymore (and all related helpers).
* The module manager now can do everything that the basic manager was doing.
* `AppModuleBasic` has been deprecated for extension interfaces.
* Modules can now implement `appmodule.HasRegisterInterfaces`, `module.HasGRPCGateway` and `module.HasAminoCodec` when relevant.
* SDK modules now directly implement those extension interfaces on `AppModule` instead of `AppModuleBasic`.
* (server) [#19455](https://github.com/cosmos/cosmos-sdk/pull/19455) Allow calling back into the application struct in PostSetup.
* (types) [#19672](https://github.com/cosmos/cosmos-sdk/pull/19672) `PreBlock` now returns only an error for consistency with server/v2. The SDK has upgraded x/upgrade accordingly. `ResponsePreBlock` hence has been removed.
* (x/auth) [#19651](https://github.com/cosmos/cosmos-sdk/pull/19651) Allow empty public keys in `GetSignBytesAdapter`.
* (x/genutil) [#19735](https://github.com/cosmos/cosmos-sdk/pull/19735) Update genesis api to match new `appmodule.HasGenesis` interface.
* (types) [#19869](https://github.com/cosmos/cosmos-sdk/pull/19869) Removed `Any` type from `codec/types` and replaced it with an alias for `cosmos/gogoproto/types/any`.
* (server) [#19854](https://github.com/cosmos/cosmos-sdk/pull/19854) Add customizability to start command.
* Add `StartCmdOptions` in `server.AddCommands` instead of `servertypes.ModuleInitFlags`. To set custom flags set them in the `StartCmdOptions` struct on the `AddFlags` field.
* Add `StartCommandHandler` to `StartCmdOptions` to allow custom start command handlers. Users now have total control over how the app starts.
* (server) [#19966](https://github.com/cosmos/cosmos-sdk/pull/19966) Return BlockHeader by shallow copy in server Context.
* (codec) [#20122](https://github.com/cosmos/cosmos-sdk/pull/20122) Added a cache to address codec.
* (proto) [#20098](https://github.com/cosmos/cosmos-sdk/pull/20098) Use cosmos_proto added_in annotation instead of // Since comments.
* (baseapp) [#20208](https://github.com/cosmos/cosmos-sdk/pull/20208) Skip running validateBasic for rechecking txs.
* (baseapp) [#20380](https://github.com/cosmos/cosmos-sdk/pull/20380) Enhanced OfferSnapshot documentation.
* (client) [#20771](https://github.com/cosmos/cosmos-sdk/pull/20771) Remove `ReadDefaultValuesFromDefaultClientConfig` from `client` package. (It was introduced in `v0.50.6` as a quick fix).
* (grpcserver) [#20945](https://github.com/cosmos/cosmos-sdk/pull/20945) Adds error handling for out-of-gas panics in grpc query handlers.
* (internal) [#21412](https://github.com/cosmos/cosmos-sdk/pull/21412) Using unsafe.String and unsafe.SliceData.
* (client) [#21436](https://github.com/cosmos/cosmos-sdk/pull/21436) Use `address.Codec` from client.Context in `tx.Sign`.
* (x/genutil) [#21249](https://github.com/cosmos/cosmos-sdk/pull/21249) Incremental JSON parsing for AppGenesis where possible.
* (genutil) [#21701](https://github.com/cosmos/cosmos-sdk/pull/21701) Improved error messages for genesis validation.
* (runtime) [#21704](https://github.com/cosmos/cosmos-sdk/pull/21704) Move `upgradetypes.StoreLoader` to runtime and alias it in upgrade for backward compatibility.
* (sims)[#21613](https://github.com/cosmos/cosmos-sdk/pull/21613) Add sims2 framework and factory methods for simpler message factories in modules
* (modules) [#21963](https://github.com/cosmos/cosmos-sdk/pull/21963) Duplicatable metrics are no more collected in modules. They were unnecessary overhead.
* (crypto/ledger) [#22116](https://github.com/cosmos/cosmos-sdk/pull/22116) Improve error message when deriving paths using index >100
* (testutil/integration) [#22616](https://github.com/cosmos/cosmos-sdk/pull/22616) Remove double context in integration tests v1.
* Use `integrationApp.Context()` instead of creating a context prior.
* (version) [#22807](https://github.com/cosmos/cosmos-sdk/pull/22807) Return server/v2 information in the `version` functions and commands.
* [#22826](https://github.com/cosmos/cosmos-sdk/pull/22826) Simplify testing frameworks by removing `testutil/cmdtest`.
* (client/keys) [#18703](https://github.com/cosmos/cosmos-sdk/pull/18703) Improve `<appd> keys add` and `<appd> keys show` by checking whether there are duplicate keys in the multisig case.
* (client/keys) [#18745](https://github.com/cosmos/cosmos-sdk/pull/18745) Improve `<appd> keys export` and `<appd> keys mnemonic` by adding --yes option to skip interactive confirmation.
* (x/bank) [#24106](https://github.com/cosmos/cosmos-sdk/pull/24106) `SendCoins` now checks for `SendRestrictions` before instead of after deducting coins using `subUnlockedCoins`.
* (crypto/ledger) [#24036](https://github.com/cosmos/cosmos-sdk/pull/24036) Improve error message when deriving paths using index > 100
* (gRPC) [#23844](https://github.com/cosmos/cosmos-sdk/pull/23844) Add debug log prints for each gRPC request.
* (gRPC) [#24073](https://github.com/cosmos/cosmos-sdk/pull/24073) Adds error handling for out-of-gas panics in grpc query handlers.
* (server) [#24072](https://github.com/cosmos/cosmos-sdk/pull/24072) Return BlockHeader by shallow copy in server Context.
* (x/bank) [#24053](https://github.com/cosmos/cosmos-sdk/pull/24053) Resolve a foot-gun by swapping send restrictions check in `InputOutputCoins` before coin deduction.
* (codec/types) [#24336](https://github.com/cosmos/cosmos-sdk/pull/24336) Most types definitions were moved to `github.com/cosmos/gogoproto/types/any` with aliases to these left in `codec/types` so that there should be no breakage to existing code. This allows protobuf generated code to optionally reference the SDK's custom `Any` type without a direct dependency on the SDK. This can be done by changing the `protoc` `M` parameter for `any.proto` to `Mgoogle/protobuf/any.proto=github.com/cosmos/gogoproto/types/any`.
### Bug Fixes
* (baseapp) [#18383](https://github.com/cosmos/cosmos-sdk/pull/18383) Fixed a data race inside BaseApp.getContext, found by end-to-end (e2e) tests.
* (client/server) [#18345](https://github.com/cosmos/cosmos-sdk/pull/18345) Consistently set viper prefix in client and server. It defaults for the binary name for both client and server.
* (baseapp) [#18551](https://github.com/cosmos/cosmos-sdk/pull/18551) Fix SelectTxForProposal the calculation method of tx bytes size is inconsistent with CometBFT
* (client/keys) [#18562](https://github.com/cosmos/cosmos-sdk/pull/18562) `keys delete` won't terminate when a key is not found.
* (client) [#18622](https://github.com/cosmos/cosmos-sdk/pull/18622) Fixed a potential under/overflow from `uint64->int64` when computing gas fees as a LegacyDec.
* (baseapp) [#18727](https://github.com/cosmos/cosmos-sdk/pull/18727) Ensure that `BaseApp.Init` firstly returns any errors from a nil commit multistore instead of panicking on nil dereferencing and before sealing the app.
* (server) [#18994](https://github.com/cosmos/cosmos-sdk/pull/18994) Update server context directly rather than a reference to a sub-object
* [#19833](https://github.com/cosmos/cosmos-sdk/pull/19833) Fix some places in which we call Remove inside a Walk.
* [#19851](https://github.com/cosmos/cosmos-sdk/pull/19851) Fix some places in which we call Remove inside a Walk (x/staking and x/gov).
* (sims) [#21952](https://github.com/cosmos/cosmos-sdk/pull/21952) Use liveness matrix for validator sign status in sims
* (baseapp) [#21003](https://github.com/cosmos/cosmos-sdk/pull/21003) Align block header when query with latest height.
* (x/gov)[#24460](https://github.com/cosmos/cosmos-sdk/pull/24460) Do not call Remove during Walk in defaultCalculateVoteResultsAndVotingPower.
* (baseapp) [24261](https://github.com/cosmos/cosmos-sdk/pull/24261) Fix post handler error always results in code 1
* (server) [#24068](https://github.com/cosmos/cosmos-sdk/pull/24068) Allow align block header with skip check header in grpc server.
* (x/gov) [#24044](https://github.com/cosmos/cosmos-sdk/pull/24044) Fix some places in which we call Remove inside a Walk (x/gov).
* (baseapp) [#24042](https://github.com/cosmos/cosmos-sdk/pull/24042) Fixed a data race inside BaseApp.getContext, found by end-to-end (e2e) tests.
* (client/server) [#24059](https://github.com/cosmos/cosmos-sdk/pull/24059) Consistently set viper prefix in client and server. It defaults for the binary name for both client and server.
* (client/keys) [#24041](https://github.com/cosmos/cosmos-sdk/pull/24041) `keys delete` won't terminate when a key is not found, but will log the error.
* (baseapp) [#24027](https://github.com/cosmos/cosmos-sdk/pull/24027) Ensure that `BaseApp.Init` checks that the commit multistore is set to protect against nil dereferences.
* (x/group) [GHSA-47ww-ff84-4jrg](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-47ww-ff84-4jrg) Fix x/group can halt when erroring in EndBlocker
* (x/distribution) [#23934](https://github.com/cosmos/cosmos-sdk/pull/23934) Fix vulnerability in `incrementReferenceCount` in distribution.
* (baseapp) [#23879](https://github.com/cosmos/cosmos-sdk/pull/23879) Ensure finalize block response is not empty in the defer check of FinalizeBlock to avoid panic by nil pointer.
* (query) [#23883](https://github.com/cosmos/cosmos-sdk/pull/23883) Fix NPE in query pagination.
* (client) [#23860](https://github.com/cosmos/cosmos-sdk/pull/23860) Add missing `unordered` field for legacy amino signing of tx body.
* (x/bank) [#23836](https://github.com/cosmos/cosmos-sdk/pull/23836) Fix `DenomMetadata` rpc allow value with slashes.
* (query) [87d3a43](https://github.com/cosmos/cosmos-sdk/commit/87d3a432af95f4cf96aa02351ed5fcc51cca6e7b) Fix collection filtered pagination.
* (sims) [#23952](https://github.com/cosmos/cosmos-sdk/pull/23952) Use liveness matrix for validator sign status in sims
* (baseapp) [#24055](https://github.com/cosmos/cosmos-sdk/pull/24055) Align block header when query with latest height.
* (baseapp) [#24074](https://github.com/cosmos/cosmos-sdk/pull/24074) Use CometBFT's ComputeProtoSizeForTxs in defaultTxSelector.SelectTxForProposal for consistency.
* (cli) [#24090](https://github.com/cosmos/cosmos-sdk/pull/24090) Prune cmd should disable async pruning.
* (x/auth) [#19239](https://github.com/cosmos/cosmos-sdk/pull/19239) Sets from flag in multi-sign command to avoid no key name provided error.
* (x/auth) [#23741](https://github.com/cosmos/cosmos-sdk/pull/23741) Support legacy global AccountNumber for legacy compatibility.
* (baseapp) [#24526](https://github.com/cosmos/cosmos-sdk/pull/24526) Fix incorrect retention height when `commitHeight` equals `minRetainBlocks`.
* (x/protocolpool) [#24594](https://github.com/cosmos/cosmos-sdk/pull/24594) Fix NPE when initializing module via depinject.
* (x/epochs) [#24610](https://github.com/cosmos/cosmos-sdk/pull/24610) Fix semantics of `CurrentEpochStartHeight` being set before epoch has started.
## [v0.50.13](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.13) - 2025-03-12
### Bug Fixes
* [GHSA-47ww-ff84-4jrg](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-47ww-ff84-4jrg) Fix x/group can halt when erroring in EndBlocker
## [v0.50.12](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.12) - 2025-02-20
### Bug Fixes
* [GHSA-x5vx-95h7-rv4p](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-x5vx-95h7-rv4p) Fix Group module can halt chain when handling a malicious proposal.
## [v0.50.11](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.11) - 2024-12-16
### Features
* (crypto/keyring) [#21653](https://github.com/cosmos/cosmos-sdk/pull/21653) New Linux-only backend that adds Linux kernel's `keyctl` support.
### Improvements
* (server) [#21941](https://github.com/cosmos/cosmos-sdk/pull/21941) Regenerate addrbook.json for in place testnet.
### Bug Fixes
* Fix [ABS-0043/ABS-0044](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-8wcc-m6j2-qxvm) Limit recursion depth for unknown field detection and unpack any
* (server) [#22564](https://github.com/cosmos/cosmos-sdk/pull/22564) Fix fallback genesis path in server
* (x/group) [#22425](https://github.com/cosmos/cosmos-sdk/pull/22425) Proper address rendering in error
* (sims) [#21906](https://github.com/cosmos/cosmos-sdk/pull/21906) Skip sims test when running dry on validators
* (cli) [#21919](https://github.com/cosmos/cosmos-sdk/pull/21919) Query address-by-acc-num by account_id instead of id.
* (cli) [#22656](https://github.com/cosmos/cosmos-sdk/pull/22656) Prune cmd should disable async pruning.
* (x/group) [#22229](https://github.com/cosmos/cosmos-sdk/pull/22229) Accept `1` and `try` in CLI for group proposal exec.
## [v0.50.10](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.10) - 2024-09-20
### Features
* (cli) [#20779](https://github.com/cosmos/cosmos-sdk/pull/20779) Added `module-hash-by-height` command to query and retrieve module hashes at a specified blockchain height, enhancing debugging capabilities.
* (cli) [#21372](https://github.com/cosmos/cosmos-sdk/pull/21372) Added a `bulk-add-genesis-account` genesis command to add many genesis accounts at once.
* (types/collections) [#21724](https://github.com/cosmos/cosmos-sdk/pull/21724) Added `LegacyDec` collection value.
### Improvements
* (x/bank) [#21460](https://github.com/cosmos/cosmos-sdk/pull/21460) Added `Sender` attribute in `MsgMultiSend` event.
* (genutil) [#21701](https://github.com/cosmos/cosmos-sdk/pull/21701) Improved error messages for genesis validation.
* (testutil/integration) [#21816](https://github.com/cosmos/cosmos-sdk/pull/21816) Allow to pass baseapp options in `NewIntegrationApp`.
### Bug Fixes
* (runtime) [#21769](https://github.com/cosmos/cosmos-sdk/pull/21769) Fix baseapp options ordering to avoid overwriting options set by modules.
* (x/consensus) [#21493](https://github.com/cosmos/cosmos-sdk/pull/21493) Fix regression that prevented to upgrade to > v0.50.7 without consensus version params.
* (baseapp) [#21256](https://github.com/cosmos/cosmos-sdk/pull/21256) Halt height will not commit the block indicated, meaning that if halt-height is set to 10, only blocks until 9 (included) will be committed. This is to go back to the original behavior before a change was introduced in v0.50.0.
* (baseapp) [#21444](https://github.com/cosmos/cosmos-sdk/pull/21444) Follow-up, Return PreBlocker events in FinalizeBlockResponse.
* (baseapp) [#21413](https://github.com/cosmos/cosmos-sdk/pull/21413) Fix data race in sdk mempool.
## [v0.50.9](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.9) - 2024-08-07
## Bug Fixes
* (baseapp) [#21159](https://github.com/cosmos/cosmos-sdk/pull/21159) Return PreBlocker events in FinalizeBlockResponse.
* [#20939](https://github.com/cosmos/cosmos-sdk/pull/20939) Fix collection reverse iterator to include `pagination.key` in the result.
* (client/grpc) [#20969](https://github.com/cosmos/cosmos-sdk/pull/20969) Fix `node.NewQueryServer` method not setting `cfg`.
* (testutil/integration) [#21006](https://github.com/cosmos/cosmos-sdk/pull/21006) Fix `NewIntegrationApp` method not writing default genesis to state.
* (runtime) [#21080](https://github.com/cosmos/cosmos-sdk/pull/21080) Fix `app.yaml` / `app.json` incompatibility with `depinject v1.0.0`.
## [v0.50.8](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.8) - 2024-07-15
## Features
* (client) [#20690](https://github.com/cosmos/cosmos-sdk/pull/20690) Import mnemonic from file
## Improvements
* (x/authz,x/feegrant) [#20590](https://github.com/cosmos/cosmos-sdk/pull/20590) Provide updated keeper in depinject for authz and feegrant modules.
* [#20631](https://github.com/cosmos/cosmos-sdk/pull/20631) Fix json parsing in the wait-tx command.
* (x/auth) [#20438](https://github.com/cosmos/cosmos-sdk/pull/20438) Add `--skip-signature-verification` flag to multisign command to allow nested multisigs.
## Bug Fixes
* (simulation) [#17911](https://github.com/cosmos/cosmos-sdk/pull/17911) Fix all problems with executing command `make test-sim-custom-genesis-fast` for simulation test.
* (simulation) [#18196](https://github.com/cosmos/cosmos-sdk/pull/18196) Fix the problem of `validator set is empty after InitGenesis` in simulation test.
## [v0.50.7](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.7) - 2024-06-04
### Improvements
* (debug) [#20328](https://github.com/cosmos/cosmos-sdk/pull/20328) Add consensus address for debug cmd.
* (runtime) [#20264](https://github.com/cosmos/cosmos-sdk/pull/20264) Expose grpc query router via depinject.
* (x/consensus) [#20381](https://github.com/cosmos/cosmos-sdk/pull/20381) Use Comet utility for consensus module consensus param updates.
* (client) [#20356](https://github.com/cosmos/cosmos-sdk/pull/20356) Overwrite client context when available in `SetCmdClientContext`.
### Bug Fixes
* (baseapp) [#20346](https://github.com/cosmos/cosmos-sdk/pull/20346) Correctly assign `execModeSimulate` to context for `simulateTx`.
* (baseapp) [#20144](https://github.com/cosmos/cosmos-sdk/pull/20144) Remove txs from mempool when AnteHandler fails in recheck.
* (baseapp) [#20107](https://github.com/cosmos/cosmos-sdk/pull/20107) Avoid header height overwrite block height.
* (cli) [#20020](https://github.com/cosmos/cosmos-sdk/pull/20020) Make bootstrap-state command support both new and legacy genesis format.
* (testutil/sims) [#20151](https://github.com/cosmos/cosmos-sdk/pull/20151) Set all signatures and don't overwrite the previous one in `GenSignedMockTx`.
## [v0.50.6](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.6) - 2024-04-22
### Features
* (types) [#19759](https://github.com/cosmos/cosmos-sdk/pull/19759) Align SignerExtractionAdapter in PriorityNonceMempool Remove.
* (client) [#19870](https://github.com/cosmos/cosmos-sdk/pull/19870) Add new query command `wait-tx`. Alias `event-query-tx-for` to `wait-tx` for backward compatibility.
### Improvements
* (telemetry) [#19903](https://github.com/cosmos/cosmos-sdk/pull/19903) Conditionally emit metrics based on enablement.
* **Introduction of `Now` Function**: Added a new function called `Now` to the telemetry package. It returns the current system time if telemetry is enabled, or a zero time if telemetry is not enabled.
* **Atomic Global Variable**: Implemented an atomic global variable to manage the state of telemetry's enablement. This ensures thread safety for the telemetry state.
* **Conditional Telemetry Emission**: All telemetry functions have been updated to emit metrics only when telemetry is enabled. They perform a check with `isTelemetryEnabled()` and return early if telemetry is disabled, minimizing unnecessary operations and overhead.
* (deps) [#19810](https://github.com/cosmos/cosmos-sdk/pull/19810) Upgrade prometheus version and fix API breaking change due to prometheus bump.
* (deps) [#19810](https://github.com/cosmos/cosmos-sdk/pull/19810) Bump `cosmossdk.io/store` to v1.1.0.
* (server) [#19884](https://github.com/cosmos/cosmos-sdk/pull/19884) Add start customizability to start command options.
* (x/gov) [#19853](https://github.com/cosmos/cosmos-sdk/pull/19853) Emit `depositor` in `EventTypeProposalDeposit`.
* (x/gov) [#19844](https://github.com/cosmos/cosmos-sdk/pull/19844) Emit the proposer of governance proposals.
* (baseapp) [#19616](https://github.com/cosmos/cosmos-sdk/pull/19616) Don't share gas meter in tx execution.
## Bug Fixes
* (x/authz) [#20114](https://github.com/cosmos/cosmos-sdk/pull/20114) Follow up of [GHSA-4j93-fm92-rp4m](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-4j93-fm92-rp4m) for `x/authz`.
* (crypto) [#19691](https://github.com/cosmos/cosmos-sdk/pull/19745) Fix tx sign doesn't throw an error when incorrect Ledger is used.
* (baseapp) [#19970](https://github.com/cosmos/cosmos-sdk/pull/19970) Fix default config values to use no-op mempool as default.
* (crypto) [#20027](https://github.com/cosmos/cosmos-sdk/pull/20027) secp256r1 keys now implement gogoproto's customtype interface.
* (x/bank) [#20028](https://github.com/cosmos/cosmos-sdk/pull/20028) Align query with multi denoms for send-enabled.
## [v0.50.5](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.5) - 2024-03-12
### Features
* (baseapp) [#19626](https://github.com/cosmos/cosmos-sdk/pull/19626) Add `DisableBlockGasMeter` option to `BaseApp`, which removes the block gas meter during transaction execution.
### Improvements
* (x/distribution) [#19707](https://github.com/cosmos/cosmos-sdk/pull/19707) Add autocli config for `DelegationTotalRewards` for CLI consistency with `q rewards` commands in previous versions.
* (x/auth) [#19651](https://github.com/cosmos/cosmos-sdk/pull/19651) Allow empty public keys in `GetSignBytesAdapter`.
### Bug Fixes
* (x/gov) [#19725](https://github.com/cosmos/cosmos-sdk/pull/19725) Fetch a failed proposal tally from proposal.FinalTallyResult in the gprc query.
* (types) [#19709](https://github.com/cosmos/cosmos-sdk/pull/19709) Fix skip staking genesis export when using `CoreAppModuleAdaptor` / `CoreAppModuleBasicAdaptor` for it.
* (x/auth) [#19549](https://github.com/cosmos/cosmos-sdk/pull/19549) Accept custom get signers when injecting `x/auth/tx`.
* (x/staking) Fix a possible bypass of delegator slashing: [GHSA-86h5-xcpx-cfqc](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc)
* (baseapp) Fix a bug in `baseapp.ValidateVoteExtensions` helper ([GHSA-95rx-m9m5-m94v](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-95rx-m9m5-m94v)). The helper has been fixed and for avoiding API breaking changes `currentHeight` and `chainID` arguments are ignored. Those arguments are removed from the helper in v0.51+.
## [v0.50.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.4) - 2024-02-19
### Features
* (server) [#19280](https://github.com/cosmos/cosmos-sdk/pull/19280) Adds in-place testnet CLI command.
### Improvements
* (client) [#19393](https://github.com/cosmos/cosmos-sdk/pull/19393/) Add `ReadDefaultValuesFromDefaultClientConfig` to populate the default values from the default client config in client.Context without creating a app folder.
### Bug Fixes
* (x/auth/vesting) [GHSA-4j93-fm92-rp4m](#bug-fixes) Add `BlockedAddr` check in `CreatePeriodicVestingAccount`.
* (baseapp) [#19338](https://github.com/cosmos/cosmos-sdk/pull/19338) Set HeaderInfo in context when calling `setState`.
* (baseapp): [#19200](https://github.com/cosmos/cosmos-sdk/pull/19200) Ensure that sdk side ve math matches cometbft.
* [#19106](https://github.com/cosmos/cosmos-sdk/pull/19106) Allow empty public keys when setting signatures. Public keys aren't needed for every transaction.
* (baseapp) [#19198](https://github.com/cosmos/cosmos-sdk/pull/19198) Remove usage of pointers in logs in all optimistic execution goroutines.
* (baseapp) [#19177](https://github.com/cosmos/cosmos-sdk/pull/19177) Fix baseapp `DefaultProposalHandler` same-sender non-sequential sequence.
* (crypto) [#19371](https://github.com/cosmos/cosmos-sdk/pull/19371) Avoid CLI redundant log in stdout, log to stderr instead.
## [v0.50.3](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.3) - 2024-01-15
### Features
* (types) [#18991](https://github.com/cosmos/cosmos-sdk/pull/18991) Add SignerExtractionAdapter to PriorityNonceMempool/Config and provide Default implementation matching existing behavior.
* (gRPC) [#19043](https://github.com/cosmos/cosmos-sdk/pull/19043) Add `halt_height` to the gRPC `/cosmos/base/node/v1beta1/config` request.
### Improvements
* (x/bank) [#18956](https://github.com/cosmos/cosmos-sdk/pull/18956) Introduced a new `DenomOwnersByQuery` query method for `DenomOwners`, which accepts the denom value as a query string parameter, resolving issues with denoms containing slashes.
* (x/gov) [#18707](https://github.com/cosmos/cosmos-sdk/pull/18707) Improve genesis validation.
* (x/auth/tx) [#18772](https://github.com/cosmos/cosmos-sdk/pull/18772) Remove misleading gas wanted from tx simulation failure log.
* (client/tx) [#18852](https://github.com/cosmos/cosmos-sdk/pull/18852) Add `WithFromName` to tx factory.
* (types) [#18888](https://github.com/cosmos/cosmos-sdk/pull/18888) Speedup DecCoin.Sort() if len(coins) <= 1
* (types) [#18875](https://github.com/cosmos/cosmos-sdk/pull/18875) Speedup coins.Sort() if len(coins) <= 1
* (baseapp) [#18915](https://github.com/cosmos/cosmos-sdk/pull/18915) Add a new `ExecModeVerifyVoteExtension` exec mode and ensure it's populated in the `Context` during `VerifyVoteExtension` execution.
* (testutil) [#18930](https://github.com/cosmos/cosmos-sdk/pull/18930) Add NodeURI for clientCtx.
### Bug Fixes
* (baseapp) [#19058](https://github.com/cosmos/cosmos-sdk/pull/19058) Fix baseapp posthandler branch would fail if the `runMsgs` had returned an error.
* (baseapp) [#18609](https://github.com/cosmos/cosmos-sdk/issues/18609) Fixed accounting in the block gas meter after module's beginBlock and before DeliverTx, ensuring transaction processing always starts with the expected zeroed out block gas meter.
* (baseapp) [#18895](https://github.com/cosmos/cosmos-sdk/pull/18895) Fix de-duplicating vote extensions during validation in ValidateVoteExtensions.
## [v0.50.2](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.2) - 2023-12-11
### Features
* (debug) [#18219](https://github.com/cosmos/cosmos-sdk/pull/18219) Add debug commands for application codec types.
* (client/keys) [#17639](https://github.com/cosmos/cosmos-sdk/pull/17639) Allows using and saving public keys encoded as base64.
* (server) [#17094](https://github.com/cosmos/cosmos-sdk/pull/17094) Add a `shutdown-grace` flag for waiting a given time before exit.
### Improvements
* (telemetry) [#18646] (https://github.com/cosmos/cosmos-sdk/pull/18646) Enable statsd and dogstatsd telemetry sinks.
* (server) [#18478](https://github.com/cosmos/cosmos-sdk/pull/18478) Add command flag to disable colored logs.
* (x/gov) [#18025](https://github.com/cosmos/cosmos-sdk/pull/18025) Improve `<appd> q gov proposer` by querying directly a proposal instead of tx events. It is an alias of `q gov proposal` as the proposer is a field of the proposal.
* (version) [#18063](https://github.com/cosmos/cosmos-sdk/pull/18063) Allow to define extra info to be displayed in `<appd> version --long` command.
* (codec/unknownproto)[#18541](https://github.com/cosmos/cosmos-sdk/pull/18541) Remove the use of "protoc-gen-gogo/descriptor" in favour of using the official protobuf descriptorpb types inside unknownproto.
### Bug Fixes
* (x/auth) [#18564](https://github.com/cosmos/cosmos-sdk/pull/18564) Fix total fees calculation when batch signing.
* (server) [#18537](https://github.com/cosmos/cosmos-sdk/pull/18537) Fix panic when defining minimum gas config as `100stake;100uatom`. Use a `,` delimiter instead of `;`. Fixes the server config getter to use the correct delimiter.
* [#18531](https://github.com/cosmos/cosmos-sdk/pull/18531) Baseapp's `GetConsensusParams` returns an empty struct instead of panicking if no params are found.
* (client/tx) [#18472](https://github.com/cosmos/cosmos-sdk/pull/18472) Utilizes the correct Pubkey when simulating a transaction.
* (baseapp) [#18486](https://github.com/cosmos/cosmos-sdk/pull/18486) Fixed FinalizeBlock calls not being passed to ABCIListeners.
* (baseapp) [#18627](https://github.com/cosmos/cosmos-sdk/pull/18627) Post handlers are run on non successful transaction executions too.
* (baseapp) [#18654](https://github.com/cosmos/cosmos-sdk/pull/18654) Fixes an issue in which `gogoproto.Merge` does not work with gogoproto messages with custom types.
## [v0.50.1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.1) - 2023-11-07
> v0.50.0 has been retracted due to a mistake in tagging the release. Please use v0.50.1 instead.
### Features
* (baseapp) [#18071](https://github.com/cosmos/cosmos-sdk/pull/18071) Add hybrid handlers to `MsgServiceRouter`.
* (server) [#18162](https://github.com/cosmos/cosmos-sdk/pull/18162) Start gRPC & API server in standalone mode.
* (baseapp & types) [#17712](https://github.com/cosmos/cosmos-sdk/pull/17712) Introduce `PreBlock`, which runs before begin blocker other modules, and allows to modify consensus parameters, and the changes are visible to the following state machine logics. Additionally it can be used for vote extensions.
* (genutil) [#17571](https://github.com/cosmos/cosmos-sdk/pull/17571) Allow creation of `AppGenesis` without a file lookup.
* (codec) [#17042](https://github.com/cosmos/cosmos-sdk/pull/17042) Add `CollValueV2` which supports encoding of protov2 messages in collections.
* (x/gov) [#16976](https://github.com/cosmos/cosmos-sdk/pull/16976) Add `failed_reason` field to `Proposal` under `x/gov` to indicate the reason for a failed proposal. Referenced from [#238](https://github.com/bnb-chain/greenfield-cosmos-sdk/pull/238) under `bnb-chain/greenfield-cosmos-sdk`.
* (baseapp) [#16898](https://github.com/cosmos/cosmos-sdk/pull/16898) Add `preFinalizeBlockHook` to allow vote extensions persistence.
* (cli) [#16887](https://github.com/cosmos/cosmos-sdk/pull/16887) Add two new CLI commands: `<appd> tx simulate` for simulating a transaction; `<appd> query block-results` for querying CometBFT RPC for block results.
* (x/bank) [#16852](https://github.com/cosmos/cosmos-sdk/pull/16852) Add `DenomMetadataByQueryString` query in bank module to support metadata query by query string.
* (baseapp) [#16581](https://github.com/cosmos/cosmos-sdk/pull/16581) Implement Optimistic Execution as an experimental feature (not enabled by default).
* (types) [#16257](https://github.com/cosmos/cosmos-sdk/pull/16257) Allow setting the base denom in the denom registry.
* (baseapp) [#16239](https://github.com/cosmos/cosmos-sdk/pull/16239) Add Gas Limits to allow node operators to resource bound queries.
* (cli) [#16209](https://github.com/cosmos/cosmos-sdk/pull/16209) Make `StartCmd` more customizable.
* (types/simulation) [#16074](https://github.com/cosmos/cosmos-sdk/pull/16074) Add generic SimulationStoreDecoder for modules using collections.
* (genutil) [#16046](https://github.com/cosmos/cosmos-sdk/pull/16046) Add "module-name" flag to genutil `add-genesis-account` to enable intializing module accounts at genesis.* [#15970](https://github.com/cosmos/cosmos-sdk/pull/15970) Enable SIGN_MODE_TEXTUAL.
* (types) [#15958](https://github.com/cosmos/cosmos-sdk/pull/15958) Add `module.NewBasicManagerFromManager` for creating a basic module manager from a module manager.
* (types/module) [#15829](https://github.com/cosmos/cosmos-sdk/pull/15829) Add new endblocker interface to handle valset updates.
* (runtime) [#15818](https://github.com/cosmos/cosmos-sdk/pull/15818) Provide logger through `depinject` instead of appBuilder.
* (types) [#15735](https://github.com/cosmos/cosmos-sdk/pull/15735) Make `ValidateBasic() error` method of `Msg` interface optional. Modules should validate messages directly in their message handlers ([RFC 001](https://docs.cosmos.network/main/rfc/rfc-001-tx-validation)).
* (x/genutil) [#15679](https://github.com/cosmos/cosmos-sdk/pull/15679) Allow applications to specify a custom genesis migration function for the `genesis migrate` command.
* (telemetry) [#15657](https://github.com/cosmos/cosmos-sdk/pull/15657) Emit more data (go version, sdk version, upgrade height) in prom metrics.
* (client) [#15597](https://github.com/cosmos/cosmos-sdk/pull/15597) Add status endpoint for clients.
* (testutil/integration) [#15556](https://github.com/cosmos/cosmos-sdk/pull/15556) Introduce `testutil/integration` package for module integration testing.
* (runtime) [#15547](https://github.com/cosmos/cosmos-sdk/pull/15547) Allow runtime to pass event core api service to modules.
* (client) [#15458](https://github.com/cosmos/cosmos-sdk/pull/15458) Add a `CmdContext` field to client.Context initialized to cobra command's context.
* (x/genutil) [#15301](https://github.com/cosmos/cosmos-sdk/pull/15031) Add application genesis. The genesis is now entirely managed by the application and passed to CometBFT at note instantiation. Functions that were taking a `cmttypes.GenesisDoc{}` now takes a `genutiltypes.AppGenesis{}`.
* (core) [#15133](https://github.com/cosmos/cosmos-sdk/pull/15133) Implement RegisterServices in the module manager.
* (x/bank) [#14894](https://github.com/cosmos/cosmos-sdk/pull/14894) Return a human readable denomination for IBC vouchers when querying bank balances. Added a `ResolveDenom` parameter to `types.QueryAllBalancesRequest` and `--resolve-denom` flag to `GetBalancesCmd()`.
* (core) [#14860](https://github.com/cosmos/cosmos-sdk/pull/14860) Add `Precommit` and `PrepareCheckState` AppModule callbacks.
* (x/gov) [#14720](https://github.com/cosmos/cosmos-sdk/pull/14720) Upstream expedited proposals from Osmosis.
* (cli) [#14659](https://github.com/cosmos/cosmos-sdk/pull/14659) Added ability to query blocks by events with queries directly passed to Tendermint, which will allow for full query operator support, e.g. `>`.
* (x/auth) [#14650](https://github.com/cosmos/cosmos-sdk/pull/14650) Add Textual SignModeHandler. Enable `SIGN_MODE_TEXTUAL` by following the [UPGRADING.md](./UPGRADING.md) instructions.
* (x/crisis) [#14588](https://github.com/cosmos/cosmos-sdk/pull/14588) Use CacheContext() in AssertInvariants().
* (mempool) [#14484](https://github.com/cosmos/cosmos-sdk/pull/14484) Add priority nonce mempool option for transaction replacement.
* (query) [#14468](https://github.com/cosmos/cosmos-sdk/pull/14468) Implement pagination for collections.
* (x/gov) [#14373](https://github.com/cosmos/cosmos-sdk/pull/14373) Add new proto field `constitution` of type `string` to gov module genesis state, which allows chain builders to lay a strong foundation by specifying purpose.
* (client) [#14342](https://github.com/cosmos/cosmos-sdk/pull/14342) Add `<app> config` command is now a sub-command, for setting, getting and migrating Cosmos SDK configuration files.
* (x/distribution) [#14322](https://github.com/cosmos/cosmos-sdk/pull/14322) Introduce a new gRPC message handler, `DepositValidatorRewardsPool`, that allows explicit funding of a validator's reward pool.
* (x/bank) [#14224](https://github.com/cosmos/cosmos-sdk/pull/14224) Allow injection of restrictions on transfers using `AppendSendRestriction` or `PrependSendRestriction`.
### Improvements
* (x/gov) [#18189](https://github.com/cosmos/cosmos-sdk/pull/18189) Limit the accepted deposit coins for a proposal to the minimum proposal deposit denoms.
* (x/staking) [#18049](https://github.com/cosmos/cosmos-sdk/pull/18049) Return early if Slash encounters zero tokens to burn.
* (x/staking) [#18035](https://github.com/cosmos/cosmos-sdk/pull/18035) Hoisted out of the redelegation loop, the non-changing validator and delegator addresses parsing.
* (keyring) [#17913](https://github.com/cosmos/cosmos-sdk/pull/17913) Add `NewAutoCLIKeyring` for creating an AutoCLI keyring from a SDK keyring.
* (x/consensus) [#18041](https://github.com/cosmos/cosmos-sdk/pull/18041) Let `ToProtoConsensusParams()` return an error.
* (x/gov) [#17780](https://github.com/cosmos/cosmos-sdk/pull/17780) Recover panics and turn them into errors when executing x/gov proposals.
* (baseapp) [#17667](https://github.com/cosmos/cosmos-sdk/pull/17667) Close databases opened by SDK in `baseApp.Close()`.
* (types/module) [#17554](https://github.com/cosmos/cosmos-sdk/pull/17554) Introduce `HasABCIGenesis` which is implemented by a module only when a validatorset update needs to be returned.
* (cli) [#17389](https://github.com/cosmos/cosmos-sdk/pull/17389) gRPC CometBFT commands have been added under `<aapd> q consensus comet`. CometBFT commands placement in the SDK has been simplified. See the exhaustive list below.
* `client/rpc.StatusCommand()` is now at `server.StatusCommand()`
* (testutil) [#17216](https://github.com/cosmos/cosmos-sdk/issues/17216) Add `DefaultContextWithKeys` to `testutil` package.
* (cli) [#17187](https://github.com/cosmos/cosmos-sdk/pull/17187) Do not use `ctx.PrintObjectLegacy` in commands anymore.
* `<appd> q gov proposer [proposal-id]` now returns a proposal id as int instead of string.
* (x/staking) [#17164](https://github.com/cosmos/cosmos-sdk/pull/17164) Add `BondedTokensAndPubKeyByConsAddr` to the keeper to enable vote extension verification.
* (x/group, x/gov) [#17109](https://github.com/cosmos/cosmos-sdk/pull/17109) Let proposal summary be 40x longer than metadata limit.
* (version) [#17096](https://github.com/cosmos/cosmos-sdk/pull/17096) Improve `getSDKVersion()` to handle module replacements.
* (types) [#16890](https://github.com/cosmos/cosmos-sdk/pull/16890) Remove `GetTxCmd() *cobra.Command` and `GetQueryCmd() *cobra.Command` from `module.AppModuleBasic` interface.
* (x/authz) [#16869](https://github.com/cosmos/cosmos-sdk/pull/16869) Improve error message when grant not found.
* (all) [#16497](https://github.com/cosmos/cosmos-sdk/pull/16497) Removed all exported vestiges of `sdk.MustSortJSON` and `sdk.SortJSON`.
* (server) [#16238](https://github.com/cosmos/cosmos-sdk/pull/16238) Don't setup p2p node keys if starting a node in GRPC only mode.
* (cli) [#16206](https://github.com/cosmos/cosmos-sdk/pull/16206) Make ABCI handshake profileable.
* (types) [#16076](https://github.com/cosmos/cosmos-sdk/pull/16076) Optimize `ChainAnteDecorators`/`ChainPostDecorators` to instantiate the functions once instead of on every invocation of the returned `AnteHandler`/`PostHandler`.
* (server) [#16071](https://github.com/cosmos/cosmos-sdk/pull/16071) When `mempool.max-txs` is set to a negative value, use a no-op mempool (effectively disable the app mempool).
* (types/query) [#16041](https://github.com/cosmos/cosmos-sdk/pull/16041) Change pagination max limit to a variable in order to be modifed by application devs.
* (simapp) [#15958](https://github.com/cosmos/cosmos-sdk/pull/15958) Refactor SimApp for removing the global basic manager.
* (all modules) [#15901](https://github.com/cosmos/cosmos-sdk/issues/15901) All core Cosmos SDK modules query commands have migrated to [AutoCLI](https://docs.cosmos.network/main/core/autocli), ensuring parity between gRPC and CLI queries.
* (x/auth) [#15867](https://github.com/cosmos/cosmos-sdk/pull/15867) Support better logging for signature verification failure.
* (store/cachekv) [#15767](https://github.com/cosmos/cosmos-sdk/pull/15767) Reduce peak RAM usage during and after `InitGenesis`.
* (x/bank) [#15764](https://github.com/cosmos/cosmos-sdk/pull/15764) Speedup x/bank `InitGenesis`.
* (x/slashing) [#15580](https://github.com/cosmos/cosmos-sdk/pull/15580) Refactor the validator's missed block signing window to be a chunked bitmap instead of a "logical" bitmap, significantly reducing the storage footprint.
* (x/gov) [#15554](https://github.com/cosmos/cosmos-sdk/pull/15554) Add proposal result log in `active_proposal` event. When a proposal passes but fails to execute, the proposal result is logged in the `active_proposal` event.
* (x/consensus) [#15553](https://github.com/cosmos/cosmos-sdk/pull/15553) Migrate consensus module to use collections.
* (server) [#15358](https://github.com/cosmos/cosmos-sdk/pull/15358) Add `server.InterceptConfigsAndCreateContext` as alternative to `server.InterceptConfigsPreRunHandler` which does not set the server context and the default SDK logger.
* (mempool) [#15328](https://github.com/cosmos/cosmos-sdk/pull/15328) Improve the `PriorityNonceMempool`:
* Support generic transaction prioritization, instead of `ctx.Priority()`
* Improve construction through the use of a single `PriorityNonceMempoolConfig` instead of option functions
* (x/authz) [#15164](https://github.com/cosmos/cosmos-sdk/pull/15164) Add `MsgCancelUnbondingDelegation` to staking authorization.
* (server) [#15041](https://github.com/cosmos/cosmos-sdk/pull/15041) Remove unnecessary sleeps from gRPC and API server initiation. The servers will start and accept requests as soon as they're ready.
* (baseapp) [#15023](https://github.com/cosmos/cosmos-sdk/pull/15023) & [#15213](https://github.com/cosmos/cosmos-sdk/pull/15213) Add `MessageRouter` interface to baseapp and pass it to authz, gov and groups instead of concrete type.
* [#15011](https://github.com/cosmos/cosmos-sdk/pull/15011) Introduce `cosmossdk.io/log` package to provide a consistent logging interface through the SDK. CometBFT logger is now replaced by `cosmossdk.io/log.Logger`.
* (x/staking) [#14864](https://github.com/cosmos/cosmos-sdk/pull/14864) `<appd> tx staking create-validator` CLI command now takes a json file as an arg instead of using required flags.
* (x/auth) [#14758](https://github.com/cosmos/cosmos-sdk/pull/14758) Allow transaction event queries to directly passed to Tendermint, which will allow for full query operator support, e.g. `>`.
* (x/evidence) [#14757](https://github.com/cosmos/cosmos-sdk/pull/14757) Evidence messages do not need to implement a `.Type()` anymore.
* (x/auth/tx) [#14751](https://github.com/cosmos/cosmos-sdk/pull/14751) Remove `.Type()` and `Route()` methods from all msgs and `legacytx.LegacyMsg` interface.
* (cli) [#14659](https://github.com/cosmos/cosmos-sdk/pull/14659) Added ability to query blocks by either height/hash `<app> q block --type=height|hash <height|hash>`.
* (x/staking) [#14590](https://github.com/cosmos/cosmos-sdk/pull/14590) Return undelegate amount in MsgUndelegateResponse.
* [#14529](https://github.com/cosmos/cosmos-sdk/pull/14529) Add new property `BondDenom` to `SimulationState` struct.
* (store) [#14439](https://github.com/cosmos/cosmos-sdk/pull/14439) Remove global metric gatherer from store.
* By default store has a no op metric gatherer, the application developer must set another metric gatherer or us the provided one in `store/metrics`.
* (store) [#14438](https://github.com/cosmos/cosmos-sdk/pull/14438) Pass logger from baseapp to store.
* (baseapp) [#14417](https://github.com/cosmos/cosmos-sdk/pull/14417) The store package no longer has a dependency on baseapp.
* (module) [#14415](https://github.com/cosmos/cosmos-sdk/pull/14415) Loosen assertions in SetOrderBeginBlockers() and SetOrderEndBlockers().
* (store) [#14410](https://github.com/cosmos/cosmos-sdk/pull/14410) `rootmulti.Store.loadVersion` has validation to check if all the module stores' height is correct, it will error if any module store has incorrect height.
* [#14406](https://github.com/cosmos/cosmos-sdk/issues/14406) Migrate usage of `types/store.go` to `store/types/..`.
* (context)[#14384](https://github.com/cosmos/cosmos-sdk/pull/14384) Refactor(context): Pass EventManager to the context as an interface.
* (types) [#14354](https://github.com/cosmos/cosmos-sdk/pull/14354) Improve performance on Context.KVStore and Context.TransientStore by 40%.
* (crypto/keyring) [#14151](https://github.com/cosmos/cosmos-sdk/pull/14151) Move keys presentation from `crypto/keyring` to `client/keys`
* (signing) [#14087](https://github.com/cosmos/cosmos-sdk/pull/14087) Add SignModeHandlerWithContext interface with a new `GetSignBytesWithContext` to get the sign bytes using `context.Context` as an argument to access state.
* (server) [#14062](https://github.com/cosmos/cosmos-sdk/pull/14062) Remove rosetta from server start.
* (crypto) [#3129](https://github.com/cosmos/cosmos-sdk/pull/3129) New armor and keyring key derivation uses aead and encryption uses chacha20poly.
### State Machine Breaking
* (x/gov) [#18146](https://github.com/cosmos/cosmos-sdk/pull/18146) Add denom check to reject denoms outside of those listed in `MinDeposit`. A new `MinDepositRatio` param is added (with a default value of `0.001`) and now deposits are required to be at least `MinDepositRatio*MinDeposit` to be accepted.
* (x/group,x/gov) [#16235](https://github.com/cosmos/cosmos-sdk/pull/16235) A group and gov proposal is rejected if the proposal metadata title and summary do not match the proposal title and summary.
* (baseapp) [#15930](https://github.com/cosmos/cosmos-sdk/pull/15930) change vote info provided by prepare and process proposal to the one in the block.
* (x/staking) [#15731](https://github.com/cosmos/cosmos-sdk/pull/15731) Introducing a new index to retrieve the delegations by validator efficiently.
* (x/staking) [#15701](https://github.com/cosmos/cosmos-sdk/pull/15701) The `HistoricalInfoKey` has been updated to use a binary format.
* (x/slashing) [#15580](https://github.com/cosmos/cosmos-sdk/pull/15580) The validator slashing window now stores "chunked" bitmap entries for each validator's signing window instead of a single boolean entry per signing window index.
* (x/staking) [#14590](https://github.com/cosmos/cosmos-sdk/pull/14590) `MsgUndelegateResponse` now includes undelegated amount. `x/staking` module's `keeper.Undelegate` now returns 3 values (completionTime,undelegateAmount,error) instead of 2.
* (x/feegrant) [#14294](https://github.com/cosmos/cosmos-sdk/pull/14294) Moved the logic of rejecting duplicate grant from `msg_server` to `keeper` method.
### API Breaking Changes
* (baseapp) [#16244](https://github.com/cosmos/cosmos-sdk/pull/16244) `SetProtocolVersion` has been renamed to `SetAppVersion`. It now updates the consensus params in baseapp's `ParamStore`.
* (types) [#16918](https://github.com/cosmos/cosmos-sdk/pull/16918), [#22925](https://github.com/cosmos/cosmos-sdk/pull/22925) Deprecate `IntProto` and `DecProto`. Instead, `math.Int` and `math.LegacyDec` should be used respectively. Both types support `Marshal` and `Unmarshal` which should be used for binary marshaling.
* (client) [#17215](https://github.com/cosmos/cosmos-sdk/pull/17215) `server.StartCmd`,`server.ExportCmd`,`server.NewRollbackCmd`,`pruning.Cmd`,`genutilcli.InitCmd`,`genutilcli.GenTxCmd`,`genutilcli.CollectGenTxsCmd`,`genutilcli.AddGenesisAccountCmd`, do not take a home directory anymore. It is inferred from the root command.
* (client) [#17259](https://github.com/cosmos/cosmos-sdk/pull/17259) Remove deprecated `clientCtx.PrintObjectLegacy`. Use `clientCtx.PrintProto` or `clientCtx.PrintRaw` instead.
* (types) [#17348](https://github.com/cosmos/cosmos-sdk/pull/17348) Remove the `WrapServiceResult` function.
* The `*sdk.Result` returned by the msg server router will not contain the `.Data` field.
* (types) [#17426](https://github.com/cosmos/cosmos-sdk/pull/17426) `NewContext` does not take a `cmtproto.Header{}` any longer.
* `WithChainID` / `WithBlockHeight` / `WithBlockHeader` must be used to set values on the context
* (client/keys) [#17503](https://github.com/cosmos/cosmos-sdk/pull/17503) `clientkeys.NewKeyOutput`, `MkConsKeyOutput`, `MkValKeyOutput`, `MkAccKeyOutput`, `MkAccKeysOutput` now take their corresponding address codec instead of using the global SDK config.
* (types/simulation) [#17737](https://github.com/cosmos/cosmos-sdk/pull/17737) Remove unused parameter from `RandomFees`
* (types) [#17738](https://github.com/cosmos/cosmos-sdk/pull/17738) `WithBlockTime()` was removed & `BlockTime()` were deprecated in favor of `WithHeaderInfo()` & `HeaderInfo()`. `BlockTime` now gets data from `HeaderInfo()` instead of `BlockHeader()`.
* (client) [#17746](https://github.com/cosmos/cosmos-sdk/pull/17746) `txEncodeAmino` & `txDecodeAmino` txs via grpc and rest were removed
* (app) [#17838](https://github.com/cosmos/cosmos-sdk/pull/17838) Params module was removed from simapp and all imports of the params module removed throughout the repo.
* The Cosmos SDK has migrated away from using params, if your app still uses it, then you can leave it plugged into your app
* (x/bank/testutil) [#17868](https://github.com/cosmos/cosmos-sdk/pull/17868) `MsgSendExec` has been removed because of AutoCLI migration.
* (types) [#17885](https://github.com/cosmos/cosmos-sdk/pull/17885) `InitGenesis` & `ExportGenesis` now take `context.Context` instead of `sdk.Context`
* (x/gov/testutil) [#17986](https://github.com/cosmos/cosmos-sdk/pull/18036) `MsgDeposit` has been removed because of AutoCLI migration.
* (x/staking/testutil) [#17986](https://github.com/cosmos/cosmos-sdk/pull/17986) `MsgRedelegateExec`, `MsgUnbondExec` has been removed because of AutoCLI migration.
* (x/group) [#17937](https://github.com/cosmos/cosmos-sdk/pull/17937) Groups module was moved to its own go.mod `cosmossdk.io/x/group`
* (x/gov) [#18197](https://github.com/cosmos/cosmos-sdk/pull/18197) Gov module was moved to its own go.mod `cosmossdk.io/x/gov`
* (x/distribution) [#18199](https://github.com/cosmos/cosmos-sdk/pull/18199) Distribution module was moved to its own go.mod `cosmossdk.io/x/distribution`
* (x/slashing) [#18201](https://github.com/cosmos/cosmos-sdk/pull/18201) Slashing module was moved to its own go.mod `cosmossdk.io/x/slashing`
* (x/staking) [#18257](https://github.com/cosmos/cosmos-sdk/pull/18257) Staking module was moved to its own go.mod `cosmossdk.io/x/staking`
* (types) [#18268](https://github.com/cosmos/cosmos-sdk/pull/18268) Remove global setting of basedenom. Use the staking module parameter instead
* (x/authz) [#18265](https://github.com/cosmos/cosmos-sdk/pull/18265) Authz module was moved to its own go.mod `cosmossdk.io/x/authz`
* (x/mint) [#18283](https://github.com/cosmos/cosmos-sdk/pull/18283) Mint module was moved to its own go.mod `cosmossdk.io/x/mint`
* (server) [#18303](https://github.com/cosmos/cosmos-sdk/pull/18303) `x/genutil` now handles the application export. `server.AddCommands` does not take an `AppExporter` but instead `genutilcli.Commands` does.
* (types) [#18372](https://github.com/cosmos/cosmos-sdk/pull/18372) Removed global configuration for coin type and purpose. Setters and getters should be removed and access directly to defined types.
* (types) [#18607](https://github.com/cosmos/cosmos-sdk/pull/18607) Removed address verifier from global config, moved verifier function to bech32 codec.
* (types) [#18695](https://github.com/cosmos/cosmos-sdk/pull/18695) Removed global configuration for txEncoder.
* (server) [#18909](https://github.com/cosmos/cosmos-sdk/pull/18909) Remove configuration endpoint on grpc reflection endpoint in favour of auth module bech32prefix endpoint already exposed.
* (crypto) [#19541](https://github.com/cosmos/cosmos-sdk/pull/19541) The deprecated `FromTmProtoPublicKey`, `ToTmProtoPublicKey`, `FromTmPubKeyInterface` and `ToTmPubKeyInterface` functions have been removed. Use their replacements (`Cmt` instead of `Tm`) instead.
* (types) [#19512](https://github.com/cosmos/cosmos-sdk/pull/19512) Remove basic manager and all related functions (`module.BasicManager`, `module.NewBasicManager`, `module.NewBasicManagerFromManager`, `NewGenesisOnlyAppModule`).
* The module manager now can do everything that the basic manager was doing.
* When using runtime, just inject the module manager when needed using your app config.
* All `AppModuleBasic` structs have been removed.
* (types) [#19627](https://github.com/cosmos/cosmos-sdk/pull/19627) and [#19735](https://github.com/cosmos/cosmos-sdk/pull/19735) All genesis interfaces now don't take `codec.JsonCodec`:
* Every module has the codec already, passing it created an unneeded dependency.
* Additionally, to reflect this change, the module manager does not take a codec either.
* (types) [#19652](https://github.com/cosmos/cosmos-sdk/pull/19652) and [#19758](https://github.com/cosmos/cosmos-sdk/pull/19758)
* Moved`types/module.HasRegisterInterfaces` to `cosmossdk.io/core`.
* Moved `RegisterInterfaces` and `RegisterImplementations` from `InterfaceRegistry` to `cosmossdk.io/core/registry.InterfaceRegistrar` interface.
* (types) [#19742](https://github.com/cosmos/cosmos-sdk/pull/19742) Removes the use of `Accounts.String`
* `SimulationState` now has address and validator codecs as fields.
* (runtime) [#19747](https://github.com/cosmos/cosmos-sdk/pull/19747) `runtime.ValidatorAddressCodec` and `runtime.ConsensusAddressCodec` have been moved to `core`.
* (all) [#19726](https://github.com/cosmos/cosmos-sdk/pull/19726) Integrate comet v1
* [#19833](https://github.com/cosmos/cosmos-sdk/pull/19833) Fix some places in which we call Remove inside a Walk.
* [#19839](https://github.com/cosmos/cosmos-sdk/pull/19839) `Tx.GetMsgsV2` has been replaced with `Tx.GetReflectMessages`, and `Codec.GetMsgV1Signers` and `Codec.GetMsgV2Signers` have been replaced with `GetMsgSigners` and `GetReflectMsgSigners` respectively. These API changes clear up confusion as to the use and purpose of these methods.
* [#19851](https://github.com/cosmos/cosmos-sdk/pull/19851) Fix some places in which we call Remove inside a Walk (x/staking and x/gov).
* (server) [#19854](https://github.com/cosmos/cosmos-sdk/pull/19854) Remove `servertypes.ModuleInitFlags` types and from `server.AddCommands` as `StartCmdOptions` already achieves the same goal.
* (x/genutil) [#19926](https://github.com/cosmos/cosmos-sdk/pull/19926) Removal of the `Address.String()` method and related changes:
* Added an address codec as an argument to `CollectTxs`, `GenAppStateFromConfig`, and `AddGenesisAccount`.
* Removed the `ValidatorAddressCodec` argument from `CollectGenTxsCmd`, now utilizing the context for this purpose.
* Changed `ValidateAccountInGenesis` to accept a string instead of an `AccAddress`.
* (baseapp) [#19993](https://github.com/cosmos/cosmos-sdk/pull/19993) Indicate pruning with error code "not found" rather than "invalid request".
* (x/consensus) [#20010](https://github.com/cosmos/cosmos-sdk/pull/20010) Move consensus module to be its own go.mod
* (x/crisis) [#20043](https://github.com/cosmos/cosmos-sdk/pull/20043) Changed `NewMsgVerifyInvariant` to accept a string as argument instead of an `AccAddress`.
* (x/simulation)[#20056](https://github.com/cosmos/cosmos-sdk/pull/20056) `SimulateFromSeed` now takes an address codec as argument.
* (server) [#20140](https://github.com/cosmos/cosmos-sdk/pull/20140) Remove embedded grpc-web proxy in favor of standalone grpc-web proxy. [Envoy Proxy](https://www.envoyproxy.io/docs/envoy/latest/start/start)
* (client) [#20255](https://github.com/cosmos/cosmos-sdk/pull/20255) Use comet proofOp proto type instead of sdk version to avoid needing to translate to later be proven in the merkle proof runtime.
* (types)[#20369](https://github.com/cosmos/cosmos-sdk/pull/20369) The signature of `HasAminoCodec` has changed to accept a `core/legacy.Amino` interface instead of `codec.LegacyAmino`.
* (server) [#20422](https://github.com/cosmos/cosmos-sdk/pull/20422) Deprecated `ServerContext`. To get `cmtcfg.Config` from cmd, use `client.GetCometConfigFromCmd(cmd)` instead of `server.GetServerContextFromCmd(cmd).Config`
* (x/genutil) [#20740](https://github.com/cosmos/cosmos-sdk/pull/20740) Update `genutilcli.Commands` and `genutilcli.CommandsWithCustomMigrationMap` to take the genesis module and abstract the module manager.
* (types/errors) [#20756](https://github.com/cosmos/cosmos-sdk/pull/20756) Remove `ResponseCheckTxWithEvents`, `ResponseExecTxResultWithEvents` & `QueryResult` from types/errors pkg. They have been moved to `baseapp/errors.go` and made private.
* (client) [#20976](https://github.com/cosmos/cosmos-sdk/pull/20976) Simplified command initialization by removing unnecessary parameters such as `txConfig` and `addressCodec`.
* Remove parameter `txConfig` from `genutilcli.Commands`,`genutilcli.CommandsWithCustomMigrationMap`,`genutilcli.GenTxCmd`.
* Remove parameter `addressCodec` from `genutilcli.GenTxCmd`,`genutilcli.AddGenesisAccountCmd`,`stakingcli.BuildCreateValidatorMsg`.
* (sims) [#21039](https://github.com/cosmos/cosmos-sdk/pull/21039): Remove Baseapp from sims by a new interface `simtypes.AppEntrypoint`.
* (x/genutil) [#21372](https://github.com/cosmos/cosmos-sdk/pull/21372) Remove `AddGenesisAccount` for `AddGenesisAccounts`.
* (baseapp) [#21413](https://github.com/cosmos/cosmos-sdk/pull/21413) Add `SelectBy` method to `Mempool` interface, which is thread-safe to use.
* (types/mempool) [#21744](https://github.com/cosmos/cosmos-sdk/pull/21744) Update types/mempool.Mempool interface to take decoded transactions. This avoid to decode the transaction twice.
* (x/auth/tx/config) [#21822](https://github.com/cosmos/cosmos-sdk/pull/21822) Sign mode textual is no more automatically added to tx config when using runtime. Should be added manually on the server side.
* (x/auth/tx/config) [#21822](https://github.com/cosmos/cosmos-sdk/pull/21822) This depinject module now only provide txconfig and tx config options. `x/validate` now handles the providing of ante/post handlers, alongside tx validators for v2. The corresponding app config options have been removed from the depinject module config.
* (x/crisis) [#20809](https://github.com/cosmos/cosmos-sdk/pull/20809) Crisis module was removed from the Cosmos SDK.
* (client) [#22775](https://github.com/cosmos/cosmos-sdk/pull/22775) Removed client prompt validations.
* (x/auth) [#17787](https://github.com/cosmos/cosmos-sdk/pull/17787) Remove Tip functionality.
* (types) `module.EndBlockAppModule` has been replaced by Core API `appmodule.HasEndBlocker` or `module.HasABCIEndBlock` when needing validator updates.
* (types) `module.BeginBlockAppModule` has been replaced by Core API `appmodule.HasBeginBlocker`.
* (types) [#17358](https://github.com/cosmos/cosmos-sdk/pull/17358) Remove deprecated `sdk.Handler`, use `baseapp.MsgServiceHandler` instead.
* (client) [#17197](https://github.com/cosmos/cosmos-sdk/pull/17197) `keys.Commands` does not take a home directory anymore. It is inferred from the root command.
* (x/staking) [#17157](https://github.com/cosmos/cosmos-sdk/pull/17157) `GetValidatorsByPowerIndexKey` and `ValidateBasic` for historical info takes a validator address codec in order to be able to decode/encode addresses.
* `GetOperator()` now returns the address as it is represented in state, by default this is an encoded address
* `GetConsAddr() ([]byte, error)` returns `[]byte` instead of sdk.ConsAddres.
* `FromABCIEvidence` & `GetConsensusAddress(consAc address.Codec)` now take a consensus address codec to be able to decode the incoming address.
* (x/distribution) `Delegate` & `SlashValidator` helper function added the mock staking keeper as a parameter passed to the function
* (x/staking) [#17098](https://github.com/cosmos/cosmos-sdk/pull/17098) `NewMsgCreateValidator`, `NewValidator`, `NewMsgCancelUnbondingDelegation`, `NewMsgUndelegate`, `NewMsgBeginRedelegate`, `NewMsgDelegate` and `NewMsgEditValidator` takes a string instead of `sdk.ValAddress` or `sdk.AccAddress`:
* `NewRedelegation` and `NewUnbondingDelegation` takes a validatorAddressCodec and a delegatorAddressCodec in order to decode the addresses.
* `NewRedelegationResponse` takes a string instead of `sdk.ValAddress` or `sdk.AccAddress`.
* `NewMsgCreateValidator.Validate()` takes an address codec in order to decode the address.
* `BuildCreateValidatorMsg` takes a ValidatorAddressCodec in order to decode addresses.
* (x/slashing) [#17098](https://github.com/cosmos/cosmos-sdk/pull/17098) `NewMsgUnjail` takes a string instead of `sdk.ValAddress`
* (x/genutil) [#17098](https://github.com/cosmos/cosmos-sdk/pull/17098) `GenAppStateFromConfig`, AddGenesisAccountCmd and `GenTxCmd` takes an addresscodec to decode addresses.
* (x/distribution) [#17098](https://github.com/cosmos/cosmos-sdk/pull/17098) `NewMsgDepositValidatorRewardsPool`, `NewMsgFundCommunityPool`, `NewMsgWithdrawValidatorCommission` and `NewMsgWithdrawDelegatorReward` takes a string instead of `sdk.ValAddress` or `sdk.AccAddress`.
* (x/staking) [#16959](https://github.com/cosmos/cosmos-sdk/pull/16959) Add validator and consensus address codec as staking keeper arguments.
* (x/staking) [#16958](https://github.com/cosmos/cosmos-sdk/pull/16958) DelegationI interface `GetDelegatorAddr` & `GetValidatorAddr` have been migrated to return string instead of sdk.AccAddress and sdk.ValAddress respectively. stakingtypes.NewDelegation takes a string instead of sdk.AccAddress and sdk.ValAddress.
* (testutil) [#16899](https://github.com/cosmos/cosmos-sdk/pull/16899) The *cli testutil* `QueryBalancesExec` has been removed. Use the gRPC or REST query instead.
* (x/staking) [#16795](https://github.com/cosmos/cosmos-sdk/pull/16795) `DelegationToDelegationResponse`, `DelegationsToDelegationResponses`, `RedelegationsToRedelegationResponses` are no longer exported.
* (x/auth/vesting) [#16741](https://github.com/cosmos/cosmos-sdk/pull/16741) Vesting account constructor now return an error with the result of their validate function.
* (x/auth) [#16650](https://github.com/cosmos/cosmos-sdk/pull/16650) The *cli testutil* `QueryAccountExec` has been removed. Use the gRPC or REST query instead.
* (x/auth) [#16621](https://github.com/cosmos/cosmos-sdk/pull/16621) Pass address codec to auth new keeper constructor.
* (x/auth) [#16423](https://github.com/cosmos/cosmos-sdk/pull/16423) `helpers.AddGenesisAccount` has been moved to `x/genutil` to remove the cyclic dependency between `x/auth` and `x/genutil`.
* (baseapp) [#16342](https://github.com/cosmos/cosmos-sdk/pull/16342) NewContext was renamed to NewContextLegacy. The replacement (NewContext) now does not take a header, instead you should set the header via `WithHeaderInfo` or `WithBlockHeight`. Note that `WithBlockHeight` will soon be depreacted and its recommneded to use `WithHeaderInfo`.
* (x/mint) [#16329](https://github.com/cosmos/cosmos-sdk/pull/16329) Use collections for state management:
* Removed: keeper `GetParams`, `SetParams`, `GetMinter`, `SetMinter`.
* (x/crisis) [#16328](https://github.com/cosmos/cosmos-sdk/pull/16328) Use collections for state management:
* Removed: keeper `GetConstantFee`, `SetConstantFee`
* (x/staking) [#16324](https://github.com/cosmos/cosmos-sdk/pull/16324) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey`, and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context` and return an `error`. Notable changes:
* `Validator` method now returns `types.ErrNoValidatorFound` instead of `nil` when not found.
* (x/distribution) [#16302](https://github.com/cosmos/cosmos-sdk/pull/16302) Use collections for FeePool state management.
* Removed: keeper `GetFeePool`, `SetFeePool`, `GetFeePoolCommunityCoins`
* (types) [#16272](https://github.com/cosmos/cosmos-sdk/pull/16272) `FeeGranter` in the `FeeTx` interface returns `[]byte` instead of `string`.
* (x/gov) [#16268](https://github.com/cosmos/cosmos-sdk/pull/16268) Use collections for proposal state management (part 2):
* this finalizes the gov collections migration
* Removed: types all the key related functions
* Removed: keeper `InsertActiveProposalsQueue`, `RemoveActiveProposalsQueue`, `InsertInactiveProposalsQueue`, `RemoveInactiveProposalsQueue`, `IterateInactiveProposalsQueue`, `IterateActiveProposalsQueue`, `ActiveProposalsQueueIterator`, `InactiveProposalsQueueIterator`
* (x/slashing) [#16246](https://github.com/cosmos/cosmos-sdk/issues/16246) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey`, and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context` and return an `error`. `GetValidatorSigningInfo` now returns an error instead of a `found bool`, the error can be `nil` (found), `ErrNoSigningInfoFound` (not found) and any other error.
* (module) [#16227](https://github.com/cosmos/cosmos-sdk/issues/16227) `manager.RunMigrations()` now take a `context.Context` instead of a `sdk.Context`.
* (x/crisis) [#16216](https://github.com/cosmos/cosmos-sdk/issues/16216) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey`, methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context` and return an `error` instead of panicking.
* (x/distribution) [#16211](https://github.com/cosmos/cosmos-sdk/pull/16211) Use collections for params state management.
* (cli) [#16209](https://github.com/cosmos/cosmos-sdk/pull/16209) Add API `StartCmdWithOptions` to create customized start command.
* (x/mint) [#16179](https://github.com/cosmos/cosmos-sdk/issues/16179) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey`, and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context` and return an `error`.
* (x/gov) [#16171](https://github.com/cosmos/cosmos-sdk/pull/16171) Use collections for proposal state management (part 1):
* Removed: keeper: `GetProposal`, `UnmarshalProposal`, `MarshalProposal`, `IterateProposal`, `GetProposal`, `GetProposalFiltered`, `GetProposals`, `GetProposalID`, `SetProposalID`
* Removed: errors unused errors
* (x/gov) [#16164](https://github.com/cosmos/cosmos-sdk/pull/16164) Use collections for vote state management:
* Removed: types `VoteKey`, `VoteKeys`
* Removed: keeper `IterateVotes`, `IterateAllVotes`, `GetVotes`, `GetVote`, `SetVote`
* (sims) [#16155](https://github.com/cosmos/cosmos-sdk/pull/16155)
* `simulation.NewOperationMsg` now marshals the operation msg as proto bytes instead of legacy amino JSON bytes.
* `simulation.NewOperationMsg` is now 2-arity instead of 3-arity with the obsolete argument `codec.ProtoCodec` removed.
* The field `OperationMsg.Msg` is now of type `[]byte` instead of `json.RawMessage`.
* (x/gov) [#16127](https://github.com/cosmos/cosmos-sdk/pull/16127) Use collections for deposit state management:
* The following methods are removed from the gov keeper: `GetDeposit`, `GetAllDeposits`, `IterateAllDeposits`.
* The following functions are removed from the gov types: `DepositKey`, `DepositsKey`.
* (x/gov) [#16118](https://github.com/cosmos/cosmos-sdk/pull/16118/) Use collections for constituion and params state management.
* (x/gov) [#16106](https://github.com/cosmos/cosmos-sdk/pull/16106) Remove gRPC query methods from gov keeper.
* (x/*all*) [#16052](https://github.com/cosmos/cosmos-sdk/pull/16062) `GetSignBytes` implementations on messages and global legacy amino codec definitions have been removed from all modules.
* (sims) [#16052](https://github.com/cosmos/cosmos-sdk/pull/16062) `GetOrGenerate` no longer requires a codec argument is now 4-arity instead of 5-arity.
* (types/math) [#16040](https://github.com/cosmos/cosmos-sdk/pull/16798) Remove aliases in `types/math.go` (part 2).
* (types/math) [#16040](https://github.com/cosmos/cosmos-sdk/pull/16040) Remove aliases in `types/math.go` (part 1).
* (x/auth) [#16016](https://github.com/cosmos/cosmos-sdk/pull/16016) Use collections for accounts state management:
* removed: keeper `HasAccountByID`, `AccountAddressByID`, `SetParams
* (x/genutil) [#15999](https://github.com/cosmos/cosmos-sdk/pull/15999) Genutil now takes the `GenesisTxHanlder` interface instead of deliverTx. The interface is implemented on baseapp
* (x/gov) [#15988](https://github.com/cosmos/cosmos-sdk/issues/15988) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey`, methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context` and return an `error` (instead of panicking or returning a `found bool`). Iterators callback functions now return an error instead of a `bool`.
* (x/auth) [#15985](https://github.com/cosmos/cosmos-sdk/pull/15985) The `AccountKeeper` does not expose the `QueryServer` and `MsgServer` APIs anymore.
* (x/authz) [#15962](https://github.com/cosmos/cosmos-sdk/issues/15962) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey`, methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context`. The `Authorization` interface's `Accept` method now takes a `context.Context` instead of a `sdk.Context`.
* (x/distribution) [#15948](https://github.com/cosmos/cosmos-sdk/issues/15948) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey` and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context`. Keeper methods also now return an `error`.
* (x/bank) [#15891](https://github.com/cosmos/cosmos-sdk/issues/15891) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey` and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context`. Also `FundAccount` and `FundModuleAccount` from the `testutil` package accept a `context.Context` instead of a `sdk.Context`, and it's position was moved to the first place.
* (x/slashing) [#15875](https://github.com/cosmos/cosmos-sdk/pull/15875) `x/slashing.NewAppModule` now requires an `InterfaceRegistry` parameter.
* (x/crisis) [#15852](https://github.com/cosmos/cosmos-sdk/pull/15852) Crisis keeper now takes a instance of the address codec to be able to decode user addresses
* (x/auth) [#15822](https://github.com/cosmos/cosmos-sdk/pull/15822) The type of struct field `ante.HandlerOptions.SignModeHandler` has been changed to `x/tx/signing.HandlerMap`.
* (client) [#15822](https://github.com/cosmos/cosmos-sdk/pull/15822) The return type of the interface method `TxConfig.SignModeHandler` has been changed to `x/tx/signing.HandlerMap`.
* The signature of `VerifySignature` has been changed to accept a `x/tx/signing.HandlerMap` and other structs from `x/tx` as arguments.
* The signature of `NewTxConfigWithTextual` has been deprecated and its signature changed to accept a `SignModeOptions`.
* The signature of `NewSigVerificationDecorator` has been changed to accept a `x/tx/signing.HandlerMap`.
* (x/bank) [#15818](https://github.com/cosmos/cosmos-sdk/issues/15818) `BaseViewKeeper`'s `Logger` method now doesn't require a context. `NewBaseKeeper`, `NewBaseSendKeeper` and `NewBaseViewKeeper` now also require a `log.Logger` to be passed in.
* (x/genutil) [#15679](https://github.com/cosmos/cosmos-sdk/pull/15679) `MigrateGenesisCmd` now takes a `MigrationMap` instead of having the SDK genesis migration hardcoded.
* (client) [#15673](https://github.com/cosmos/cosmos-sdk/pull/15673) Move `client/keys.OutputFormatJSON` and `client/keys.OutputFormatText` to `client/flags` package.
* (x/*all*) [#15648](https://github.com/cosmos/cosmos-sdk/issues/15648) Make `SetParams` consistent across all modules and validate the params at the message handling instead of `SetParams` method.
* (codec) [#15600](https://github.com/cosmos/cosmos-sdk/pull/15600) [#15873](https://github.com/cosmos/cosmos-sdk/pull/15873) add support for getting signers to `codec.Codec` and `InterfaceRegistry`:
* `InterfaceRegistry` is has unexported methods and implements `protodesc.Resolver` plus the `RangeFiles` and `SigningContext` methods. All implementations of `InterfaceRegistry` by other users must now embed the official implementation.
* `Codec` has new methods `InterfaceRegistry`, `GetMsgAnySigners`, `GetMsgV1Signers`, and `GetMsgV2Signers` as well as unexported methods. All implementations of `Codec` by other users must now embed an official implementation from the `codec` package.
* `AminoCodec` is marked as deprecated and no longer implements `Codec.
* (client) [#15597](https://github.com/cosmos/cosmos-sdk/pull/15597) `RegisterNodeService` now requires a config parameter.
* (x/nft) [#15588](https://github.com/cosmos/cosmos-sdk/pull/15588) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey` and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context`.
* (baseapp) [#15568](https://github.com/cosmos/cosmos-sdk/pull/15568) `SetIAVLLazyLoading` is removed from baseapp.
* (x/genutil) [#15567](https://github.com/cosmos/cosmos-sdk/pull/15567) `CollectGenTxsCmd` & `GenTxCmd` takes a address.Codec to be able to decode addresses.
* (x/bank) [#15567](https://github.com/cosmos/cosmos-sdk/pull/15567) `GenesisBalance.GetAddress` now returns a string instead of `sdk.AccAddress`
* `MsgSendExec` test helper function now takes a address.Codec
* (x/auth) [#15520](https://github.com/cosmos/cosmos-sdk/pull/15520) `NewAccountKeeper` now takes a `KVStoreService` instead of a `StoreKey` and methods in the `Keeper` now take a `context.Context` instead of a `sdk.Context`.
* (baseapp) [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519/files) `runTxMode`s were renamed to `execMode`. `ModeDeliver` as changed to `ModeFinalize` and a new `ModeVoteExtension` was added for vote extensions.
* (baseapp) [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519/files) Writing of state to the multistore was moved to `FinalizeBlock`. `Commit` still handles the committing values to disk.
* (baseapp) [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519/files) Calls to BeginBlock and EndBlock have been replaced with core api beginblock & endblock.
* (baseapp) [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519/files) BeginBlock and EndBlock are now internal to baseapp. For testing, user must call `FinalizeBlock`. BeginBlock and EndBlock calls are internal to Baseapp.
* (baseapp) [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519/files) All calls to ABCI methods now accept a pointer of the abci request and response types
* (x/consensus) [#15517](https://github.com/cosmos/cosmos-sdk/pull/15517) `NewKeeper` now takes a `KVStoreService` instead of a `StoreKey`.
* (x/bank) [#15477](https://github.com/cosmos/cosmos-sdk/pull/15477) `banktypes.NewMsgMultiSend` and `keeper.InputOutputCoins` only accept one input.
* (server) [#15358](https://github.com/cosmos/cosmos-sdk/pull/15358) Remove `server.ErrorCode` that was not used anywhere.
* (x/capability) [#15344](https://github.com/cosmos/cosmos-sdk/pull/15344) Capability module was removed and is now housed in [IBC-GO](https://github.com/cosmos/ibc-go).
* (mempool) [#15328](https://github.com/cosmos/cosmos-sdk/pull/15328) The `PriorityNonceMempool` is now generic over type `C comparable` and takes a single `PriorityNonceMempoolConfig[C]` argument. See `DefaultPriorityNonceMempoolConfig` for how to construct the configuration and a `TxPriority` type.
* [#15299](https://github.com/cosmos/cosmos-sdk/pull/15299) Remove `StdTx` transaction and signing APIs. No SDK version has actually supported `StdTx` since before Stargate.
* [#15284](https://github.com/cosmos/cosmos-sdk/pull/15284)
* (x/gov) [#15284](https://github.com/cosmos/cosmos-sdk/pull/15284) `NewKeeper` now requires `codec.Codec`.
* (x/authx) [#15284](https://github.com/cosmos/cosmos-sdk/pull/15284) `NewKeeper` now requires `codec.Codec`.
* `types/tx.Tx` no longer implements `sdk.Tx`.
* `sdk.Tx` now requires a new method `GetMsgsV2()`.
* `sdk.Msg.GetSigners` was deprecated and is no longer supported. Use the `cosmos.msg.v1.signer` protobuf annotation instead.
* `TxConfig` has a new method `SigningContext() *signing.Context`.
* `SigVerifiableTx.GetSigners()` now returns `([][]byte, error)` instead of `[]sdk.AccAddress`.
* `AccountKeeper` now has an `AddressCodec() address.Codec` method and the expected `AccountKeeper` for `x/auth/ante` expects this method.
* [#15211](https://github.com/cosmos/cosmos-sdk/pull/15211) Remove usage of `github.com/cometbft/cometbft/libs/bytes.HexBytes` in favor of `[]byte` thorough the SDK.
* (crypto) [#15070](https://github.com/cosmos/cosmos-sdk/pull/15070) `GenerateFromPassword` and `Cost` from `bcrypt.go` now take a `uint32` instead of a `int` type.
* (types) [#15067](https://github.com/cosmos/cosmos-sdk/pull/15067) Remove deprecated alias from `types/errors`. Use `cosmossdk.io/errors` instead.
* (server) [#15041](https://github.com/cosmos/cosmos-sdk/pull/15041) Refactor how gRPC and API servers are started to remove unnecessary sleeps:
* `api.Server#Start` now accepts a `context.Context`. The caller is responsible for ensuring that the context is canceled such that the API server can gracefully exit. The caller does not need to stop the server.
* To start the gRPC server you must first create the server via `NewGRPCServer`, after which you can start the gRPC server via `StartGRPCServer` which accepts a `context.Context`. The caller is responsible for ensuring that the context is canceled such that the gRPC server can gracefully exit. The caller does not need to stop the server.
* Rename `WaitForQuitSignals` to `ListenForQuitSignals`. Note, this function is no longer blocking. Thus the caller is expected to provide a `context.CancelFunc` which indicates that when a signal is caught, that any spawned processes can gracefully exit.
* Remove `ServerStartTime` constant.
* [#15011](https://github.com/cosmos/cosmos-sdk/pull/15011) All functions that were taking a CometBFT logger, now take `cosmossdk.io/log.Logger` instead.
* (simapp) [#14977](https://github.com/cosmos/cosmos-sdk/pull/14977) Move simulation helpers functions (`AppStateFn` and `AppStateRandomizedFn`) to `testutil/sims`. These takes an extra genesisState argument which is the default state of the app.
* (x/bank) [#14894](https://github.com/cosmos/cosmos-sdk/pull/14894) Allow a human readable denomination for coins when querying bank balances. Added a `ResolveDenom` parameter to `types.QueryAllBalancesRequest`.
* [#14847](https://github.com/cosmos/cosmos-sdk/pull/14847) App and ModuleManager methods `InitGenesis`, `ExportGenesis`, `BeginBlock` and `EndBlock` now also return an error.
* (x/upgrade) [#14764](https://github.com/cosmos/cosmos-sdk/pull/14764) The `x/upgrade` module is extracted to have a separate go.mod file which allows it to be a standalone module.
* (x/auth) [#14758](https://github.com/cosmos/cosmos-sdk/pull/14758) Refactor transaction searching:
* Refactor `QueryTxsByEvents` to accept a `query` of type `string` instead of `events` of type `[]string`
* Refactor CLI methods to accept `--query` flag instead of `--events`
* Pass `prove=false` to Tendermint's `TxSearch` RPC method
* (simulation) [#14751](https://github.com/cosmos/cosmos-sdk/pull/14751) Remove the `MsgType` field from `simulation.OperationInput` struct.
* (store) [#14746](https://github.com/cosmos/cosmos-sdk/pull/14746) Extract Store in its own go.mod and rename the package to `cosmossdk.io/store`.
* (x/nft) [#14725](https://github.com/cosmos/cosmos-sdk/pull/14725) Extract NFT in its own go.mod and rename the package to `cosmossdk.io/x/nft`.
* (x/gov) [#14720](https://github.com/cosmos/cosmos-sdk/pull/14720) Add an expedited field in the gov v1 proposal and `MsgNewMsgProposal`.
* (x/feegrant) [#14649](https://github.com/cosmos/cosmos-sdk/pull/14649) Extract Feegrant in its own go.mod and rename the package to `cosmossdk.io/x/feegrant`.
* (tx) [#14634](https://github.com/cosmos/cosmos-sdk/pull/14634) Move the `tx` go module to `x/tx`.
* (store/streaming)[#14603](https://github.com/cosmos/cosmos-sdk/pull/14603) `StoreDecoderRegistry` moved from store to `types/simulations` this breaks the `AppModuleSimulation` interface.
* (snapshots) [#14597](https://github.com/cosmos/cosmos-sdk/pull/14597) Move `snapshots` to `store/snapshots`, rename and bump proto package to v1.
* (x/staking) [#14590](https://github.com/cosmos/cosmos-sdk/pull/14590) `MsgUndelegateResponse` now includes undelegated amount. `x/staking` module's `keeper.Undelegate` now returns 3 values (completionTime,undelegateAmount,error) instead of 2.
* (crypto/keyring) [#14151](https://github.com/cosmos/cosmos-sdk/pull/14151) Move keys presentation from `crypto/keyring` to `client/keys`
* (baseapp) [#14050](https://github.com/cosmos/cosmos-sdk/pull/14050) Refactor `ABCIListener` interface to accept Go contexts.
* (x/auth) [#13850](https://github.com/cosmos/cosmos-sdk/pull/13850/) Remove `MarshalYAML` methods from module (`x/...`) types.
* (modules) [#13850](https://github.com/cosmos/cosmos-sdk/pull/13850) and [#14046](https://github.com/cosmos/cosmos-sdk/pull/14046) Remove gogoproto stringer annotations. This removes the custom `String()` methods on all types that were using the annotations.
* (x/evidence) [14724](https://github.com/cosmos/cosmos-sdk/pull/14724) Extract Evidence in its own go.mod and rename the package to `cosmossdk.io/x/evidence`.
* (crypto/keyring) [#13734](https://github.com/cosmos/cosmos-sdk/pull/13834) The keyring's `Sign` method now takes a new `signMode` argument. It is only used if the signing key is a Ledger hardware device. You can set it to 0 in all other cases.
* (snapshots) [14048](https://github.com/cosmos/cosmos-sdk/pull/14048) Move the Snapshot package to the store package. This is done in an effort group all storage related logic under one package.
* (signing) [#13701](https://github.com/cosmos/cosmos-sdk/pull/) Add `context.Context` as an argument `x/auth/signing.VerifySignature`.
* (store) [#11825](https://github.com/cosmos/cosmos-sdk/pull/11825) Make extension snapshotter interface safer to use, renamed the util function `WriteExtensionItem` to `WriteExtensionPayload`.
### Client Breaking Changes
* (runtime) [#19040](https://github.com/cosmos/cosmos-sdk/pull/19040) Simplify app config implementation and deprecate `/cosmos/app/v1alpha1/config` query.
* (x/gov) [#17910](https://github.com/cosmos/cosmos-sdk/pull/17910) Remove telemetry for counting votes and proposals. It was incorrectly counting votes. Use alternatives, such as state streaming.
* (abci) [#15845](https://github.com/cosmos/cosmos-sdk/pull/15845) Remove duplicating events in `logs`.
* (abci) [#15845](https://github.com/cosmos/cosmos-sdk/pull/15845) Add `msg_index` to all event attributes to associate events and messages.
* (x/staking) [#15701](https://github.com/cosmos/cosmos-sdk/pull/15701) `HistoricalInfoKey` now has a binary format.
* (store/streaming) [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519/files) State Streaming removed emitting of beginblock, endblock and delivertx in favour of emitting FinalizeBlock.
* (baseapp) [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519/files) BeginBlock & EndBlock events have begin or endblock in the events in order to identify which stage they are emitted from since they are returned to comet as FinalizeBlock events.
* (grpc-web) [#14652](https://github.com/cosmos/cosmos-sdk/pull/14652) Use same port for gRPC-Web and the API server.
### CLI Breaking Changes
* (server) [#18303](https://github.com/cosmos/cosmos-sdk/pull/18303) `appd export` has moved with other genesis commands, use `appd genesis export` instead.
* (perf)[#20490](https://github.com/cosmos/cosmos-sdk/pull/20490) Sims: Replace runsim command with Go stdlib testing. CLI: `Commit` default true, `Lean`, `SimulateEveryOperation`, `PrintAllInvariants`, `DBBackend` params removed
* (client/tx) [#20870](https://github.com/cosmos/cosmos-sdk/pull/20870) Removed `timeout-height` flag replace with `timeout-timestamp` flag for a time based timeout.
* (all) The migration of modules to [AutoCLI](https://docs.cosmos.network/main/core/autocli) led to no changes in UX but a [small change in CLI outputs](https://github.com/cosmos/cosmos-sdk/issues/16651) where results can be nested.
* (all) Query pagination flags have been renamed with the migration to AutoCLI:
* `--reverse` -> `--page-reverse`
* `--offset` -> `--page-offset`
* `--limit` -> `--page-limit`
* `--count-total` -> `--page-count-total`
* (cli) [#17184](https://github.com/cosmos/cosmos-sdk/pull/17184) All json keys returned by the `status` command are now snake case instead of pascal case.
* (server) [#17177](https://github.com/cosmos/cosmos-sdk/pull/17177) Remove `iavl-lazy-loading` configuration.
* (x/gov) [#16987](https://github.com/cosmos/cosmos-sdk/pull/16987) In `<appd> query gov proposals` the proposal status flag have renamed from `--status` to `--proposal-status`. Additionally, that flags now uses the ENUM values: `PROPOSAL_STATUS_DEPOSIT_PERIOD`, `PROPOSAL_STATUS_VOTING_PERIOD`, `PROPOSAL_STATUS_PASSED`, `PROPOSAL_STATUS_REJECTED`, `PROPOSAL_STATUS_FAILED`.
* (x/bank) [#16899](https://github.com/cosmos/cosmos-sdk/pull/16899) With the migration to AutoCLI some bank commands have been split in two:
* Use `total-supply` (or `total`) for querying the total supply and `total-supply-of` for querying the supply of a specific denom.
* Use `denoms-metadata` for querying all denom metadata and `denom-metadata` for querying a specific denom metadata.
* (rosetta) [#16276](https://github.com/cosmos/cosmos-sdk/issues/16276) Rosetta migration to standalone repo.
* (cli) [#15826](https://github.com/cosmos/cosmos-sdk/pull/15826) Remove `<appd> q account` command. Use `<appd> q auth account` instead.
* (cli) [#15299](https://github.com/cosmos/cosmos-sdk/pull/15299) Remove `--amino` flag from `sign` and `multi-sign` commands. Amino `StdTx` has been deprecated for a while. Amino JSON signing still works as expected.
* (x/gov) [#14880](https://github.com/cosmos/cosmos-sdk/pull/14880) Remove `<app> tx gov submit-legacy-proposal cancel-software-upgrade` and `software-upgrade` commands. These commands are now in the `x/upgrade` module and using gov v1. Use `tx upgrade software-upgrade` instead.
* (x/staking) [#14864](https://github.com/cosmos/cosmos-sdk/pull/14864) `<appd> tx staking create-validator` CLI command now takes a json file as an arg instead of using required flags.
* (cli) [#14659](https://github.com/cosmos/cosmos-sdk/pull/14659) `<app> q block <height>` is removed as it just output json. The new command allows either height/hash and is `<app> q block --type=height|hash <height|hash>`.
* (grpc-web) [#14652](https://github.com/cosmos/cosmos-sdk/pull/14652) Remove `grpc-web.address` flag.
* (client) [#14342](https://github.com/cosmos/cosmos-sdk/pull/14342) `<app> config` command is now a sub-command using Confix. Use `<app> config --help` to learn more.
### Bug Fixes
* (server) [#18254](https://github.com/cosmos/cosmos-sdk/pull/18254) Don't hardcode gRPC address to localhost.
* (x/gov) [#18173](https://github.com/cosmos/cosmos-sdk/pull/18173) Gov hooks now return an error and are *blocking* when they fail. Expect for `AfterProposalFailedMinDeposit` and `AfterProposalVotingPeriodEnded` which log the error and continue.
* (x/gov) [#17873](https://github.com/cosmos/cosmos-sdk/pull/17873) Fail any inactive and active proposals that cannot be decoded.
* (x/slashing) [#18016](https://github.com/cosmos/cosmos-sdk/pull/18016) Fixed builder function for missed blocks key (`validatorMissedBlockBitArrayPrefixKey`) in slashing/migration/v4.
* (x/bank) [#18107](https://github.com/cosmos/cosmos-sdk/pull/18107) Add missing keypair of SendEnabled to restore legacy param set before migration.
* (baseapp) [#17769](https://github.com/cosmos/cosmos-sdk/pull/17769) Ensure we respect block size constraints in the `DefaultProposalHandler`'s `PrepareProposal` handler when a nil or no-op mempool is used. We provide a `TxSelector` type to assist in making transaction selection generalized. We also fix a comparison bug in tx selection when `req.maxTxBytes` is reached.
* (mempool) [#17668](https://github.com/cosmos/cosmos-sdk/pull/17668) Fix `PriorityNonceIterator.Next()` nil pointer ref for min priority at the end of iteration.
* (config) [#17649](https://github.com/cosmos/cosmos-sdk/pull/17649) Fix `mempool.max-txs` configuration is invalid in `app.config`.
* (baseapp) [#17518](https://github.com/cosmos/cosmos-sdk/pull/17518) Utilizing voting power from vote extensions (CometBFT) instead of the current bonded tokens (x/staking) to determine if a set of vote extensions are valid.
* (baseapp) [#17251](https://github.com/cosmos/cosmos-sdk/pull/17251) VerifyVoteExtensions and ExtendVote initialize their own contexts/states, allowing VerifyVoteExtensions being called without ExtendVote.
* (x/distribution) [#17236](https://github.com/cosmos/cosmos-sdk/pull/17236) Using "validateCommunityTax" in "Params.ValidateBasic", preventing panic when field "CommunityTax" is nil.
* (x/bank) [#17170](https://github.com/cosmos/cosmos-sdk/pull/17170) Avoid empty spendable error message on send coins.
* (x/group) [#17146](https://github.com/cosmos/cosmos-sdk/pull/17146) Rename x/group legacy ORM package's error codespace from "orm" to "legacy_orm", preventing collisions with ORM's error codespace "orm".
* (types/query) [#16905](https://github.com/cosmos/cosmos-sdk/pull/16905) Collections Pagination now applies proper count when filtering results.
* (x/bank) [#16841](https://github.com/cosmos/cosmos-sdk/pull/16841) Correctly process legacy `DenomAddressIndex` values.
* (x/auth/vesting) [#16733](https://github.com/cosmos/cosmos-sdk/pull/16733) Panic on overflowing and negative EndTimes when creating a PeriodicVestingAccount.
* (x/consensus) [#16713](https://github.com/cosmos/cosmos-sdk/pull/16713) Add missing ABCI param in `MsgUpdateParams`.
* (baseapp) [#16700](https://github.com/cosmos/cosmos-sdk/pull/16700) Fix consensus failure in returning no response to malformed transactions.
* [#16639](https://github.com/cosmos/cosmos-sdk/pull/16639) Make sure we don't execute blocks beyond the halt height.
* (baseapp) [#16613](https://github.com/cosmos/cosmos-sdk/pull/16613) Ensure each message in a transaction has a registered handler, otherwise `CheckTx` will fail.
* (baseapp) [#16596](https://github.com/cosmos/cosmos-sdk/pull/16596) Return error during `ExtendVote` and `VerifyVoteExtension` if the request height is earlier than `VoteExtensionsEnableHeight`.
* (baseapp) [#16259](https://github.com/cosmos/cosmos-sdk/pull/16259) Ensure the `Context` block height is correct after `InitChain` and prior to the second block.
* (x/gov) [#16231](https://github.com/cosmos/cosmos-sdk/pull/16231) Fix Rawlog JSON formatting of proposal_vote option field.* (cli) [#16138](https://github.com/cosmos/cosmos-sdk/pull/16138) Fix snapshot commands panic if snapshot don't exists.
* (x/staking) [#16043](https://github.com/cosmos/cosmos-sdk/pull/16043) Call `AfterUnbondingInitiated` hook for new unbonding entries only and fix `UnbondingDelegation` entries handling. This is a behavior change compared to Cosmos SDK v0.47.x, now the hook is called only for new unbonding entries.
* (types) [#16010](https://github.com/cosmos/cosmos-sdk/pull/16010) Let `module.CoreAppModuleBasicAdaptor` fallback to legacy genesis handling.
* (types) [#15691](https://github.com/cosmos/cosmos-sdk/pull/15691) Make `Coin.Validate()` check that `.Amount` is not nil.
* (x/crypto) [#15258](https://github.com/cosmos/cosmos-sdk/pull/15258) Write keyhash file with permissions 0600 instead of 0555.
* (x/auth) [#15059](https://github.com/cosmos/cosmos-sdk/pull/15059) `ante.CountSubKeys` returns 0 when passing a nil `Pubkey`.
* (x/capability) [#15030](https://github.com/cosmos/cosmos-sdk/pull/15030) Prevent `x/capability` from consuming `GasMeter` gas during `InitMemStore`
* (types/coin) [#14739](https://github.com/cosmos/cosmos-sdk/pull/14739) Deprecate the method `Coin.IsEqual` in favour of `Coin.Equal`. The difference between the two methods is that the first one results in a panic when denoms are not equal. This panic lead to unexpected behavior.
### Deprecated
* (simapp) [#19146](https://github.com/cosmos/cosmos-sdk/pull/19146) Replace `--v` CLI option with `--validator-count`/`-n`.
* (module) [#19370](https://github.com/cosmos/cosmos-sdk/pull/19370) Deprecate `module.Configurator`, use `appmodule.HasMigrations` and `appmodule.HasServices` instead from Core API.
* (types) [#21435](https://github.com/cosmos/cosmos-sdk/pull/21435) The `String()` method on `AccAddress`, `ValAddress` and `ConsAddress` have been deprecated. This is done because those are still using the deprecated global `sdk.Config`. Use an `address.Codec` instead.
* (types) [#16980](https://github.com/cosmos/cosmos-sdk/pull/16980) Deprecate `IntProto` and `DecProto`. Instead, `math.Int` and `math.LegacyDec` should be used respectively. Both types support `Marshal` and `Unmarshal` for binary serialization.
* (x/staking) [#14567](https://github.com/cosmos/cosmos-sdk/pull/14567) The `delegator_address` field of `MsgCreateValidator` has been deprecated.
The validator address bytes and delegator address bytes refer to the same account while creating validator (defer only in bech32 notation).
## Previous Versions
[CHANGELOG of previous versions](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md#v0509---2024-08-07).
[CHANGELOG of previous versions](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md#v0470---2023-03-14).
+14 -19
View File
@@ -7,7 +7,7 @@ This document is an extension to [CONTRIBUTING](./CONTRIBUTING.md) and provides
* Code must be well structured:
* packages must have a limited responsibility (different concerns can go to different packages),
* types must be easy to compose,
* think about maintainability and testability.
* think about maintainbility and testability.
* "Depend upon abstractions, [not] concretions".
* Try to limit the number of methods you are exposing. It's easier to expose something later than to hide it.
* Take advantage of `internal` package concept.
@@ -18,11 +18,11 @@ This document is an extension to [CONTRIBUTING](./CONTRIBUTING.md) and provides
* Minimize code duplication.
* Limit third-party dependencies.
### Performance
Performance:
* Avoid unnecessary operations or memory allocations.
### Security
Security:
* Pay proper attention to exploits involving:
* gas usage
@@ -31,12 +31,6 @@ This document is an extension to [CONTRIBUTING](./CONTRIBUTING.md) and provides
* code must be always deterministic
* Thread safety. If some functionality is not thread-safe, or uses something that is not thread-safe, then clearly indicate the risk on each level.
### Documentation
When writing code that is complex or relies on another piece of the code, it is advised to create a diagram or a flowchart to explain the logic. This will help other developers to understand the code and will also help you to understand the logic better.
The Cosmos SDK uses [Mermaid.js](https://mermaid.js.org/), you can find the documentation on how to use it [here](https://mermaid.js.org/intro/).
## Acceptance tests
Start the design by defining Acceptance Tests. The purpose of Acceptance Testing is to
@@ -47,6 +41,7 @@ and API.
UAT should be revisited at each stage of the product development:
![acceptance-tests.png](./docs/static/img/acceptance-tests.png)
### Why Acceptance Testing
@@ -98,7 +93,7 @@ Make sure your code is well tested:
* Provide unit tests for every unit of your code if possible. Unit tests are expected to comprise 70%-80% of your tests.
* Describe the test scenarios you are implementing for integration tests.
* Create integration tests for queries and msgs.
* Use both test cases and property / fuzzy testing. We use the [rapid](https://github.com/flyingmutant/rapid) Go library for property-based and fuzzy testing.
* Use both test cases and property / fuzzy testing. We use the [rapid](pgregory.net/rapid) Go library for property-based and fuzzy testing.
* Do not decrease code test coverage. Explain in a PR if test coverage is decreased.
We expect tests to use `require` or `assert` rather than `t.Skip` or `t.Fail`,
@@ -107,21 +102,21 @@ When testing a function under a variety of different inputs, we prefer to use
[table driven tests](https://github.com/golang/go/wiki/TableDrivenTests).
Table driven test error messages should follow the following format
`<desc>, tc #<index>, i #<index>`.
`<desc>` is an optional short description of what's failing, `tc` is the
`<desc>` is an optional short description of whats failing, `tc` is the
index within the test case table that is failing, and `i` is when there
is a loop, exactly which iteration of the loop failed.
The idea is you should be able to see the
error message and figure out exactly what failed.
Here is an example check:
```go
<some table>
for tcIndex, tc := range cases {
<some code>
resp, err := doSomething()
require.NoError(err)
require.Equal(t, tc.expected, resp, "should correctly perform X")
```
```go
<some table>
for tcIndex, tc := range cases {
<some code>
resp, err := doSomething()
require.NoError(err)
require.Equal(t, tc.expected, resp, "should correctly perform X")
```
## Quality Assurance
+53 -98
View File
@@ -6,13 +6,9 @@
* [Testing](#testing)
* [Pull Requests](#pull-requests)
* [Pull Request Templates](#pull-request-templates)
* [Pull Request Accountability](#pull-request-accountability)
* [Owner](#owner)
* [Reviewer](#reviewer)
* [External Contributors](#external-contributors)
* [Requesting Reviews](#requesting-reviews)
* [Updating Documentation](#updating-documentation)
* [RFC & ADR](#rfc--adr)
* [RFC & ADR](#RFC & ADR)
* [Dependencies](#dependencies)
* [`go.work`](#gowork)
* [`go.mod`](#gomod)
@@ -24,6 +20,9 @@
* [Strategy Discovery](#strategy-discovery)
* [Concept Approval](#concept-approval)
* [Time Bound Period](#time-bound-period)
* [Approval Committee & Decision Making](#approval-committee--decision-making)
* [Committee Members](#committee-members)
* [Committee Criteria](#committee-criteria)
* [Implementation & Release Approval](#implementation--release-approval)
Thank you for considering making contributions to the Cosmos SDK and related repositories!
@@ -43,38 +42,34 @@ contributors, the general procedure for contributing has been established:
1. Ensure that the proposal has been accepted.
2. Ensure that nobody else has already begun working on this issue. If they have,
make sure to contact them to collaborate.
3. If nobody has been assigned to the issue and you would like to work on it,
3. If nobody has been assigned for the issue and you would like to work on it,
make a comment on the issue to inform the community of your intentions
to begin work.
5. To submit your work as a contribution to the repository follow standard GitHub best practices. See [pull request guideline](#pull-requests) below.
**Note:** For very small or blatantly obvious problems, you are
**Note:** For very small or blatantly obvious problems such as typos, you are
not required to an open issue to submit a PR, but be aware that for more complex
problems/features, if a PR is opened before an adequate design discussion has
taken place in a GitHub issue, that PR runs a high likelihood of being rejected.
**Note 2:** At this time, we will not be accepting contributions that only fix spelling
or grammar errors in documentation, code or elsewhere. The repository has a nightly job that
spell checks all files and will automatically open PRs for any spelling errors.
## Teams Dev Calls
The Cosmos SDK has many stakeholders contributing and shaping the project. The Core SDK team is composed of Binary Builders & Zondax. Any long-term contributors and additional maintainers from other projects are welcome. We use self-organizing principles to coordinate and collaborate across organizations in structured "EPIC" that focus on specific problem domains or architectural components of the Cosmos SDK.
The Cosmos SDK has many stakeholders contributing and shaping the project. The Core SDK team is composed of Interchain GmbH and Regen Network Development developers. Any long-term contributors and additional maintainers from other projects are welcome. We use self-organizing principles to coordinate and collaborate across organizations in structured "EPIC" that focus on specific problem domains or architectural components of the Cosmos SDK.
The developers work in sprints, which are available in a [GitHub Project](https://github.com/orgs/cosmos/projects/26/views/22). The current EPICs are pinned at the top of the [issues list](https://github.com/cosmos/cosmos-sdk/issues).
The important development announcements are shared on [Discord](https://discord.gg/interchain) in the `#dev-announcements` channel.
The important development announcements are shared on [Discord](https://discord.com/invite/cosmosnetwork) in the `#dev-announcements` channel.
To synchronize we have few major meetings:
* Cosmos SDK Standup on Monday and Thursday at 14:00 UTC (limited participation to core devs).
* Cosmos SDK Community Call on the second Thursday of the month at 13:00 UTC.
* Cosmos SDK Sprint Review on Monday and Thursday at 14:00 UTC (limited participation to core devs).
* Cosmos SDK Community Call on Thursday at 16:00 UTC.
If you would like to join one of the community call, then please request to join the [Cosmos SDK Google Group](https://groups.google.com/g/cosmos-sdk-community).
If you would like to join one of the community call, then please contact us on [Discord](https://discord.com/invite/cosmosnetwork) or reach out directly to Marko (@tac0turtle).
## Architecture Decision Records (ADR)
When proposing an architecture decision for the Cosmos SDK, please start by opening an [issue](https://github.com/cosmos/cosmos-sdk/issues/new/choose). Once the proposal has been discussed and there is rough alignment on a high-level approach to the design, the [ADR creation process](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/PROCESS.md) can begin. We are following this process to ensure all involved parties are in agreement before any party begins coding the proposed implementation. If you would like to see examples of how these are written, please refer to the current [ADRs](https://github.com/cosmos/cosmos-sdk/tree/main/docs/architecture).
When proposing an architecture decision for the Cosmos SDK, please start by opening an [issue](https://github.com/cosmos/cosmos-sdk/issues/new/choose) or a [discussion](https://github.com/cosmos/cosmos-sdk/discussions/new) with a summary of the proposal. Once the proposal has been discussed and there is rough alignment on a high-level approach to the design, the [ADR creation process](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/PROCESS.md) can begin. We are following this process to ensure all involved parties are in agreement before any party begins coding the proposed implementation. If you would like to see examples of how these are written, please refer to the current [ADRs](https://github.com/cosmos/cosmos-sdk/tree/main/docs/architecture).
## Development Procedure
@@ -122,74 +117,16 @@ PRs must have a category prefix that is based on the type of changes being made
[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.
Additionally, each PR should only address a single issue.
Pull requests are merged automatically using the automerge functionality of Github.
Pull requests are merged automatically using [`A:automerge` action](https://docs.mergify.com/workflow/automerge/).
NOTE: when merging, GitHub will squash commits and rebase on top of the main.
### Pull Request Templates
There are three PR templates. The [default template](./.github/PULL_REQUEST_TEMPLATE.md) is for types `fix`, `feat`, and `refactor`. We also have a [docs template](./.github/PULL_REQUEST_TEMPLATE/docs.md) for documentation changes. When previewing a PR before it has been opened, you can change the template by adding one of the following parameters to the url:
There are three PR templates. The [default template](./.github/PULL_REQUEST_TEMPLATE.md) is for types `fix`, `feat`, and `refactor`. We also have a [docs template](./.github/PULL_REQUEST_TEMPLATE/docs.md) for documentation changes and an [other template](./.github/PULL_REQUEST_TEMPLATE/other.md) for changes that do not affect production code. When previewing a PR before it has been opened, you can change the template by adding one of the following parameters to the url:
* `template=docs.md`
### Pull Request Accountability
#### Owner
The pull request owner is responsible for ensuring that the PR is ready for review and merging after reviews are delivered. This includes:
* Ensuring that the PR is up to date with the latest changes in the main branch.
* Ensuring that the PR passes all checks.
* Ensuring that the PR has a clear description of the changes.
* Ensuring that the PR has a clear description of the testing strategy.
* Ensuring that the PR has a clear description of the impact of the changes.
* Ensuring that the PR has a clear description of the risks associated with the changes.
* Ensuring that the PR has a clear description of the next steps.
* Ensuring that the PR has a clear description of the dependencies.
The pull request owner is responsible for assigning reviewers on the team, responding to feedback, and ensuring that the PR is merged in a timely manner. If a PR is reviewed, but an approval is not given by the reviewer the pull request owner is responsible for addressing the feedback, ensuring that the PR is ready for review again and notifying the reviewers that the PR is ready for review.
Once approvals have been given by the reviewer(s) it is the responsibility of the pull request owner to merge the PR.
#### Reviewer
Reviewers or other contributors should not merge main into the PR unless discussed with the pull request owner and ownership has been transferred.
The reviewer is responsible for ensuring that the PR meets the following criteria:
##### Code Quality
* *Readability*: Ensure the code is easy to read and understand. Check for clear and concise variable names, appropriate comments, and overall readability.
* *Coding Standards*: Verify adherence to the teams coding standards and style guides. This includes indentation, spacing, naming conventions, and file organization.
* *Code Structure*: Check for proper use of functions, classes, and modules. Ensure the code is organized logically and is modular.
* *Complexity*: Look for complex code that could be simplified. Ensure there are no nested loops.
##### Functionality
* *Correctness*: Verify that the code performs the intended function correctly. Check the logic and ensure that edge cases are handled.
* *Bug Fixes*: Ensure any reported bugs are adequately addressed. Verify that the fixes resolve the issues without introducing new bugs.
* *Feature Implementation*: Confirm that new features are implemented as specified in the requirements or user stories.
##### Testing
* *Test Coverage*: Check that there are sufficient unit tests, integration tests and E2E tests for the new code. Ensure tests cover both normal and edge cases.
* *Test Quality*: Review the quality of the tests. Ensure they are meaningful and not just checking trivial cases.
* *Passing Tests*: Verify that all tests pass, including any new tests added with the PR.
##### Documentation
* *Code* Comments: Ensure there are comments explaining non-obvious parts of the code.
* *API Documentation*: Verify that any new or modified public methods, classes, or modules are properly documented.
* *User Documentation*: Check for updates to user documentation, if the PR includes changes that affect the user experience.
##### Performance
* *Efficiency*: Ensure the code performs efficiently and does not introduce performance bottlenecks.
* *Resource Usage*: Check for appropriate use of resources, such as memory and CPU. Ensure there are no memory leaks or excessive resource consumption.
### External Contributors
External contributors can not manage getting reviewers and assigning reviewers to PRs. When an external contribution requires reviewers, they will be assigned in the team meeting or adhoc based on current workloads. One of the reviewers will be assigned the owner of the PR and will be responsible for ensuring the PR is ready for review and merging after reviews are delivered. The owner has the right to overtake the contribution if the external contributor is not responsive or the PR is not moving forward.
* `template=other.md`
### Requesting Reviews
@@ -202,7 +139,7 @@ that you would like early feedback and tagging whoever you would like to receive
Codeowners are marked automatically as the reviewers.
All PRs require at least two review approvals before they can be merged (one review might be acceptable in
the case of minor changes to [docs](./.github/PULL_REQUEST_TEMPLATE/docs.md) changes that do not affect production code). Each PR template has a reviewers checklist that must be completed before the PR can be merged. Each reviewer is responsible
the case of minor changes to [docs](./.github/PULL_REQUEST_TEMPLATE/docs.md) or [other](./.github/PULL_REQUEST_TEMPLATE/other.md) changes that do not affect production code). Each PR template has a reviewers checklist that must be completed before the PR can be merged. Each reviewer is responsible
for all checked items unless they have indicated otherwise by leaving their handle next to specific
items. In addition, use the following review explanations:
@@ -217,7 +154,6 @@ items. In addition, use the following review explanations:
* If you sat down with the PR submitter and did a pairing review, add this information in the `Approval` or your PR comments.
* If you are only making "surface level" reviews, submit notes as a `comment` review.
### Updating Documentation
If you open a PR on the Cosmos SDK, it is mandatory to update the relevant documentation in `/docs`.
@@ -232,8 +168,8 @@ When writing documentation, follow the [Documentation Writing Guidelines](./docs
Within the Cosmos SDK we have two forms of documenting decisions, Request For Comment (RFC) & Architecture Design Record (ADR). They perform two different functions. The process for assessing if something needs an RFC is located in the respective folders:
* [RFC Process](./docs/rfc/PROCESS.md)
* [ADR Process](./docs/architecture/PROCESS.md)
* [RFC Process](./docs/rfc/process.md)
* [ADR Process](./docs/adr/process.md)
## Dependencies
@@ -248,26 +184,14 @@ get away with telling people they can just `go get` our software.
Since some dependencies are not under our control, a third party may break our
build, in which case we can fall back on `go mod tidy -v`.
### `go.work`
The Cosmos SDK is a multi-module repo, for this reason, the use of a `go.work` file is handy.
We provide a [`go.work.example`](./go.work.example) that contains all the modules used in the SDK.
Do note that contributions modifying multiple Go modules should be submitted as separate PRs, this allows us to tag the changes and avoid `replace`s.
For consistency between our CI and the local tests, `GOWORK=off` is set in the `Makefile`. This means that the `go.work` file is not used when using `make test` or any other `make` command.
### `go.mod`
When extracting a package to its own go modules, some extra steps are required, for keeping our CI checks and Dev UX:
* Add a CHANGELOG.md / README.md under the new package folder
* Add the package in [`labeler.yml`](./.github/pr_labeler.yml)
* Add the package in [`go.work.example`](./go.work.example)
* Add the package in [`labeler.yml`](./.github/labeler.yml)
* Add weekly dependabot checks (see [dependabot.yml](./.github/dependabot.yml))
* Add tests to github workflow [test.yml](.github/workflows/test.yml) (under submodules)
* Configure SonarCloud
* Add `sonar-projects.properties` (see math [sonar-project.properties](./math/sonar-project.properties) for example)
* Add a GitHub Workflow entry for running the scans (see [test.yml](.github/workflows/test.yml))
* Ask the team to add the project to SonarCloud
* (optional) Configure a `cosmossdk.io` vanity url by submitting a PR to [cosmos/vanity](https://github.com/cosmos/vanity).
## Protobuf
@@ -322,11 +246,11 @@ to developers who show an aptitude towards developing with this code base.
Several different kinds of privileges may be granted however most common
privileges to be granted are merge rights to either part of, or the entirety of the
code base (through the GitHub `CODEOWNERS` file). The onboarding process for
code base (through the GitHub `CODEOWNERS` file). The on-boarding process for
new code owners is as follows: On a bi-monthly basis (or more frequently if
agreeable) all the existing code owners will privately convene to discuss
potential new candidates as well as the potential for existing code-owners to
exit or "pass on the torch". This private meeting is to be held as a
exit or "pass on the torch". This private meeting is to be a held as a
phone/video meeting.
Subsequently after the meeting, and pending final approval from the ICF,
@@ -380,12 +304,43 @@ If an individual Pull Request for an ADR needs more time than 2 weeks to reach r
in current state (`Draft` or `Proposed`), with its contents updated to summarize
the current state of its discussion.
If an ADR is taking longer than 4 weeks to reach a final conclusion, there should be a synchronous meeting with reviewers and all stake holders
If an ADR is taking longer than 4 weeks to reach a final conclusion, the **Concept Approval Committee**
should convene to rectify the situation by either:
* unanimously setting a new time bound period for this ADR
* making changes to the Concept Approval Process (as outlined here)
* making changes to the members of the Concept Approval Committee
#### Approval Committee & Decision Making
In absence of general consensus, decision making requires 1/2 vote from the two members
of the **Concept Approval Committee**.
#### Committee Members
* Core Members: **Aaron** (Regen), **Bez** (IG)
#### Committee Criteria
Members must:
* Participate in all or almost all ADR discussions, both on GitHub as well as in bi-weekly Architecture Review
meetings
* Be active contributors to the Cosmos SDK, and furthermore should be continuously making substantial contributions
to the project's codebase, review process, documentation and ADRs
* Have stake in the Cosmos SDK project, represented by:
* Being a client / user of the Comsos SDK
* "[giving back](https://www.debian.org/social_contract)" to the software
* Delegate representation in case of vacation or absence
Code owners need to maintain participation in the process, ideally as members of **Concept Approval Committee**
members, but at the very least as active participants in ADR discussions
Removal criteria:
* Missing 3 meetings results in ICF evaluating whether the member should be removed / replaced
* Violation of Code of Conduct
### Implementation & Release Approval
The following process should be adhered to both for implementation PRs corresponding to ADRs, as
+4 -10
View File
@@ -23,16 +23,10 @@ WORKDIR /go/src/github.com/cosmos/cosmos-sdk
# optimization: if go.sum didn't change, docker will use cached image
COPY go.mod go.sum ./
COPY x/accounts/go.mod x/accounts/go.sum ./x/accounts/
COPY x/protocolpool/go.mod x/protocolpool/go.sum ./x/protocolpool/
COPY x/gov/go.mod x/gov/go.sum ./x/gov/
COPY x/distribution/go.mod x/distribution/go.sum ./x/distribution/
COPY x/slashing/go.mod x/slashing/go.sum ./x/slashing/
COPY x/staking/go.mod x/staking/go.sum ./x/staking/
COPY x/authz/go.mod x/authz/go.sum ./x/authz/
COPY x/bank/go.mod x/bank/go.sum ./x/bank/
COPY x/mint/go.mod x/mint/go.sum ./x/mint/
COPY x/consensus/go.mod x/consensus/go.sum ./x/consensus/
COPY collections/go.mod collections/go.sum ./collections/
COPY store/go.mod store/go.sum ./store/
COPY log/go.mod log/go.sum ./log/
RUN go mod download
# Add source files
+528 -9
View File
@@ -1,17 +1,536 @@
#!/usr/bin/make -f
include scripts/build/linting.mk
include scripts/build/protobuf.mk
include scripts/build/localnet.mk
include scripts/build/simulations.mk
include scripts/build/testing.mk
include scripts/build/documentation.mk
include scripts/build/build.mk
PACKAGES_NOSIMULATION=$(shell go list ./... | grep -v '/simulation')
PACKAGES_SIMTEST=$(shell go list ./... | grep '/simulation')
.DEFAULT_GOAL := help
# Ensure all tags are fetched
VERSION_RAW := $(shell git fetch --tags --force >/dev/null 2>&1; git describe --tags --always --match "v*")
VERSION := $(shell echo $(VERSION_RAW) | sed -E 's/^v?([0-9]+\.[0-9]+\.[0-9]+.*)/\1/')
# Fallback if the version is just a commit hash (not semver-like)
ifeq ($(findstring -,$(VERSION)),) # No "-" means it's just a hash
VERSION := 0.0.0-$(VERSION_RAW)
endif
export VERSION
export CMTVERSION := $(shell go list -m github.com/cometbft/cometbft | sed 's:.* ::')
export COMMIT := $(shell git log -1 --format='%H')
LEDGER_ENABLED ?= true
BINDIR ?= $(GOPATH)/bin
BUILDDIR ?= $(CURDIR)/build
SIMAPP = ./simapp
MOCKS_DIR = $(CURDIR)/tests/mocks
HTTPS_GIT := https://github.com/cosmos/cosmos-sdk.git
DOCKER := $(shell which docker)
PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git)
# process build tags
build_tags = netgo
ifeq ($(LEDGER_ENABLED),true)
ifeq ($(OS),Windows_NT)
GCCEXE = $(shell where gcc.exe 2> NUL)
ifeq ($(GCCEXE),)
$(error gcc.exe not installed for ledger support, please install or set LEDGER_ENABLED=false)
else
build_tags += ledger
endif
else
UNAME_S = $(shell uname -s)
ifeq ($(UNAME_S),OpenBSD)
$(warning OpenBSD detected, disabling ledger support (https://github.com/cosmos/cosmos-sdk/issues/1988))
else
GCC = $(shell command -v gcc 2> /dev/null)
ifeq ($(GCC),)
$(error gcc not installed for ledger support, please install or set LEDGER_ENABLED=false)
else
build_tags += ledger
endif
endif
endif
endif
ifeq (secp,$(findstring secp,$(COSMOS_BUILD_OPTIONS)))
build_tags += libsecp256k1_sdk
endif
ifeq (legacy,$(findstring legacy,$(COSMOS_BUILD_OPTIONS)))
build_tags += app_v1
endif
whitespace :=
whitespace += $(whitespace)
comma := ,
build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags))
# process linker flags
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=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" \
-X github.com/cometbft/cometbft/version.TMCoreSemVer=$(CMTVERSION)
# DB backend selection
ifeq (cleveldb,$(findstring cleveldb,$(COSMOS_BUILD_OPTIONS)))
build_tags += gcc
endif
ifeq (badgerdb,$(findstring badgerdb,$(COSMOS_BUILD_OPTIONS)))
build_tags += badgerdb
endif
# handle rocksdb
ifeq (rocksdb,$(findstring rocksdb,$(COSMOS_BUILD_OPTIONS)))
CGO_ENABLED=1
build_tags += rocksdb
endif
# handle boltdb
ifeq (boltdb,$(findstring boltdb,$(COSMOS_BUILD_OPTIONS)))
build_tags += boltdb
endif
ifeq (,$(findstring nostrip,$(COSMOS_BUILD_OPTIONS)))
ldflags += -w -s
endif
ldflags += $(LDFLAGS)
ldflags := $(strip $(ldflags))
build_tags += $(BUILD_TAGS)
build_tags := $(strip $(build_tags))
BUILD_FLAGS := -tags "$(build_tags)" -ldflags '$(ldflags)'
# check for nostrip option
ifeq (,$(findstring nostrip,$(COSMOS_BUILD_OPTIONS)))
BUILD_FLAGS += -trimpath
endif
# Check for debug option
ifeq (debug,$(findstring debug,$(COSMOS_BUILD_OPTIONS)))
BUILD_FLAGS += -gcflags "all=-N -l"
endif
all: tools build lint test vulncheck
###############################################################################
### Build ###
###############################################################################
BUILD_TARGETS := build install
build: BUILD_ARGS=-o $(BUILDDIR)/
build-linux-amd64:
GOOS=linux GOARCH=amd64 LEDGER_ENABLED=false $(MAKE) build
build-linux-arm64:
GOOS=linux GOARCH=arm64 LEDGER_ENABLED=false $(MAKE) build
$(BUILD_TARGETS): go.sum $(BUILDDIR)/
cd ${CURRENT_DIR}/simapp && go $@ -mod=readonly $(BUILD_FLAGS) $(BUILD_ARGS) ./...
$(BUILDDIR)/:
mkdir -p $(BUILDDIR)/
cosmovisor:
$(MAKE) -C tools/cosmovisor cosmovisor
confix:
$(MAKE) -C tools/confix confix
hubl:
$(MAKE) -C tools/hubl hubl
.PHONY: build build-linux-amd64 build-linux-arm64 cosmovisor confix
#? mocks: Generate mock file
mocks: $(MOCKS_DIR)
@go install go.uber.org/mock/mockgen@v0.5.0
sh ./scripts/mockgen.sh
.PHONY: mocks
vulncheck: $(BUILDDIR)/
GOBIN=$(BUILDDIR) go install golang.org/x/vuln/cmd/govulncheck@latest
$(BUILDDIR)/govulncheck ./...
$(MOCKS_DIR):
mkdir -p $(MOCKS_DIR)
distclean: clean tools-clean
clean:
rm -rf \
$(BUILDDIR)/ \
artifacts/ \
tmp-swagger-gen/ \
.testnets
.PHONY: distclean clean
###############################################################################
### Tools & Dependencies ###
###############################################################################
#? go.sum: Run go mod tidy and ensure dependencies have not been modified.
go.sum: go.mod
echo "Ensure dependencies have not been modified ..." >&2
go mod verify
go mod tidy
###############################################################################
### Documentation ###
###############################################################################
godocs:
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/cosmos-sdk/types"
go install golang.org/x/tools/cmd/godoc@latest
godoc -http=:6060
build-docs:
@cd docs && DOCS_DOMAIN=docs.cosmos.network sh ./build-all.sh
.PHONY: build-docs
###############################################################################
### Tests & Simulation ###
###############################################################################
# make init-simapp initializes a single local node network
# it is useful for testing and development
# Usage: make install && make init-simapp && simd start
# Warning: make init-simapp will remove all data in simapp home directory
init-simapp:
./scripts/init-simapp.sh
test: test-unit
test-e2e:
$(MAKE) -C tests test-e2e
test-e2e-cov:
$(MAKE) -C tests test-e2e-cov
test-integration:
$(MAKE) -C tests test-integration
test-integration-cov:
$(MAKE) -C tests test-integration-cov
test-all: test-unit test-e2e test-integration test-ledger-mock test-race
TEST_PACKAGES=./...
TEST_TARGETS := test-unit test-unit-amino test-unit-proto test-ledger-mock test-race test-ledger test-race
# Test runs-specific rules. To add a new test target, just add
# a new rule, customise ARGS or TEST_PACKAGES ad libitum, and
# append the new rule to the TEST_TARGETS list.
test-unit: test_tags += cgo ledger test_ledger_mock norace
test-unit-amino: test_tags += ledger test_ledger_mock test_amino norace
test-ledger: test_tags += cgo ledger norace
test-ledger-mock: test_tags += ledger test_ledger_mock norace
test-race: test_tags += cgo ledger test_ledger_mock
test-race: ARGS=-race
test-race: TEST_PACKAGES=$(PACKAGES_NOSIMULATION)
$(TEST_TARGETS): run-tests
# check-* compiles and collects tests without running them
# note: go test -c doesn't support multiple packages yet (https://github.com/golang/go/issues/15513)
CHECK_TEST_TARGETS := check-test-unit check-test-unit-amino
check-test-unit: test_tags += cgo ledger test_ledger_mock norace
check-test-unit-amino: test_tags += ledger test_ledger_mock test_amino norace
$(CHECK_TEST_TARGETS): EXTRA_ARGS=-run=none
$(CHECK_TEST_TARGETS): run-tests
ARGS += -tags "$(test_tags)"
SUB_MODULES = $(shell find . -type f -name 'go.mod' -print0 | xargs -0 -n1 dirname | sort | grep -v './tests/systemtests')
CURRENT_DIR = $(shell pwd)
run-tests:
@(cd store/streaming/abci/examples/file && go build .)
ifneq (,$(shell which tparse 2>/dev/null))
@echo "Starting unit tests"; \
finalec=0; \
for module in $(SUB_MODULES); do \
cd ${CURRENT_DIR}/$$module; \
echo "Running unit tests for $$(grep '^module' go.mod)"; \
go test -mod=readonly -json $(ARGS) $(TEST_PACKAGES) ./... | tparse; \
ec=$$?; \
if [ "$$ec" -ne '0' ]; then finalec=$$ec; fi; \
done; \
exit $$finalec
else
@echo "Starting unit tests"; \
finalec=0; \
for module in $(SUB_MODULES); do \
cd ${CURRENT_DIR}/$$module; \
echo "Running unit tests for $$(grep '^module' go.mod)"; \
go test -mod=readonly $(ARGS) $(TEST_PACKAGES) ./... ; \
ec=$$?; \
if [ "$$ec" -ne '0' ]; then finalec=$$ec; fi; \
done; \
exit $$finalec
endif
.PHONY: run-tests test test-all $(TEST_TARGETS)
test-sim-nondeterminism:
@echo "Running non-determinism test..."
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout=30m -tags='sims' -run TestAppStateDeterminism \
-NumBlocks=100 -BlockSize=200 -Period=0
# Requires an exported plugin. See store/streaming/README.md for documentation.
#
# example:
# export COSMOS_SDK_ABCI_V1=<path-to-plugin-binary>
# make test-sim-nondeterminism-streaming
#
# Using the built-in examples:
# export COSMOS_SDK_ABCI_V1=<path-to-sdk>/store/streaming/abci/examples/file/file
# make test-sim-nondeterminism-streaming
test-sim-nondeterminism-streaming:
@echo "Running non-determinism-streaming test..."
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout=30m -tags='sims' -run TestAppStateDeterminism \
-NumBlocks=100 -BlockSize=200 -Period=0 -EnableStreaming=true
test-sim-custom-genesis-fast:
@echo "Running custom genesis simulation..."
@echo "By default, ${HOME}/.simapp/config/genesis.json will be used."
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout=30m -tags='sims' -run TestFullAppSimulation -Genesis=${HOME}/.simapp/config/genesis.json \
-NumBlocks=100 -BlockSize=200 -Seed=99 -Period=5 -SigverifyTx=false
test-sim-import-export:
@echo "Running application import/export simulation. This may take several minutes..."
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout 20m -tags='sims' -run TestAppImportExport \
-NumBlocks=50 -Period=5
test-sim-after-import:
@echo "Running application simulation-after-import. This may take several minutes..."
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout 30m -tags='sims' -run TestAppSimulationAfterImport \
-NumBlocks=50 -Period=5
test-sim-custom-genesis-multi-seed:
@echo "Running multi-seed custom genesis simulation..."
@echo "By default, ${HOME}/.simapp/config/genesis.json will be used."
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout 30m -tags='sims' -run TestFullAppSimulation -Genesis=${HOME}/.simapp/config/genesis.json \
-NumBlocks=400 -Period=5
test-sim-multi-seed-long:
@echo "Running long multi-seed application simulation. This may take awhile!"
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout=1h -tags='sims' -run TestFullAppSimulation \
-NumBlocks=500 -Period=50
test-sim-multi-seed-short:
@echo "Running short multi-seed application simulation. This may take awhile!"
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -timeout 30m -tags='sims' -run TestFullAppSimulation \
-NumBlocks=50 -Period=10
.PHONY: \
test-sim-nondeterminism \
test-sim-nondeterminism-streaming \
test-sim-custom-genesis-fast \
test-sim-import-export \
test-sim-after-import \
test-sim-custom-genesis-multi-seed \
test-sim-multi-seed-short \
test-sim-multi-seed-long
SIM_NUM_BLOCKS ?= 500
SIM_BLOCK_SIZE ?= 200
SIM_COMMIT ?= true
#? test-sim-fuzz: Run fuzz test for simapp
test-sim-fuzz:
@echo "Running application fuzz for numBlocks=2, blockSize=20. This may take awhile!"
#ld flags are a quick fix to make it work on current osx
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -json -tags='sims' -ldflags="-extldflags=-Wl,-ld_classic" -timeout=60m -fuzztime=60m -run=^$$ -fuzz=FuzzFullAppSimulation -GenesisTime=1714720615 -NumBlocks=2 -BlockSize=20
#? test-sim-benchmark: Run benchmark test for simapp
test-sim-benchmark:
@echo "Running application benchmark for numBlocks=$(SIM_NUM_BLOCKS), blockSize=$(SIM_BLOCK_SIZE). This may take awhile!"
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -tags='sims' -run=^$$ $(.) -bench ^BenchmarkFullAppSimulation$$ \
-NumBlocks=$(SIM_NUM_BLOCKS) -BlockSize=$(SIM_BLOCK_SIZE) -Commit=$(SIM_COMMIT) -Seed=57 -timeout 30m
# Requires an exported plugin. See store/streaming/README.md for documentation.
#
# example:
# export COSMOS_SDK_ABCI_V1=<path-to-plugin-binary>
# make test-sim-benchmark-streaming
#
# Using the built-in examples:
# export COSMOS_SDK_ABCI_V1=<path-to-sdk>/store/streaming/abci/examples/file/file
# make test-sim-benchmark-streaming
test-sim-benchmark-streaming:
@echo "Running application benchmark for numBlocks=$(SIM_NUM_BLOCKS), blockSize=$(SIM_BLOCK_SIZE). This may take awhile!"
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -run=^$$ $(.) -bench ^BenchmarkFullAppSimulation$$ \
-NumBlocks=$(SIM_NUM_BLOCKS) -BlockSize=$(SIM_BLOCK_SIZE) -Commit=$(SIM_COMMIT) -timeout 24h -EnableStreaming=true
test-sim-profile:
@echo "Running application benchmark for numBlocks=$(SIM_NUM_BLOCKS), blockSize=$(SIM_BLOCK_SIZE). This may take awhile!"
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -benchmem -run=^$$ $(.) -bench ^BenchmarkFullAppSimulation$$ \
-NumBlocks=$(SIM_NUM_BLOCKS) -BlockSize=$(SIM_BLOCK_SIZE) -Commit=$(SIM_COMMIT) -timeout 24h -cpuprofile cpu.out -memprofile mem.out
# Requires an exported plugin. See store/streaming/README.md for documentation.
#
# example:
# export COSMOS_SDK_ABCI_V1=<path-to-plugin-binary>
# make test-sim-profile-streaming
#
# Using the built-in examples:
# export COSMOS_SDK_ABCI_V1=<path-to-sdk>/store/streaming/abci/examples/file/file
# make test-sim-profile-streaming
test-sim-profile-streaming:
@echo "Running application benchmark for numBlocks=$(SIM_NUM_BLOCKS), blockSize=$(SIM_BLOCK_SIZE). This may take awhile!"
@cd ${CURRENT_DIR}/simapp && go test -failfast -mod=readonly -benchmem -run=^$$ $(.) -bench ^BenchmarkFullAppSimulation$$ \
-NumBlocks=$(SIM_NUM_BLOCKS) -BlockSize=$(SIM_BLOCK_SIZE) -Commit=$(SIM_COMMIT) -timeout 24h -cpuprofile cpu.out -memprofile mem.out -EnableStreaming=true
.PHONY: test-sim-profile test-sim-benchmark test-sim-fuzz
benchmark:
@go test -mod=readonly -bench=. $(PACKAGES_NOSIMULATION)
.PHONY: benchmark
###############################################################################
### Linting ###
###############################################################################
golangci_version=v2.1.6
lint-install:
@echo "--> Installing golangci-lint $(golangci_version)"
@go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$(golangci_version)
lint:
@echo "--> Running linter on all files"
$(MAKE) lint-install
@./scripts/go-lint-all.bash --timeout=15m
lint-fix:
@echo "--> Running linter"
$(MAKE) lint-install
@./scripts/go-lint-all.bash --fix
.PHONY: lint lint-fix
###############################################################################
### Protobuf ###
###############################################################################
protoVer=0.16.0
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)
proto-all: proto-format proto-lint proto-gen
proto-gen:
@echo "Generating Protobuf files"
@$(protoImage) sh ./scripts/protocgen.sh
proto-swagger-gen:
@echo "Generating Protobuf Swagger"
@$(protoImage) sh ./scripts/protoc-swagger-gen.sh
proto-format:
@$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \;
proto-lint:
@$(protoImage) buf lint --error-format=json
proto-check-breaking:
@$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=main
CMT_URL = https://raw.githubusercontent.com/cometbft/cometbft/v0.38.0/proto/tendermint
CMT_CRYPTO_TYPES = proto/tendermint/crypto
CMT_ABCI_TYPES = proto/tendermint/abci
CMT_TYPES = proto/tendermint/types
CMT_VERSION = proto/tendermint/version
CMT_LIBS = proto/tendermint/libs/bits
CMT_P2P = proto/tendermint/p2p
proto-update-deps:
@echo "Updating Protobuf dependencies"
@mkdir -p $(CMT_ABCI_TYPES)
@curl -sSL $(CMT_URL)/abci/types.proto > $(CMT_ABCI_TYPES)/types.proto
@mkdir -p $(CMT_VERSION)
@curl -sSL $(CMT_URL)/version/types.proto > $(CMT_VERSION)/types.proto
@mkdir -p $(CMT_TYPES)
@curl -sSL $(CMT_URL)/types/types.proto > $(CMT_TYPES)/types.proto
@curl -sSL $(CMT_URL)/types/evidence.proto > $(CMT_TYPES)/evidence.proto
@curl -sSL $(CMT_URL)/types/params.proto > $(CMT_TYPES)/params.proto
@curl -sSL $(CMT_URL)/types/validator.proto > $(CMT_TYPES)/validator.proto
@curl -sSL $(CMT_URL)/types/block.proto > $(CMT_TYPES)/block.proto
@mkdir -p $(CMT_CRYPTO_TYPES)
@curl -sSL $(CMT_URL)/crypto/proof.proto > $(CMT_CRYPTO_TYPES)/proof.proto
@curl -sSL $(CMT_URL)/crypto/keys.proto > $(CMT_CRYPTO_TYPES)/keys.proto
@mkdir -p $(CMT_LIBS)
@curl -sSL $(CMT_URL)/libs/bits/types.proto > $(CMT_LIBS)/types.proto
@mkdir -p $(CMT_P2P)
@curl -sSL $(CMT_URL)/p2p/types.proto > $(CMT_P2P)/types.proto
$(DOCKER) run --rm -v $(CURDIR)/proto:/workspace --workdir /workspace $(protoImageName) buf mod update
.PHONY: proto-all proto-gen proto-swagger-gen proto-format proto-lint proto-check-breaking proto-update-deps
###############################################################################
### Localnet ###
###############################################################################
localnet-build-env:
$(MAKE) -C contrib/images simd-env
localnet-build-dlv:
$(MAKE) -C contrib/images simd-dlv
localnet-build-nodes:
$(DOCKER) run --rm -v $(CURDIR)/.testnets:/data cosmossdk/simd \
testnet init-files --validator-count 4 -o /data --starting-ip-address 192.168.10.2 --keyring-backend=test
docker compose up -d
localnet-stop:
docker compose down
# localnet-start will run a 4-node testnet locally. The nodes are
# based off the docker images in: ./contrib/images/simd-env
localnet-start: localnet-stop localnet-build-env localnet-build-nodes
# localnet-debug will run a 4-node testnet locally in debug mode
# you can read more about the debug mode here: ./contrib/images/simd-dlv/README.md
localnet-debug: localnet-stop localnet-build-dlv localnet-build-nodes
.PHONY: localnet-start localnet-stop localnet-debug localnet-build-env localnet-build-dlv localnet-build-nodes
test-system: build-v50 build
mkdir -p ./tests/systemtests/binaries/
cp $(BUILDDIR)/simd ./tests/systemtests/binaries/
mkdir -p ./tests/systemtests/binaries/v0.50
mv $(BUILDDIR)/simdv50 ./tests/systemtests/binaries/v0.50/simd
$(MAKE) -C tests/systemtests test
.PHONY: test-system
# build-v50 checks out the v0.50.x branch, builds the binary, and renames it to simdv50.
build-v50:
@echo "Starting v50 build process..."
git_status=$$(git status --porcelain) && \
has_changes=false && \
if [ -n "$$git_status" ]; then \
echo "Stashing uncommitted changes..." && \
git stash push -m "Temporary stash for v50 build" && \
has_changes=true; \
else \
echo "No changes to stash"; \
fi && \
echo "Saving current reference..." && \
CURRENT_REF=$$(git symbolic-ref --short HEAD 2>/dev/null || git rev-parse HEAD) && \
echo "Checking out release branch..." && \
git checkout release/v0.50.x && \
echo "Building v50 binary..." && \
make build && \
mv build/simd build/simdv50 && \
echo "Returning to original branch..." && \
if [ "$$CURRENT_REF" = "HEAD" ]; then \
git checkout $$(git rev-parse HEAD); \
else \
git checkout $$CURRENT_REF; \
fi && \
if [ "$$has_changes" = "true" ]; then \
echo "Reapplying stashed changes..." && \
git stash pop || echo "Warning: Could not pop stash, your changes may be in the stash list"; \
else \
echo "No changes to reapply"; \
fi
.PHONY: build-v50
+17 -57
View File
@@ -2,7 +2,7 @@
<h1> Cosmos SDK </h1>
</div>
![banner](https://github.com/cosmos/cosmos-sdk-docs/blob/main/static/img/banner.jpg)
![banner](docs/static/img/banner.jpg)
<div align="center">
<a href="https://github.com/cosmos/cosmos-sdk/blob/main/LICENSE">
@@ -14,95 +14,55 @@
<a href="https://goreportcard.com/report/github.com/cosmos/cosmos-sdk">
<img alt="Go report card" src="https://goreportcard.com/badge/github.com/cosmos/cosmos-sdk" />
</a>
<a href="https://sonarcloud.io/summary/overall?id=cosmos_cosmos-sdk">
<img alt="Code Coverage" src="https://sonarcloud.io/api/project_badges/measure?project=cosmos_cosmos-sdk&metric=coverage" />
</a>
<a href="https://sonarcloud.io/summary/overall?id=cosmos_cosmos-sdk">
<img alt="SonarCloud Analysis" src="https://sonarcloud.io/api/project_badges/measure?project=cosmos_cosmos-sdk&metric=alert_status">
</a>
</div>
<div align="center">
<a href="https://discord.gg/interchain">
<a href="https://discord.gg/AzefAFd">
<img alt="Discord" src="https://img.shields.io/discord/669268347736686612.svg" />
</a>
<a href="https://sourcegraph.com/github.com/cosmos/cosmos-sdk?badge">
<img alt="Imported by" src="https://sourcegraph.com/github.com/cosmos/cosmos-sdk/-/badge.svg" />
</a>
<img alt="Sims" src="https://github.com/cosmos/cosmos-sdk/workflows/Sims/badge.svg" />
<img alt="Lint Status" src="https://github.com/cosmos/cosmos-sdk/workflows/Lint/badge.svg" />
<img alt="Lint Satus" src="https://github.com/cosmos/cosmos-sdk/workflows/Lint/badge.svg" />
</div>
The Cosmos SDK is a framework for building blockchain applications. [CometBFT (BFT Consensus)](https://github.com/cometbft/cometbft) and the Cosmos SDK are written in the Go programming language. Cosmos SDK is used to build [Gaia](https://github.com/cosmos/gaia), the implementation of the Cosmos Hub.
**Note**: Always use the latest maintained [Go](https://go.dev/dl) version for building Cosmos SDK applications.
**WARNING**: The Cosmos SDK has mostly stabilized, but we are still making some breaking changes.
**Note**: We advise to always use the latest maintained [Go](https://go.dev/dl) version for building Cosmos SDK applications.
## Quick Start
To learn how the Cosmos SDK works from a high-level perspective, see the Cosmos SDK [High-Level Intro](https://docs.cosmos.network/v0.50/learn/intro/overview).
To learn how the Cosmos SDK works from a high-level perspective, see the Cosmos SDK [High-Level Intro](https://docs.cosmos.network/main/intro/overview).
If you want to get started quickly and learn how to build on top of Cosmos SDK, visit [Cosmos SDK Tutorials](https://tutorials.cosmos.network). You can also fork the tutorial's repository to get started building your own Cosmos SDK application.
For more information, see the [Cosmos SDK Documentation](https://docs.cosmos.network).
## Modules
The Cosmos SDK maintains a set of modules that can be included in your blockchain application. For more information
on modules, see our [introduction doc](./x/README.md).
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md) for details on how to contribute and participate in our [dev calls](./CONTRIBUTING.md#teams-dev-calls).
If you want to follow the updates or learn more about the latest design then join our [Discord](https://discord.gg/interchain).
If you want to follow the updates or learn more about the latest design then join our [Discord](https://discord.com/invite/cosmosnetwork).
## Tools and Frameworks
The Cosmos ecosystem is vast.
[Awesome Cosmos](https://github.com/cosmos/awesome-cosmos) is a community-curated list of notable frameworks, modules and tools.
### Cosmos Hub Mainnet
The Cosmos Hub application, `gaia`, has its own [cosmos/gaia repository](https://github.com/cosmos/gaia). Go there to join the Cosmos Hub mainnet and more.
### Inter-Blockchain Communication (IBC)
The IBC module for the Cosmos SDK has its own [cosmos/ibc-go repository](https://github.com/cosmos/ibc-go). Go there to build and integrate with the IBC module.
### Version Matrix
The version matrix below shows which versions of the Cosmos SDK, modules and libraries are compatible with each other.
#### Core Dependencies
Core dependencies are the core libraries that an application may depend on.
Core dependencies not mentioned here as compatible across all maintained SDK versions.
See an exhaustive list of core dependencies at [cosmossdk.io](https://cosmossdk.io).
| Version | 0.52.z | 0.50.z | 0.47.z |
|--------------------------|-----------|----------------|---------|
| cosmossdk.io/core | 1.y.z | 0.11.z | 0.5.z |
| cosmossdk.io/api | 0.8.z | 0.7.z | 0.3.z |
| cosmossdk.io/x/tx | 1.y.z | < 1.y.z | N/A |
| cosmossdk.io/store | >= 1.10.z | 1.0.0 >= 1.9.z | N/A |
| cosmossdk.io/collections | 1.y.z | < 1.y.z | < 1.y.z |
#### Module Dependencies
Module Dependencies are the modules that an application may depend on and which version of the Cosmos SDK they are compatible with.
> Note: The version table only goes back to 0.50.x, as modules started to become modular with 0.50.z.
> X signals that the module was not spun out into its own go.mod file.
> N/A signals that the module was not available in the Cosmos SDK at that time.
| Cosmos SDK | 0.52.z | 0.50.z |
|-----------------------------|--------|--------|
| cosmossdk.io/x/accounts | 0.2.z | N/A |
| cosmossdk.io/x/bank | 0.2.z | X |
| cosmossdk.io/x/circuit | 0.2.z | 0.1.z |
| cosmossdk.io/x/consensus | 0.2.z | X |
| cosmossdk.io/x/distribution | 0.2.z | X |
| cosmossdk.io/x/epochs | 0.2.z | N/A |
| cosmossdk.io/x/evidence | 0.2.z | 0.1.z |
| cosmossdk.io/x/feegrant | 0.2.z | 0.1.z |
| cosmossdk.io/x/gov | 0.2.z | X |
| cosmossdk.io/x/group | 0.2.z | X |
| cosmossdk.io/x/mint | 0.2.z | X |
| cosmossdk.io/x/nft | 0.2.z | 0.1.z |
| cosmossdk.io/x/protocolpool | 0.2.z | N/A |
| cosmossdk.io/x/slashing | 0.2.z | X |
| cosmossdk.io/x/staking | 0.2.z | X |
| cosmossdk.io/x/upgrade | 0.2.z | 0.1.z |
## Disambiguation
This Cosmos SDK project is not related to the [React-Cosmos](https://github.com/react-cosmos/react-cosmos) project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.
-29
View File
@@ -1,29 +0,0 @@
# Releases
The Cosmos-SDK follows both [0ver](https://0ver.org/) and [Semver](https://semver.org/). While this is confusing let's break it down: 0ver is used for the main Cosmos-SDK dependency (`github.com/cosmos/cosmos-sdk`) and Semver is used for all other dependencies.
## Semver Dependencies
Although we adhere to semantic versioning (semver), we have introduced a few modifications to accommodate the unique characteristics of blockchains. One significant divergence is that the major version (Y.x.x) is incremented solely when a consensus-breaking change occurs. On the other hand, the minor version (x.Y.x) is increased when there is a non-consensus-breaking alteration that also results in an incompatible API change. Patch versions will be bumped for all other changes that don't break the API nor Consensus.
```mermaid
flowchart TD
A[Change] --> B{Consensus Breaking?}
B -->|Yes| C[Increase Major Version]
B -->|No| D{API Breaking?}
D -->|Yes| E[Increase Minor Version]
D -->|No| F[Increase Patch Version]
```
## 0ver Dependencies
In terms of the Cosmos-SDK dependency, we adhere to a simpler versioning approach known as 0ver. This flow differs from the previous Semver flow. Under this system, when a consensus-breaking change or an API-breaking change occurs, the Cosmos-SDK team increments the minor version (x.Y.x). Conversely, when a non-consensus-breaking change and a non-API-breaking change take place, the team bumps the patch version (x.x.Y).
```mermaid
flowchart TD
A[Change] --> B{Consensus Breaking?}
B -->|Yes| C[Increase Minor Version]
B -->|No| D{API Breaking?}
D -->|Yes| E[Increase Minor Version]
D -->|No| F[Increase Patch Version]
```
+6 -17
View File
@@ -1,22 +1,11 @@
# Cosmos SDK v0.52.0-rc.2 Release Notes
# Cosmos SDK v0.53.4 Release Notes
This second release canditate include bug fixes found during integration.
Additionally, it bumps the SDK dependencies to their final release:
## 🚀 Highlights
* cosmossdk.io/core v1.0.0
* cosmossdk.io/collection v1.0.0
* cosmossdk.io/schema v1.0.0
* cosmossdk.io/x/tx v1.0.0
This patch release includes minor dependency and non-breaking functionality additions.
Modules remained stable and nothing has changed since their first release candidate.
We encourage chains to already start integrating with this release candidate as APIs are stable.
This is fully API and state-compatible with all v0.53.x releases.
Cosmos SDK Olympus is the first totally modular (as in package) release of the Cosmos SDK. Many components have been extracted in their own modules. Refer to the [version matrix](https://github.com/cosmos/cosmos-sdk?tab=readme-ov-file#version-matrix) to understand what it means.
## 📝 Changelog
A final release is expected in the coming **days**.
Please see the [CHANGELOG](https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/CHANGELOG.md) for an exhaustive list of changes.
Refer to the [UPGRADING.md](https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/UPGRADING.md) for upgrading your application.
Full Commit History: https://github.com/cosmos/cosmos-sdk/compare/v0.52.0-rc.1...v0.52.0-rc.
`v0.50..v0.52`: https://github.com/cosmos/cosmos-sdk/compare/release/v0.50.x...release/v0.52.x
Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.53.4/CHANGELOG.md) for an exhaustive list of changes or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/v0.53.3...v0.53.4) from the last release.
+22 -43
View File
@@ -20,7 +20,7 @@ v1.0.0-beta1 → v1.0.0-beta2 → ... → v1.0.0-rc1 → v1.0.0-rc2 → ... →
* perform functional tests
* add more tests
* release new beta version as the bugs are discovered and fixed.
* After the team feels that the `main` works fine we create a `release/vY` branch (going forward known as release branch), where `Y` is the version number, with the patch part substituted to `x` (eg: 0.42.x, 1.0.x). Ensure the release branch is protected so that pushes against the release branch are permitted only by the release manager or release coordinator.
* After the team feels that the `main` works fine we create a `release/vY` branch (going forward known a release branch), where `Y` is the version number, with the patch part substituted to `x` (eg: 0.42.x, 1.0.x). Ensure the release branch is protected so that pushes against the release branch are permitted only by the release manager or release coordinator.
* **PRs targeting this branch can be merged _only_ when exceptional circumstances arise**
* update the GitHub mergify integration by adding instructions for automatically backporting commits from `main` to the `release/vY` using the `backport/Y` label.
* In the release branch prepare a new version section in the `CHANGELOG.md`
@@ -29,12 +29,11 @@ v1.0.0-beta1 → v1.0.0-beta2 → ... → v1.0.0-rc1 → v1.0.0-rc2 → ... →
* Create release notes, in `RELEASE_NOTES.md`, highlighting the new features and changes in the version. This is needed so the bot knows which entries to add to the release page on GitHub.
* Additionally verify that the `UPGRADING.md` file is up to date and contains all the necessary information for upgrading to the new version.
* Remove GitHub workflows that should not be in the release branch
* `test.yml`: All standalone go module tests should be removed (expect `./simapp`, and `./tests`, SDK and modules tests).
* `deploy-docs.yml`: must be removed to avoid duplicate documentation deployment.
* `test.yml`: All standalone go module tests should be removed (expect `./simapp`, and `./tests` and SDK tests).
* These packages are tracked and tested directly on main.
* `build.yml`: Only the SDK and SimApp need to be built on release branches.
* `build.yml`: Only the SDK and SimApp needs to be built on release branches.
* Tooling is tracked and tested directly on main.
* This does not apply for tooling depending on the SDK (e.g. `confix`)
* Update `Dockerfile` to not use latest go.mod and go.sum files.
* Create a new annotated git tag for a release candidate (eg: `git tag -a v1.1.0-rc1`) in the release branch.
* from this point we unfreeze main.
* the SDK teams collaborate and do their best to run testnets in order to validate the release.
@@ -46,7 +45,12 @@ v1.0.0-beta1 → v1.0.0-beta2 → ... → v1.0.0-rc1 → v1.0.0-rc2 → ... →
* create a new annotated git tag (eg `git -a v1.1.0`) in the release branch.
* Create a GitHub release.
See the [Releases document](./RELEASES.md) for more information on the versioning scheme.
Following _semver_ philosophy, point releases after `v1.0`:
* must not break API
* can break consensus
Before `v1.0`, point release can break both point API and consensus.
## Patch Release Procedure
@@ -66,7 +70,7 @@ After the release branch has all commits required for the next patch release:
* Update `CHANGELOG.md` and `RELEASE_NOTES.md` (if applicable).
* Create a new annotated git tag (eg `git -a v1.1.0`) in the release branch.
* If the release is a submodule update, first go to the submodule folder and name the tag prepending the path to the version:
* If the release is a submodule update, first go the submodule folder and name the tag prepending the path to the version:
`cd core && git -a core/v1.1.0` or `cd tools/cosmovisor && git -a tools/cosmovisor/v1.4.0`
* Create a GitHub release (if applicable).
@@ -77,8 +81,8 @@ Major Release series is maintained in compliance with the **Stable Release Polic
Only the following major release series have a stable release status:
* **0.47** is the previous major release and is supported until the release of **0.52.0**. A fairly strict **bugfix-only** rule applies to pull requests that are requested to be included into a not latest stable point-release.
* **0.50** is the last major release and is supported until the release of **0.54.0**.
* **0.46** is the previous major release and is supported until the release of **0.50.0**. A fairly strict **bugfix-only** rule applies to pull requests that are requested to be included into a not latest stable point-release.
* **0.47** is the last major release and is supported until the release of **0.51.0**.
The SDK team maintains the last two major releases, any other major release is considered to have reached end of life.
The SDK team will not backport any bug fixes to releases that are not supported.
@@ -138,7 +142,7 @@ See the SDK's policy on migrations [here](https://docs.cosmos.network/main/migra
* State machine changes.
* Breaking changes in Protobuf definitions, as specified in [ADR-044](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-044-protobuf-updates-guidelines.md).
* Changes that introduce API breakages (e.g. public functions and interfaces removal/renaming).
* Changes that introduces API breakages (e.g. public functions and interfaces removal/renaming).
* Client-breaking changes in gRPC and HTTP request and response types.
* CLI-breaking changes.
* Cosmetic fixes, such as formatting or linter warning fixes.
@@ -159,7 +163,7 @@ Pull requests that fix bugs and add features that fall in the following categori
As rule of thumb, the following changes will **NOT** be automatically accepted into stable point-releases:
* **State machine changes**.
* **Protobug-breaking changes**, as specified in [ADR-044](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-044-protobuf-updates-guidelines.md).
* **Protobug-breaking changes**, as specified in [ADR-044](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-044-protobuf-updates- guidelines.md).
* **Client-breaking changes**, i.e. changes that prevent gRPC, HTTP and RPC clients to continue interacting with the node without any change.
* **API-breaking changes**, i.e. changes that prevent client applications to _build without modifications_ to the client application's source code.
* **CLI-breaking changes**, i.e. changes that require usage changes for CLI users.
@@ -182,7 +186,7 @@ As rule of thumb, the following changes will **NOT** be automatically accepted i
```md
#### Impact
Brief explanation of the effects of the bug on users and a justification for backporting the fix to the stable release.
Brief xplanation of the effects of the bug on users and a justification for backporting the fix to the stable release.
#### Test Case
@@ -190,7 +194,7 @@ Detailed instructions on how to reproduce the bug on Stargate's most recently pu
#### Regression Potential
Explanation of how regressions might manifest - even if it's unlikely.
Explanation on how regressions might manifest - even if it's unlikely.
It is assumed that stable release fixes are well-tested and they come with a low risk of regressions.
It's crucial to make the effort of thinking about what could happen in case a regression emerges.
```
@@ -201,7 +205,7 @@ The **Stable Release Managers** evaluate and approve or reject updates and backp
according to the [stable release policy](#stable-release-policy) and [release procedure](#major-release-procedure).
Decisions are made by consensus.
Their responsibilities include:
Their responsibilites include:
* Driving the Stable Release Exception process.
* Approving/rejecting proposed changes to a stable release series.
@@ -230,40 +234,15 @@ Note: The Cosmos SDK team is in an active process of limiting Go modules that de
The Cosmos SDK team should strive to release modules that depend on the Cosmos SDK at the same time or soon after a major version Cosmos SDK itself.
Those modules can be considered as part of the Cosmos SDK, but features and improvements are released at a different cadence.
* When a module is supposed to be used in an app (e.g `x/` modules), due to the dependency on the SDK, tagging a new version of a module must be done from a Cosmos SDK release branch. A compatibility matrix must be provided in the `README.md` of that module with the corresponding versions.
* When a module is supposed to be used in an app (e.g `x/` modules), due to the dependency on the SDK, tagging a new version of a module must be done from a Cosmos SDK release branch. A compability matrix must be provided in the `README.md` of that module with the corresponding versions.
* Modules that import the SDK but do not need to be imported in an app (`e.g. cosmovisor`) must be released from the `main` branch and follow the process defined below.
> [!IMPORTANT]
> A module depending on a non stabilized version of `github.com/cosmos/cosmos-sdk` (any version prior to the removal of baseapp, runtime, server) SHOULD NOT be tagged following semver.
> For instance, modules are still using 0ver until the main `github.com/cosmos/cosmos-sdk` has stabilized.
### Modules that do not depend on the Cosmos SDK
Modules that do not depend on the Cosmos SDK can be released at any time from the `main` branch of the Cosmos SDK repository.
## Go Monorepo Branching Strategy
#### Branches For Go Modules
The Cosmos SDK uses a monorepo structure with multiple Go modules. Some components are tagged from the main branch, while others are tagged from release branches, as described above.
Branches that go modules are released from:
Here's the strategy for managing this structure:
All modules that do not depend on the Cosmos SDK and tagged from main in a release branch **must be removed from the release branch**.
There are two exceptions to this rule, due to the stabilization of core v1: `cosmossdk.io/x/tx` and `cosmossdk.io/store` are still tagged from the `release/v0.50.x` branch for `v0.50.x` releases.
### Rationale
This strategy provides several benefits:
1. Clean separation: Release branches only contain components that are actually released from those branches.
2. Avoid confusion: Prevents having outdated versions of standalone go modules in release branches.
3. Accurate representation: The release branch accurately represents what's being released from that branch.
4. Consistency: Aligns with the tagging strategy - components tagged from main aren't in release branches, and vice versa.
### Additional Considerations
* When backporting changes, be aware that standalone go modules changes will not be present in release branches.
* To reference the full state of the SDK at the time of branching, consider creating a separate tag on main at the point where each release branch is created.
* Ensure thorough testing of the release branch structure to avoid any integration issues.
This branching strategy helps maintain a clear separation between components tagged from main and those tagged from release branches, while ensuring that release branches accurately represent the state of components that depend on the SDK.
* Store v1 is released from `release/v0.50.x` branch.
+7 -7
View File
@@ -2,7 +2,7 @@
Welcome to the Cosmos SDK's team roadmap.
> This document is meant to help the team get feedback on the proposed work and for others to follow where we stand in our process. This will be a living document updated on a regular basis. If you'd like to participate in any workscope or would like to suggest another feature please reach out to [Marko](mailto:marko@binary.builders) or [Sam](mailto:sam@binary.builders) and we will schedule a call to discuss the feature request.
> This document is meant to help the team get feedback on the proposed work and for others to follow where we stand in our process. This will be a living document updated on a regular basis. If you'd like to participate in any workscope or would like to suggest another feature please reach out to [Marko](marko@binary.builders) or [Sam](sam@binary.builders) and we will schedule a call to discuss the feature request.
## Q1
@@ -45,7 +45,7 @@ Welcome to the Cosmos SDK's team roadmap.
* Migrating 3 modules to use collections would help in show users how to migrate users
* [ ] [Release ORM v1](https://github.com/cosmos/cosmos-sdk/issues/11088)
* [x] [Sign mode textual](https://github.com/cosmos/cosmos-sdk/issues/11970)
* Sign mode textual has been under construction for 2 quarters now, this quarter the goal is to move towards v1 and potentially line up an audit before final release.
* Sign mode textual has been under construction for 2 quarters now, this quarter the goal is to move towards v1 and potentially line up a audit before final release.
* [x] Core API
* [Merge ADR for Core API](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-063-core-module-api.md)
* Migrate three modules to use core api
@@ -66,7 +66,7 @@ Welcome to the Cosmos SDK's team roadmap.
### Testing
* [x] [integration testing framework](https://github.com/cosmos/cosmos-sdk/issues/14145)
* design and merge an integration testing framework.
* design and merge a integration testing framework.
* The goals of the framework would that a module only needs to depend on modules that it depends on outside of testing, not all modules in the sdk like today.
@@ -116,7 +116,7 @@ Issue: https://github.com/cosmos/iavl/issues/548
* Users should be able to pick between delayed execution and optimistic
* RFC/ADR is merged
* Implementation started.
* Progress:
* Progess:
* On pause till ABCI 2.0 is merged
### Client UX
@@ -159,14 +159,14 @@ Issue: https://github.com/cosmos/iavl/issues/548
* KvStoreService is being added to all modules
* [ ] [Remove global bech32](https://github.com/cosmos/cosmos-sdk/issues/13140)
* Objective:
* Deprecate global bech32 setting
* Depreacte global bech32 setting
* Progress:
* All modules except bank use the `address.Codec`
* [ ] Make sdk.Msg only be `proto.message`
* Objectives:
* Reduce sdk.Msg to only be proto.message
* Reduce boilerplate in `msgs.go`
* Progress:
* Progess:
* [x] [Make ValidateBasic Optional](https://github.com/cosmos/cosmos-sdk/issues/15648)
* [ ] [Make GetSigners be optional](https://github.com/cosmos/cosmos-sdk/issues/15677)
* [ ] Remove GetsignBytes for legacy amino encoding
@@ -200,7 +200,7 @@ Issue: https://github.com/cosmos/iavl/issues/548
* [ ] [Invariant Checking](https://github.com/cosmos/cosmos-sdk/issues/15706)
* Objective:
* Design a new system for checking invariants
* Design a new system for checking invairants
* Implement changes
* Audit current invariants
* Progress:
+19 -9
View File
@@ -21,17 +21,26 @@ the vulnerability can be reproduced on either one of those.
## Reporting a Vulnerability
| Reporting methods | Bounty eligible |
|---------------------------------------------------------------|-----------------|
| [HackerOne program][h1] | yes |
| [security@interchain.io](mailto:security@interchain.io) | no |
| Reporting methods |
|---------------------------------------------------------------|
| [GitHub Private Vulnerability Reporting][gh-private-advisory] |
| [HackerOne bug bounty program][h1] |
Issues identified in this repository may be eligible for a [bug bounty][h1]. For your report to be bounty
eligible it must be reported exclusively through the [HackerOne Bug Bounty][h1].
All security vulnerabilities can be reported under GitHub's [Private
vulnerability reporting][gh-private-advisory] system. This will open a private
issue for the developers. Try to fill in as much of the questions as possible.
If you are not familiar with the CVSS system for assessing vulnerabilities, just
use the Low/High/Critical severity ratings. A partially filled in report for a
critical vulnerability is still better than no report at all.
If you do not wish to be eligible for a bounty or do not want to use the HackerOne platform to report an
issue, please send your report via email to [security@interchain.io](mailto:security@interchain.io) with
reproduction steps and details of the issue.
Vulnerabilities associated with the **Go, Rust or Protobuf code** of the
repository may be eligible for a [bug bounty][h1]. Please see the bug bounty
page for more details on submissions and rewards. If you think the vulnerability
is eligible for a payout, **report on HackerOne first**.
Vulnerabilities in services and their source codes (JavaScript, web page, Google
Workspace) are not in scope for the bug bounty program, but they are welcome to
be reported in GitHub.
### Guidelines
@@ -63,6 +72,7 @@ If you follow these guidelines when reporting an issue to us, we commit to:
* See [EXAMPLES.md] for some of the examples that we are interested in for the
bug bounty program.
[gh-private-advisory]: /../../security/advisories/new
[h1]: https://hackerone.com/cosmos
[TIMELINE.md]: https://github.com/cosmos/security/blob/main/TIMELINE.md
[DISCLOSURE.md]: https://github.com/cosmos/security/blob/main/DISCLOSURE.md
+503
View File
@@ -0,0 +1,503 @@
# Upgrade Guide
This document provides a full guide for upgrading a Cosmos SDK chain from `v0.50.x` to `v0.53.x`.
This guide includes one **required** change and three **optional** features.
After completing this guide, applications will have:
- The `x/protocolpool` module
- The `x/epochs` module
- Unordered Transaction support
## Table of Contents
- [App Wiring Changes (REQUIRED)](#app-wiring-changes-required)
- [Adding ProtocolPool Module (OPTIONAL)](#adding-protocolpool-module-optional)
- [ProtocolPool Manual Wiring](#protocolpool-manual-wiring)
- [ProtocolPool DI Wiring](#protocolpool-di-wiring)
- [Adding Epochs Module (OPTIONAL)](#adding-epochs-module-optional)
- [Epochs Manual Wiring](#epochs-manual-wiring)
- [Epochs DI Wiring](#epochs-di-wiring)
- [Enable Unordered Transactions (OPTIONAL)](#enable-unordered-transactions-optional)
- [Upgrade Handler](#upgrade-handler)
## App Wiring Changes **REQUIRED**
The `x/auth` module now contains a `PreBlocker` that _must_ be set in the module manager's `SetOrderPreBlockers` method.
```go
app.ModuleManager.SetOrderPreBlockers(
upgradetypes.ModuleName,
authtypes.ModuleName, // NEW
)
```
## Adding ProtocolPool Module **OPTIONAL**
:::warning
Using an external community pool such as `x/protocolpool` will cause the following `x/distribution` handlers to return an error:
**QueryService**
- `CommunityPool`
**MsgService**
- `CommunityPoolSpend`
- `FundCommunityPool`
If your services depend on this functionality from `x/distribution`, please update them to use either `x/protocolpool` or your custom external community pool alternatives.
:::
### Manual Wiring
Import the following:
```go
import (
// ...
"github.com/cosmos/cosmos-sdk/x/protocolpool"
protocolpoolkeeper "github.com/cosmos/cosmos-sdk/x/protocolpool/keeper"
protocolpooltypes "github.com/cosmos/cosmos-sdk/x/protocolpool/types"
)
```
Set the module account permissions.
```go
maccPerms = map[string][]string{
// ...
protocolpooltypes.ModuleName: nil,
protocolpooltypes.ProtocolPoolEscrowAccount: nil,
}
```
Add the protocol pool keeper to your application struct.
```go
ProtocolPoolKeeper protocolpoolkeeper.Keeper
```
Add the store key:
```go
keys := storetypes.NewKVStoreKeys(
// ...
protocolpooltypes.StoreKey,
)
```
Instantiate the keeper.
Make sure to do this before the distribution module instantiation, as you will pass the keeper there next.
```go
app.ProtocolPoolKeeper = protocolpoolkeeper.NewKeeper(
appCodec,
runtime.NewKVStoreService(keys[protocolpooltypes.StoreKey]),
app.AccountKeeper,
app.BankKeeper,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)
```
Pass the protocolpool keeper to the distribution keeper:
```go
app.DistrKeeper = distrkeeper.NewKeeper(
appCodec,
runtime.NewKVStoreService(keys[distrtypes.StoreKey]),
app.AccountKeeper,
app.BankKeeper,
app.StakingKeeper,
authtypes.FeeCollectorName,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
distrkeeper.WithExternalCommunityPool(app.ProtocolPoolKeeper), // NEW
)
```
Add the protocolpool module to the module manager:
```go
app.ModuleManager = module.NewManager(
// ...
protocolpool.NewAppModule(appCodec, app.ProtocolPoolKeeper, app.AccountKeeper, app.BankKeeper),
)
```
Add an entry for SetOrderBeginBlockers, SetOrderEndBlockers, SetOrderInitGenesis, and SetOrderExportGenesis.
```go
app.ModuleManager.SetOrderBeginBlockers(
// must come AFTER distribution.
distrtypes.ModuleName,
protocolpooltypes.ModuleName,
)
```
```go
app.ModuleManager.SetOrderEndBlockers(
// order does not matter.
protocolpooltypes.ModuleName,
)
```
```go
app.ModuleManager.SetOrderInitGenesis(
// order does not matter.
protocolpooltypes.ModuleName,
)
```
```go
app.ModuleManager.SetOrderInitGenesis(
protocolpooltypes.ModuleName, // must be exported before bank.
banktypes.ModuleName,
)
```
### DI Wiring
Note: _as long as an external community pool keeper (here, `x/protocolpool`) is wired in DI configs, `x/distribution` will automatically use it for its external pool._
First, set up the keeper for the application.
Import the protocolpool keeper:
```go
protocolpoolkeeper "github.com/cosmos/cosmos-sdk/x/protocolpool/keeper"
```
Add the keeper to your application struct:
```go
ProtocolPoolKeeper protocolpoolkeeper.Keeper
```
Add the keeper to the depinject system:
```go
depinject.Inject(
appConfig,
&appBuilder,
&app.appCodec,
&app.legacyAmino,
&app.txConfig,
&app.interfaceRegistry,
// ... other modules
&app.ProtocolPoolKeeper, // NEW MODULE!
)
```
Next, set up configuration for the module.
Import the following:
```go
import (
protocolpoolmodulev1 "cosmossdk.io/api/cosmos/protocolpool/module/v1"
_ "github.com/cosmos/cosmos-sdk/x/protocolpool" // import for side-effects
protocolpooltypes "github.com/cosmos/cosmos-sdk/x/protocolpool/types"
)
```
The protocolpool module has module accounts that handle funds. Add them to the module account permission configuration:
```go
moduleAccPerms = []*authmodulev1.ModuleAccountPermission{
// ...
{Account: protocolpooltypes.ModuleName},
{Account: protocolpooltypes.ProtocolPoolEscrowAccount},
}
```
Next, add an entry for BeginBlockers, EndBlockers, InitGenesis, and ExportGenesis.
```go
BeginBlockers: []string{
// ...
// must be AFTER distribution.
distrtypes.ModuleName,
protocolpooltypes.ModuleName,
},
```
```go
EndBlockers: []string{
// ...
// order for protocolpool does not matter.
protocolpooltypes.ModuleName,
},
```
```go
InitGenesis: []string{
// ... must be AFTER distribution.
distrtypes.ModuleName,
protocolpooltypes.ModuleName,
},
```
```go
ExportGenesis: []string{
// ...
// Must be exported before x/bank.
protocolpooltypes.ModuleName,
banktypes.ModuleName,
},
```
Lastly, add an entry for protocolpool in the ModuleConfig.
```go
{
Name: protocolpooltypes.ModuleName,
Config: appconfig.WrapAny(&protocolpoolmodulev1.Module{}),
},
```
## Adding Epochs Module **OPTIONAL**
### Manual Wiring
Import the following:
```go
import (
// ...
"github.com/cosmos/cosmos-sdk/x/epochs"
epochskeeper "github.com/cosmos/cosmos-sdk/x/epochs/keeper"
epochstypes "github.com/cosmos/cosmos-sdk/x/epochs/types"
)
```
Add the epochs keeper to your application struct:
```go
EpochsKeeper epochskeeper.Keeper
```
Add the store key:
```go
keys := storetypes.NewKVStoreKeys(
// ...
epochstypes.StoreKey,
)
```
Instantiate the keeper:
```go
app.EpochsKeeper = epochskeeper.NewKeeper(
runtime.NewKVStoreService(keys[epochstypes.StoreKey]),
appCodec,
)
```
Set up hooks for the epochs keeper:
To learn how to write hooks for the epoch keeper, see the [x/epoch README](https://github.com/cosmos/cosmos-sdk/blob/main/x/epochs/README.md)
```go
app.EpochsKeeper.SetHooks(
epochstypes.NewMultiEpochHooks(
// insert epoch hooks receivers here
app.SomeOtherModule
),
)
```
Add the epochs module to the module manager:
```go
app.ModuleManager = module.NewManager(
// ...
epochs.NewAppModule(appCodec, app.EpochsKeeper),
)
```
Add entries for SetOrderBeginBlockers and SetOrderInitGenesis:
```go
app.ModuleManager.SetOrderBeginBlockers(
// ...
epochstypes.ModuleName,
)
```
```go
app.ModuleManager.SetOrderInitGenesis(
// ...
epochstypes.ModuleName,
)
```
### DI Wiring
First, set up the keeper for the application.
Import the epochs keeper:
```go
epochskeeper "github.com/cosmos/cosmos-sdk/x/epochs/keeper"
```
Add the keeper to your application struct:
```go
EpochsKeeper epochskeeper.Keeper
```
Add the keeper to the depinject system:
```go
depinject.Inject(
appConfig,
&appBuilder,
&app.appCodec,
&app.legacyAmino,
&app.txConfig,
&app.interfaceRegistry,
// ... other modules
&app.EpochsKeeper, // NEW MODULE!
)
```
Next, set up configuration for the module.
Import the following:
```go
import (
epochsmodulev1 "cosmossdk.io/api/cosmos/epochs/module/v1"
_ "github.com/cosmos/cosmos-sdk/x/epochs" // import for side-effects
epochstypes "github.com/cosmos/cosmos-sdk/x/epochs/types"
)
```
Add an entry for BeginBlockers and InitGenesis:
```go
BeginBlockers: []string{
// ...
epochstypes.ModuleName,
},
```
```go
InitGenesis: []string{
// ...
epochstypes.ModuleName,
},
```
Lastly, add an entry for epochs in the ModuleConfig:
```go
{
Name: epochstypes.ModuleName,
Config: appconfig.WrapAny(&epochsmodulev1.Module{}),
},
```
## Enable Unordered Transactions **OPTIONAL**
To enable unordered transaction support on an application, the `x/auth` keeper must be supplied with the `WithUnorderedTransactions` option.
Note that unordered transactions require sequence values to be zero, and will **FAIL** if a non-zero sequence value is set.
Please ensure no sequence value is set when submitting an unordered transaction.
Services that rely on prior assumptions about sequence values should be updated to handle unordered transactions.
Services should be aware that when the transaction is unordered, the transaction sequence will always be zero.
```go
app.AccountKeeper = authkeeper.NewAccountKeeper(
appCodec,
runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
maccPerms,
authcodec.NewBech32Codec(sdk.Bech32MainPrefix),
sdk.Bech32MainPrefix,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
authkeeper.WithUnorderedTransactions(true), // new option!
)
```
If using dependency injection, update the auth module config.
```go
{
Name: authtypes.ModuleName,
Config: appconfig.WrapAny(&authmodulev1.Module{
Bech32Prefix: "cosmos",
ModuleAccountPermissions: moduleAccPerms,
EnableUnorderedTransactions: true, // remove this line if you do not want unordered transactions.
}),
},
```
By default, unordered transactions use a transaction timeout duration of 10 minutes and a default gas charge of 2240 gas units.
To modify these default values, pass in the corresponding options to the new `SigVerifyOptions` field in `x/auth's` `ante.HandlerOptions`.
```go
options := ante.HandlerOptions{
SigVerifyOptions: []ante.SigVerificationDecoratorOption{
// change below as needed.
ante.WithUnorderedTxGasCost(ante.DefaultUnorderedTxGasCost),
ante.WithMaxUnorderedTxTimeoutDuration(ante.DefaultMaxTimoutDuration),
},
}
```
```go
anteDecorators := []sdk.AnteDecorator{
// ... other decorators ...
ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler, options.SigVerifyOptions...), // supply new options
}
```
## Upgrade Handler
The upgrade handler only requires adding the store upgrades for the modules added above.
If your application is not adding `x/protocolpool` or `x/epochs`, you do not need to add the store upgrade.
```go
// UpgradeName defines the on-chain upgrade name for the sample SimApp upgrade
// from v050 to v053.
//
// NOTE: This upgrade defines a reference implementation of what an upgrade
// could look like when an application is migrating from Cosmos SDK version
// v0.50.x to v0.53.x.
const UpgradeName = "v050-to-v053"
func (app SimApp) RegisterUpgradeHandlers() {
app.UpgradeKeeper.SetUpgradeHandler(
UpgradeName,
func(ctx context.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return app.ModuleManager.RunMigrations(ctx, app.Configurator(), fromVM)
},
)
upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk()
if err != nil {
panic(err)
}
if upgradeInfo.Name == UpgradeName && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := storetypes.StoreUpgrades{
Added: []string{
epochstypes.ModuleName, // if not adding x/epochs to your chain, remove this line.
protocolpooltypes.ModuleName, // if not adding x/protocolpool to your chain, remove this line.
},
}
// configure store loader that checks if version == upgradeHeight and applies store upgrades
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))
}
}
```
+177 -463
View File
@@ -1,513 +1,227 @@
# Upgrading Cosmos SDK
# Upgrade Reference
This guide provides instructions for upgrading to specific versions of Cosmos SDK.
Note, always read the **SimApp** section for more information on application wiring updates.
This document provides a quick reference for the upgrades from `v0.50.x` to `v0.53.x` of Cosmos SDK.
## [v0.52.x](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.52.0-alpha.0)
Note, always read the **App Wiring Changes** section for more information on application wiring updates.
🚨Upgrading to v0.53.x will require a **coordinated** chain upgrade.🚨
### SimApp
### TLDR;
In this section we describe the changes made in Cosmos SDK' SimApp.
**These changes are directly applicable to your application wiring.**
Please read this section first, but for an exhaustive list of changes, refer to the [CHANGELOG](https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/simapp/CHANGELOG.md).
Unordered transactions, `x/protocolpool`, and `x/epoch` are the major new features added in v0.53.x.
#### Client (`root.go`)
We also added the ability to add a `CheckTx` handler and enabled ed25519 signature verification.
The `client` package has been refactored to make use of the address codecs (address, validator address, consensus address, etc.)
and address bech32 prefixes (address and validator address).
This is part of the work of abstracting the SDK from the global bech32 config.
For a full list of changes, see the [Changelog](https://github.com/cosmos/cosmos-sdk/blob/release/v0.53.x/CHANGELOG.md).
This means the address codecs and prefixes must be provided in the `client.Context` in the application client (usually `root.go`).
### Unordered Transactions
```diff
clientCtx = clientCtx.
+ WithAddressCodec(addressCodec).
+ WithValidatorAddressCodec(validatorAddressCodec).
+ WithConsensusAddressCodec(consensusAddressCodec).
+ WithAddressPrefix("cosmos").
+ WithValidatorPrefix("cosmosvaloper")
```
The Cosmos SDK now supports unordered transactions. _This is an opt-in feature_.
**When using `depinject` / `app_di`, the client codecs can be provided directly from application config.**
Clients that use this feature may now submit their transactions in a fire-and-forget manner to chains that enabled unordered transactions.
Refer to SimApp `root.go` for an example with an app di and a legacy app.
To submit an unordered transaction, clients must set the `unordered` flag to
`true` and ensure a reasonable `timeout_timestamp` is set. The `timeout_timestamp` is
used as a TTL for the transaction and provides replay protection. Each transaction's `timeout_timestamp` must be
unique to the account; however, the difference may be as small as a nanosecond. See [ADR-070](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-070-unordered-transactions.md) for more details.
Additionally, a simplification of the start command leads to the following change:
Note that unordered transactions require sequence values to be zero, and will **FAIL** if a non-zero sequence value is set.
Please ensure no sequence value is set when submitting an unordered transaction.
Services that rely on prior assumptions about sequence values should be updated to handle unordered transactions.
Services should be aware that when the transaction is unordered, the transaction sequence will always be zero.
```diff
- server.AddCommands(rootCmd, newApp, func(startCmd *cobra.Command) {})
+ server.AddCommands(rootCmd, newApp, server.StartCmdOptions[servertypes.Application]{})
```
#### Enabling Unordered Transactions
#### Server (`app.go`)
To enable unordered transactions, supply the `WithUnorderedTransactions` option to the `x/auth` keeper:
##### Module Manager
The basic module manager has been deleted. It was not necessary anymore and was simplified to use the `module.Manager` directly.
It can be removed from your `app.go`.
For depinject users, it isn't necessary anymore to supply a `map[string]module.AppModuleBasic` for customizing the app module basic instantiation.
The custom parameters (such as genutil message validator or gov proposal handler, or evidence handler) can directly be supplied.
When requiring a module manager in `root.go`, inject `*module.Manager` using `depinject.Inject`.
For non depinject users, simply call `RegisterLegacyAminoCodec` and `RegisterInterfaces` on the module manager:
```diff
-app.BasicModuleManager = module.NewBasicManagerFromManager(...)
-app.BasicModuleManager.RegisterLegacyAminoCodec(legacyAmino)
-app.BasicModuleManager.RegisterInterfaces(interfaceRegistry)
+app.ModuleManager.RegisterLegacyAminoCodec(legacyAmino)
+app.ModuleManager.RegisterInterfaces(interfaceRegistry)
```
Additionally, thanks to the genesis simplification, as explained in [the genesis interface update](#genesis-interface), the module manager `InitGenesis` and `ExportGenesis` methods do not require the codec anymore.
##### gRPC Web
Grpc-web embedded client has been removed from the server. If you would like to use grpc-web, you can use the [envoy proxy](https://www.envoyproxy.io/docs/envoy/latest/start/start). Here's how to set it up:
<details>
<summary>Step by step guide</summary>
1. Install Envoy following the [official installation guide](https://www.envoyproxy.io/docs/envoy/latest/start/install).
2. Create an Envoy configuration file named `envoy.yaml` with the following content:
```yaml
static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 8080 }
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
codec_type: auto
stat_prefix: ingress_http
route_config:
name: local_route
virtual_hosts:
- name: local_service
domains: ["*"]
routes:
- match: { prefix: "/" }
route:
cluster: grpc_service
timeout: 0s
max_stream_duration:
grpc_timeout_header_max: 0s
cors:
allow_origin_string_match:
- prefix: "*"
allow_methods: GET, PUT, DELETE, POST, OPTIONS
allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout
max_age: "1728000"
expose_headers: custom-header-1,grpc-status,grpc-message
http_filters:
- name: envoy.filters.http.grpc_web
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb
- name: envoy.filters.http.cors
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
clusters:
- name: grpc_service
connect_timeout: 0.25s
type: logical_dns
http2_protocol_options: {}
lb_policy: round_robin
load_assignment:
cluster_name: cluster_0
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: 0.0.0.0
port_value: 9090
```
This configuration tells Envoy to listen on port 8080 and forward requests to your gRPC service on port 9090. Note that this configuration is a starting point and can be modified according to your specific needs and preferences. You may need to adjust ports, addresses, or add additional settings based on your particular setup and requirements.
3. Start your Cosmos SDK application, ensuring it's configured to serve gRPC on port 9090.
4. Start Envoy with the configuration file:
```bash
envoy -c envoy.yaml
```
5. If Envoy starts successfully, you should see output similar to this:
```bash
[2024-08-29 10:47:08.753][6281320][info][config] [source/common/listener_manager/listener_manager_impl.cc:930] all dependencies initialized. starting workers
[2024-08-29 10:47:08.754][6281320][info][main] [source/server/server.cc:978] starting main dispatch loop
```
This indicates that Envoy has started and is ready to proxy requests.
6. Update your client applications to connect to Envoy (http://localhost:8080 by default).
</details>
By following these steps, Envoy will handle the translation between gRPC-Web and gRPC, allowing your existing gRPC-Web clients to continue functioning without modifications to your Cosmos SDK application.
To test the setup, you can use a tool like [grpcurl](https://github.com/fullstorydev/grpcurl). For example:
```bash
grpcurl -plaintext localhost:8080 cosmos.base.tendermint.v1beta1.Service/GetLatestBlock
```
##### AnteHandlers
The `GasConsumptionDecorator` and `IncreaseSequenceDecorator` have been merged with the SigVerificationDecorator, so you'll
need to remove them both from your app.go code, they will yield to unresolvable symbols when compiling.
#### Unordered Transactions
The Cosmos SDK now supports unordered transactions. This means that transactions
can be executed in any order and doesn't require the client to deal with or manage
nonces. This also means the order of execution is not guaranteed.
Unordered transactions are automatically enabled when using `depinject` / app di, simply supply the `servertypes.AppOptions` in `app.go`:
```diff
depinject.Supply(
+ // supply the application options
+ appOpts,
// supply the logger
logger,
```go
app.AccountKeeper = authkeeper.NewAccountKeeper(
appCodec,
runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
maccPerms,
authcodec.NewBech32Codec(sdk.Bech32MainPrefix),
sdk.Bech32MainPrefix,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
authkeeper.WithUnorderedTransactions(true), // new option!
)
```
<details>
<summary>Step-by-step Wiring </summary>
If you are still using the legacy wiring, you must enable unordered transactions manually:
* Update the `App` constructor to create, load, and save the unordered transaction
manager.
```go
func NewApp(...) *App {
// ...
// create, start, and load the unordered tx manager
utxDataDir := filepath.Join(cast.ToString(appOpts.Get(flags.FlagHome)), "data")
app.UnorderedTxManager = unorderedtx.NewManager(utxDataDir)
app.UnorderedTxManager.Start()
if err := app.UnorderedTxManager.OnInit(); err != nil {
panic(fmt.Errorf("failed to initialize unordered tx manager: %w", err))
}
}
```
* Add the decorator to the existing AnteHandler chain, which should be as early
as possible.
```go
anteDecorators := []sdk.AnteDecorator{
ante.NewSetUpContextDecorator(),
// ...
ante.NewUnorderedTxDecorator(unorderedtx.DefaultMaxTimeoutDuration, options.TxManager, options.Environment),
// ...
}
return sdk.ChainAnteDecorators(anteDecorators...), nil
```
* If the App has a SnapshotManager defined, you must also register the extension
for the TxManager.
```go
if manager := app.SnapshotManager(); manager != nil {
err := manager.RegisterExtensions(unorderedtx.NewSnapshotter(app.UnorderedTxManager))
if err != nil {
panic(fmt.Errorf("failed to register snapshot extension: %s", err))
}
}
```
* Create or update the App's `Preblocker()` method to call the unordered tx
manager's `OnNewBlock()` method.
```go
...
app.SetPreblocker(app.PreBlocker)
...
func (app *SimApp) PreBlocker(ctx sdk.Context, req *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error) {
app.UnorderedTxManager.OnNewBlock(ctx.BlockTime())
return app.ModuleManager.PreBlock(ctx, req)
}
```
* Create or update the App's `Close()` method to close the unordered tx manager.
Note, this is critical as it ensures the manager's state is written to file
such that when the node restarts, it can recover the state to provide replay
protection.
```go
func (app *App) Close() error {
// ...
// close the unordered tx manager
if e := app.UnorderedTxManager.Close(); e != nil {
err = errors.Join(err, e)
}
return err
}
```
</details>
To submit an unordered transaction, the client must set the `unordered` flag to
`true` and ensure a reasonable `timeout_height` is set. The `timeout_height` is
used as a TTL for the transaction and is used to provide replay protection. See
[ADR-070](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-070-unordered-transactions.md)
for more details.
#### Sign Mode Textual
With the split of `x/auth/tx/config` in two (x/auth/tx/config as depinject module for txconfig and tx options) and `x/validate`, sign mode textual is no more automatically configured when using runtime (it was previously the case).
For the same instructions than for legacy app wiring to enable sign mode textual (see in v0.50 UPGRADING documentation).
### Depinject `app_config.go` / `app.yml`
With the introduction of [environment in modules](#core-api), depinject automatically creates the environment for all modules.
The 'Environment struct provides essential services](https://docs.cosmos.network/main/learn/advanced/core#environment) to modules including logging, event handling, gas metering, header access, routing, and both KV and memory store services. Given the fields of environment, this means runtime creates a kv store service for all modules by default. It can happen that some modules do not have a store necessary (such as `x/auth/tx` for instance). In this case, the store creation should be skipped in `app_config.go`:
```diff
InitGenesis: []string{
"..."
},
+ // SkipStoreKeys is an optional list of store keys to skip when constructing the
+ // module's keeper. This is useful when a module does not have a store key.
+ SkipStoreKeys: []string{
+ "tx",
+ },
```
### Protobuf
The `cosmossdk.io/api/tendermint` package has been removed as CometBFT now publishes its protos to `buf.build/tendermint` and `buf.build/cometbft`.
There is no longer a need for the Cosmos SDK to host these protos for itself and its dependencies.
That package containing proto v2 generated code, but the SDK now uses [buf generated go SDK instead](https://buf.build/docs/bsr/generated-sdks/go).
If you were depending on `cosmossdk.io/api/tendermint`, please use the buf generated go SDK instead, or ask CometBFT host the generated proto v2 code.
The `codectypes.Any` has moved to `github.com/cosmos/gogoproto/types/any`. Module developers need to update the `buf.gen.gogo.yaml` configuration files by adjusting the corresponding `opt` option to `Mgoogle/protobuf/any.proto=github.com/cosmos/gogoproto/types/any` for directly mapping the`Any` type to its new location:
```diff
version: v1
plugins:
- name: gocosmos
out: ..
- opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types,Mcosmos/orm/v1/orm.proto=cosmossdk.io/orm
+ opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/gogoproto/types/any,Mcosmos/orm/v1/orm.proto=cosmossdk.io/orm
- name: grpc-gateway
out: ..
opt: logtostderr=true,allow_colon_final_segments=true
```
Also, any usages of the interfaces `AnyUnpacker` and `UnpackInterfacesMessage` must be replaced with the interfaces of the same name in the `github.com/cosmos/gogoproto/types/any` package.
### Modules
#### `**all**`
All modules (expect `auth`) were spun out into their own `go.mod`. Replace their imports by `cosmossdk.io/x/{moduleName}`.
##### Core API
Core API has been introduced for modules since v0.47. With the deprecation of `sdk.Context`, we strongly recommend to use the `cosmossdk.io/core/appmodule` interfaces for the modules. This will allow the modules to work out of the box with baseapp, as well as limit their dependencies on the SDK.
Additionally, the `appmodule.Environment` struct is introduced to fetch different services from the application.
This should be used as an alternative to using `sdk.UnwrapContext(ctx)` to fetch the services.
It needs to be passed into a module at instantiation (or depinject will inject the correct environment).
`x/circuit` is used as an example:
If using dependency injection, update the auth module config.
```go
app.CircuitKeeper = circuitkeeper.NewKeeper(runtime.NewEnvironment(runtime.NewKVStoreService(keys[circuittypes.StoreKey]), logger.With(log.ModuleKey, "x/circuit")), appCodec, authtypes.NewModuleAddress(govtypes.ModuleName).String(), app.AuthKeeper.AddressCodec())
{
Name: authtypes.ModuleName,
Config: appconfig.WrapAny(&authmodulev1.Module{
Bech32Prefix: "cosmos",
ModuleAccountPermissions: moduleAccPerms,
EnableUnorderedTransactions: true, // remove this line if you do not want unordered transactions.
}),
},
```
If your module requires a message server or query server, it should be passed in the environment as well.
```diff
-govKeeper := govkeeper.NewKeeper(appCodec, runtime.NewKVStoreService(keys[govtypes.StoreKey]), app.AuthKeeper, app.BankKeeper,app.StakingKeeper, app.PoolKeeper, app.MsgServiceRouter(), govConfig, authtypes.NewModuleAddress(govtypes.ModuleName).String())
+govKeeper := govkeeper.NewKeeper(appCodec, runtime.NewEnvironment(runtime.NewKVStoreService(keys[govtypes.StoreKey]), logger.With(log.ModuleKey, "x/circuit"), runtime.EnvWithMsgRouterService(app.MsgServiceRouter()), runtime.EnvWithQueryRouterService(app.GRPCQueryRouter())), app.AuthKeeper, app.BankKeeper, app.StakingKeeper, app.PoolKeeper, govConfig, authtypes.NewModuleAddress(govtypes.ModuleName).String())
```
The signature of the extension interface `HasRegisterInterfaces` has been changed to accept a `cosmossdk.io/core/registry.InterfaceRegistrar` instead of a `codec.InterfaceRegistry`. `HasRegisterInterfaces` is now a part of `cosmossdk.io/core/appmodule`. Modules should update their `HasRegisterInterfaces` implementation to accept a `cosmossdk.io/core/registry.InterfaceRegistrar` interface.
```diff
-func (AppModule) RegisterInterfaces(registry codectypes.InterfaceRegistry) {
+func (AppModule) RegisterInterfaces(registry registry.InterfaceRegistrar) {
```
The signature of the extension interface `HasAminoCodec` has been changed to accept a `cosmossdk.io/core/registry.AminoRegistrar` instead of a `codec.LegacyAmino`. Modules should update their `HasAminoCodec` implementation to accept a `cosmossdk.io/core/registry.AminoRegistrar` interface.
```diff
-func (AppModule) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
+func (AppModule) RegisterLegacyAminoCodec(registrar registry.AminoRegistrar) {
```
##### Simulation
`MsgSimulatorFn` has been updated to return an error. Its context argument has been removed, and an address.Codec has
been added to avoid the use of the Accounts.String() method.
```diff
-type MsgSimulatorFn func(r *rand.Rand, ctx sdk.Context, accs []Account) sdk.Msg
+type MsgSimulatorFn func(r *rand.Rand, accs []Account, cdc address.Codec) (sdk.Msg, error)
```
The interface `HasProposalMsgs` has been renamed to `HasLegacyProposalMsgs`, as we've introduced a new simulation framework, simpler and easier to use, named [simsx](https://github.com/cosmos/cosmos-sdk/blob/main/simsx/README.md).
##### Depinject
Previously `cosmossdk.io/core` held functions `Invoke`, `Provide` and `Register` were moved to `cosmossdk.io/depinject/appconfig`.
All modules using dependency injection must update their imports.
##### Params
Previous module migrations have been removed. It is required to migrate to v0.50 prior to upgrading to v0.52 for not missing any module migrations.
##### Genesis Interface
All genesis interfaces have been migrated to take `context.Context` instead of `sdk.Context`.
Secondly, the codec is no longer passed in by the framework. The codec is now passed in by the module.
Lastly, all InitGenesis and ExportGenesis functions now return an error.
By default, unordered transactions use a transaction timeout duration of 10 minutes and a default gas charge of 2240 gas units.
To modify these default values, pass in the corresponding options to the new `SigVerifyOptions` field in `x/auth's` `ante.HandlerOptions`.
```go
// InitGenesis performs genesis initialization for the module.
func (am AppModule) InitGenesis(ctx context.Context, data json.RawMessage) error {
}
// ExportGenesis returns the exported genesis state as raw bytes for the module.
func (am AppModule) ExportGenesis(ctx context.Context) (json.RawMessage, error) {
options := ante.HandlerOptions{
SigVerifyOptions: []ante.SigVerificationDecoratorOption{
// change below as needed.
ante.WithUnorderedTxGasCost(ante.DefaultUnorderedTxGasCost),
ante.WithMaxUnorderedTxTimeoutDuration(ante.DefaultMaxTimoutDuration),
},
}
```
##### Migration to Collections
```go
anteDecorators := []sdk.AnteDecorator{
// ... other decorators ...
ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler, options.SigVerifyOptions...), // supply new options
}
```
Most of Cosmos SDK modules have migrated to [collections](https://docs.cosmos.network/main/build/packages/collections).
Many functions have been removed due to this changes as the API can be smaller thanks to collections.
For modules that have migrated, verify you are checking against `collections.ErrNotFound` when applicable.
### App Wiring Changes
#### `x/auth`
In this section, we describe the required app wiring changes to run a v0.53.x Cosmos SDK application.
Vesting accounts messages (and CLIs) have been removed. Existing vesting accounts will keep working but no new vesting accounts can be created.
Use `x/accounts` lockup accounts or implement an `x/accounts` vesting account instead.
**These changes are directly applicable to your application wiring.**
#### `x/accounts`
Accounts's AccountNumber will be used as a global account number tracking replacing Auth legacy AccountNumber. Must set accounts's AccountNumber with auth's AccountNumber value in upgrade handler. This is done through auth keeper MigrateAccountNumber function.
The `x/auth` module now contains a `PreBlocker` that _must_ be set in the module manager's `SetOrderPreBlockers` method.
```go
import authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
...
app.UpgradeKeeper.SetUpgradeHandler(planName,
func(ctx context.Context, _ upgradetypes.Plan, fromVM appmodule.VersionMap) (appmodule.VersionMap, error) {
if err := authkeeper.MigrateAccountNumberUnsafe(ctx, &app.AuthKeeper); err != nil {
return nil, err
}
return app.ModuleManager.RunMigrations(ctx, app.configurator, fromVM)
},
app.ModuleManager.SetOrderPreBlockers(
upgradetypes.ModuleName,
authtypes.ModuleName, // NEW
)
```
Add `x/accounts` store while upgrading to v0.52.x:
That's it.
### New Modules
Below are some **optional** new modules you can include in your chain.
To see a full example of wiring these modules, please check out the [SimApp](https://github.com/cosmos/cosmos-sdk/blob/release/v0.53.x/simapp/app.go).
#### Epochs
⚠️Adding this module requires a `StoreUpgrade`⚠️
The new, supplemental `x/epochs` module provides Cosmos SDK modules functionality to register and execute custom logic at fixed time-intervals.
Required wiring:
- Keeper Instantiation
- StoreKey addition
- Hooks Registration
- App Module Registration
- entry in SetOrderBeginBlockers
- entry in SetGenesisModuleOrder
- entry in SetExportModuleOrder
#### ProtocolPool
:::warning
Using `protocolpool` will cause the following `x/distribution` handlers to return an error:
**QueryService**
- `CommunityPool`
**MsgService**
- `CommunityPoolSpend`
- `FundCommunityPool`
If you have services that rely on this functionality from `x/distribution`, please update them to use the `x/protocolpool` equivalents.
:::
⚠️Adding this module requires a `StoreUpgrade`⚠️
The new, supplemental `x/protocolpool` module provides extended functionality for managing and distributing block reward revenue.
Required wiring:
- Module Account Permissions
- protocolpooltypes.ModuleName (nil)
- protocolpooltypes.ProtocolPoolEscrowAccount (nil)
- Keeper Instantiation
- StoreKey addition
- Passing the keeper to the Distribution Keeper
- `distrkeeper.WithExternalCommunityPool(app.ProtocolPoolKeeper)`
- App Module Registration
- entry in SetOrderBeginBlockers
- entry in SetOrderEndBlockers
- entry in SetGenesisModuleOrder
- entry in SetExportModuleOrder **before `x/bank`**
## Custom Minting Function in `x/mint`
This release introduces the ability to configure a custom mint function in `x/mint`. The minting logic is now abstracted as a `MintFn` with a default implementation that can be overridden.
### Whats New
- **Configurable Mint Function:**
A new `MintFn` abstraction is introduced. By default, the module uses `DefaultMintFn`, but you can supply your own implementation.
- **Deprecated InflationCalculationFn Parameter:**
The `InflationCalculationFn` argument previously provided to `mint.NewAppModule()` is now ignored and must be `nil`. To customize the default minters inflation behavior, wrap your custom function with `mintkeeper.DefaultMintFn` and pass it via the `WithMintFn` option:
```go
mintkeeper.WithMintFn(mintkeeper.DefaultMintFn(customInflationFn))
```
### How to Upgrade
1. **Using the Default Minting Function**
No action is needed if youre happy with the default behavior. Make sure your application wiring initializes the MintKeeper like this:
```go
storetypes.StoreUpgrades{
Added: []string{
accounts.StoreKey,
},
}
mintKeeper := mintkeeper.NewKeeper(
appCodec,
storeService,
stakingKeeper,
accountKeeper,
bankKeeper,
authtypes.FeeCollectorName,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)
```
##### TX Decoder
In order to support x/accounts properly we need to init a `TxDecoder`, modify your `app.go`:
```diff
import (
+ txdecode "cosmossdk.io/x/tx/decode"
)
+ txDecoder, err := txdecode.NewDecoder(txdecode.Options{
+ SigningContext: signingCtx,
+ ProtoCodec: appCodec,
+ })
+ if err != nil {
+ panic(err)
+ }
```
#### `x/crisis`
The `x/crisis` module was removed due to it not being supported or functional any longer.
#### `x/distribution`
Existing chains using `x/distribution` module must add the new `x/protocolpool` module.
#### `x/gov`
Gov v1beta1 proposal handler has been changed to take in a `context.Context` instead of `sdk.Context`.
#### `x/mint`
The `x/mint` module has been updated to work with a mint function [`MintFn`](https://docs.cosmos.network/v0.52/build/modules/mint#mintfn).
When using the default inflation calculation function and runtime, no change is required. The depinject configuration of mint automatically sets it if none is provided. However, when not using runtime, the mint function must be set in on the mint keeper:
```diff
+ mintKeeper.SetMintFn(keeper.DefaultMintFn(types.DefaultInflationCalculationFn, stakingKeeper, mintKeeper))
```
#### `x/protocolpool`
Introducing a new `x/protocolpool` module to handle community pool funds. Its store must be added while upgrading to v0.52.x.
Example:
2. **Using a Custom Minting Function**
To use a custom minting function, define it as follows and pass it you your mintKeeper when constructing it:
```go
func (app SimApp) RegisterUpgradeHandlers() {
app.UpgradeKeeper.SetUpgradeHandler(
UpgradeName,
func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return app.ModuleManager.RunMigrations(ctx, app.Configurator(), fromVM)
},
)
// ...
func myCustomMintFunc(ctx sdk.Context, k *mintkeeper.Keeper) {
// do minting...
}
// ...
mintKeeper := mintkeeper.NewKeeper(
appCodec,
storeService,
stakingKeeper,
accountKeeper,
bankKeeper,
authtypes.FeeCollectorName,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
mintkeeper.WithMintFn(myCustomMintFunc), // Use custom minting function
)
```
Add `x/protocolpool` store while upgrading to v0.52.x:
### Misc Changes
```go
storetypes.StoreUpgrades{
Added: []string{
protocolpooltypes.ModuleName,
},
}
```
#### Testnet's init-files Command
#### `x/validate`
Some changes were made to `testnet`'s `init-files` command to support our new testing framework, `Systemtest`.
Introducing `x/validate` a module that is solely used for registering default ante/post handlers and global tx validators when using runtime. If you wish to set your custom ante/post handlers, no need to use this module.
You can however always extend them by adding extra tx validators (see `x/validate` documentation).
##### Flag Changes
#### `tools/benchmark`
- The flag for validator count was changed from `--v` to `--validator-count`(shorthand: `-v`).
Introducing [`tools/benchmark`](https://github.com/cosmos/cosmos-sdk/tree/main/tools/benchmark) a Cosmos SDK module for benchmarking your chain. It is a standalone module that can be added to your chain to stress test it. This module should NOT be added in a production environment.
##### Flag Additions
- `--staking-denom` allows changing the default stake denom, `stake`.
- `--commit-timeout` enables changing the commit timeout of the chain.
- `--single-host` enables running a multi-node network on a single host. This bumps each subsequent node's network addresses by 1. For example, node1's gRPC address will be 9090, node2's 9091, etc...
+37
View File
@@ -0,0 +1,37 @@
<!--
Guiding Principles:
Changelogs are for humans, not machines.
There should be an entry for every single version.
The same types of changes should be grouped.
Versions and sections should be linkable.
The latest version comes first.
The release date of each version is displayed.
Mention whether you follow Semantic Versioning.
Usage:
Change log entries are to be added to the Unreleased section from newest to oldest.
Each entry must include the Github issue reference in the following format:
* [#<issue-number>] Changelog message.
-->
# Changelog
## [Unreleased]
## [v0.9.0](https://github.com/cosmos/cosmos-sdk/releases/tag/api/v0.9.0) - 2025-03-31
### Features
* [#23933](https://github.com/cosmos/cosmos-sdk/pull/23933) `x/protocolpool` API files
* [#23815](https://github.com/cosmos/cosmos-sdk/pull/23815) `x/epochs` API files
* [#23708](https://github.com/cosmos/cosmos-sdk/pull/23708) `unordered` transaction support
### Improvements
* [#24227](https://github.com/cosmos/cosmos-sdk/pull/24227) Minor dependency bumps
+242
View File
@@ -0,0 +1,242 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package amino
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect"
)
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: amino/amino.proto
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var file_amino_amino_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptorpb.MessageOptions)(nil),
ExtensionType: (*string)(nil),
Field: 11110001,
Name: "amino.name",
Tag: "bytes,11110001,opt,name=name",
Filename: "amino/amino.proto",
},
{
ExtendedType: (*descriptorpb.MessageOptions)(nil),
ExtensionType: (*string)(nil),
Field: 11110002,
Name: "amino.message_encoding",
Tag: "bytes,11110002,opt,name=message_encoding",
Filename: "amino/amino.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*string)(nil),
Field: 11110003,
Name: "amino.encoding",
Tag: "bytes,11110003,opt,name=encoding",
Filename: "amino/amino.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*string)(nil),
Field: 11110004,
Name: "amino.field_name",
Tag: "bytes,11110004,opt,name=field_name",
Filename: "amino/amino.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*bool)(nil),
Field: 11110005,
Name: "amino.dont_omitempty",
Tag: "varint,11110005,opt,name=dont_omitempty",
Filename: "amino/amino.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*string)(nil),
Field: 11110006,
Name: "amino.oneof_name",
Tag: "bytes,11110006,opt,name=oneof_name",
Filename: "amino/amino.proto",
},
}
// Extension fields to descriptorpb.MessageOptions.
var (
// name is the string used when registering a concrete
// type into the Amino type registry, via the Amino codec's
// `RegisterConcrete()` method. This string MUST be at most 39
// characters long, or else the message will be rejected by the
// Ledger hardware device.
//
// optional string name = 11110001;
E_Name = &file_amino_amino_proto_extTypes[0]
// encoding describes the encoding format used by Amino for the given
// message. The field type is chosen to be a string for
// flexibility, but it should ideally be short and expected to be
// machine-readable, for example "base64" or "utf8_json". We
// highly recommend to use underscores for word separation instead of spaces.
//
// If left empty, then the Amino encoding is expected to be the same as the
// Protobuf one.
//
// This annotation should not be confused with the `encoding`
// one which operates on the field level.
//
// optional string message_encoding = 11110002;
E_MessageEncoding = &file_amino_amino_proto_extTypes[1]
)
// Extension fields to descriptorpb.FieldOptions.
var (
// encoding describes the encoding format used by Amino for
// the given field. The field type is chosen to be a string for
// flexibility, but it should ideally be short and expected to be
// machine-readable, for example "base64" or "utf8_json". We
// highly recommend to use underscores for word separation instead of spaces.
//
// If left empty, then the Amino encoding is expected to be the same as the
// Protobuf one.
//
// This annotation should not be confused with the
// `message_encoding` one which operates on the message level.
//
// optional string encoding = 11110003;
E_Encoding = &file_amino_amino_proto_extTypes[2]
// field_name sets a different field name (i.e. key name) in
// the amino JSON object for the given field.
//
// Example:
//
// message Foo {
// string bar = 1 [(amino.field_name) = "baz"];
// }
//
// Then the Amino encoding of Foo will be:
// `{"baz":"some value"}`
//
// optional string field_name = 11110004;
E_FieldName = &file_amino_amino_proto_extTypes[3]
// dont_omitempty sets the field in the JSON object even if
// its value is empty, i.e. equal to the Golang zero value. To learn what
// the zero values are, see https://go.dev/ref/spec#The_zero_value.
//
// Fields default to `omitempty`, which is the default behavior when this
// annotation is unset. When set to true, then the field value in the
// JSON object will be set, i.e. not `undefined`.
//
// Example:
//
// message Foo {
// string bar = 1;
// string baz = 2 [(amino.dont_omitempty) = true];
// }
//
// f := Foo{};
// out := AminoJSONEncoder(&f);
// out == {"baz":""}
//
// optional bool dont_omitempty = 11110005;
E_DontOmitempty = &file_amino_amino_proto_extTypes[4]
// oneof_name sets the type name for the given field oneof field. This is used
// by the Amino JSON encoder to encode the type of the oneof field, and must be the same string in
// the RegisterConcrete() method usage used to register the concrete type.
//
// optional string oneof_name = 11110006;
E_OneofName = &file_amino_amino_proto_extTypes[5]
)
var File_amino_amino_proto protoreflect.FileDescriptor
var file_amino_amino_proto_rawDesc = []byte{
0x0a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x05, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x36, 0x0a, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf1, 0x8c, 0xa6, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x4d, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f,
0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf2, 0x8c, 0xa6, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64,
0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12,
0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf3,
0x8c, 0xa6, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e,
0x67, 0x3a, 0x3f, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12,
0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf4,
0x8c, 0xa6, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61,
0x6d, 0x65, 0x3a, 0x47, 0x0a, 0x0e, 0x64, 0x6f, 0x6e, 0x74, 0x5f, 0x6f, 0x6d, 0x69, 0x74, 0x65,
0x6d, 0x70, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x18, 0xf5, 0x8c, 0xa6, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x6f,
0x6e, 0x74, 0x4f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x3a, 0x3f, 0x0a, 0x0a, 0x6f,
0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf6, 0x8c, 0xa6, 0x05, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x63, 0x0a, 0x09,
0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x42, 0x0a, 0x41, 0x6d, 0x69, 0x6e, 0x6f,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x16, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73,
0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0xa2,
0x02, 0x03, 0x41, 0x58, 0x58, 0xaa, 0x02, 0x05, 0x41, 0x6d, 0x69, 0x6e, 0x6f, 0xca, 0x02, 0x05,
0x41, 0x6d, 0x69, 0x6e, 0x6f, 0xe2, 0x02, 0x11, 0x41, 0x6d, 0x69, 0x6e, 0x6f, 0x5c, 0x47, 0x50,
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x05, 0x41, 0x6d, 0x69, 0x6e,
0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var file_amino_amino_proto_goTypes = []interface{}{
(*descriptorpb.MessageOptions)(nil), // 0: google.protobuf.MessageOptions
(*descriptorpb.FieldOptions)(nil), // 1: google.protobuf.FieldOptions
}
var file_amino_amino_proto_depIdxs = []int32{
0, // 0: amino.name:extendee -> google.protobuf.MessageOptions
0, // 1: amino.message_encoding:extendee -> google.protobuf.MessageOptions
1, // 2: amino.encoding:extendee -> google.protobuf.FieldOptions
1, // 3: amino.field_name:extendee -> google.protobuf.FieldOptions
1, // 4: amino.dont_omitempty:extendee -> google.protobuf.FieldOptions
1, // 5: amino.oneof_name:extendee -> google.protobuf.FieldOptions
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
0, // [0:6] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_amino_amino_proto_init() }
func file_amino_amino_proto_init() {
if File_amino_amino_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_amino_amino_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 6,
NumServices: 0,
},
GoTypes: file_amino_amino_proto_goTypes,
DependencyIndexes: file_amino_amino_proto_depIdxs,
ExtensionInfos: file_amino_amino_proto_extTypes,
}.Build()
File_amino_amino_proto = out.File
file_amino_amino_proto_rawDesc = nil
file_amino_amino_proto_goTypes = nil
file_amino_amino_proto_depIdxs = nil
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+999
View File
@@ -0,0 +1,999 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package appv1alpha1
import (
fmt "fmt"
runtime "github.com/cosmos/cosmos-proto/runtime"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoiface "google.golang.org/protobuf/runtime/protoiface"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
io "io"
reflect "reflect"
sync "sync"
)
var (
md_QueryConfigRequest protoreflect.MessageDescriptor
)
func init() {
file_cosmos_app_v1alpha1_query_proto_init()
md_QueryConfigRequest = File_cosmos_app_v1alpha1_query_proto.Messages().ByName("QueryConfigRequest")
}
var _ protoreflect.Message = (*fastReflection_QueryConfigRequest)(nil)
type fastReflection_QueryConfigRequest QueryConfigRequest
func (x *QueryConfigRequest) ProtoReflect() protoreflect.Message {
return (*fastReflection_QueryConfigRequest)(x)
}
func (x *QueryConfigRequest) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_app_v1alpha1_query_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
var _fastReflection_QueryConfigRequest_messageType fastReflection_QueryConfigRequest_messageType
var _ protoreflect.MessageType = fastReflection_QueryConfigRequest_messageType{}
type fastReflection_QueryConfigRequest_messageType struct{}
func (x fastReflection_QueryConfigRequest_messageType) Zero() protoreflect.Message {
return (*fastReflection_QueryConfigRequest)(nil)
}
func (x fastReflection_QueryConfigRequest_messageType) New() protoreflect.Message {
return new(fastReflection_QueryConfigRequest)
}
func (x fastReflection_QueryConfigRequest_messageType) Descriptor() protoreflect.MessageDescriptor {
return md_QueryConfigRequest
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func (x *fastReflection_QueryConfigRequest) Descriptor() protoreflect.MessageDescriptor {
return md_QueryConfigRequest
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func (x *fastReflection_QueryConfigRequest) Type() protoreflect.MessageType {
return _fastReflection_QueryConfigRequest_messageType
}
// New returns a newly allocated and mutable empty message.
func (x *fastReflection_QueryConfigRequest) New() protoreflect.Message {
return new(fastReflection_QueryConfigRequest)
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func (x *fastReflection_QueryConfigRequest) Interface() protoreflect.ProtoMessage {
return (*QueryConfigRequest)(x)
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func (x *fastReflection_QueryConfigRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func (x *fastReflection_QueryConfigRequest) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigRequest"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigRequest does not contain field %s", fd.FullName()))
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_QueryConfigRequest) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigRequest"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigRequest does not contain field %s", fd.FullName()))
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_QueryConfigRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigRequest"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigRequest does not contain field %s", descriptor.FullName()))
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_QueryConfigRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigRequest"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigRequest does not contain field %s", fd.FullName()))
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_QueryConfigRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigRequest"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigRequest does not contain field %s", fd.FullName()))
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_QueryConfigRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigRequest"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigRequest does not contain field %s", fd.FullName()))
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func (x *fastReflection_QueryConfigRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.app.v1alpha1.QueryConfigRequest", d.FullName()))
}
panic("unreachable")
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func (x *fastReflection_QueryConfigRequest) GetUnknown() protoreflect.RawFields {
return x.unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_QueryConfigRequest) SetUnknown(fields protoreflect.RawFields) {
x.unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func (x *fastReflection_QueryConfigRequest) IsValid() bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func (x *fastReflection_QueryConfigRequest) ProtoMethods() *protoiface.Methods {
size := func(input protoiface.SizeInput) protoiface.SizeOutput {
x := input.Message.Interface().(*QueryConfigRequest)
if x == nil {
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: 0,
}
}
options := runtime.SizeInputToOptions(input)
_ = options
var n int
var l int
_ = l
if x.unknownFields != nil {
n += len(x.unknownFields)
}
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: n,
}
}
marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
x := input.Message.Interface().(*QueryConfigRequest)
if x == nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
options := runtime.MarshalInputToOptions(input)
_ = options
size := options.Size(x)
dAtA := make([]byte, size)
i := len(dAtA)
_ = i
var l int
_ = l
if x.unknownFields != nil {
i -= len(x.unknownFields)
copy(dAtA[i:], x.unknownFields)
}
if input.Buf != nil {
input.Buf = append(input.Buf, dAtA...)
} else {
input.Buf = dAtA
}
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
x := input.Message.Interface().(*QueryConfigRequest)
if x == nil {
return protoiface.UnmarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Flags: input.Flags,
}, nil
}
options := runtime.UnmarshalInputToOptions(input)
_ = options
dAtA := input.Buf
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryConfigRequest: wiretype end group for non-group")
}
if fieldNum <= 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryConfigRequest: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
default:
iNdEx = preIndex
skippy, err := runtime.Skip(dAtA[iNdEx:])
if err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if (iNdEx + skippy) > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if !options.DiscardUnknown {
x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
}
return &protoiface.Methods{
NoUnkeyedLiterals: struct{}{},
Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
Size: size,
Marshal: marshal,
Unmarshal: unmarshal,
Merge: nil,
CheckInitialized: nil,
}
}
var (
md_QueryConfigResponse protoreflect.MessageDescriptor
fd_QueryConfigResponse_config protoreflect.FieldDescriptor
)
func init() {
file_cosmos_app_v1alpha1_query_proto_init()
md_QueryConfigResponse = File_cosmos_app_v1alpha1_query_proto.Messages().ByName("QueryConfigResponse")
fd_QueryConfigResponse_config = md_QueryConfigResponse.Fields().ByName("config")
}
var _ protoreflect.Message = (*fastReflection_QueryConfigResponse)(nil)
type fastReflection_QueryConfigResponse QueryConfigResponse
func (x *QueryConfigResponse) ProtoReflect() protoreflect.Message {
return (*fastReflection_QueryConfigResponse)(x)
}
func (x *QueryConfigResponse) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_app_v1alpha1_query_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
var _fastReflection_QueryConfigResponse_messageType fastReflection_QueryConfigResponse_messageType
var _ protoreflect.MessageType = fastReflection_QueryConfigResponse_messageType{}
type fastReflection_QueryConfigResponse_messageType struct{}
func (x fastReflection_QueryConfigResponse_messageType) Zero() protoreflect.Message {
return (*fastReflection_QueryConfigResponse)(nil)
}
func (x fastReflection_QueryConfigResponse_messageType) New() protoreflect.Message {
return new(fastReflection_QueryConfigResponse)
}
func (x fastReflection_QueryConfigResponse_messageType) Descriptor() protoreflect.MessageDescriptor {
return md_QueryConfigResponse
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func (x *fastReflection_QueryConfigResponse) Descriptor() protoreflect.MessageDescriptor {
return md_QueryConfigResponse
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func (x *fastReflection_QueryConfigResponse) Type() protoreflect.MessageType {
return _fastReflection_QueryConfigResponse_messageType
}
// New returns a newly allocated and mutable empty message.
func (x *fastReflection_QueryConfigResponse) New() protoreflect.Message {
return new(fastReflection_QueryConfigResponse)
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func (x *fastReflection_QueryConfigResponse) Interface() protoreflect.ProtoMessage {
return (*QueryConfigResponse)(x)
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func (x *fastReflection_QueryConfigResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
if x.Config != nil {
value := protoreflect.ValueOfMessage(x.Config.ProtoReflect())
if !f(fd_QueryConfigResponse_config, value) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func (x *fastReflection_QueryConfigResponse) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cosmos.app.v1alpha1.QueryConfigResponse.config":
return x.Config != nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigResponse"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigResponse does not contain field %s", fd.FullName()))
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_QueryConfigResponse) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cosmos.app.v1alpha1.QueryConfigResponse.config":
x.Config = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigResponse"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigResponse does not contain field %s", fd.FullName()))
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_QueryConfigResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cosmos.app.v1alpha1.QueryConfigResponse.config":
value := x.Config
return protoreflect.ValueOfMessage(value.ProtoReflect())
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigResponse"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigResponse does not contain field %s", descriptor.FullName()))
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_QueryConfigResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.app.v1alpha1.QueryConfigResponse.config":
x.Config = value.Message().Interface().(*Config)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigResponse"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigResponse does not contain field %s", fd.FullName()))
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_QueryConfigResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.app.v1alpha1.QueryConfigResponse.config":
if x.Config == nil {
x.Config = new(Config)
}
return protoreflect.ValueOfMessage(x.Config.ProtoReflect())
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigResponse"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigResponse does not contain field %s", fd.FullName()))
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_QueryConfigResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.app.v1alpha1.QueryConfigResponse.config":
m := new(Config)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.app.v1alpha1.QueryConfigResponse"))
}
panic(fmt.Errorf("message cosmos.app.v1alpha1.QueryConfigResponse does not contain field %s", fd.FullName()))
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func (x *fastReflection_QueryConfigResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.app.v1alpha1.QueryConfigResponse", d.FullName()))
}
panic("unreachable")
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func (x *fastReflection_QueryConfigResponse) GetUnknown() protoreflect.RawFields {
return x.unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_QueryConfigResponse) SetUnknown(fields protoreflect.RawFields) {
x.unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func (x *fastReflection_QueryConfigResponse) IsValid() bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func (x *fastReflection_QueryConfigResponse) ProtoMethods() *protoiface.Methods {
size := func(input protoiface.SizeInput) protoiface.SizeOutput {
x := input.Message.Interface().(*QueryConfigResponse)
if x == nil {
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: 0,
}
}
options := runtime.SizeInputToOptions(input)
_ = options
var n int
var l int
_ = l
if x.Config != nil {
l = options.Size(x.Config)
n += 1 + l + runtime.Sov(uint64(l))
}
if x.unknownFields != nil {
n += len(x.unknownFields)
}
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: n,
}
}
marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
x := input.Message.Interface().(*QueryConfigResponse)
if x == nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
options := runtime.MarshalInputToOptions(input)
_ = options
size := options.Size(x)
dAtA := make([]byte, size)
i := len(dAtA)
_ = i
var l int
_ = l
if x.unknownFields != nil {
i -= len(x.unknownFields)
copy(dAtA[i:], x.unknownFields)
}
if x.Config != nil {
encoded, err := options.Marshal(x.Config)
if err != nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, err
}
i -= len(encoded)
copy(dAtA[i:], encoded)
i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded)))
i--
dAtA[i] = 0xa
}
if input.Buf != nil {
input.Buf = append(input.Buf, dAtA...)
} else {
input.Buf = dAtA
}
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
x := input.Message.Interface().(*QueryConfigResponse)
if x == nil {
return protoiface.UnmarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Flags: input.Flags,
}, nil
}
options := runtime.UnmarshalInputToOptions(input)
_ = options
dAtA := input.Buf
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryConfigResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryConfigResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Config == nil {
x.Config = &Config{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Config); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := runtime.Skip(dAtA[iNdEx:])
if err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if (iNdEx + skippy) > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if !options.DiscardUnknown {
x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
}
return &protoiface.Methods{
NoUnkeyedLiterals: struct{}{},
Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
Size: size,
Marshal: marshal,
Unmarshal: unmarshal,
Merge: nil,
CheckInitialized: nil,
}
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cosmos/app/v1alpha1/query.proto
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// QueryConfigRequest is the Query/Config request type.
type QueryConfigRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *QueryConfigRequest) Reset() {
*x = QueryConfigRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_app_v1alpha1_query_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryConfigRequest) ProtoMessage() {}
// Deprecated: Use QueryConfigRequest.ProtoReflect.Descriptor instead.
func (*QueryConfigRequest) Descriptor() ([]byte, []int) {
return file_cosmos_app_v1alpha1_query_proto_rawDescGZIP(), []int{0}
}
// QueryConfigResponse is the Query/Config response type.
type QueryConfigResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// config is the current app config.
Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
}
func (x *QueryConfigResponse) Reset() {
*x = QueryConfigResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_app_v1alpha1_query_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryConfigResponse) ProtoMessage() {}
// Deprecated: Use QueryConfigResponse.ProtoReflect.Descriptor instead.
func (*QueryConfigResponse) Descriptor() ([]byte, []int) {
return file_cosmos_app_v1alpha1_query_proto_rawDescGZIP(), []int{1}
}
func (x *QueryConfigResponse) GetConfig() *Config {
if x != nil {
return x.Config
}
return nil
}
var File_cosmos_app_v1alpha1_query_proto protoreflect.FileDescriptor
var file_cosmos_app_v1alpha1_query_proto_rawDesc = []byte{
0x0a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61,
0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x13, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31,
0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61,
0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72,
0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4a,
0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
0x70, 0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x69, 0x0a, 0x05, 0x51, 0x75,
0x65, 0x72, 0x79, 0x12, 0x60, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
0x68, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65,
0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x03, 0x88, 0x02, 0x01, 0x42, 0xc5, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70,
0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61,
0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x61, 0x70, 0x70, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x2e, 0x41, 0x70, 0x70, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x13,
0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x70, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70,
0x68, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x70,
0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a,
0x41, 0x70, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cosmos_app_v1alpha1_query_proto_rawDescOnce sync.Once
file_cosmos_app_v1alpha1_query_proto_rawDescData = file_cosmos_app_v1alpha1_query_proto_rawDesc
)
func file_cosmos_app_v1alpha1_query_proto_rawDescGZIP() []byte {
file_cosmos_app_v1alpha1_query_proto_rawDescOnce.Do(func() {
file_cosmos_app_v1alpha1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_app_v1alpha1_query_proto_rawDescData)
})
return file_cosmos_app_v1alpha1_query_proto_rawDescData
}
var file_cosmos_app_v1alpha1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_cosmos_app_v1alpha1_query_proto_goTypes = []interface{}{
(*QueryConfigRequest)(nil), // 0: cosmos.app.v1alpha1.QueryConfigRequest
(*QueryConfigResponse)(nil), // 1: cosmos.app.v1alpha1.QueryConfigResponse
(*Config)(nil), // 2: cosmos.app.v1alpha1.Config
}
var file_cosmos_app_v1alpha1_query_proto_depIdxs = []int32{
2, // 0: cosmos.app.v1alpha1.QueryConfigResponse.config:type_name -> cosmos.app.v1alpha1.Config
0, // 1: cosmos.app.v1alpha1.Query.Config:input_type -> cosmos.app.v1alpha1.QueryConfigRequest
1, // 2: cosmos.app.v1alpha1.Query.Config:output_type -> cosmos.app.v1alpha1.QueryConfigResponse
2, // [2:3] is the sub-list for method output_type
1, // [1:2] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_cosmos_app_v1alpha1_query_proto_init() }
func file_cosmos_app_v1alpha1_query_proto_init() {
if File_cosmos_app_v1alpha1_query_proto != nil {
return
}
file_cosmos_app_v1alpha1_config_proto_init()
if !protoimpl.UnsafeEnabled {
file_cosmos_app_v1alpha1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryConfigRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_cosmos_app_v1alpha1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryConfigResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cosmos_app_v1alpha1_query_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_cosmos_app_v1alpha1_query_proto_goTypes,
DependencyIndexes: file_cosmos_app_v1alpha1_query_proto_depIdxs,
MessageInfos: file_cosmos_app_v1alpha1_query_proto_msgTypes,
}.Build()
File_cosmos_app_v1alpha1_query_proto = out.File
file_cosmos_app_v1alpha1_query_proto_rawDesc = nil
file_cosmos_app_v1alpha1_query_proto_goTypes = nil
file_cosmos_app_v1alpha1_query_proto_depIdxs = nil
}
+130
View File
@@ -0,0 +1,130 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/app/v1alpha1/query.proto
package appv1alpha1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Query_Config_FullMethodName = "/cosmos.app.v1alpha1.Query/Config"
)
// QueryClient is the client API for Query service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// Query is the app module query service.
type QueryClient interface {
// Deprecated: Do not use.
// Config returns the current app config.
Config(ctx context.Context, in *QueryConfigRequest, opts ...grpc.CallOption) (*QueryConfigResponse, error)
}
type queryClient struct {
cc grpc.ClientConnInterface
}
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient {
return &queryClient{cc}
}
// Deprecated: Do not use.
func (c *queryClient) Config(ctx context.Context, in *QueryConfigRequest, opts ...grpc.CallOption) (*QueryConfigResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryConfigResponse)
err := c.cc.Invoke(ctx, Query_Config_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// QueryServer is the server API for Query service.
// All implementations must embed UnimplementedQueryServer
// for forward compatibility.
//
// Query is the app module query service.
type QueryServer interface {
// Deprecated: Do not use.
// Config returns the current app config.
Config(context.Context, *QueryConfigRequest) (*QueryConfigResponse, error)
mustEmbedUnimplementedQueryServer()
}
// UnimplementedQueryServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedQueryServer struct{}
func (UnimplementedQueryServer) Config(context.Context, *QueryConfigRequest) (*QueryConfigResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Config not implemented")
}
func (UnimplementedQueryServer) mustEmbedUnimplementedQueryServer() {}
func (UnimplementedQueryServer) testEmbeddedByValue() {}
// UnsafeQueryServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to QueryServer will
// result in compilation errors.
type UnsafeQueryServer interface {
mustEmbedUnimplementedQueryServer()
}
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer) {
// If the following call pancis, it indicates UnimplementedQueryServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Query_ServiceDesc, srv)
}
func _Query_Config_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).Config(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_Config_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Config(ctx, req.(*QueryConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
// Query_ServiceDesc is the grpc.ServiceDesc for Query service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.app.v1alpha1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Config",
Handler: _Query_Config_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/app/v1alpha1/query.proto",
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+753
View File
@@ -0,0 +1,753 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package authv1beta1
import (
_ "cosmossdk.io/api/amino"
fmt "fmt"
runtime "github.com/cosmos/cosmos-proto/runtime"
_ "github.com/cosmos/gogoproto/gogoproto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoiface "google.golang.org/protobuf/runtime/protoiface"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
io "io"
reflect "reflect"
sync "sync"
)
var _ protoreflect.List = (*_GenesisState_2_list)(nil)
type _GenesisState_2_list struct {
list *[]*anypb.Any
}
func (x *_GenesisState_2_list) Len() int {
if x.list == nil {
return 0
}
return len(*x.list)
}
func (x *_GenesisState_2_list) Get(i int) protoreflect.Value {
return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect())
}
func (x *_GenesisState_2_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*anypb.Any)
(*x.list)[i] = concreteValue
}
func (x *_GenesisState_2_list) Append(value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*anypb.Any)
*x.list = append(*x.list, concreteValue)
}
func (x *_GenesisState_2_list) AppendMutable() protoreflect.Value {
v := new(anypb.Any)
*x.list = append(*x.list, v)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
func (x *_GenesisState_2_list) Truncate(n int) {
for i := n; i < len(*x.list); i++ {
(*x.list)[i] = nil
}
*x.list = (*x.list)[:n]
}
func (x *_GenesisState_2_list) NewElement() protoreflect.Value {
v := new(anypb.Any)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
func (x *_GenesisState_2_list) IsValid() bool {
return x.list != nil
}
var (
md_GenesisState protoreflect.MessageDescriptor
fd_GenesisState_params protoreflect.FieldDescriptor
fd_GenesisState_accounts protoreflect.FieldDescriptor
)
func init() {
file_cosmos_auth_v1beta1_genesis_proto_init()
md_GenesisState = File_cosmos_auth_v1beta1_genesis_proto.Messages().ByName("GenesisState")
fd_GenesisState_params = md_GenesisState.Fields().ByName("params")
fd_GenesisState_accounts = md_GenesisState.Fields().ByName("accounts")
}
var _ protoreflect.Message = (*fastReflection_GenesisState)(nil)
type fastReflection_GenesisState GenesisState
func (x *GenesisState) ProtoReflect() protoreflect.Message {
return (*fastReflection_GenesisState)(x)
}
func (x *GenesisState) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_auth_v1beta1_genesis_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
var _fastReflection_GenesisState_messageType fastReflection_GenesisState_messageType
var _ protoreflect.MessageType = fastReflection_GenesisState_messageType{}
type fastReflection_GenesisState_messageType struct{}
func (x fastReflection_GenesisState_messageType) Zero() protoreflect.Message {
return (*fastReflection_GenesisState)(nil)
}
func (x fastReflection_GenesisState_messageType) New() protoreflect.Message {
return new(fastReflection_GenesisState)
}
func (x fastReflection_GenesisState_messageType) Descriptor() protoreflect.MessageDescriptor {
return md_GenesisState
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func (x *fastReflection_GenesisState) Descriptor() protoreflect.MessageDescriptor {
return md_GenesisState
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func (x *fastReflection_GenesisState) Type() protoreflect.MessageType {
return _fastReflection_GenesisState_messageType
}
// New returns a newly allocated and mutable empty message.
func (x *fastReflection_GenesisState) New() protoreflect.Message {
return new(fastReflection_GenesisState)
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func (x *fastReflection_GenesisState) Interface() protoreflect.ProtoMessage {
return (*GenesisState)(x)
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
if x.Params != nil {
value := protoreflect.ValueOfMessage(x.Params.ProtoReflect())
if !f(fd_GenesisState_params, value) {
return
}
}
if len(x.Accounts) != 0 {
value := protoreflect.ValueOfList(&_GenesisState_2_list{list: &x.Accounts})
if !f(fd_GenesisState_accounts, value) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cosmos.auth.v1beta1.GenesisState.params":
return x.Params != nil
case "cosmos.auth.v1beta1.GenesisState.accounts":
return len(x.Accounts) != 0
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.auth.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.auth.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cosmos.auth.v1beta1.GenesisState.params":
x.Params = nil
case "cosmos.auth.v1beta1.GenesisState.accounts":
x.Accounts = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.auth.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.auth.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cosmos.auth.v1beta1.GenesisState.params":
value := x.Params
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cosmos.auth.v1beta1.GenesisState.accounts":
if len(x.Accounts) == 0 {
return protoreflect.ValueOfList(&_GenesisState_2_list{})
}
listValue := &_GenesisState_2_list{list: &x.Accounts}
return protoreflect.ValueOfList(listValue)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.auth.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.auth.v1beta1.GenesisState does not contain field %s", descriptor.FullName()))
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.auth.v1beta1.GenesisState.params":
x.Params = value.Message().Interface().(*Params)
case "cosmos.auth.v1beta1.GenesisState.accounts":
lv := value.List()
clv := lv.(*_GenesisState_2_list)
x.Accounts = *clv.list
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.auth.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.auth.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.auth.v1beta1.GenesisState.params":
if x.Params == nil {
x.Params = new(Params)
}
return protoreflect.ValueOfMessage(x.Params.ProtoReflect())
case "cosmos.auth.v1beta1.GenesisState.accounts":
if x.Accounts == nil {
x.Accounts = []*anypb.Any{}
}
value := &_GenesisState_2_list{list: &x.Accounts}
return protoreflect.ValueOfList(value)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.auth.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.auth.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.auth.v1beta1.GenesisState.params":
m := new(Params)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.auth.v1beta1.GenesisState.accounts":
list := []*anypb.Any{}
return protoreflect.ValueOfList(&_GenesisState_2_list{list: &list})
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.auth.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.auth.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.auth.v1beta1.GenesisState", d.FullName()))
}
panic("unreachable")
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func (x *fastReflection_GenesisState) GetUnknown() protoreflect.RawFields {
return x.unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) SetUnknown(fields protoreflect.RawFields) {
x.unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func (x *fastReflection_GenesisState) IsValid() bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods {
size := func(input protoiface.SizeInput) protoiface.SizeOutput {
x := input.Message.Interface().(*GenesisState)
if x == nil {
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: 0,
}
}
options := runtime.SizeInputToOptions(input)
_ = options
var n int
var l int
_ = l
if x.Params != nil {
l = options.Size(x.Params)
n += 1 + l + runtime.Sov(uint64(l))
}
if len(x.Accounts) > 0 {
for _, e := range x.Accounts {
l = options.Size(e)
n += 1 + l + runtime.Sov(uint64(l))
}
}
if x.unknownFields != nil {
n += len(x.unknownFields)
}
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: n,
}
}
marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
x := input.Message.Interface().(*GenesisState)
if x == nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
options := runtime.MarshalInputToOptions(input)
_ = options
size := options.Size(x)
dAtA := make([]byte, size)
i := len(dAtA)
_ = i
var l int
_ = l
if x.unknownFields != nil {
i -= len(x.unknownFields)
copy(dAtA[i:], x.unknownFields)
}
if len(x.Accounts) > 0 {
for iNdEx := len(x.Accounts) - 1; iNdEx >= 0; iNdEx-- {
encoded, err := options.Marshal(x.Accounts[iNdEx])
if err != nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, err
}
i -= len(encoded)
copy(dAtA[i:], encoded)
i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded)))
i--
dAtA[i] = 0x12
}
}
if x.Params != nil {
encoded, err := options.Marshal(x.Params)
if err != nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, err
}
i -= len(encoded)
copy(dAtA[i:], encoded)
i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded)))
i--
dAtA[i] = 0xa
}
if input.Buf != nil {
input.Buf = append(input.Buf, dAtA...)
} else {
input.Buf = dAtA
}
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
x := input.Message.Interface().(*GenesisState)
if x == nil {
return protoiface.UnmarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Flags: input.Flags,
}, nil
}
options := runtime.UnmarshalInputToOptions(input)
_ = options
dAtA := input.Buf
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GenesisState: wiretype end group for non-group")
}
if fieldNum <= 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if x.Params == nil {
x.Params = &Params{}
}
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Accounts", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.Accounts = append(x.Accounts, &anypb.Any{})
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Accounts[len(x.Accounts)-1]); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := runtime.Skip(dAtA[iNdEx:])
if err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if (iNdEx + skippy) > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if !options.DiscardUnknown {
x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
}
return &protoiface.Methods{
NoUnkeyedLiterals: struct{}{},
Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
Size: size,
Marshal: marshal,
Unmarshal: unmarshal,
Merge: nil,
CheckInitialized: nil,
}
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cosmos/auth/v1beta1/genesis.proto
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// GenesisState defines the auth module's genesis state.
type GenesisState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// params defines all the parameters of the module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// accounts are the accounts present at genesis.
Accounts []*anypb.Any `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
}
func (x *GenesisState) Reset() {
*x = GenesisState{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_auth_v1beta1_genesis_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenesisState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenesisState) ProtoMessage() {}
// Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) Descriptor() ([]byte, []int) {
return file_cosmos_auth_v1beta1_genesis_proto_rawDescGZIP(), []int{0}
}
func (x *GenesisState) GetParams() *Params {
if x != nil {
return x.Params
}
return nil
}
func (x *GenesisState) GetAccounts() []*anypb.Any {
if x != nil {
return x.Accounts
}
return nil
}
var File_cosmos_auth_v1beta1_genesis_proto protoreflect.FileDescriptor
var file_cosmos_auth_v1beta1_genesis_proto_rawDesc = []byte{
0x0a, 0x21, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31,
0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x13, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68,
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f,
0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f,
0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a,
0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a,
0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65,
0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00,
0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x30, 0x0a,
0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x42,
0xc7, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e,
0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
0x31, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03,
0x43, 0x41, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x75, 0x74,
0x68, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d,
0x6f, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2,
0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x56, 0x31,
0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0xea, 0x02, 0x15, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68,
0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (
file_cosmos_auth_v1beta1_genesis_proto_rawDescOnce sync.Once
file_cosmos_auth_v1beta1_genesis_proto_rawDescData = file_cosmos_auth_v1beta1_genesis_proto_rawDesc
)
func file_cosmos_auth_v1beta1_genesis_proto_rawDescGZIP() []byte {
file_cosmos_auth_v1beta1_genesis_proto_rawDescOnce.Do(func() {
file_cosmos_auth_v1beta1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_auth_v1beta1_genesis_proto_rawDescData)
})
return file_cosmos_auth_v1beta1_genesis_proto_rawDescData
}
var file_cosmos_auth_v1beta1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_auth_v1beta1_genesis_proto_goTypes = []interface{}{
(*GenesisState)(nil), // 0: cosmos.auth.v1beta1.GenesisState
(*Params)(nil), // 1: cosmos.auth.v1beta1.Params
(*anypb.Any)(nil), // 2: google.protobuf.Any
}
var file_cosmos_auth_v1beta1_genesis_proto_depIdxs = []int32{
1, // 0: cosmos.auth.v1beta1.GenesisState.params:type_name -> cosmos.auth.v1beta1.Params
2, // 1: cosmos.auth.v1beta1.GenesisState.accounts:type_name -> google.protobuf.Any
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_cosmos_auth_v1beta1_genesis_proto_init() }
func file_cosmos_auth_v1beta1_genesis_proto_init() {
if File_cosmos_auth_v1beta1_genesis_proto != nil {
return
}
file_cosmos_auth_v1beta1_auth_proto_init()
if !protoimpl.UnsafeEnabled {
file_cosmos_auth_v1beta1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenesisState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cosmos_auth_v1beta1_genesis_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cosmos_auth_v1beta1_genesis_proto_goTypes,
DependencyIndexes: file_cosmos_auth_v1beta1_genesis_proto_depIdxs,
MessageInfos: file_cosmos_auth_v1beta1_genesis_proto_msgTypes,
}.Build()
File_cosmos_auth_v1beta1_genesis_proto = out.File
file_cosmos_auth_v1beta1_genesis_proto_rawDesc = nil
file_cosmos_auth_v1beta1_genesis_proto_goTypes = nil
file_cosmos_auth_v1beta1_genesis_proto_depIdxs = nil
}
File diff suppressed because it is too large Load Diff
+493
View File
@@ -0,0 +1,493 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/auth/v1beta1/query.proto
package authv1beta1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Query_Accounts_FullMethodName = "/cosmos.auth.v1beta1.Query/Accounts"
Query_Account_FullMethodName = "/cosmos.auth.v1beta1.Query/Account"
Query_AccountAddressByID_FullMethodName = "/cosmos.auth.v1beta1.Query/AccountAddressByID"
Query_Params_FullMethodName = "/cosmos.auth.v1beta1.Query/Params"
Query_ModuleAccounts_FullMethodName = "/cosmos.auth.v1beta1.Query/ModuleAccounts"
Query_ModuleAccountByName_FullMethodName = "/cosmos.auth.v1beta1.Query/ModuleAccountByName"
Query_Bech32Prefix_FullMethodName = "/cosmos.auth.v1beta1.Query/Bech32Prefix"
Query_AddressBytesToString_FullMethodName = "/cosmos.auth.v1beta1.Query/AddressBytesToString"
Query_AddressStringToBytes_FullMethodName = "/cosmos.auth.v1beta1.Query/AddressStringToBytes"
Query_AccountInfo_FullMethodName = "/cosmos.auth.v1beta1.Query/AccountInfo"
)
// QueryClient is the client API for Query service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// Query defines the gRPC querier service.
type QueryClient interface {
// Accounts returns all the existing accounts.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
Accounts(ctx context.Context, in *QueryAccountsRequest, opts ...grpc.CallOption) (*QueryAccountsResponse, error)
// Account returns account details based on address.
Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error)
// AccountAddressByID returns account address based on account number.
AccountAddressByID(ctx context.Context, in *QueryAccountAddressByIDRequest, opts ...grpc.CallOption) (*QueryAccountAddressByIDResponse, error)
// Params queries all parameters.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
// ModuleAccounts returns all the existing module accounts.
ModuleAccounts(ctx context.Context, in *QueryModuleAccountsRequest, opts ...grpc.CallOption) (*QueryModuleAccountsResponse, error)
// ModuleAccountByName returns the module account info by module name
ModuleAccountByName(ctx context.Context, in *QueryModuleAccountByNameRequest, opts ...grpc.CallOption) (*QueryModuleAccountByNameResponse, error)
// Bech32Prefix queries bech32Prefix
Bech32Prefix(ctx context.Context, in *Bech32PrefixRequest, opts ...grpc.CallOption) (*Bech32PrefixResponse, error)
// AddressBytesToString converts Account Address bytes to string
AddressBytesToString(ctx context.Context, in *AddressBytesToStringRequest, opts ...grpc.CallOption) (*AddressBytesToStringResponse, error)
// AddressStringToBytes converts Address string to bytes
AddressStringToBytes(ctx context.Context, in *AddressStringToBytesRequest, opts ...grpc.CallOption) (*AddressStringToBytesResponse, error)
// AccountInfo queries account info which is common to all account types.
AccountInfo(ctx context.Context, in *QueryAccountInfoRequest, opts ...grpc.CallOption) (*QueryAccountInfoResponse, error)
}
type queryClient struct {
cc grpc.ClientConnInterface
}
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient {
return &queryClient{cc}
}
func (c *queryClient) Accounts(ctx context.Context, in *QueryAccountsRequest, opts ...grpc.CallOption) (*QueryAccountsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryAccountsResponse)
err := c.cc.Invoke(ctx, Query_Accounts_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryAccountResponse)
err := c.cc.Invoke(ctx, Query_Account_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) AccountAddressByID(ctx context.Context, in *QueryAccountAddressByIDRequest, opts ...grpc.CallOption) (*QueryAccountAddressByIDResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryAccountAddressByIDResponse)
err := c.cc.Invoke(ctx, Query_AccountAddressByID_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, Query_Params_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) ModuleAccounts(ctx context.Context, in *QueryModuleAccountsRequest, opts ...grpc.CallOption) (*QueryModuleAccountsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryModuleAccountsResponse)
err := c.cc.Invoke(ctx, Query_ModuleAccounts_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) ModuleAccountByName(ctx context.Context, in *QueryModuleAccountByNameRequest, opts ...grpc.CallOption) (*QueryModuleAccountByNameResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryModuleAccountByNameResponse)
err := c.cc.Invoke(ctx, Query_ModuleAccountByName_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) Bech32Prefix(ctx context.Context, in *Bech32PrefixRequest, opts ...grpc.CallOption) (*Bech32PrefixResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Bech32PrefixResponse)
err := c.cc.Invoke(ctx, Query_Bech32Prefix_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) AddressBytesToString(ctx context.Context, in *AddressBytesToStringRequest, opts ...grpc.CallOption) (*AddressBytesToStringResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(AddressBytesToStringResponse)
err := c.cc.Invoke(ctx, Query_AddressBytesToString_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) AddressStringToBytes(ctx context.Context, in *AddressStringToBytesRequest, opts ...grpc.CallOption) (*AddressStringToBytesResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(AddressStringToBytesResponse)
err := c.cc.Invoke(ctx, Query_AddressStringToBytes_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) AccountInfo(ctx context.Context, in *QueryAccountInfoRequest, opts ...grpc.CallOption) (*QueryAccountInfoResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryAccountInfoResponse)
err := c.cc.Invoke(ctx, Query_AccountInfo_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// QueryServer is the server API for Query service.
// All implementations must embed UnimplementedQueryServer
// for forward compatibility.
//
// Query defines the gRPC querier service.
type QueryServer interface {
// Accounts returns all the existing accounts.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
Accounts(context.Context, *QueryAccountsRequest) (*QueryAccountsResponse, error)
// Account returns account details based on address.
Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
// AccountAddressByID returns account address based on account number.
AccountAddressByID(context.Context, *QueryAccountAddressByIDRequest) (*QueryAccountAddressByIDResponse, error)
// Params queries all parameters.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// ModuleAccounts returns all the existing module accounts.
ModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error)
// ModuleAccountByName returns the module account info by module name
ModuleAccountByName(context.Context, *QueryModuleAccountByNameRequest) (*QueryModuleAccountByNameResponse, error)
// Bech32Prefix queries bech32Prefix
Bech32Prefix(context.Context, *Bech32PrefixRequest) (*Bech32PrefixResponse, error)
// AddressBytesToString converts Account Address bytes to string
AddressBytesToString(context.Context, *AddressBytesToStringRequest) (*AddressBytesToStringResponse, error)
// AddressStringToBytes converts Address string to bytes
AddressStringToBytes(context.Context, *AddressStringToBytesRequest) (*AddressStringToBytesResponse, error)
// AccountInfo queries account info which is common to all account types.
AccountInfo(context.Context, *QueryAccountInfoRequest) (*QueryAccountInfoResponse, error)
mustEmbedUnimplementedQueryServer()
}
// UnimplementedQueryServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedQueryServer struct{}
func (UnimplementedQueryServer) Accounts(context.Context, *QueryAccountsRequest) (*QueryAccountsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Accounts not implemented")
}
func (UnimplementedQueryServer) Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Account not implemented")
}
func (UnimplementedQueryServer) AccountAddressByID(context.Context, *QueryAccountAddressByIDRequest) (*QueryAccountAddressByIDResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AccountAddressByID not implemented")
}
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Params not implemented")
}
func (UnimplementedQueryServer) ModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ModuleAccounts not implemented")
}
func (UnimplementedQueryServer) ModuleAccountByName(context.Context, *QueryModuleAccountByNameRequest) (*QueryModuleAccountByNameResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ModuleAccountByName not implemented")
}
func (UnimplementedQueryServer) Bech32Prefix(context.Context, *Bech32PrefixRequest) (*Bech32PrefixResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Bech32Prefix not implemented")
}
func (UnimplementedQueryServer) AddressBytesToString(context.Context, *AddressBytesToStringRequest) (*AddressBytesToStringResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AddressBytesToString not implemented")
}
func (UnimplementedQueryServer) AddressStringToBytes(context.Context, *AddressStringToBytesRequest) (*AddressStringToBytesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AddressStringToBytes not implemented")
}
func (UnimplementedQueryServer) AccountInfo(context.Context, *QueryAccountInfoRequest) (*QueryAccountInfoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AccountInfo not implemented")
}
func (UnimplementedQueryServer) mustEmbedUnimplementedQueryServer() {}
func (UnimplementedQueryServer) testEmbeddedByValue() {}
// UnsafeQueryServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to QueryServer will
// result in compilation errors.
type UnsafeQueryServer interface {
mustEmbedUnimplementedQueryServer()
}
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer) {
// If the following call pancis, it indicates UnimplementedQueryServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Query_ServiceDesc, srv)
}
func _Query_Accounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryAccountsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).Accounts(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_Accounts_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Accounts(ctx, req.(*QueryAccountsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_Account_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryAccountRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).Account(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_Account_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Account(ctx, req.(*QueryAccountRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_AccountAddressByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryAccountAddressByIDRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).AccountAddressByID(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_AccountAddressByID_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AccountAddressByID(ctx, req.(*QueryAccountAddressByIDRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryParamsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).Params(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_Params_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_ModuleAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryModuleAccountsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).ModuleAccounts(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_ModuleAccounts_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).ModuleAccounts(ctx, req.(*QueryModuleAccountsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_ModuleAccountByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryModuleAccountByNameRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).ModuleAccountByName(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_ModuleAccountByName_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).ModuleAccountByName(ctx, req.(*QueryModuleAccountByNameRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_Bech32Prefix_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Bech32PrefixRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).Bech32Prefix(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_Bech32Prefix_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Bech32Prefix(ctx, req.(*Bech32PrefixRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_AddressBytesToString_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddressBytesToStringRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).AddressBytesToString(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_AddressBytesToString_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AddressBytesToString(ctx, req.(*AddressBytesToStringRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_AddressStringToBytes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddressStringToBytesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).AddressStringToBytes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_AddressStringToBytes_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AddressStringToBytes(ctx, req.(*AddressStringToBytesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_AccountInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryAccountInfoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).AccountInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_AccountInfo_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AccountInfo(ctx, req.(*QueryAccountInfoRequest))
}
return interceptor(ctx, in, info, handler)
}
// Query_ServiceDesc is the grpc.ServiceDesc for Query service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.auth.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Accounts",
Handler: _Query_Accounts_Handler,
},
{
MethodName: "Account",
Handler: _Query_Account_Handler,
},
{
MethodName: "AccountAddressByID",
Handler: _Query_AccountAddressByID_Handler,
},
{
MethodName: "Params",
Handler: _Query_Params_Handler,
},
{
MethodName: "ModuleAccounts",
Handler: _Query_ModuleAccounts_Handler,
},
{
MethodName: "ModuleAccountByName",
Handler: _Query_ModuleAccountByName_Handler,
},
{
MethodName: "Bech32Prefix",
Handler: _Query_Bech32Prefix_Handler,
},
{
MethodName: "AddressBytesToString",
Handler: _Query_AddressBytesToString_Handler,
},
{
MethodName: "AddressStringToBytes",
Handler: _Query_AddressStringToBytes_Handler,
},
{
MethodName: "AccountInfo",
Handler: _Query_AccountInfo_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/auth/v1beta1/query.proto",
}
File diff suppressed because it is too large Load Diff
+129
View File
@@ -0,0 +1,129 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/auth/v1beta1/tx.proto
package authv1beta1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Msg_UpdateParams_FullMethodName = "/cosmos.auth.v1beta1.Msg/UpdateParams"
)
// MsgClient is the client API for Msg service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// Msg defines the x/auth Msg service.
type MsgClient interface {
// UpdateParams defines a (governance) operation for updating the x/auth module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}
type msgClient struct {
cc grpc.ClientConnInterface
}
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient {
return &msgClient{cc}
}
func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(MsgUpdateParamsResponse)
err := c.cc.Invoke(ctx, Msg_UpdateParams_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// MsgServer is the server API for Msg service.
// All implementations must embed UnimplementedMsgServer
// for forward compatibility.
//
// Msg defines the x/auth Msg service.
type MsgServer interface {
// UpdateParams defines a (governance) operation for updating the x/auth module
// parameters. The authority defaults to the x/gov module account.
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
mustEmbedUnimplementedMsgServer()
}
// UnimplementedMsgServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedMsgServer struct{}
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
}
func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {}
func (UnimplementedMsgServer) testEmbeddedByValue() {}
// UnsafeMsgServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to MsgServer will
// result in compilation errors.
type UnsafeMsgServer interface {
mustEmbedUnimplementedMsgServer()
}
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) {
// If the following call pancis, it indicates UnimplementedMsgServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Msg_ServiceDesc, srv)
}
func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgUpdateParams)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).UpdateParams(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Msg_UpdateParams_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams))
}
return interceptor(ctx, in, info, handler)
}
// Msg_ServiceDesc is the grpc.ServiceDesc for Msg service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Msg_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.auth.v1beta1.Msg",
HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "UpdateParams",
Handler: _Msg_UpdateParams_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/auth/v1beta1/tx.proto",
}
+502
View File
@@ -0,0 +1,502 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package modulev1
import (
_ "cosmossdk.io/api/cosmos/app/v1alpha1"
fmt "fmt"
runtime "github.com/cosmos/cosmos-proto/runtime"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoiface "google.golang.org/protobuf/runtime/protoiface"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
io "io"
reflect "reflect"
sync "sync"
)
var (
md_Module protoreflect.MessageDescriptor
)
func init() {
file_cosmos_authz_module_v1_module_proto_init()
md_Module = File_cosmos_authz_module_v1_module_proto.Messages().ByName("Module")
}
var _ protoreflect.Message = (*fastReflection_Module)(nil)
type fastReflection_Module Module
func (x *Module) ProtoReflect() protoreflect.Message {
return (*fastReflection_Module)(x)
}
func (x *Module) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_authz_module_v1_module_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
var _fastReflection_Module_messageType fastReflection_Module_messageType
var _ protoreflect.MessageType = fastReflection_Module_messageType{}
type fastReflection_Module_messageType struct{}
func (x fastReflection_Module_messageType) Zero() protoreflect.Message {
return (*fastReflection_Module)(nil)
}
func (x fastReflection_Module_messageType) New() protoreflect.Message {
return new(fastReflection_Module)
}
func (x fastReflection_Module_messageType) Descriptor() protoreflect.MessageDescriptor {
return md_Module
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func (x *fastReflection_Module) Descriptor() protoreflect.MessageDescriptor {
return md_Module
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func (x *fastReflection_Module) Type() protoreflect.MessageType {
return _fastReflection_Module_messageType
}
// New returns a newly allocated and mutable empty message.
func (x *fastReflection_Module) New() protoreflect.Message {
return new(fastReflection_Module)
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func (x *fastReflection_Module) Interface() protoreflect.ProtoMessage {
return (*Module)(x)
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func (x *fastReflection_Module) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.authz.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.authz.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.authz.module.v1.Module does not contain field %s", descriptor.FullName()))
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.authz.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.authz.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.authz.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.authz.module.v1.Module", d.FullName()))
}
panic("unreachable")
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func (x *fastReflection_Module) GetUnknown() protoreflect.RawFields {
return x.unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Module) SetUnknown(fields protoreflect.RawFields) {
x.unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func (x *fastReflection_Module) IsValid() bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods {
size := func(input protoiface.SizeInput) protoiface.SizeOutput {
x := input.Message.Interface().(*Module)
if x == nil {
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: 0,
}
}
options := runtime.SizeInputToOptions(input)
_ = options
var n int
var l int
_ = l
if x.unknownFields != nil {
n += len(x.unknownFields)
}
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: n,
}
}
marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
x := input.Message.Interface().(*Module)
if x == nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
options := runtime.MarshalInputToOptions(input)
_ = options
size := options.Size(x)
dAtA := make([]byte, size)
i := len(dAtA)
_ = i
var l int
_ = l
if x.unknownFields != nil {
i -= len(x.unknownFields)
copy(dAtA[i:], x.unknownFields)
}
if input.Buf != nil {
input.Buf = append(input.Buf, dAtA...)
} else {
input.Buf = dAtA
}
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
x := input.Message.Interface().(*Module)
if x == nil {
return protoiface.UnmarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Flags: input.Flags,
}, nil
}
options := runtime.UnmarshalInputToOptions(input)
_ = options
dAtA := input.Buf
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: wiretype end group for non-group")
}
if fieldNum <= 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
default:
iNdEx = preIndex
skippy, err := runtime.Skip(dAtA[iNdEx:])
if err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if (iNdEx + skippy) > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if !options.DiscardUnknown {
x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
}
return &protoiface.Methods{
NoUnkeyedLiterals: struct{}{},
Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
Size: size,
Marshal: marshal,
Unmarshal: unmarshal,
Merge: nil,
CheckInitialized: nil,
}
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cosmos/authz/module/v1/module.proto
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Module is the config object of the authz module.
type Module struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Module) Reset() {
*x = Module{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_authz_module_v1_module_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Module) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Module) ProtoMessage() {}
// Deprecated: Use Module.ProtoReflect.Descriptor instead.
func (*Module) Descriptor() ([]byte, []int) {
return file_cosmos_authz_module_v1_module_proto_rawDescGZIP(), []int{0}
}
var File_cosmos_authz_module_v1_module_proto protoreflect.FileDescriptor
var file_cosmos_authz_module_v1_module_proto_rawDesc = []byte{
0x0a, 0x23, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2f, 0x6d,
0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75,
0x74, 0x68, 0x7a, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
0x36, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x2c, 0xba, 0xc0, 0x96, 0xda, 0x01,
0x26, 0x0a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f,
0x78, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x42, 0xd6, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2e, 0x6d, 0x6f, 0x64,
0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b,
0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61,
0x75, 0x74, 0x68, 0x7a, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d,
0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x4d, 0xaa, 0x02, 0x16,
0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x2e, 0x4d, 0x6f, 0x64,
0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c,
0x41, 0x75, 0x74, 0x68, 0x7a, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2,
0x02, 0x22, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x5c, 0x4d,
0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41,
0x75, 0x74, 0x68, 0x7a, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cosmos_authz_module_v1_module_proto_rawDescOnce sync.Once
file_cosmos_authz_module_v1_module_proto_rawDescData = file_cosmos_authz_module_v1_module_proto_rawDesc
)
func file_cosmos_authz_module_v1_module_proto_rawDescGZIP() []byte {
file_cosmos_authz_module_v1_module_proto_rawDescOnce.Do(func() {
file_cosmos_authz_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_authz_module_v1_module_proto_rawDescData)
})
return file_cosmos_authz_module_v1_module_proto_rawDescData
}
var file_cosmos_authz_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_authz_module_v1_module_proto_goTypes = []interface{}{
(*Module)(nil), // 0: cosmos.authz.module.v1.Module
}
var file_cosmos_authz_module_v1_module_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_cosmos_authz_module_v1_module_proto_init() }
func file_cosmos_authz_module_v1_module_proto_init() {
if File_cosmos_authz_module_v1_module_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_cosmos_authz_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Module); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cosmos_authz_module_v1_module_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cosmos_authz_module_v1_module_proto_goTypes,
DependencyIndexes: file_cosmos_authz_module_v1_module_proto_depIdxs,
MessageInfos: file_cosmos_authz_module_v1_module_proto_msgTypes,
}.Build()
File_cosmos_authz_module_v1_module_proto = out.File
file_cosmos_authz_module_v1_module_proto_rawDesc = nil
file_cosmos_authz_module_v1_module_proto_goTypes = nil
file_cosmos_authz_module_v1_module_proto_depIdxs = nil
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+658
View File
@@ -0,0 +1,658 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package authzv1beta1
import (
_ "cosmossdk.io/api/amino"
fmt "fmt"
runtime "github.com/cosmos/cosmos-proto/runtime"
_ "github.com/cosmos/gogoproto/gogoproto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoiface "google.golang.org/protobuf/runtime/protoiface"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
io "io"
reflect "reflect"
sync "sync"
)
var _ protoreflect.List = (*_GenesisState_1_list)(nil)
type _GenesisState_1_list struct {
list *[]*GrantAuthorization
}
func (x *_GenesisState_1_list) Len() int {
if x.list == nil {
return 0
}
return len(*x.list)
}
func (x *_GenesisState_1_list) Get(i int) protoreflect.Value {
return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect())
}
func (x *_GenesisState_1_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*GrantAuthorization)
(*x.list)[i] = concreteValue
}
func (x *_GenesisState_1_list) Append(value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*GrantAuthorization)
*x.list = append(*x.list, concreteValue)
}
func (x *_GenesisState_1_list) AppendMutable() protoreflect.Value {
v := new(GrantAuthorization)
*x.list = append(*x.list, v)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
func (x *_GenesisState_1_list) Truncate(n int) {
for i := n; i < len(*x.list); i++ {
(*x.list)[i] = nil
}
*x.list = (*x.list)[:n]
}
func (x *_GenesisState_1_list) NewElement() protoreflect.Value {
v := new(GrantAuthorization)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
func (x *_GenesisState_1_list) IsValid() bool {
return x.list != nil
}
var (
md_GenesisState protoreflect.MessageDescriptor
fd_GenesisState_authorization protoreflect.FieldDescriptor
)
func init() {
file_cosmos_authz_v1beta1_genesis_proto_init()
md_GenesisState = File_cosmos_authz_v1beta1_genesis_proto.Messages().ByName("GenesisState")
fd_GenesisState_authorization = md_GenesisState.Fields().ByName("authorization")
}
var _ protoreflect.Message = (*fastReflection_GenesisState)(nil)
type fastReflection_GenesisState GenesisState
func (x *GenesisState) ProtoReflect() protoreflect.Message {
return (*fastReflection_GenesisState)(x)
}
func (x *GenesisState) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_authz_v1beta1_genesis_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
var _fastReflection_GenesisState_messageType fastReflection_GenesisState_messageType
var _ protoreflect.MessageType = fastReflection_GenesisState_messageType{}
type fastReflection_GenesisState_messageType struct{}
func (x fastReflection_GenesisState_messageType) Zero() protoreflect.Message {
return (*fastReflection_GenesisState)(nil)
}
func (x fastReflection_GenesisState_messageType) New() protoreflect.Message {
return new(fastReflection_GenesisState)
}
func (x fastReflection_GenesisState_messageType) Descriptor() protoreflect.MessageDescriptor {
return md_GenesisState
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func (x *fastReflection_GenesisState) Descriptor() protoreflect.MessageDescriptor {
return md_GenesisState
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func (x *fastReflection_GenesisState) Type() protoreflect.MessageType {
return _fastReflection_GenesisState_messageType
}
// New returns a newly allocated and mutable empty message.
func (x *fastReflection_GenesisState) New() protoreflect.Message {
return new(fastReflection_GenesisState)
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func (x *fastReflection_GenesisState) Interface() protoreflect.ProtoMessage {
return (*GenesisState)(x)
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
if len(x.Authorization) != 0 {
value := protoreflect.ValueOfList(&_GenesisState_1_list{list: &x.Authorization})
if !f(fd_GenesisState_authorization, value) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cosmos.authz.v1beta1.GenesisState.authorization":
return len(x.Authorization) != 0
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.authz.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cosmos.authz.v1beta1.GenesisState.authorization":
x.Authorization = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.authz.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cosmos.authz.v1beta1.GenesisState.authorization":
if len(x.Authorization) == 0 {
return protoreflect.ValueOfList(&_GenesisState_1_list{})
}
listValue := &_GenesisState_1_list{list: &x.Authorization}
return protoreflect.ValueOfList(listValue)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.authz.v1beta1.GenesisState does not contain field %s", descriptor.FullName()))
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.authz.v1beta1.GenesisState.authorization":
lv := value.List()
clv := lv.(*_GenesisState_1_list)
x.Authorization = *clv.list
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.authz.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.authz.v1beta1.GenesisState.authorization":
if x.Authorization == nil {
x.Authorization = []*GrantAuthorization{}
}
value := &_GenesisState_1_list{list: &x.Authorization}
return protoreflect.ValueOfList(value)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.authz.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.authz.v1beta1.GenesisState.authorization":
list := []*GrantAuthorization{}
return protoreflect.ValueOfList(&_GenesisState_1_list{list: &list})
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.authz.v1beta1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.authz.v1beta1.GenesisState does not contain field %s", fd.FullName()))
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.authz.v1beta1.GenesisState", d.FullName()))
}
panic("unreachable")
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func (x *fastReflection_GenesisState) GetUnknown() protoreflect.RawFields {
return x.unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) SetUnknown(fields protoreflect.RawFields) {
x.unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func (x *fastReflection_GenesisState) IsValid() bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods {
size := func(input protoiface.SizeInput) protoiface.SizeOutput {
x := input.Message.Interface().(*GenesisState)
if x == nil {
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: 0,
}
}
options := runtime.SizeInputToOptions(input)
_ = options
var n int
var l int
_ = l
if len(x.Authorization) > 0 {
for _, e := range x.Authorization {
l = options.Size(e)
n += 1 + l + runtime.Sov(uint64(l))
}
}
if x.unknownFields != nil {
n += len(x.unknownFields)
}
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: n,
}
}
marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
x := input.Message.Interface().(*GenesisState)
if x == nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
options := runtime.MarshalInputToOptions(input)
_ = options
size := options.Size(x)
dAtA := make([]byte, size)
i := len(dAtA)
_ = i
var l int
_ = l
if x.unknownFields != nil {
i -= len(x.unknownFields)
copy(dAtA[i:], x.unknownFields)
}
if len(x.Authorization) > 0 {
for iNdEx := len(x.Authorization) - 1; iNdEx >= 0; iNdEx-- {
encoded, err := options.Marshal(x.Authorization[iNdEx])
if err != nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, err
}
i -= len(encoded)
copy(dAtA[i:], encoded)
i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded)))
i--
dAtA[i] = 0xa
}
}
if input.Buf != nil {
input.Buf = append(input.Buf, dAtA...)
} else {
input.Buf = dAtA
}
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
x := input.Message.Interface().(*GenesisState)
if x == nil {
return protoiface.UnmarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Flags: input.Flags,
}, nil
}
options := runtime.UnmarshalInputToOptions(input)
_ = options
dAtA := input.Buf
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GenesisState: wiretype end group for non-group")
}
if fieldNum <= 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authorization", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.Authorization = append(x.Authorization, &GrantAuthorization{})
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Authorization[len(x.Authorization)-1]); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := runtime.Skip(dAtA[iNdEx:])
if err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if (iNdEx + skippy) > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if !options.DiscardUnknown {
x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
}
return &protoiface.Methods{
NoUnkeyedLiterals: struct{}{},
Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
Size: size,
Marshal: marshal,
Unmarshal: unmarshal,
Merge: nil,
CheckInitialized: nil,
}
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cosmos/authz/v1beta1/genesis.proto
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// GenesisState defines the authz module's genesis state.
type GenesisState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Authorization []*GrantAuthorization `protobuf:"bytes,1,rep,name=authorization,proto3" json:"authorization,omitempty"`
}
func (x *GenesisState) Reset() {
*x = GenesisState{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_authz_v1beta1_genesis_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GenesisState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GenesisState) ProtoMessage() {}
// Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) Descriptor() ([]byte, []int) {
return file_cosmos_authz_v1beta1_genesis_proto_rawDescGZIP(), []int{0}
}
func (x *GenesisState) GetAuthorization() []*GrantAuthorization {
if x != nil {
return x.Authorization
}
return nil
}
var File_cosmos_authz_v1beta1_genesis_proto protoreflect.FileDescriptor
var file_cosmos_authz_v1beta1_genesis_proto_rawDesc = []byte{
0x0a, 0x22, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2f, 0x76,
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74,
0x68, 0x7a, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2f, 0x76,
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73,
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2e, 0x76, 0x31, 0x62, 0x65,
0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a,
0x01, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x42, 0xce, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x61, 0x75, 0x74, 0x68, 0x7a, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0c, 0x47,
0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2f, 0x76, 0x31, 0x62,
0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x58, 0xaa, 0x02, 0x14, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02,
0x14, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x5c, 0x56, 0x31,
0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x20, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41,
0x75, 0x74, 0x68, 0x7a, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42,
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x43, 0x6f, 0x73, 0x6d, 0x6f,
0x73, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61,
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cosmos_authz_v1beta1_genesis_proto_rawDescOnce sync.Once
file_cosmos_authz_v1beta1_genesis_proto_rawDescData = file_cosmos_authz_v1beta1_genesis_proto_rawDesc
)
func file_cosmos_authz_v1beta1_genesis_proto_rawDescGZIP() []byte {
file_cosmos_authz_v1beta1_genesis_proto_rawDescOnce.Do(func() {
file_cosmos_authz_v1beta1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_authz_v1beta1_genesis_proto_rawDescData)
})
return file_cosmos_authz_v1beta1_genesis_proto_rawDescData
}
var file_cosmos_authz_v1beta1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_authz_v1beta1_genesis_proto_goTypes = []interface{}{
(*GenesisState)(nil), // 0: cosmos.authz.v1beta1.GenesisState
(*GrantAuthorization)(nil), // 1: cosmos.authz.v1beta1.GrantAuthorization
}
var file_cosmos_authz_v1beta1_genesis_proto_depIdxs = []int32{
1, // 0: cosmos.authz.v1beta1.GenesisState.authorization:type_name -> cosmos.authz.v1beta1.GrantAuthorization
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_cosmos_authz_v1beta1_genesis_proto_init() }
func file_cosmos_authz_v1beta1_genesis_proto_init() {
if File_cosmos_authz_v1beta1_genesis_proto != nil {
return
}
file_cosmos_authz_v1beta1_authz_proto_init()
if !protoimpl.UnsafeEnabled {
file_cosmos_authz_v1beta1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenesisState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cosmos_authz_v1beta1_genesis_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cosmos_authz_v1beta1_genesis_proto_goTypes,
DependencyIndexes: file_cosmos_authz_v1beta1_genesis_proto_depIdxs,
MessageInfos: file_cosmos_authz_v1beta1_genesis_proto_msgTypes,
}.Build()
File_cosmos_authz_v1beta1_genesis_proto = out.File
file_cosmos_authz_v1beta1_genesis_proto_rawDesc = nil
file_cosmos_authz_v1beta1_genesis_proto_goTypes = nil
file_cosmos_authz_v1beta1_genesis_proto_depIdxs = nil
}
File diff suppressed because it is too large Load Diff
+207
View File
@@ -0,0 +1,207 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/authz/v1beta1/query.proto
package authzv1beta1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Query_Grants_FullMethodName = "/cosmos.authz.v1beta1.Query/Grants"
Query_GranterGrants_FullMethodName = "/cosmos.authz.v1beta1.Query/GranterGrants"
Query_GranteeGrants_FullMethodName = "/cosmos.authz.v1beta1.Query/GranteeGrants"
)
// QueryClient is the client API for Query service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// Query defines the gRPC querier service.
type QueryClient interface {
// Returns list of `Authorization`, granted to the grantee by the granter.
Grants(ctx context.Context, in *QueryGrantsRequest, opts ...grpc.CallOption) (*QueryGrantsResponse, error)
// GranterGrants returns list of `GrantAuthorization`, granted by granter.
GranterGrants(ctx context.Context, in *QueryGranterGrantsRequest, opts ...grpc.CallOption) (*QueryGranterGrantsResponse, error)
// GranteeGrants returns a list of `GrantAuthorization` by grantee.
GranteeGrants(ctx context.Context, in *QueryGranteeGrantsRequest, opts ...grpc.CallOption) (*QueryGranteeGrantsResponse, error)
}
type queryClient struct {
cc grpc.ClientConnInterface
}
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient {
return &queryClient{cc}
}
func (c *queryClient) Grants(ctx context.Context, in *QueryGrantsRequest, opts ...grpc.CallOption) (*QueryGrantsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryGrantsResponse)
err := c.cc.Invoke(ctx, Query_Grants_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) GranterGrants(ctx context.Context, in *QueryGranterGrantsRequest, opts ...grpc.CallOption) (*QueryGranterGrantsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryGranterGrantsResponse)
err := c.cc.Invoke(ctx, Query_GranterGrants_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) GranteeGrants(ctx context.Context, in *QueryGranteeGrantsRequest, opts ...grpc.CallOption) (*QueryGranteeGrantsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryGranteeGrantsResponse)
err := c.cc.Invoke(ctx, Query_GranteeGrants_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// QueryServer is the server API for Query service.
// All implementations must embed UnimplementedQueryServer
// for forward compatibility.
//
// Query defines the gRPC querier service.
type QueryServer interface {
// Returns list of `Authorization`, granted to the grantee by the granter.
Grants(context.Context, *QueryGrantsRequest) (*QueryGrantsResponse, error)
// GranterGrants returns list of `GrantAuthorization`, granted by granter.
GranterGrants(context.Context, *QueryGranterGrantsRequest) (*QueryGranterGrantsResponse, error)
// GranteeGrants returns a list of `GrantAuthorization` by grantee.
GranteeGrants(context.Context, *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error)
mustEmbedUnimplementedQueryServer()
}
// UnimplementedQueryServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedQueryServer struct{}
func (UnimplementedQueryServer) Grants(context.Context, *QueryGrantsRequest) (*QueryGrantsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Grants not implemented")
}
func (UnimplementedQueryServer) GranterGrants(context.Context, *QueryGranterGrantsRequest) (*QueryGranterGrantsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GranterGrants not implemented")
}
func (UnimplementedQueryServer) GranteeGrants(context.Context, *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GranteeGrants not implemented")
}
func (UnimplementedQueryServer) mustEmbedUnimplementedQueryServer() {}
func (UnimplementedQueryServer) testEmbeddedByValue() {}
// UnsafeQueryServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to QueryServer will
// result in compilation errors.
type UnsafeQueryServer interface {
mustEmbedUnimplementedQueryServer()
}
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer) {
// If the following call pancis, it indicates UnimplementedQueryServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Query_ServiceDesc, srv)
}
func _Query_Grants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryGrantsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).Grants(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_Grants_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Grants(ctx, req.(*QueryGrantsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_GranterGrants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryGranterGrantsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).GranterGrants(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_GranterGrants_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GranterGrants(ctx, req.(*QueryGranterGrantsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_GranteeGrants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryGranteeGrantsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).GranteeGrants(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_GranteeGrants_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GranteeGrants(ctx, req.(*QueryGranteeGrantsRequest))
}
return interceptor(ctx, in, info, handler)
}
// Query_ServiceDesc is the grpc.ServiceDesc for Query service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.authz.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Grants",
Handler: _Query_Grants_Handler,
},
{
MethodName: "GranterGrants",
Handler: _Query_GranterGrants_Handler,
},
{
MethodName: "GranteeGrants",
Handler: _Query_GranteeGrants_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/authz/v1beta1/query.proto",
}
File diff suppressed because it is too large Load Diff
+219
View File
@@ -0,0 +1,219 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/authz/v1beta1/tx.proto
package authzv1beta1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Msg_Grant_FullMethodName = "/cosmos.authz.v1beta1.Msg/Grant"
Msg_Exec_FullMethodName = "/cosmos.authz.v1beta1.Msg/Exec"
Msg_Revoke_FullMethodName = "/cosmos.authz.v1beta1.Msg/Revoke"
)
// MsgClient is the client API for Msg service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// Msg defines the authz Msg service.
type MsgClient interface {
// Grant grants the provided authorization to the grantee on the granter's
// account with the provided expiration time. If there is already a grant
// for the given (granter, grantee, Authorization) triple, then the grant
// will be overwritten.
Grant(ctx context.Context, in *MsgGrant, opts ...grpc.CallOption) (*MsgGrantResponse, error)
// Exec attempts to execute the provided messages using
// authorizations granted to the grantee. Each message should have only
// one signer corresponding to the granter of the authorization.
Exec(ctx context.Context, in *MsgExec, opts ...grpc.CallOption) (*MsgExecResponse, error)
// Revoke revokes any authorization corresponding to the provided method name on the
// granter's account that has been granted to the grantee.
Revoke(ctx context.Context, in *MsgRevoke, opts ...grpc.CallOption) (*MsgRevokeResponse, error)
}
type msgClient struct {
cc grpc.ClientConnInterface
}
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient {
return &msgClient{cc}
}
func (c *msgClient) Grant(ctx context.Context, in *MsgGrant, opts ...grpc.CallOption) (*MsgGrantResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(MsgGrantResponse)
err := c.cc.Invoke(ctx, Msg_Grant_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) Exec(ctx context.Context, in *MsgExec, opts ...grpc.CallOption) (*MsgExecResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(MsgExecResponse)
err := c.cc.Invoke(ctx, Msg_Exec_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) Revoke(ctx context.Context, in *MsgRevoke, opts ...grpc.CallOption) (*MsgRevokeResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(MsgRevokeResponse)
err := c.cc.Invoke(ctx, Msg_Revoke_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// MsgServer is the server API for Msg service.
// All implementations must embed UnimplementedMsgServer
// for forward compatibility.
//
// Msg defines the authz Msg service.
type MsgServer interface {
// Grant grants the provided authorization to the grantee on the granter's
// account with the provided expiration time. If there is already a grant
// for the given (granter, grantee, Authorization) triple, then the grant
// will be overwritten.
Grant(context.Context, *MsgGrant) (*MsgGrantResponse, error)
// Exec attempts to execute the provided messages using
// authorizations granted to the grantee. Each message should have only
// one signer corresponding to the granter of the authorization.
Exec(context.Context, *MsgExec) (*MsgExecResponse, error)
// Revoke revokes any authorization corresponding to the provided method name on the
// granter's account that has been granted to the grantee.
Revoke(context.Context, *MsgRevoke) (*MsgRevokeResponse, error)
mustEmbedUnimplementedMsgServer()
}
// UnimplementedMsgServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedMsgServer struct{}
func (UnimplementedMsgServer) Grant(context.Context, *MsgGrant) (*MsgGrantResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Grant not implemented")
}
func (UnimplementedMsgServer) Exec(context.Context, *MsgExec) (*MsgExecResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
}
func (UnimplementedMsgServer) Revoke(context.Context, *MsgRevoke) (*MsgRevokeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Revoke not implemented")
}
func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {}
func (UnimplementedMsgServer) testEmbeddedByValue() {}
// UnsafeMsgServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to MsgServer will
// result in compilation errors.
type UnsafeMsgServer interface {
mustEmbedUnimplementedMsgServer()
}
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) {
// If the following call pancis, it indicates UnimplementedMsgServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Msg_ServiceDesc, srv)
}
func _Msg_Grant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgGrant)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).Grant(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Msg_Grant_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Grant(ctx, req.(*MsgGrant))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgExec)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).Exec(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Msg_Exec_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Exec(ctx, req.(*MsgExec))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_Revoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgRevoke)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).Revoke(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Msg_Revoke_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Revoke(ctx, req.(*MsgRevoke))
}
return interceptor(ctx, in, info, handler)
}
// Msg_ServiceDesc is the grpc.ServiceDesc for Msg service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Msg_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.authz.v1beta1.Msg",
HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Grant",
Handler: _Msg_Grant_Handler,
},
{
MethodName: "Exec",
Handler: _Msg_Exec_Handler,
},
{
MethodName: "Revoke",
Handler: _Msg_Revoke_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/authz/v1beta1/tx.proto",
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+129
View File
@@ -0,0 +1,129 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/autocli/v1/query.proto
package autocliv1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Query_AppOptions_FullMethodName = "/cosmos.autocli.v1.Query/AppOptions"
)
// QueryClient is the client API for Query service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// RemoteInfoService provides clients with the information they need
// to build dynamically CLI clients for remote chains.
type QueryClient interface {
// AppOptions returns the autocli options for all of the modules in an app.
AppOptions(ctx context.Context, in *AppOptionsRequest, opts ...grpc.CallOption) (*AppOptionsResponse, error)
}
type queryClient struct {
cc grpc.ClientConnInterface
}
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient {
return &queryClient{cc}
}
func (c *queryClient) AppOptions(ctx context.Context, in *AppOptionsRequest, opts ...grpc.CallOption) (*AppOptionsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(AppOptionsResponse)
err := c.cc.Invoke(ctx, Query_AppOptions_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// QueryServer is the server API for Query service.
// All implementations must embed UnimplementedQueryServer
// for forward compatibility.
//
// RemoteInfoService provides clients with the information they need
// to build dynamically CLI clients for remote chains.
type QueryServer interface {
// AppOptions returns the autocli options for all of the modules in an app.
AppOptions(context.Context, *AppOptionsRequest) (*AppOptionsResponse, error)
mustEmbedUnimplementedQueryServer()
}
// UnimplementedQueryServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedQueryServer struct{}
func (UnimplementedQueryServer) AppOptions(context.Context, *AppOptionsRequest) (*AppOptionsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AppOptions not implemented")
}
func (UnimplementedQueryServer) mustEmbedUnimplementedQueryServer() {}
func (UnimplementedQueryServer) testEmbeddedByValue() {}
// UnsafeQueryServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to QueryServer will
// result in compilation errors.
type UnsafeQueryServer interface {
mustEmbedUnimplementedQueryServer()
}
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer) {
// If the following call pancis, it indicates UnimplementedQueryServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Query_ServiceDesc, srv)
}
func _Query_AppOptions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AppOptionsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).AppOptions(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_AppOptions_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AppOptions(ctx, req.(*AppOptionsRequest))
}
return interceptor(ctx, in, info, handler)
}
// Query_ServiceDesc is the grpc.ServiceDesc for Query service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.autocli.v1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "AppOptions",
Handler: _Query_AppOptions_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/autocli/v1/query.proto",
}
+856
View File
@@ -0,0 +1,856 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package modulev1
import (
_ "cosmossdk.io/api/cosmos/app/v1alpha1"
fmt "fmt"
runtime "github.com/cosmos/cosmos-proto/runtime"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoiface "google.golang.org/protobuf/runtime/protoiface"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
io "io"
reflect "reflect"
sync "sync"
)
var _ protoreflect.List = (*_Module_1_list)(nil)
type _Module_1_list struct {
list *[]string
}
func (x *_Module_1_list) Len() int {
if x.list == nil {
return 0
}
return len(*x.list)
}
func (x *_Module_1_list) Get(i int) protoreflect.Value {
return protoreflect.ValueOfString((*x.list)[i])
}
func (x *_Module_1_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.String()
concreteValue := valueUnwrapped
(*x.list)[i] = concreteValue
}
func (x *_Module_1_list) Append(value protoreflect.Value) {
valueUnwrapped := value.String()
concreteValue := valueUnwrapped
*x.list = append(*x.list, concreteValue)
}
func (x *_Module_1_list) AppendMutable() protoreflect.Value {
panic(fmt.Errorf("AppendMutable can not be called on message Module at list field BlockedModuleAccountsOverride as it is not of Message kind"))
}
func (x *_Module_1_list) Truncate(n int) {
*x.list = (*x.list)[:n]
}
func (x *_Module_1_list) NewElement() protoreflect.Value {
v := ""
return protoreflect.ValueOfString(v)
}
func (x *_Module_1_list) IsValid() bool {
return x.list != nil
}
var _ protoreflect.List = (*_Module_3_list)(nil)
type _Module_3_list struct {
list *[]string
}
func (x *_Module_3_list) Len() int {
if x.list == nil {
return 0
}
return len(*x.list)
}
func (x *_Module_3_list) Get(i int) protoreflect.Value {
return protoreflect.ValueOfString((*x.list)[i])
}
func (x *_Module_3_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.String()
concreteValue := valueUnwrapped
(*x.list)[i] = concreteValue
}
func (x *_Module_3_list) Append(value protoreflect.Value) {
valueUnwrapped := value.String()
concreteValue := valueUnwrapped
*x.list = append(*x.list, concreteValue)
}
func (x *_Module_3_list) AppendMutable() protoreflect.Value {
panic(fmt.Errorf("AppendMutable can not be called on message Module at list field RestrictionsOrder as it is not of Message kind"))
}
func (x *_Module_3_list) Truncate(n int) {
*x.list = (*x.list)[:n]
}
func (x *_Module_3_list) NewElement() protoreflect.Value {
v := ""
return protoreflect.ValueOfString(v)
}
func (x *_Module_3_list) IsValid() bool {
return x.list != nil
}
var (
md_Module protoreflect.MessageDescriptor
fd_Module_blocked_module_accounts_override protoreflect.FieldDescriptor
fd_Module_authority protoreflect.FieldDescriptor
fd_Module_restrictions_order protoreflect.FieldDescriptor
)
func init() {
file_cosmos_bank_module_v1_module_proto_init()
md_Module = File_cosmos_bank_module_v1_module_proto.Messages().ByName("Module")
fd_Module_blocked_module_accounts_override = md_Module.Fields().ByName("blocked_module_accounts_override")
fd_Module_authority = md_Module.Fields().ByName("authority")
fd_Module_restrictions_order = md_Module.Fields().ByName("restrictions_order")
}
var _ protoreflect.Message = (*fastReflection_Module)(nil)
type fastReflection_Module Module
func (x *Module) ProtoReflect() protoreflect.Message {
return (*fastReflection_Module)(x)
}
func (x *Module) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_bank_module_v1_module_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
var _fastReflection_Module_messageType fastReflection_Module_messageType
var _ protoreflect.MessageType = fastReflection_Module_messageType{}
type fastReflection_Module_messageType struct{}
func (x fastReflection_Module_messageType) Zero() protoreflect.Message {
return (*fastReflection_Module)(nil)
}
func (x fastReflection_Module_messageType) New() protoreflect.Message {
return new(fastReflection_Module)
}
func (x fastReflection_Module_messageType) Descriptor() protoreflect.MessageDescriptor {
return md_Module
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func (x *fastReflection_Module) Descriptor() protoreflect.MessageDescriptor {
return md_Module
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func (x *fastReflection_Module) Type() protoreflect.MessageType {
return _fastReflection_Module_messageType
}
// New returns a newly allocated and mutable empty message.
func (x *fastReflection_Module) New() protoreflect.Message {
return new(fastReflection_Module)
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func (x *fastReflection_Module) Interface() protoreflect.ProtoMessage {
return (*Module)(x)
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func (x *fastReflection_Module) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
if len(x.BlockedModuleAccountsOverride) != 0 {
value := protoreflect.ValueOfList(&_Module_1_list{list: &x.BlockedModuleAccountsOverride})
if !f(fd_Module_blocked_module_accounts_override, value) {
return
}
}
if x.Authority != "" {
value := protoreflect.ValueOfString(x.Authority)
if !f(fd_Module_authority, value) {
return
}
}
if len(x.RestrictionsOrder) != 0 {
value := protoreflect.ValueOfList(&_Module_3_list{list: &x.RestrictionsOrder})
if !f(fd_Module_restrictions_order, value) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cosmos.bank.module.v1.Module.blocked_module_accounts_override":
return len(x.BlockedModuleAccountsOverride) != 0
case "cosmos.bank.module.v1.Module.authority":
return x.Authority != ""
case "cosmos.bank.module.v1.Module.restrictions_order":
return len(x.RestrictionsOrder) != 0
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.bank.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cosmos.bank.module.v1.Module.blocked_module_accounts_override":
x.BlockedModuleAccountsOverride = nil
case "cosmos.bank.module.v1.Module.authority":
x.Authority = ""
case "cosmos.bank.module.v1.Module.restrictions_order":
x.RestrictionsOrder = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.bank.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cosmos.bank.module.v1.Module.blocked_module_accounts_override":
if len(x.BlockedModuleAccountsOverride) == 0 {
return protoreflect.ValueOfList(&_Module_1_list{})
}
listValue := &_Module_1_list{list: &x.BlockedModuleAccountsOverride}
return protoreflect.ValueOfList(listValue)
case "cosmos.bank.module.v1.Module.authority":
value := x.Authority
return protoreflect.ValueOfString(value)
case "cosmos.bank.module.v1.Module.restrictions_order":
if len(x.RestrictionsOrder) == 0 {
return protoreflect.ValueOfList(&_Module_3_list{})
}
listValue := &_Module_3_list{list: &x.RestrictionsOrder}
return protoreflect.ValueOfList(listValue)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.bank.module.v1.Module does not contain field %s", descriptor.FullName()))
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.bank.module.v1.Module.blocked_module_accounts_override":
lv := value.List()
clv := lv.(*_Module_1_list)
x.BlockedModuleAccountsOverride = *clv.list
case "cosmos.bank.module.v1.Module.authority":
x.Authority = value.Interface().(string)
case "cosmos.bank.module.v1.Module.restrictions_order":
lv := value.List()
clv := lv.(*_Module_3_list)
x.RestrictionsOrder = *clv.list
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.bank.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.bank.module.v1.Module.blocked_module_accounts_override":
if x.BlockedModuleAccountsOverride == nil {
x.BlockedModuleAccountsOverride = []string{}
}
value := &_Module_1_list{list: &x.BlockedModuleAccountsOverride}
return protoreflect.ValueOfList(value)
case "cosmos.bank.module.v1.Module.restrictions_order":
if x.RestrictionsOrder == nil {
x.RestrictionsOrder = []string{}
}
value := &_Module_3_list{list: &x.RestrictionsOrder}
return protoreflect.ValueOfList(value)
case "cosmos.bank.module.v1.Module.authority":
panic(fmt.Errorf("field authority of message cosmos.bank.module.v1.Module is not mutable"))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.bank.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.bank.module.v1.Module.blocked_module_accounts_override":
list := []string{}
return protoreflect.ValueOfList(&_Module_1_list{list: &list})
case "cosmos.bank.module.v1.Module.authority":
return protoreflect.ValueOfString("")
case "cosmos.bank.module.v1.Module.restrictions_order":
list := []string{}
return protoreflect.ValueOfList(&_Module_3_list{list: &list})
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.module.v1.Module"))
}
panic(fmt.Errorf("message cosmos.bank.module.v1.Module does not contain field %s", fd.FullName()))
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.bank.module.v1.Module", d.FullName()))
}
panic("unreachable")
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func (x *fastReflection_Module) GetUnknown() protoreflect.RawFields {
return x.unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_Module) SetUnknown(fields protoreflect.RawFields) {
x.unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func (x *fastReflection_Module) IsValid() bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods {
size := func(input protoiface.SizeInput) protoiface.SizeOutput {
x := input.Message.Interface().(*Module)
if x == nil {
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: 0,
}
}
options := runtime.SizeInputToOptions(input)
_ = options
var n int
var l int
_ = l
if len(x.BlockedModuleAccountsOverride) > 0 {
for _, s := range x.BlockedModuleAccountsOverride {
l = len(s)
n += 1 + l + runtime.Sov(uint64(l))
}
}
l = len(x.Authority)
if l > 0 {
n += 1 + l + runtime.Sov(uint64(l))
}
if len(x.RestrictionsOrder) > 0 {
for _, s := range x.RestrictionsOrder {
l = len(s)
n += 1 + l + runtime.Sov(uint64(l))
}
}
if x.unknownFields != nil {
n += len(x.unknownFields)
}
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: n,
}
}
marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
x := input.Message.Interface().(*Module)
if x == nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
options := runtime.MarshalInputToOptions(input)
_ = options
size := options.Size(x)
dAtA := make([]byte, size)
i := len(dAtA)
_ = i
var l int
_ = l
if x.unknownFields != nil {
i -= len(x.unknownFields)
copy(dAtA[i:], x.unknownFields)
}
if len(x.RestrictionsOrder) > 0 {
for iNdEx := len(x.RestrictionsOrder) - 1; iNdEx >= 0; iNdEx-- {
i -= len(x.RestrictionsOrder[iNdEx])
copy(dAtA[i:], x.RestrictionsOrder[iNdEx])
i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RestrictionsOrder[iNdEx])))
i--
dAtA[i] = 0x1a
}
}
if len(x.Authority) > 0 {
i -= len(x.Authority)
copy(dAtA[i:], x.Authority)
i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority)))
i--
dAtA[i] = 0x12
}
if len(x.BlockedModuleAccountsOverride) > 0 {
for iNdEx := len(x.BlockedModuleAccountsOverride) - 1; iNdEx >= 0; iNdEx-- {
i -= len(x.BlockedModuleAccountsOverride[iNdEx])
copy(dAtA[i:], x.BlockedModuleAccountsOverride[iNdEx])
i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BlockedModuleAccountsOverride[iNdEx])))
i--
dAtA[i] = 0xa
}
}
if input.Buf != nil {
input.Buf = append(input.Buf, dAtA...)
} else {
input.Buf = dAtA
}
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
x := input.Message.Interface().(*Module)
if x == nil {
return protoiface.UnmarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Flags: input.Flags,
}, nil
}
options := runtime.UnmarshalInputToOptions(input)
_ = options
dAtA := input.Buf
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: wiretype end group for non-group")
}
if fieldNum <= 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedModuleAccountsOverride", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.BlockedModuleAccountsOverride = append(x.BlockedModuleAccountsOverride, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
case 2:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.Authority = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RestrictionsOrder", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.RestrictionsOrder = append(x.RestrictionsOrder, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := runtime.Skip(dAtA[iNdEx:])
if err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if (iNdEx + skippy) > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if !options.DiscardUnknown {
x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
}
return &protoiface.Methods{
NoUnkeyedLiterals: struct{}{},
Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
Size: size,
Marshal: marshal,
Unmarshal: unmarshal,
Merge: nil,
CheckInitialized: nil,
}
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cosmos/bank/module/v1/module.proto
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Module is the config object of the bank module.
type Module struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// blocked_module_accounts_override configures exceptional module accounts which should be blocked from receiving
// funds. If left empty it defaults to the list of account names supplied in the auth module configuration as
// module_account_permissions
BlockedModuleAccountsOverride []string `protobuf:"bytes,1,rep,name=blocked_module_accounts_override,json=blockedModuleAccountsOverride,proto3" json:"blocked_module_accounts_override,omitempty"`
// authority defines the custom module authority. If not set, defaults to the governance module.
Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
// restrictions_order specifies the order of send restrictions and should be
// a list of module names which provide a send restriction instance. If no
// order is provided, then restrictions will be applied in alphabetical order
// of module names.
RestrictionsOrder []string `protobuf:"bytes,3,rep,name=restrictions_order,json=restrictionsOrder,proto3" json:"restrictions_order,omitempty"`
}
func (x *Module) Reset() {
*x = Module{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_bank_module_v1_module_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Module) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Module) ProtoMessage() {}
// Deprecated: Use Module.ProtoReflect.Descriptor instead.
func (*Module) Descriptor() ([]byte, []int) {
return file_cosmos_bank_module_v1_module_proto_rawDescGZIP(), []int{0}
}
func (x *Module) GetBlockedModuleAccountsOverride() []string {
if x != nil {
return x.BlockedModuleAccountsOverride
}
return nil
}
func (x *Module) GetAuthority() string {
if x != nil {
return x.Authority
}
return ""
}
func (x *Module) GetRestrictionsOrder() []string {
if x != nil {
return x.RestrictionsOrder
}
return nil
}
var File_cosmos_bank_module_v1_module_proto protoreflect.FileDescriptor
var file_cosmos_bank_module_v1_module_proto_rawDesc = []byte{
0x0a, 0x22, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x6e, 0x6b, 0x2f, 0x6d, 0x6f,
0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x6e,
0x6b, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, 0x01,
0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x47, 0x0a, 0x20, 0x62, 0x6c, 0x6f, 0x63,
0x6b, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x73, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x03,
0x28, 0x09, 0x52, 0x1d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64,
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12,
0x2d, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f,
0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x73,
0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x3a, 0x2b,
0xba, 0xc0, 0x96, 0xda, 0x01, 0x25, 0x0a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x78, 0x2f, 0x62, 0x61, 0x6e, 0x6b, 0x42, 0xd0, 0x01, 0x0a, 0x19,
0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x6e, 0x6b, 0x2e,
0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f,
0x73, 0x2f, 0x62, 0x61, 0x6e, 0x6b, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31,
0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x42, 0x4d, 0xaa,
0x02, 0x15, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x42, 0x61, 0x6e, 0x6b, 0x2e, 0x4d, 0x6f,
0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x5c, 0x42, 0x61, 0x6e, 0x6b, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2,
0x02, 0x21, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, 0x61, 0x6e, 0x6b, 0x5c, 0x4d, 0x6f,
0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x42, 0x61,
0x6e, 0x6b, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cosmos_bank_module_v1_module_proto_rawDescOnce sync.Once
file_cosmos_bank_module_v1_module_proto_rawDescData = file_cosmos_bank_module_v1_module_proto_rawDesc
)
func file_cosmos_bank_module_v1_module_proto_rawDescGZIP() []byte {
file_cosmos_bank_module_v1_module_proto_rawDescOnce.Do(func() {
file_cosmos_bank_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_bank_module_v1_module_proto_rawDescData)
})
return file_cosmos_bank_module_v1_module_proto_rawDescData
}
var file_cosmos_bank_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_bank_module_v1_module_proto_goTypes = []interface{}{
(*Module)(nil), // 0: cosmos.bank.module.v1.Module
}
var file_cosmos_bank_module_v1_module_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_cosmos_bank_module_v1_module_proto_init() }
func file_cosmos_bank_module_v1_module_proto_init() {
if File_cosmos_bank_module_v1_module_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_cosmos_bank_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Module); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cosmos_bank_module_v1_module_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cosmos_bank_module_v1_module_proto_goTypes,
DependencyIndexes: file_cosmos_bank_module_v1_module_proto_depIdxs,
MessageInfos: file_cosmos_bank_module_v1_module_proto_msgTypes,
}.Build()
File_cosmos_bank_module_v1_module_proto = out.File
file_cosmos_bank_module_v1_module_proto_rawDesc = nil
file_cosmos_bank_module_v1_module_proto_goTypes = nil
file_cosmos_bank_module_v1_module_proto_depIdxs = nil
}
+808
View File
@@ -0,0 +1,808 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package bankv1beta1
import (
_ "cosmossdk.io/api/amino"
v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1"
fmt "fmt"
_ "github.com/cosmos/cosmos-proto"
runtime "github.com/cosmos/cosmos-proto/runtime"
_ "github.com/cosmos/gogoproto/gogoproto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoiface "google.golang.org/protobuf/runtime/protoiface"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
io "io"
reflect "reflect"
sync "sync"
)
var _ protoreflect.List = (*_SendAuthorization_1_list)(nil)
type _SendAuthorization_1_list struct {
list *[]*v1beta1.Coin
}
func (x *_SendAuthorization_1_list) Len() int {
if x.list == nil {
return 0
}
return len(*x.list)
}
func (x *_SendAuthorization_1_list) Get(i int) protoreflect.Value {
return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect())
}
func (x *_SendAuthorization_1_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v1beta1.Coin)
(*x.list)[i] = concreteValue
}
func (x *_SendAuthorization_1_list) Append(value protoreflect.Value) {
valueUnwrapped := value.Message()
concreteValue := valueUnwrapped.Interface().(*v1beta1.Coin)
*x.list = append(*x.list, concreteValue)
}
func (x *_SendAuthorization_1_list) AppendMutable() protoreflect.Value {
v := new(v1beta1.Coin)
*x.list = append(*x.list, v)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
func (x *_SendAuthorization_1_list) Truncate(n int) {
for i := n; i < len(*x.list); i++ {
(*x.list)[i] = nil
}
*x.list = (*x.list)[:n]
}
func (x *_SendAuthorization_1_list) NewElement() protoreflect.Value {
v := new(v1beta1.Coin)
return protoreflect.ValueOfMessage(v.ProtoReflect())
}
func (x *_SendAuthorization_1_list) IsValid() bool {
return x.list != nil
}
var _ protoreflect.List = (*_SendAuthorization_2_list)(nil)
type _SendAuthorization_2_list struct {
list *[]string
}
func (x *_SendAuthorization_2_list) Len() int {
if x.list == nil {
return 0
}
return len(*x.list)
}
func (x *_SendAuthorization_2_list) Get(i int) protoreflect.Value {
return protoreflect.ValueOfString((*x.list)[i])
}
func (x *_SendAuthorization_2_list) Set(i int, value protoreflect.Value) {
valueUnwrapped := value.String()
concreteValue := valueUnwrapped
(*x.list)[i] = concreteValue
}
func (x *_SendAuthorization_2_list) Append(value protoreflect.Value) {
valueUnwrapped := value.String()
concreteValue := valueUnwrapped
*x.list = append(*x.list, concreteValue)
}
func (x *_SendAuthorization_2_list) AppendMutable() protoreflect.Value {
panic(fmt.Errorf("AppendMutable can not be called on message SendAuthorization at list field AllowList as it is not of Message kind"))
}
func (x *_SendAuthorization_2_list) Truncate(n int) {
*x.list = (*x.list)[:n]
}
func (x *_SendAuthorization_2_list) NewElement() protoreflect.Value {
v := ""
return protoreflect.ValueOfString(v)
}
func (x *_SendAuthorization_2_list) IsValid() bool {
return x.list != nil
}
var (
md_SendAuthorization protoreflect.MessageDescriptor
fd_SendAuthorization_spend_limit protoreflect.FieldDescriptor
fd_SendAuthorization_allow_list protoreflect.FieldDescriptor
)
func init() {
file_cosmos_bank_v1beta1_authz_proto_init()
md_SendAuthorization = File_cosmos_bank_v1beta1_authz_proto.Messages().ByName("SendAuthorization")
fd_SendAuthorization_spend_limit = md_SendAuthorization.Fields().ByName("spend_limit")
fd_SendAuthorization_allow_list = md_SendAuthorization.Fields().ByName("allow_list")
}
var _ protoreflect.Message = (*fastReflection_SendAuthorization)(nil)
type fastReflection_SendAuthorization SendAuthorization
func (x *SendAuthorization) ProtoReflect() protoreflect.Message {
return (*fastReflection_SendAuthorization)(x)
}
func (x *SendAuthorization) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_bank_v1beta1_authz_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
var _fastReflection_SendAuthorization_messageType fastReflection_SendAuthorization_messageType
var _ protoreflect.MessageType = fastReflection_SendAuthorization_messageType{}
type fastReflection_SendAuthorization_messageType struct{}
func (x fastReflection_SendAuthorization_messageType) Zero() protoreflect.Message {
return (*fastReflection_SendAuthorization)(nil)
}
func (x fastReflection_SendAuthorization_messageType) New() protoreflect.Message {
return new(fastReflection_SendAuthorization)
}
func (x fastReflection_SendAuthorization_messageType) Descriptor() protoreflect.MessageDescriptor {
return md_SendAuthorization
}
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
func (x *fastReflection_SendAuthorization) Descriptor() protoreflect.MessageDescriptor {
return md_SendAuthorization
}
// Type returns the message type, which encapsulates both Go and protobuf
// type information. If the Go type information is not needed,
// it is recommended that the message descriptor be used instead.
func (x *fastReflection_SendAuthorization) Type() protoreflect.MessageType {
return _fastReflection_SendAuthorization_messageType
}
// New returns a newly allocated and mutable empty message.
func (x *fastReflection_SendAuthorization) New() protoreflect.Message {
return new(fastReflection_SendAuthorization)
}
// Interface unwraps the message reflection interface and
// returns the underlying ProtoMessage interface.
func (x *fastReflection_SendAuthorization) Interface() protoreflect.ProtoMessage {
return (*SendAuthorization)(x)
}
// Range iterates over every populated field in an undefined order,
// calling f for each field descriptor and value encountered.
// Range returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current field descriptor.
func (x *fastReflection_SendAuthorization) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
if len(x.SpendLimit) != 0 {
value := protoreflect.ValueOfList(&_SendAuthorization_1_list{list: &x.SpendLimit})
if !f(fd_SendAuthorization_spend_limit, value) {
return
}
}
if len(x.AllowList) != 0 {
value := protoreflect.ValueOfList(&_SendAuthorization_2_list{list: &x.AllowList})
if !f(fd_SendAuthorization_allow_list, value) {
return
}
}
}
// Has reports whether a field is populated.
//
// Some fields have the property of nullability where it is possible to
// distinguish between the default value of a field and whether the field
// was explicitly populated with the default value. Singular message fields,
// member fields of a oneof, and proto2 scalar fields are nullable. Such
// fields are populated only if explicitly set.
//
// In other cases (aside from the nullable cases above),
// a proto3 scalar field is populated if it contains a non-zero value, and
// a repeated field is populated if it is non-empty.
func (x *fastReflection_SendAuthorization) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cosmos.bank.v1beta1.SendAuthorization.spend_limit":
return len(x.SpendLimit) != 0
case "cosmos.bank.v1beta1.SendAuthorization.allow_list":
return len(x.AllowList) != 0
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.v1beta1.SendAuthorization"))
}
panic(fmt.Errorf("message cosmos.bank.v1beta1.SendAuthorization does not contain field %s", fd.FullName()))
}
}
// Clear clears the field such that a subsequent Has call reports false.
//
// Clearing an extension field clears both the extension type and value
// associated with the given field number.
//
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_SendAuthorization) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cosmos.bank.v1beta1.SendAuthorization.spend_limit":
x.SpendLimit = nil
case "cosmos.bank.v1beta1.SendAuthorization.allow_list":
x.AllowList = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.v1beta1.SendAuthorization"))
}
panic(fmt.Errorf("message cosmos.bank.v1beta1.SendAuthorization does not contain field %s", fd.FullName()))
}
}
// Get retrieves the value for a field.
//
// For unpopulated scalars, it returns the default value, where
// the default value of a bytes scalar is guaranteed to be a copy.
// For unpopulated composite types, it returns an empty, read-only view
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_SendAuthorization) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cosmos.bank.v1beta1.SendAuthorization.spend_limit":
if len(x.SpendLimit) == 0 {
return protoreflect.ValueOfList(&_SendAuthorization_1_list{})
}
listValue := &_SendAuthorization_1_list{list: &x.SpendLimit}
return protoreflect.ValueOfList(listValue)
case "cosmos.bank.v1beta1.SendAuthorization.allow_list":
if len(x.AllowList) == 0 {
return protoreflect.ValueOfList(&_SendAuthorization_2_list{})
}
listValue := &_SendAuthorization_2_list{list: &x.AllowList}
return protoreflect.ValueOfList(listValue)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.v1beta1.SendAuthorization"))
}
panic(fmt.Errorf("message cosmos.bank.v1beta1.SendAuthorization does not contain field %s", descriptor.FullName()))
}
}
// Set stores the value for a field.
//
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType.
// When setting a composite type, it is unspecified whether the stored value
// aliases the source's memory in any way. If the composite value is an
// empty, read-only value, then it panics.
//
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_SendAuthorization) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.bank.v1beta1.SendAuthorization.spend_limit":
lv := value.List()
clv := lv.(*_SendAuthorization_1_list)
x.SpendLimit = *clv.list
case "cosmos.bank.v1beta1.SendAuthorization.allow_list":
lv := value.List()
clv := lv.(*_SendAuthorization_2_list)
x.AllowList = *clv.list
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.v1beta1.SendAuthorization"))
}
panic(fmt.Errorf("message cosmos.bank.v1beta1.SendAuthorization does not contain field %s", fd.FullName()))
}
}
// Mutable returns a mutable reference to a composite type.
//
// If the field is unpopulated, it may allocate a composite value.
// For a field belonging to a oneof, it implicitly clears any other field
// that may be currently set within the same oneof.
// For extension fields, it implicitly stores the provided ExtensionType
// if not already stored.
// It panics if the field does not contain a composite type.
//
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_SendAuthorization) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.bank.v1beta1.SendAuthorization.spend_limit":
if x.SpendLimit == nil {
x.SpendLimit = []*v1beta1.Coin{}
}
value := &_SendAuthorization_1_list{list: &x.SpendLimit}
return protoreflect.ValueOfList(value)
case "cosmos.bank.v1beta1.SendAuthorization.allow_list":
if x.AllowList == nil {
x.AllowList = []string{}
}
value := &_SendAuthorization_2_list{list: &x.AllowList}
return protoreflect.ValueOfList(value)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.v1beta1.SendAuthorization"))
}
panic(fmt.Errorf("message cosmos.bank.v1beta1.SendAuthorization does not contain field %s", fd.FullName()))
}
}
// NewField returns a new value that is assignable to the field
// for the given descriptor. For scalars, this returns the default value.
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_SendAuthorization) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.bank.v1beta1.SendAuthorization.spend_limit":
list := []*v1beta1.Coin{}
return protoreflect.ValueOfList(&_SendAuthorization_1_list{list: &list})
case "cosmos.bank.v1beta1.SendAuthorization.allow_list":
list := []string{}
return protoreflect.ValueOfList(&_SendAuthorization_2_list{list: &list})
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.bank.v1beta1.SendAuthorization"))
}
panic(fmt.Errorf("message cosmos.bank.v1beta1.SendAuthorization does not contain field %s", fd.FullName()))
}
}
// WhichOneof reports which field within the oneof is populated,
// returning nil if none are populated.
// It panics if the oneof descriptor does not belong to this message.
func (x *fastReflection_SendAuthorization) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.bank.v1beta1.SendAuthorization", d.FullName()))
}
panic("unreachable")
}
// GetUnknown retrieves the entire list of unknown fields.
// The caller may only mutate the contents of the RawFields
// if the mutated bytes are stored back into the message with SetUnknown.
func (x *fastReflection_SendAuthorization) GetUnknown() protoreflect.RawFields {
return x.unknownFields
}
// SetUnknown stores an entire list of unknown fields.
// The raw fields must be syntactically valid according to the wire format.
// An implementation may panic if this is not the case.
// Once stored, the caller must not mutate the content of the RawFields.
// An empty RawFields may be passed to clear the fields.
//
// SetUnknown is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_SendAuthorization) SetUnknown(fields protoreflect.RawFields) {
x.unknownFields = fields
}
// IsValid reports whether the message is valid.
//
// An invalid message is an empty, read-only value.
//
// An invalid message often corresponds to a nil pointer of the concrete
// message type, but the details are implementation dependent.
// Validity is not part of the protobuf data model, and may not
// be preserved in marshaling or other operations.
func (x *fastReflection_SendAuthorization) IsValid() bool {
return x != nil
}
// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations.
// This method may return nil.
//
// The returned methods type is identical to
// "google.golang.org/protobuf/runtime/protoiface".Methods.
// Consult the protoiface package documentation for details.
func (x *fastReflection_SendAuthorization) ProtoMethods() *protoiface.Methods {
size := func(input protoiface.SizeInput) protoiface.SizeOutput {
x := input.Message.Interface().(*SendAuthorization)
if x == nil {
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: 0,
}
}
options := runtime.SizeInputToOptions(input)
_ = options
var n int
var l int
_ = l
if len(x.SpendLimit) > 0 {
for _, e := range x.SpendLimit {
l = options.Size(e)
n += 1 + l + runtime.Sov(uint64(l))
}
}
if len(x.AllowList) > 0 {
for _, s := range x.AllowList {
l = len(s)
n += 1 + l + runtime.Sov(uint64(l))
}
}
if x.unknownFields != nil {
n += len(x.unknownFields)
}
return protoiface.SizeOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Size: n,
}
}
marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
x := input.Message.Interface().(*SendAuthorization)
if x == nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
options := runtime.MarshalInputToOptions(input)
_ = options
size := options.Size(x)
dAtA := make([]byte, size)
i := len(dAtA)
_ = i
var l int
_ = l
if x.unknownFields != nil {
i -= len(x.unknownFields)
copy(dAtA[i:], x.unknownFields)
}
if len(x.AllowList) > 0 {
for iNdEx := len(x.AllowList) - 1; iNdEx >= 0; iNdEx-- {
i -= len(x.AllowList[iNdEx])
copy(dAtA[i:], x.AllowList[iNdEx])
i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllowList[iNdEx])))
i--
dAtA[i] = 0x12
}
}
if len(x.SpendLimit) > 0 {
for iNdEx := len(x.SpendLimit) - 1; iNdEx >= 0; iNdEx-- {
encoded, err := options.Marshal(x.SpendLimit[iNdEx])
if err != nil {
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, err
}
i -= len(encoded)
copy(dAtA[i:], encoded)
i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded)))
i--
dAtA[i] = 0xa
}
}
if input.Buf != nil {
input.Buf = append(input.Buf, dAtA...)
} else {
input.Buf = dAtA
}
return protoiface.MarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Buf: input.Buf,
}, nil
}
unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
x := input.Message.Interface().(*SendAuthorization)
if x == nil {
return protoiface.UnmarshalOutput{
NoUnkeyedLiterals: input.NoUnkeyedLiterals,
Flags: input.Flags,
}, nil
}
options := runtime.UnmarshalInputToOptions(input)
_ = options
dAtA := input.Buf
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: SendAuthorization: wiretype end group for non-group")
}
if fieldNum <= 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: SendAuthorization: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SpendLimit", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.SpendLimit = append(x.SpendLimit, &v1beta1.Coin{})
if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.SpendLimit[len(x.SpendLimit)-1]); err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AllowList", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow
}
if iNdEx >= l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if postIndex > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
x.AllowList = append(x.AllowList, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := runtime.Skip(dAtA[iNdEx:])
if err != nil {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err
}
if (skippy < 0) || (iNdEx+skippy) < 0 {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength
}
if (iNdEx + skippy) > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
if !options.DiscardUnknown {
x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
}
iNdEx += skippy
}
}
if iNdEx > l {
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF
}
return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil
}
return &protoiface.Methods{
NoUnkeyedLiterals: struct{}{},
Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown,
Size: size,
Marshal: marshal,
Unmarshal: unmarshal,
Merge: nil,
CheckInitialized: nil,
}
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cosmos/bank/v1beta1/authz.proto
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// SendAuthorization allows the grantee to spend up to spend_limit coins from
// the granter's account.
type SendAuthorization struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SpendLimit []*v1beta1.Coin `protobuf:"bytes,1,rep,name=spend_limit,json=spendLimit,proto3" json:"spend_limit,omitempty"`
// allow_list specifies an optional list of addresses to whom the grantee can send tokens on behalf of the
// granter. If omitted, any recipient is allowed.
AllowList []string `protobuf:"bytes,2,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"`
}
func (x *SendAuthorization) Reset() {
*x = SendAuthorization{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_bank_v1beta1_authz_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendAuthorization) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendAuthorization) ProtoMessage() {}
// Deprecated: Use SendAuthorization.ProtoReflect.Descriptor instead.
func (*SendAuthorization) Descriptor() ([]byte, []int) {
return file_cosmos_bank_v1beta1_authz_proto_rawDescGZIP(), []int{0}
}
func (x *SendAuthorization) GetSpendLimit() []*v1beta1.Coin {
if x != nil {
return x.SpendLimit
}
return nil
}
func (x *SendAuthorization) GetAllowList() []string {
if x != nil {
return x.AllowList
}
return nil
}
var File_cosmos_bank_v1beta1_authz_proto protoreflect.FileDescriptor
var file_cosmos_bank_v1beta1_authz_proto_rawDesc = []byte{
0x0a, 0x1f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x6e, 0x6b, 0x2f, 0x76, 0x31,
0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x13, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x6e, 0x6b, 0x2e, 0x76,
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d,
0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x73, 0x6d,
0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x02, 0x0a, 0x11, 0x53,
0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x82, 0x01, 0x0a, 0x0b, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69,
0x6e, 0x42, 0x46, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75,
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f,
0x69, 0x6e, 0x73, 0x9a, 0xe7, 0xb0, 0x2a, 0x0c, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63,
0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0a, 0x73, 0x70, 0x65, 0x6e, 0x64,
0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x4a, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6c,
0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2b, 0xd2, 0xb4, 0x2d, 0x14, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72,
0x69, 0x6e, 0x67, 0xda, 0xb4, 0x2d, 0x0f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64,
0x6b, 0x20, 0x30, 0x2e, 0x34, 0x37, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4c, 0x69, 0x73,
0x74, 0x3a, 0x5a, 0xca, 0xb4, 0x2d, 0x22, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75,
0x74, 0x68, 0x7a, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68,
0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xd2, 0xb4, 0x2d, 0x0f, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x20, 0x30, 0x2e, 0x34, 0x33, 0x8a, 0xe7, 0xb0, 0x2a,
0x1c, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x53, 0x65, 0x6e, 0x64,
0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xc5, 0x01,
0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x6e,
0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x41, 0x75, 0x74, 0x68, 0x7a,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73,
0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x2f, 0x62, 0x61, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x62, 0x61,
0x6e, 0x6b, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x42, 0x58, 0xaa,
0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x42, 0x61, 0x6e, 0x6b, 0x2e, 0x56, 0x31,
0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42,
0x61, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, 0x61, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61,
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15,
0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x42, 0x61, 0x6e, 0x6b, 0x3a, 0x3a, 0x56, 0x31,
0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cosmos_bank_v1beta1_authz_proto_rawDescOnce sync.Once
file_cosmos_bank_v1beta1_authz_proto_rawDescData = file_cosmos_bank_v1beta1_authz_proto_rawDesc
)
func file_cosmos_bank_v1beta1_authz_proto_rawDescGZIP() []byte {
file_cosmos_bank_v1beta1_authz_proto_rawDescOnce.Do(func() {
file_cosmos_bank_v1beta1_authz_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_bank_v1beta1_authz_proto_rawDescData)
})
return file_cosmos_bank_v1beta1_authz_proto_rawDescData
}
var file_cosmos_bank_v1beta1_authz_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_bank_v1beta1_authz_proto_goTypes = []interface{}{
(*SendAuthorization)(nil), // 0: cosmos.bank.v1beta1.SendAuthorization
(*v1beta1.Coin)(nil), // 1: cosmos.base.v1beta1.Coin
}
var file_cosmos_bank_v1beta1_authz_proto_depIdxs = []int32{
1, // 0: cosmos.bank.v1beta1.SendAuthorization.spend_limit:type_name -> cosmos.base.v1beta1.Coin
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_cosmos_bank_v1beta1_authz_proto_init() }
func file_cosmos_bank_v1beta1_authz_proto_init() {
if File_cosmos_bank_v1beta1_authz_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_cosmos_bank_v1beta1_authz_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SendAuthorization); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cosmos_bank_v1beta1_authz_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cosmos_bank_v1beta1_authz_proto_goTypes,
DependencyIndexes: file_cosmos_bank_v1beta1_authz_proto_depIdxs,
MessageInfos: file_cosmos_bank_v1beta1_authz_proto_msgTypes,
}.Build()
File_cosmos_bank_v1beta1_authz_proto = out.File
file_cosmos_bank_v1beta1_authz_proto_rawDesc = nil
file_cosmos_bank_v1beta1_authz_proto_goTypes = nil
file_cosmos_bank_v1beta1_authz_proto_depIdxs = nil
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+661
View File
@@ -0,0 +1,661 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/bank/v1beta1/query.proto
package bankv1beta1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Query_Balance_FullMethodName = "/cosmos.bank.v1beta1.Query/Balance"
Query_AllBalances_FullMethodName = "/cosmos.bank.v1beta1.Query/AllBalances"
Query_SpendableBalances_FullMethodName = "/cosmos.bank.v1beta1.Query/SpendableBalances"
Query_SpendableBalanceByDenom_FullMethodName = "/cosmos.bank.v1beta1.Query/SpendableBalanceByDenom"
Query_TotalSupply_FullMethodName = "/cosmos.bank.v1beta1.Query/TotalSupply"
Query_SupplyOf_FullMethodName = "/cosmos.bank.v1beta1.Query/SupplyOf"
Query_Params_FullMethodName = "/cosmos.bank.v1beta1.Query/Params"
Query_DenomsMetadata_FullMethodName = "/cosmos.bank.v1beta1.Query/DenomsMetadata"
Query_DenomMetadata_FullMethodName = "/cosmos.bank.v1beta1.Query/DenomMetadata"
Query_DenomMetadataByQueryString_FullMethodName = "/cosmos.bank.v1beta1.Query/DenomMetadataByQueryString"
Query_DenomOwners_FullMethodName = "/cosmos.bank.v1beta1.Query/DenomOwners"
Query_DenomOwnersByQuery_FullMethodName = "/cosmos.bank.v1beta1.Query/DenomOwnersByQuery"
Query_SendEnabled_FullMethodName = "/cosmos.bank.v1beta1.Query/SendEnabled"
)
// QueryClient is the client API for Query service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// Query defines the gRPC querier service.
type QueryClient interface {
// Balance queries the balance of a single coin for a single account.
Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
// AllBalances queries the balance of all coins for a single account.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error)
// SpendableBalances queries the spendable balance of all coins for a single
// account.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
SpendableBalances(ctx context.Context, in *QuerySpendableBalancesRequest, opts ...grpc.CallOption) (*QuerySpendableBalancesResponse, error)
// SpendableBalanceByDenom queries the spendable balance of a single denom for
// a single account.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
SpendableBalanceByDenom(ctx context.Context, in *QuerySpendableBalanceByDenomRequest, opts ...grpc.CallOption) (*QuerySpendableBalanceByDenomResponse, error)
// TotalSupply queries the total supply of all coins.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error)
// SupplyOf queries the supply of a single coin.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
SupplyOf(ctx context.Context, in *QuerySupplyOfRequest, opts ...grpc.CallOption) (*QuerySupplyOfResponse, error)
// Params queries the parameters of x/bank module.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
// DenomsMetadata queries the client metadata for all registered coin
// denominations.
DenomsMetadata(ctx context.Context, in *QueryDenomsMetadataRequest, opts ...grpc.CallOption) (*QueryDenomsMetadataResponse, error)
// DenomMetadata queries the client metadata of a given coin denomination.
DenomMetadata(ctx context.Context, in *QueryDenomMetadataRequest, opts ...grpc.CallOption) (*QueryDenomMetadataResponse, error)
// DenomMetadataByQueryString queries the client metadata of a given coin denomination.
DenomMetadataByQueryString(ctx context.Context, in *QueryDenomMetadataByQueryStringRequest, opts ...grpc.CallOption) (*QueryDenomMetadataByQueryStringResponse, error)
// DenomOwners queries for all account addresses that own a particular token
// denomination.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
DenomOwners(ctx context.Context, in *QueryDenomOwnersRequest, opts ...grpc.CallOption) (*QueryDenomOwnersResponse, error)
// DenomOwnersByQuery queries for all account addresses that own a particular token
// denomination.
DenomOwnersByQuery(ctx context.Context, in *QueryDenomOwnersByQueryRequest, opts ...grpc.CallOption) (*QueryDenomOwnersByQueryResponse, error)
// SendEnabled queries for SendEnabled entries.
//
// This query only returns denominations that have specific SendEnabled settings.
// Any denomination that does not have a specific setting will use the default
// params.default_send_enabled, and will not be returned by this query.
SendEnabled(ctx context.Context, in *QuerySendEnabledRequest, opts ...grpc.CallOption) (*QuerySendEnabledResponse, error)
}
type queryClient struct {
cc grpc.ClientConnInterface
}
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient {
return &queryClient{cc}
}
func (c *queryClient) Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryBalanceResponse)
err := c.cc.Invoke(ctx, Query_Balance_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryAllBalancesResponse)
err := c.cc.Invoke(ctx, Query_AllBalances_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) SpendableBalances(ctx context.Context, in *QuerySpendableBalancesRequest, opts ...grpc.CallOption) (*QuerySpendableBalancesResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QuerySpendableBalancesResponse)
err := c.cc.Invoke(ctx, Query_SpendableBalances_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) SpendableBalanceByDenom(ctx context.Context, in *QuerySpendableBalanceByDenomRequest, opts ...grpc.CallOption) (*QuerySpendableBalanceByDenomResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QuerySpendableBalanceByDenomResponse)
err := c.cc.Invoke(ctx, Query_SpendableBalanceByDenom_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryTotalSupplyResponse)
err := c.cc.Invoke(ctx, Query_TotalSupply_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) SupplyOf(ctx context.Context, in *QuerySupplyOfRequest, opts ...grpc.CallOption) (*QuerySupplyOfResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QuerySupplyOfResponse)
err := c.cc.Invoke(ctx, Query_SupplyOf_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, Query_Params_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) DenomsMetadata(ctx context.Context, in *QueryDenomsMetadataRequest, opts ...grpc.CallOption) (*QueryDenomsMetadataResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryDenomsMetadataResponse)
err := c.cc.Invoke(ctx, Query_DenomsMetadata_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) DenomMetadata(ctx context.Context, in *QueryDenomMetadataRequest, opts ...grpc.CallOption) (*QueryDenomMetadataResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryDenomMetadataResponse)
err := c.cc.Invoke(ctx, Query_DenomMetadata_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) DenomMetadataByQueryString(ctx context.Context, in *QueryDenomMetadataByQueryStringRequest, opts ...grpc.CallOption) (*QueryDenomMetadataByQueryStringResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryDenomMetadataByQueryStringResponse)
err := c.cc.Invoke(ctx, Query_DenomMetadataByQueryString_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) DenomOwners(ctx context.Context, in *QueryDenomOwnersRequest, opts ...grpc.CallOption) (*QueryDenomOwnersResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryDenomOwnersResponse)
err := c.cc.Invoke(ctx, Query_DenomOwners_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) DenomOwnersByQuery(ctx context.Context, in *QueryDenomOwnersByQueryRequest, opts ...grpc.CallOption) (*QueryDenomOwnersByQueryResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QueryDenomOwnersByQueryResponse)
err := c.cc.Invoke(ctx, Query_DenomOwnersByQuery_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryClient) SendEnabled(ctx context.Context, in *QuerySendEnabledRequest, opts ...grpc.CallOption) (*QuerySendEnabledResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(QuerySendEnabledResponse)
err := c.cc.Invoke(ctx, Query_SendEnabled_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// QueryServer is the server API for Query service.
// All implementations must embed UnimplementedQueryServer
// for forward compatibility.
//
// Query defines the gRPC querier service.
type QueryServer interface {
// Balance queries the balance of a single coin for a single account.
Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
// AllBalances queries the balance of all coins for a single account.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
// SpendableBalances queries the spendable balance of all coins for a single
// account.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
SpendableBalances(context.Context, *QuerySpendableBalancesRequest) (*QuerySpendableBalancesResponse, error)
// SpendableBalanceByDenom queries the spendable balance of a single denom for
// a single account.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
SpendableBalanceByDenom(context.Context, *QuerySpendableBalanceByDenomRequest) (*QuerySpendableBalanceByDenomResponse, error)
// TotalSupply queries the total supply of all coins.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
// SupplyOf queries the supply of a single coin.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
SupplyOf(context.Context, *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
// Params queries the parameters of x/bank module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
// DenomsMetadata queries the client metadata for all registered coin
// denominations.
DenomsMetadata(context.Context, *QueryDenomsMetadataRequest) (*QueryDenomsMetadataResponse, error)
// DenomMetadata queries the client metadata of a given coin denomination.
DenomMetadata(context.Context, *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error)
// DenomMetadataByQueryString queries the client metadata of a given coin denomination.
DenomMetadataByQueryString(context.Context, *QueryDenomMetadataByQueryStringRequest) (*QueryDenomMetadataByQueryStringResponse, error)
// DenomOwners queries for all account addresses that own a particular token
// denomination.
//
// When called from another module, this query might consume a high amount of
// gas if the pagination field is incorrectly set.
DenomOwners(context.Context, *QueryDenomOwnersRequest) (*QueryDenomOwnersResponse, error)
// DenomOwnersByQuery queries for all account addresses that own a particular token
// denomination.
DenomOwnersByQuery(context.Context, *QueryDenomOwnersByQueryRequest) (*QueryDenomOwnersByQueryResponse, error)
// SendEnabled queries for SendEnabled entries.
//
// This query only returns denominations that have specific SendEnabled settings.
// Any denomination that does not have a specific setting will use the default
// params.default_send_enabled, and will not be returned by this query.
SendEnabled(context.Context, *QuerySendEnabledRequest) (*QuerySendEnabledResponse, error)
mustEmbedUnimplementedQueryServer()
}
// UnimplementedQueryServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedQueryServer struct{}
func (UnimplementedQueryServer) Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Balance not implemented")
}
func (UnimplementedQueryServer) AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AllBalances not implemented")
}
func (UnimplementedQueryServer) SpendableBalances(context.Context, *QuerySpendableBalancesRequest) (*QuerySpendableBalancesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SpendableBalances not implemented")
}
func (UnimplementedQueryServer) SpendableBalanceByDenom(context.Context, *QuerySpendableBalanceByDenomRequest) (*QuerySpendableBalanceByDenomResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SpendableBalanceByDenom not implemented")
}
func (UnimplementedQueryServer) TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method TotalSupply not implemented")
}
func (UnimplementedQueryServer) SupplyOf(context.Context, *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SupplyOf not implemented")
}
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Params not implemented")
}
func (UnimplementedQueryServer) DenomsMetadata(context.Context, *QueryDenomsMetadataRequest) (*QueryDenomsMetadataResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DenomsMetadata not implemented")
}
func (UnimplementedQueryServer) DenomMetadata(context.Context, *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DenomMetadata not implemented")
}
func (UnimplementedQueryServer) DenomMetadataByQueryString(context.Context, *QueryDenomMetadataByQueryStringRequest) (*QueryDenomMetadataByQueryStringResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DenomMetadataByQueryString not implemented")
}
func (UnimplementedQueryServer) DenomOwners(context.Context, *QueryDenomOwnersRequest) (*QueryDenomOwnersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DenomOwners not implemented")
}
func (UnimplementedQueryServer) DenomOwnersByQuery(context.Context, *QueryDenomOwnersByQueryRequest) (*QueryDenomOwnersByQueryResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DenomOwnersByQuery not implemented")
}
func (UnimplementedQueryServer) SendEnabled(context.Context, *QuerySendEnabledRequest) (*QuerySendEnabledResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendEnabled not implemented")
}
func (UnimplementedQueryServer) mustEmbedUnimplementedQueryServer() {}
func (UnimplementedQueryServer) testEmbeddedByValue() {}
// UnsafeQueryServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to QueryServer will
// result in compilation errors.
type UnsafeQueryServer interface {
mustEmbedUnimplementedQueryServer()
}
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer) {
// If the following call pancis, it indicates UnimplementedQueryServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Query_ServiceDesc, srv)
}
func _Query_Balance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryBalanceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).Balance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_Balance_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Balance(ctx, req.(*QueryBalanceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_AllBalances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryAllBalancesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).AllBalances(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_AllBalances_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AllBalances(ctx, req.(*QueryAllBalancesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_SpendableBalances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QuerySpendableBalancesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).SpendableBalances(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_SpendableBalances_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).SpendableBalances(ctx, req.(*QuerySpendableBalancesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_SpendableBalanceByDenom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QuerySpendableBalanceByDenomRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).SpendableBalanceByDenom(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_SpendableBalanceByDenom_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).SpendableBalanceByDenom(ctx, req.(*QuerySpendableBalanceByDenomRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_TotalSupply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryTotalSupplyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).TotalSupply(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_TotalSupply_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalSupply(ctx, req.(*QueryTotalSupplyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_SupplyOf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QuerySupplyOfRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).SupplyOf(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_SupplyOf_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).SupplyOf(ctx, req.(*QuerySupplyOfRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryParamsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).Params(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_Params_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_DenomsMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryDenomsMetadataRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).DenomsMetadata(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_DenomsMetadata_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DenomsMetadata(ctx, req.(*QueryDenomsMetadataRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_DenomMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryDenomMetadataRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).DenomMetadata(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_DenomMetadata_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DenomMetadata(ctx, req.(*QueryDenomMetadataRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_DenomMetadataByQueryString_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryDenomMetadataByQueryStringRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).DenomMetadataByQueryString(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_DenomMetadataByQueryString_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DenomMetadataByQueryString(ctx, req.(*QueryDenomMetadataByQueryStringRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_DenomOwners_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryDenomOwnersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).DenomOwners(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_DenomOwners_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DenomOwners(ctx, req.(*QueryDenomOwnersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_DenomOwnersByQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryDenomOwnersByQueryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).DenomOwnersByQuery(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_DenomOwnersByQuery_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DenomOwnersByQuery(ctx, req.(*QueryDenomOwnersByQueryRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Query_SendEnabled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QuerySendEnabledRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServer).SendEnabled(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Query_SendEnabled_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).SendEnabled(ctx, req.(*QuerySendEnabledRequest))
}
return interceptor(ctx, in, info, handler)
}
// Query_ServiceDesc is the grpc.ServiceDesc for Query service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.bank.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Balance",
Handler: _Query_Balance_Handler,
},
{
MethodName: "AllBalances",
Handler: _Query_AllBalances_Handler,
},
{
MethodName: "SpendableBalances",
Handler: _Query_SpendableBalances_Handler,
},
{
MethodName: "SpendableBalanceByDenom",
Handler: _Query_SpendableBalanceByDenom_Handler,
},
{
MethodName: "TotalSupply",
Handler: _Query_TotalSupply_Handler,
},
{
MethodName: "SupplyOf",
Handler: _Query_SupplyOf_Handler,
},
{
MethodName: "Params",
Handler: _Query_Params_Handler,
},
{
MethodName: "DenomsMetadata",
Handler: _Query_DenomsMetadata_Handler,
},
{
MethodName: "DenomMetadata",
Handler: _Query_DenomMetadata_Handler,
},
{
MethodName: "DenomMetadataByQueryString",
Handler: _Query_DenomMetadataByQueryString_Handler,
},
{
MethodName: "DenomOwners",
Handler: _Query_DenomOwners_Handler,
},
{
MethodName: "DenomOwnersByQuery",
Handler: _Query_DenomOwnersByQuery_Handler,
},
{
MethodName: "SendEnabled",
Handler: _Query_SendEnabled_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/bank/v1beta1/query.proto",
}
File diff suppressed because it is too large Load Diff
+255
View File
@@ -0,0 +1,255 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/bank/v1beta1/tx.proto
package bankv1beta1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Msg_Send_FullMethodName = "/cosmos.bank.v1beta1.Msg/Send"
Msg_MultiSend_FullMethodName = "/cosmos.bank.v1beta1.Msg/MultiSend"
Msg_UpdateParams_FullMethodName = "/cosmos.bank.v1beta1.Msg/UpdateParams"
Msg_SetSendEnabled_FullMethodName = "/cosmos.bank.v1beta1.Msg/SetSendEnabled"
)
// MsgClient is the client API for Msg service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// Msg defines the bank Msg service.
type MsgClient interface {
// Send defines a method for sending coins from one account to another account.
Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error)
// MultiSend defines a method for sending coins from some accounts to other accounts.
MultiSend(ctx context.Context, in *MsgMultiSend, opts ...grpc.CallOption) (*MsgMultiSendResponse, error)
// UpdateParams defines a governance operation for updating the x/bank module parameters.
// The authority is defined in the keeper.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
// SetSendEnabled is a governance operation for setting the SendEnabled flag
// on any number of Denoms. Only the entries to add or update should be
// included. Entries that already exist in the store, but that aren't
// included in this message, will be left unchanged.
SetSendEnabled(ctx context.Context, in *MsgSetSendEnabled, opts ...grpc.CallOption) (*MsgSetSendEnabledResponse, error)
}
type msgClient struct {
cc grpc.ClientConnInterface
}
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient {
return &msgClient{cc}
}
func (c *msgClient) Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(MsgSendResponse)
err := c.cc.Invoke(ctx, Msg_Send_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) MultiSend(ctx context.Context, in *MsgMultiSend, opts ...grpc.CallOption) (*MsgMultiSendResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(MsgMultiSendResponse)
err := c.cc.Invoke(ctx, Msg_MultiSend_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(MsgUpdateParamsResponse)
err := c.cc.Invoke(ctx, Msg_UpdateParams_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) SetSendEnabled(ctx context.Context, in *MsgSetSendEnabled, opts ...grpc.CallOption) (*MsgSetSendEnabledResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(MsgSetSendEnabledResponse)
err := c.cc.Invoke(ctx, Msg_SetSendEnabled_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// MsgServer is the server API for Msg service.
// All implementations must embed UnimplementedMsgServer
// for forward compatibility.
//
// Msg defines the bank Msg service.
type MsgServer interface {
// Send defines a method for sending coins from one account to another account.
Send(context.Context, *MsgSend) (*MsgSendResponse, error)
// MultiSend defines a method for sending coins from some accounts to other accounts.
MultiSend(context.Context, *MsgMultiSend) (*MsgMultiSendResponse, error)
// UpdateParams defines a governance operation for updating the x/bank module parameters.
// The authority is defined in the keeper.
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
// SetSendEnabled is a governance operation for setting the SendEnabled flag
// on any number of Denoms. Only the entries to add or update should be
// included. Entries that already exist in the store, but that aren't
// included in this message, will be left unchanged.
SetSendEnabled(context.Context, *MsgSetSendEnabled) (*MsgSetSendEnabledResponse, error)
mustEmbedUnimplementedMsgServer()
}
// UnimplementedMsgServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedMsgServer struct{}
func (UnimplementedMsgServer) Send(context.Context, *MsgSend) (*MsgSendResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Send not implemented")
}
func (UnimplementedMsgServer) MultiSend(context.Context, *MsgMultiSend) (*MsgMultiSendResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method MultiSend not implemented")
}
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
}
func (UnimplementedMsgServer) SetSendEnabled(context.Context, *MsgSetSendEnabled) (*MsgSetSendEnabledResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetSendEnabled not implemented")
}
func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {}
func (UnimplementedMsgServer) testEmbeddedByValue() {}
// UnsafeMsgServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to MsgServer will
// result in compilation errors.
type UnsafeMsgServer interface {
mustEmbedUnimplementedMsgServer()
}
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) {
// If the following call pancis, it indicates UnimplementedMsgServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Msg_ServiceDesc, srv)
}
func _Msg_Send_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgSend)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).Send(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Msg_Send_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Send(ctx, req.(*MsgSend))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_MultiSend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgMultiSend)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).MultiSend(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Msg_MultiSend_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).MultiSend(ctx, req.(*MsgMultiSend))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgUpdateParams)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).UpdateParams(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Msg_UpdateParams_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_SetSendEnabled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgSetSendEnabled)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).SetSendEnabled(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Msg_SetSendEnabled_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SetSendEnabled(ctx, req.(*MsgSetSendEnabled))
}
return interceptor(ctx, in, info, handler)
}
// Msg_ServiceDesc is the grpc.ServiceDesc for Msg service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Msg_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.bank.v1beta1.Msg",
HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Send",
Handler: _Msg_Send_Handler,
},
{
MethodName: "MultiSend",
Handler: _Msg_MultiSend_Handler,
},
{
MethodName: "UpdateParams",
Handler: _Msg_UpdateParams_Handler,
},
{
MethodName: "SetSendEnabled",
Handler: _Msg_SetSendEnabled_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/bank/v1beta1/tx.proto",
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,167 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc (unknown)
// source: cosmos/base/node/v1beta1/query.proto
package nodev1beta1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Service_Config_FullMethodName = "/cosmos.base.node.v1beta1.Service/Config"
Service_Status_FullMethodName = "/cosmos.base.node.v1beta1.Service/Status"
)
// ServiceClient is the client API for Service service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// Service defines the gRPC querier service for node related queries.
type ServiceClient interface {
// Config queries for the operator configuration.
Config(ctx context.Context, in *ConfigRequest, opts ...grpc.CallOption) (*ConfigResponse, error)
// Status queries for the node status.
Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
}
type serviceClient struct {
cc grpc.ClientConnInterface
}
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient {
return &serviceClient{cc}
}
func (c *serviceClient) Config(ctx context.Context, in *ConfigRequest, opts ...grpc.CallOption) (*ConfigResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(ConfigResponse)
err := c.cc.Invoke(ctx, Service_Config_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceClient) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(StatusResponse)
err := c.cc.Invoke(ctx, Service_Status_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
return out, nil
}
// ServiceServer is the server API for Service service.
// All implementations must embed UnimplementedServiceServer
// for forward compatibility.
//
// Service defines the gRPC querier service for node related queries.
type ServiceServer interface {
// Config queries for the operator configuration.
Config(context.Context, *ConfigRequest) (*ConfigResponse, error)
// Status queries for the node status.
Status(context.Context, *StatusRequest) (*StatusResponse, error)
mustEmbedUnimplementedServiceServer()
}
// UnimplementedServiceServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedServiceServer struct{}
func (UnimplementedServiceServer) Config(context.Context, *ConfigRequest) (*ConfigResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Config not implemented")
}
func (UnimplementedServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Status not implemented")
}
func (UnimplementedServiceServer) mustEmbedUnimplementedServiceServer() {}
func (UnimplementedServiceServer) testEmbeddedByValue() {}
// UnsafeServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ServiceServer will
// result in compilation errors.
type UnsafeServiceServer interface {
mustEmbedUnimplementedServiceServer()
}
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer) {
// If the following call pancis, it indicates UnimplementedServiceServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
t.testEmbeddedByValue()
}
s.RegisterService(&Service_ServiceDesc, srv)
}
func _Service_Config_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceServer).Config(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Service_Config_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).Config(ctx, req.(*ConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Service_Status_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(StatusRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceServer).Status(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Service_Status_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).Status(ctx, req.(*StatusRequest))
}
return interceptor(ctx, in, info, handler)
}
// Service_ServiceDesc is the grpc.ServiceDesc for Service service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Service_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.base.node.v1beta1.Service",
HandlerType: (*ServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Config",
Handler: _Service_Config_Handler,
},
{
MethodName: "Status",
Handler: _Service_Status_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/base/node/v1beta1/query.proto",
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More