cosmos-sdk/types
Amaury b49f948b36
feat: Add proto annotations for Amino JSON (#13501)
* add legacy_amino_name

* make-proto-gen

* remove useless omitempty

* add annotations

* Add proto annotations

* Add more annotations

* update cosmos-proto

* Add message scalar?

* Add comments

* Fix comment

* lint proto files

* proto-gen

* go mod tidy

* Add multisig encoding

* Add field name

* Format proto

* proto-gen

* Update proto/cosmos/msg/v1/msg.proto

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Add dont_omitempty whenever we have nullable=false

* proto-gen

* Remove problematic annotations

* put legacy_amino in subpackage

* proto-gen

* Fixes

* legacy_amino.v1

* add non-working proto

* Generate in separate package

* Remove `cosmos.msg` prefix

* make proto-gen

* remove v1 too

* make proto-format

* Add field option

* format

* proto-gen

* Use underscores

* update legacy_amino -> amino

* update to `key_field`

* make proto-format

* make proto-gen

Co-authored-by: Aaron Craelius <aaron@regen.network>
2022-11-07 22:51:51 +00:00
..
address docs: updates outdated docs (#12014) 2022-05-31 08:59:38 -04:00
bech32 chore: [types/bech32] add a fuzzer for DecodeAndConvert (#13775) 2022-11-07 16:01:42 +00:00
errors chore: minor cleanup of types (#13430) 2022-10-02 15:03:03 +02:00
grpc Add GRPCBlockHeightHeader in clientCtx gRPC requests (#7021) 2020-08-12 14:42:10 +00:00
kv chore: minor cleanup of types (#13430) 2022-10-02 15:03:03 +02:00
mempool quick lint while doing other prs (#13726) 2022-11-02 11:12:36 +00:00
module refactor: split `ExportGenesis` into two functions to maintain backwards compatibility (#13448) 2022-10-04 22:42:58 +00:00
msgservice feat: add proto annotation for Msg services (#13178) 2022-09-14 09:27:45 +00:00
query feat!: consensus module (#12905) 2022-10-05 18:06:24 +00:00
simulation chore: math lib update and type fixes (#12791) 2022-08-02 11:16:40 +00:00
tx feat: Add proto annotations for Amino JSON (#13501) 2022-11-07 22:51:51 +00:00
abci.go Merge PR #4613: Only change rootmultistore hash when substore hashes change 2019-06-25 13:11:22 -04:00
abci.pb.go refactor: migrate to `cosmos/gogoproto` (#13070) 2022-09-08 17:27:48 +00:00
address.go chore(types): add MustAccAddressFromBech32 util func (#12201) 2022-06-09 12:26:07 -04:00
address_race_test.go refactor!: Rename AccAddressFromHex (#11888) 2022-05-06 22:09:36 +00:00
address_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
bench_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
codec.go Remove ServiceMsgs from ADR-031 (#9139) 2021-04-30 11:00:47 +00:00
coin.go fix(bank): fix unhandled error for vesting (#13690) 2022-11-03 18:22:13 +00:00
coin.pb.go feat: Add proto annotations for Amino JSON (#13501) 2022-11-07 22:51:51 +00:00
coin_benchmark_test.go test: fix BenchmarkCoinsAdditionIntersect panic (#9904) 2021-08-11 02:13:17 -07:00
coin_internal_test.go add sorted check for the coins sub/add fun parameter (#9240) 2021-05-05 15:55:28 +00:00
coin_test.go fix: types: correctly coalesce coins even with repeated denominations & simplify logic (#13265) 2022-09-14 13:29:45 +00:00
config.go chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
config_test.go Deprecate SetFullFundraiserPath in favor of SetPurpose and SetCoinType (#8629) 2021-02-22 15:14:09 +00:00
context.go feat: add mempool interfaces (#13249) 2022-09-13 21:25:44 +02:00
context_test.go refactor: remove unused code (#13725) 2022-11-02 11:50:47 +01:00
dec_coin.go fix: prevent nil DecCoin creation when converting Coins to DecCoins (#12903) 2022-08-11 21:39:46 +00:00
dec_coin_test.go fix: prevent nil DecCoin creation when converting Coins to DecCoins (#12903) 2022-08-11 21:39:46 +00:00
denom.go refactor!: create math go sub module (#11788) 2022-04-28 14:05:21 -04:00
denom_internal_test.go cli: convert coins to smallest unit registered (#7777) 2020-11-16 11:34:54 +00:00
events.go perf: all: remove unnecessary allocations from strings.Builder.WriteString(fmt.Sprintf(...)) (#13230) 2022-09-09 21:57:46 +00:00
events_test.go chore: bump tendermint version (#13148) 2022-09-05 07:39:12 +00:00
handler.go chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
handler_test.go refactor: create go.mod for simapp (#13130) 2022-09-07 18:14:22 +00:00
invariant.go Merge PR #4832: print all failed invariants only 2019-08-05 14:21:44 -04:00
invariant_test.go types: tests -> test suites migration (#7405) 2020-09-29 13:29:10 +02:00
math.go refactor: Move sdk.Dec to math package (#12634) 2022-07-20 15:13:45 +00:00
proto.go refactor: migrate to `cosmos/gogoproto` (#13070) 2022-09-08 17:27:48 +00:00
result.go refactor!: remove broadcast mode `block` (#12659) 2022-09-23 15:16:31 +00:00
result_test.go refactor!: remove broadcast mode `block` (#12659) 2022-09-23 15:16:31 +00:00
router.go chore: minor cleanup of types (#13430) 2022-10-02 15:03:03 +02:00
staking.go feat: overwrite default denom in `init` cmd (#13535) 2022-10-13 18:24:28 +02:00
staking_test.go revert: Revert "feat: staking config (#10988)" (#11446) 2022-03-24 12:26:25 +01:00
store.go refactor!: abstractions for snapshot and pruning; snapshot intervals eventually pruned; unit tests (#11496) 2022-04-21 15:30:36 -04:00
store_internal_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
store_test.go chore: gofumpt (#11839) 2022-05-19 10:55:27 +02:00
tx_msg.go feat: add `draft-proposal` for x/group (#13353) 2022-09-22 00:53:02 +02:00
tx_msg_test.go feat: add `draft-proposal` for x/group (#13353) 2022-09-22 00:53:02 +02:00
utils.go refactor: add `sdk.LogDeferred` to report errors in defers (#13619) 2022-10-26 15:42:19 +00:00
utils_test.go feat: add `FormatTime` and `ParseTimeString` methods (#12995) 2022-08-22 23:53:09 +02:00