Skip to content

Commit

Permalink
feat: Add proto annotations for Amino JSON (cosmos#13501)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* 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 <[email protected]>
  • Loading branch information
amaury1093 and aaronc authored Nov 7, 2022
1 parent c85447c commit b49f948
Show file tree
Hide file tree
Showing 187 changed files with 11,185 additions and 9,849 deletions.
223 changes: 223 additions & 0 deletions api/amino/amino.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b49f948

Please sign in to comment.