Jun Kimura
fd04f41e23
ibc-transfer: fix non-deterministic attribute value ( #8442 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-27 10:19:04 +00:00
colin axnér
09b8f7783a
ibc: MsgTransfer amino JSON, commits from @fedekunze ( #8437 )
2021-01-26 09:03:21 -03:00
vincent
50b4be9110
Fix query signing infos command ( #8427 )
...
* fix query signing infos command
* add changelog
2021-01-26 09:32:05 +00:00
MD Aleem
c95de9c417
implement x/authz module ( #7629 )
...
* WIP: Msg authorization module added
* fixing errors
* fixed errors
* fixed module.go
* Add msg_tests
* fixes compile issues
* fix test
* fix test
* Add msg types tests
* Fix Getmsgs
* fixed codec issue
* Fix syntax issues
* Fix keeper
* fixed proto issues
* Fix keeper tests
* fixed router in keeper
* Fix query proto
* Fix cli txs
* Add grpc query client implementation
* Add grpc-keeper test
* Add grpc query tests
Add revoke and exec authorization cli commands
* Fix linting issues
* Fix cli query
* fix lint errors
* Add Genesis state
* Fix query authorization
* Review changes
* Fix grant authorization handler
* Add cli tests
* Add cli tests
* Fix genesis test
* Fix issues
* update module to use proto msg services
* Add simultion tests
* Fix lint
* fix lint
* WIP simulations
* WIP simulations
* add msg tests
* Fix simulation
* Fix errors
* fix genesis import export
* fix sim tests
* fix sim
* fix test
* Register RegisterMsgServer
* WIP
* WIP
* Update keeper test
* change msg_authorization module name to authz
* changed type conversion for serviceMsg
* serviceMsg change to any
* Fix issues
* fix msg tests
* fix errors
* proto format
* remove LegacyQuerierHandler
* Use MsgServiceRouter
* fix keeper-test
* fix query authorizations
* fix NewCmdSendAs
* fix simtests
* fix error
* fix lint
* fix lint
* add tests for generic authorization
* fix imports
* format
* Update error message
* remove println
* add query all grants
* Add pagination for queries
* format
* fix lint
* review changes
* fix grpc tests
* add pagination to cli query
* review changes
* replace panic with error
* lint
* fix errors
* fix tests
* remove gogoproto extensions
* update function doc
* review changes
* fix errors
* fix query flags
* fix grpc query test
* init service-msg
* remove unsed field
* add proto-codec for simulations
* fix codec issue
* update authz simulations
* change msgauth to authz
* add check for invalid msg-type
* change expiration flag to Unix
* doc
* update module.go
* fix sims
* fix grant-authorization sims
* fix error
* fix error
* add build flag
* fix codec issue
* rename
* review changes
* format
* review changes
* go.mod
* refactor
* proto-gen
* Update x/authz/keeper/grpc_query_test.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update x/authz/keeper/grpc_query_test.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update x/authz/keeper/grpc_query_test.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Fix review comments
* fix protogen
* Follow Msg...Request style for msg requests
* update comment
* Fix error codes
* fix review comment
* improve msg validations
* Handle error in casting msgs
* rename actor => grantStoreKey
* add godoc
* add godoc
* Fix simulations
* Fix cli, cli_tests
* Fix simulations
* rename to GetOrRevokeAuthorization
* Move events to keeper
* Fix fmt
* Update x/authz/client/cli/tx.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* rename actor
* fix lint
Co-authored-by: atheesh <atheesh@vitwit.com>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: MD Aleem <72057206+aleem1413@users.noreply.github.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2021-01-25 16:41:30 +00:00
Federico Kunze
7d4f7f93fe
x/bank: balance and metadata validation ( #8417 )
...
* x/bank: balance validation
* metadata validation
* minor change
* balance and metadata tests
* changelog
* check for empty coins
* genesis test
2021-01-22 21:44:54 -03:00
colin axnér
f9ee39f0b2
Reorder IBC channel callbacks ( #8404 )
...
* reorder chan callbacks
* add changelog
* Update CHANGELOG.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-21 15:10:07 +00:00
SaReN
57f5e96570
Rosetta API implementation ( #7695 )
...
Ref: #7492
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-21 09:33:02 +00:00
colin axnér
99aaa5cd79
Add missing unpack interfaces functions to IBC ( #8359 )
...
* add missing UnpackInterfaces functions
* fix build
* add tests cc @fedekunze
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-18 17:15:25 -03:00
Federico Kunze
01eec66d28
x/bank: client denom metadata gRPC ( #8317 )
...
* deps: bump tendermint to v0.34.2
* x/bank: denom metadata gRPC
* cli: add cmd and tests
* gRPC test'
* changelog
* fix test
* Apply suggestions from code review
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aditya <adityasripal@gmail.com>
* fix panic
* use cmd.Context()
* update tests
* Update x/bank/types/errors.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* test fix
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-18 18:15:16 +00:00
Marko
ce5db9e4bd
fix proto generation ( #8361 )
...
* fix proto generation
* merge grpc_gateway into gocosmos_out
* change env variable names
2021-01-18 12:41:34 -03:00
Segue
411b04d3aa
Fix ibc client ( #8341 )
...
* fix-ibc-client
* add changelog
2021-01-18 11:45:06 +00:00
Robert Zaremba
d39c42c987
Robert/docs slashing ( #8329 )
...
* update slashing docs
* x/slashing docs general audit & cleanup
* Update x/slashing/spec/02_state.md
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update x/slashing/spec/05_hooks.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* use code insertion widget
* review update
* Update x/slashing/spec/05_hooks.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* update link and location for fee distribution spec
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-16 00:03:08 +01:00
Aaron Craelius
2521964d50
Update gogo proto deps with v1.3.2 security fixes ( #8350 )
...
* Update gogo proto deps with v1.3.2 security fixes
* Regenerate proto files
2021-01-15 19:45:34 +00:00
Marie Gauthier
1b1dbf8ab7
x/params docs general audit & cleanup ( #8295 )
...
* Update doc.go
* Update spec/
* More updates
* Update README
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-15 13:30:17 +00:00
atheeshp
eafd1bc945
x/gov docs basic cleanup ( #8279 )
...
* update docs
* review changes
* review changes
* review changes
* review changes
* review changes
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-13 11:55:51 +00:00
SaReN
9d67526dd7
Fix sequence value in auth sign signature only ( #8287 )
...
* fix signature only
* add test, changelog
* update test
* Update CHANGELOG.md
* address suggestions
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-12 07:47:47 +00:00
MD Aleem
a64bd8cd90
[docs] x/crisis - general audit and cleanup ( #8269 )
...
* update docs
* review changes
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2021-01-11 12:51:42 +00:00
atheeshp
8ac3bd2642
x/{auth, bank, distr} docs basic cleanup ( #8268 )
...
* basic code clean up
* revert MsgVerifyInvariant
* review changes
* review changes
* review changes
* review changes
* review changes
* review changes
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-11 12:11:22 +00:00
Robert Zaremba
2c611b5706
8058 fix zero time checks ( #8282 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-09 12:08:46 +00:00
colin axnér
0df0626604
Generic 02-client cli cmds, removes light client specific ones ( #8259 )
...
* remove old light client cli cmds and replace with generic ones housed in client
* remove print and add client cli getter cmds
* use any as arguments
* revert back to single pub key
* fix tests
* typo
* remove todo
* add upgrade cli cmd cc @AdityaSripal
* register upgrade cmd
2021-01-08 13:00:07 +00:00
MD Aleem
2e8f5e52bd
[docs] x/mint - general audit and cleanup ( #8267 )
...
* update docs
* update docs
* review changes
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-08 11:48:04 +00:00
MD Aleem
51e7e913fb
fix GET /upgrade/current query ( #8280 )
...
* fix cli queries
* fix codec issue
* revert cli
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2021-01-08 09:52:33 +00:00
Robert Zaremba
7fc5e3e6ab
codecs: rename MakeCodecs rename and docs update ( #8245 )
...
* codecs: rename MakeCodecs to MakeTestCodecs
* update changelog
* remove MakeTestCodecs
* typo
2021-01-07 21:50:52 +00:00
Marie Gauthier
0ba839a738
x/evidence doc general audit & cleanup ( #8277 )
...
* Update x/evidence doc
* Update x/evidence spec
2021-01-07 16:12:54 +00:00
colin axnér
7d6345a3f9
ibc: add proto message to Header and Misbehaviour ( #8278 )
...
* add proto message to Header and Misbehaviour
* format
2021-01-07 10:05:34 -03:00
Cory
c840261cb0
Revert "Fix upgrade tx commands not showing up in CLI" ( #8262 )
...
* Revert "Fix upgrade tx commands not showing up in CLI (#8261 )"
This reverts commit 893f2262a7 .
* Update x/upgrade/client/cli/tx.go
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-06 22:16:20 -08:00
Robert Zaremba
85b5fa9b71
appcreator: Reuse encoding config instead of recreating it ( #8250 )
...
* appcreator: Reuse encoding config instead of recreating it
* Update tests
* merge tests
* fix export_test.go
* fix genesis_test.go
* fix withGenesis flag
* fix setup parameters
* Update server/README.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* Update server/README.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-06 15:20:12 +00:00
Cory
893f2262a7
Fix upgrade tx commands not showing up in CLI ( #8261 )
...
* add upgrade tx subcommands to cli
* update CLI help to direct to cosmovisor repo
2021-01-05 19:52:49 -03:00
Robert Zaremba
e481f13ff3
docs: cache-wrapping and virtual store ( #8102 )
...
* docs: cache-wrapping and virtual store
* Finish the docs update
* Update docs/building-modules/msg-services.md
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* Update docs/building-modules/msg-services.md
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2021-01-05 15:57:33 +00:00
Amaury
46b697ca23
Fix gentx command setting wrong amount ( #8255 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-05 15:08:56 +00:00
Aditya
f67eac6840
Fix ConsensusStates grpc query ( #8246 )
...
* fix consensus states grpc query
* Update x/ibc/core/02-client/keeper/grpc_query.go
* simplify
2021-01-04 15:03:11 +00:00
Anil Kumar Kammari
6a9b0caa57
Add grpc gateway missing endpoints to swagger docs ( #8232 )
...
* Add missing endpoints
* Fix swagger gen
* update
* Update static.go
* Fix format
* Fix tests
2021-01-01 13:45:09 -03:00
MD Aleem
ed7bd245b8
Add script to generate proto-docs ( #8238 )
...
* init protobuf-docs
* update template
* update docs/core/README.md
* update proto files
* update template
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-12-31 16:10:13 +00:00
vincent
faad49688e
x/distribution: fix setting withdraw address ( #8240 )
2020-12-31 12:04:28 -03:00
Prathyusha Lakkireddy
91774980a5
x/ibc: minor channel fixes ( #8229 )
2020-12-23 15:54:23 -03:00
Prathyusha Lakkireddy
f9dc082059
simulation: close opened files and check for error while creating files ( #8217 )
...
* Read gentx amount as argument
* Update gentx command usage
* Update gentx tests
* Update docs of gentx
* Close opened files and check for error while creating files
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-12-22 13:46:42 +00:00
colin axnér
25bb17db8a
fix timeout bug ( #8200 )
2020-12-18 19:01:01 +00:00
Anil Kumar Kammari
4e7c5e9291
update x/upgrade docs ( #8196 )
2020-12-18 15:06:18 +00:00
Robert Zaremba
b18a033a17
Clean Any interface ( #8167 )
...
* Clean Any interface
+ removed Any.Pack method. This method is not needed, because we have specialized
functions for createing new Any values. It could be used inappropriately with existing
Any objects.
* removed deprecated PackAny function
* fix linter issue
* update nil handling
* NewAnyWithValue returns error on nil instead of panic
* NewMsgCreateValidator: handle nil pubkey
* Remove AsAny and tx builder workarounds
* fix linter issue
* Add AsAny methods to TxBuilder and StdTxConfig, but keep intoAny interface private
* remove tx.PubKeyToAny
* cosmetic updates
* fix method interface
* move ProtoTxProvider to x/auth/tx
2020-12-18 14:55:25 +00:00
Jack Zampolin
75bc312ffd
Update default historical header number for stargate ( #8178 )
...
* Update default historical header number
* Update x/staking/types/params.go
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
* fix tests
* duh
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-12-17 19:50:03 +00:00
Aditya
731be71379
Fix IBC upgrade: manually tested ( #8187 )
...
* commit at plan.Height key
* fix upgrade tests
* remove debugging prints
* Update x/ibc/light-clients/07-tendermint/types/upgrade.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-12-17 17:32:19 +00:00
Prathyusha Lakkireddy
be573cb0ce
change gentx cmd amount field to arg from flag ( #8183 )
...
* Read gentx amount as argument
* Update gentx command usage
* Update gentx tests
* Update docs of gentx
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-12-17 17:27:30 +01:00
Jordan Sexton
3781028e85
docs: typo fix ( #8172 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-16 13:44:34 +00:00
Federico Kunze
1c6881def8
x/ibc: fix ClientUpdateProposal unpacker ( #8170 )
...
* x/ibc: fix ClientUpdateProposal unpacker
* rm duplicate line
2020-12-16 10:41:20 +01:00
colin axnér
829e068545
x/upgrade: fix software upgrade proposals from automatically failing, add unpackinterfaces function ( #8169 )
...
* fix unpack interfaces bug
* remove unnecessary ;
2020-12-15 19:06:09 +01:00
Jun Kimura
039036f1cd
add Increment method to Height interface ( #8157 )
...
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-12-15 12:26:43 +00:00
Amaury
cf86c567c7
Add msg on CLI for migrating GenesisDoc ( #8164 )
...
* Add msg on CLI for migrating GenesisDoc
* Fix build
* Better indentation
* Add table tests
* typo
* Rename variables
* Fix validate tests
* Add warning println
Co-authored-by: Cory <cjlevinson@gmail.com>
2020-12-14 22:51:23 +00:00
Robert Zaremba
a3ae6e3704
Combine client.ReadTxCommandFlags with GetClientContextFromCmd ( #8155 )
...
* Update codebase to simplify clientCtx loading from cmd
* make ReadTxCommandFlags and ReadQueryCommandFlags private
* fix build error
* fix conflicts
2020-12-14 22:09:51 +00:00
Robert Zaremba
3a9e696bbf
fix: Signature only flag bug on tx sign command 7632 ( #8106 )
...
* fix: Signature only flag bug on tx sign command 7632
* Update client/context.go
Co-authored-by: Cory <cjlevinson@gmail.com>
* Update client/context.go
Co-authored-by: Cory <cjlevinson@gmail.com>
* use named return value and closure (#8111 )
This is to correctly handle deferred Close()
calls on writable files.
* set the right 'append' logic for signing transactions
* cleanup
* update tx.Sign interface by adding overwrite option
* Update Changelog
* sign command cleanup
* implementation and changelog update
* fix SignTx and tx.Sign calls
* fix: sign didn't write to a file
* update flags description
* Add tx.Sign tests
* fix grpc/server_test.go
* Update client/tx/tx.go
Co-authored-by: Cory <cjlevinson@gmail.com>
* changelog update
* Add test to verify matching signatures
* cli_test: add integration tests for sign CMD
* add output-file flag test
* add flagAmino test
* Update x/auth/client/cli/tx_sign.go
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* Update x/auth/client/cli/tx_sign.go
* update amino serialization test
* TestSign: adding unit test for signing with different modes
* Add test with Multi Signers into Robert's TxSign PR (#8142 )
* Add test with Multi Signers
* remove true false
* Use SIGN_MODE_DIRECT
* Fix litn
* Use correct pubkeys
* Correct accNum and seq
* Use amino
* cleanups
* client.Sign: raise error when signing tx with multiple signers in Direct
+ added more unit tests
* add more tests
* Update client/tx/tx_test.go
Co-authored-by: Cory <cjlevinson@gmail.com>
* fix TestGetBroadcastCommand_WithoutOfflineFlag
* Any.UnsafeSetCachedValue
* fix note packed messages in tx builder
* reorder unit tests
* Changelog update
* cleaning / linting
* cli_tes: copy validator object instead of modifying it's shared codec
* x/auth cli_test: remove custom codec creation in tests
* Update CHANGELOG.md
* updates to CHANGELOG.md
* remove unused method
* add new instance of transaction builder for TestSign
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-14 21:44:15 +00:00
Aditya
5aaae12b6d
support upgrade on same revision ( #8165 )
...
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-12-14 19:31:45 +00:00