Cyrus Goh
c6f3a1706f
Docs config ( #6846 )
...
* bump docs theme to 1.0.169
* enable topbar banner
2020-07-25 03:55:55 -04:00
SaReN
928f7fccff
Add wrap tx builder to TxConfig ( #6836 )
...
* Add wrap tx builder
* Add tests
* update for StdTx
* fix StdTxConfig
* Update generator
* Add godoc
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-24 22:24:57 +00:00
Aaron Craelius
80f7ff62f7
Start removing HybridCodec (init + auth, bank, distribution) ( #6838 )
...
* Start to remove HybridCodec
* Rename
* Fixes
* Test fixes
* Cleanup
2020-07-24 19:04:29 +00:00
Anil Kumar Kammari
1f8cc450c4
Add missing cancel-software-upgrade cmd ( #6840 )
...
* Add cancel software upgrade cmd
* add proposal cancel handler
* Fix gofmt
2020-07-24 17:39:52 +00:00
Anil Kumar Kammari
e906c012a0
add page flag for CLI queries ( #6824 )
...
* add page flag for CLI queries
* fix review suggestions
* Fix `page` flag default value
* fix offset calc
* Apply suggestions from code review
Co-authored-by: Aaron Craelius <aaron@regen.network>
* fix review suggestions
* refactor
* fix returning error
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-24 08:17:11 +00:00
Aaron Craelius
1538e65478
Fix module interface registration ( #6834 )
2020-07-23 22:45:34 -04:00
Aaron Craelius
b20b26d8d1
Disable automatic camelCasing in proto JSON ( #6833 )
2020-07-23 22:16:44 +00:00
Aaron Craelius
0a498d8c18
Add protobuf Tx unit tests ( #6614 )
...
* Enable proto tx by default and add test_amino build flag.
* Enable proto TxDecoder
* update makefile
* fix conflicts
* Revert AminoCodec change
* Make test-unit-amino default for now
* Make test-unit-amino default for now
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-23 17:31:42 +00:00
Assaf Morami
ee04dd7878
support multisig bech32 address decoding ( #6237 )
...
* support multisig bech32 address parsing
* Increase bech32 length limit to 250
* Increase max bech32 address size to 1023 (the max length that supports the checksum)
* Update go.mod
* Update go.mod to point to the updated enigmampc/btcutil
2020-07-23 16:53:47 +00:00
Marko
e6a56226a8
context: remove verifier & trust node ( #6805 )
...
* remove verifier
* more removal of trustnode flag
* add todo
* fix lint
* remove file
* remove viper and add link to issue
* remve mention of trustnode
2020-07-23 06:44:18 +00:00
Alessio Treglia
e0a81d2cca
crypto: move ledger code to its own subfolder ( #6817 )
...
crypto -> crypto/ledger:
- crypto.LedgerShowAddress -> ledger.ShowAddress
- crypto.NewPrivKeyLedgerSecp256k1 - > ledger.NewPrivKeySecp256k1
- crypto.NewPrivKeyLedgerSecp256k1Unsafe -> ledger.NewPrivKeySecp256k1Unsafe
Closes : #6780
2020-07-22 18:51:12 +02:00
Alexander Bezobchuk
2224be5c67
Merge PR #6818 : x/upgrade: Fix ReadUpgradeInfoFromDisk
2020-07-22 12:22:00 -04:00
Alexander Bezobchuk
ab664e9a43
Merge PR #6815 : Code & Doc Cleanup
2020-07-22 11:02:36 -04:00
colin axner
ef0a7344af
x/ibc: remove ID from ConnectionEnd ( #6814 )
...
* remove connection id
* various test and code fixes
* fix tests
* Update proto/ibc/connection/connection.proto
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* rename utils.go to parse.go in host
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-22 09:59:15 -04:00
colin axner
e9627abc54
bump identifier maximum to 64 characters ( #6812 )
...
* bump identifier maximum to 64 characters
* fix tests
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-22 10:20:41 +00:00
colin axner
35a59b1573
rename MsgPacket to MsgRecvPacket ( #6813 )
2020-07-22 10:01:57 +00:00
David Ackerman
5d71020270
Merge PR #6810 : Add transport flag to start command
2020-07-21 15:01:30 -04:00
atheeshp
470465d792
x/auth: cli gRPC migration ( #6809 )
...
* migrated auth cli to use grpc query client
* unpacker added for account command
* fxed tests
2020-07-21 17:48:37 +00:00
colin axner
97a83e9c78
Update IBC events docs and code ( #6798 )
...
* update msgs type from opaque
* update spec for createclient
* update events spec for handshake cals
* update packet events for spec and code
* add relayer events doc
* update ibc-transfer events
* fix build
* small fix from self review
* update channel msgs types
* acknowledgement_packet -> acknowledge_packet
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* fix spec issues for ibc and ibc-transfer
* add golang relayer link
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-21 12:56:14 -04:00
atheeshp
9ee14ee985
Add pagination flags to x{ibc, bank} ( #6804 )
...
* updated pagination flags
* updated all balances pagination flags
* updated all balances
* some doc updates
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-21 15:36:45 +00:00
Alexander Bezobchuk
61d69a978f
Merge PR #6806 : Docs & Cleanup
2020-07-21 11:28:43 -04:00
Amaury Martiny
61d0c4adcd
proto: Consistent naming for Params ( #6803 )
...
* Use consistent "Params" in proto
* Update comments
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-21 14:04:51 +00:00
Alexander Bezobchuk
0ccc48d2a3
CLI/Tests: Remove Fixtures ( #6799 )
...
* remove fixtures
* setup tests
* update x/mint
* cli: update x/staking commands
* tests: convert x/staking CLI tests
* tests: fix x/auth CLI tests
* cli updates
* fix buiild
* fix build
* Update x/gov/client/cli/cli_test.go
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* remove GenerateOrBroadcastTx
* move TestCLIQueryConn
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-07-21 13:54:07 +00:00
Alessio Treglia
6e7ce48b31
CHANGELOG.mg: merge v0.39.0 back in ( #6802 )
2020-07-21 12:25:14 +02:00
dauTT
efa73c7edb
Merge PR #6800 : Cosmetic changes
2020-07-20 16:22:46 -04:00
Amaury Martiny
69bbb8b327
Rename proto Req/Res to Pagination ( #6796 )
...
* Rename proto Req to Pagination
* Change Res to Pagination
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 16:51:16 +00:00
Alexander Bezobchuk
515b25b94e
Context: Remove Init/New ( #6797 )
...
* init commit
* remove new/init functions
* update CLI commands
* tests: fix TestCLIQueryConn
* remove viper
2020-07-20 16:42:46 +00:00
billy rennekamp
cde3f46d52
Add validation to prevent empty store keys ( #6754 )
...
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 18:05:01 +02:00
colin axner
79fa06b26c
remove IBC ante handler in favor of using handler ( #6793 )
...
* remove IBC ante handler, add calls to handler
* move some events upstream to handler
* remove change log entry
* move ante handler tests to handler
* fix build
* update docs
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 15:25:57 +00:00
Jonathan Gimeno
54141887b5
Add home default to other commands. ( #6789 )
...
* Add home default to other commands.
* add defaultNodeHome to rest of commands
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 15:12:33 +00:00
dauTT
2247465fa3
x/distribution/simulation/operations.go: add unit tests ( #6764 )
...
* x/distribution/simulation/operations.go: add unit tests
* Use NewDecCoins constructor instead of the DecCoins struct
* Refactor code to use a testing suite
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 15:05:41 +00:00
Amaury Martiny
8e61ef86c3
x/{gov,params,upgrade,distribution} CLI: In-Process test & use grpc query service ( #6664 )
...
* refactor CLI to use grpc query service
* In process CLI for gov
* ReadQueryCommandFlags
* gov tx
* Fix compiler errors
* Formatting
* x/distribution: use gRPC query
* Consistent
* Fix x/distrib test
* Update x/gov
* Add ReadQueryCommandFlags
* Fix lint
* Revert x/params
* x/params use grpc query
* Fix tests
* Use page request
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 13:09:57 +00:00
colin axner
1d6344888e
Fix query unrelayed packets logic ( #6733 )
...
* add some query functions to channel keeper
* update grpc queries and cli cmd and tests
* rerun proto gen after merging master
* fix build broken from merge conflicts
* add test and update proto
* Update x/ibc/04-channel/client/cli/query.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-20 12:42:36 +00:00
Amaury Martiny
5c0e3b4de5
x/auth/ante: Migrate tests to use the new client.TxConfig ( #6661 )
...
* WIP: using encoding config
* Make it compile, test fails
* test should be okay
* Make tests pass
* Add comments
* Convert more tests
* Make TestAnteHandlerSigErrors work
* Make first 2 tests pass
* TestAnteHandlerAccountNumbers
* Use table tests
* Remove print
* Use test table
* TestAnteHandlerSigErrors
* TestAnteHandlerAccountNumbers
* TestAnteHandlerAccountNumbers
* Refactor TestAccount
* Refactor getSignBytes
* TestAnteHandlerAccountNumbersAtBlockHeightZero
* TestAnteHandlerSequences
* TestAnteHandlerFees
* TestAnteHandlerMultiSigner
* TestAnteHandlerBadSignBytes
* TestAnteHandlerSetPubKey
* TestAnteHandlerSigLimitExceeded
* TestCustomSignatureVerificationGasConsumer
* TestAnteHandlerReCheck
* Make all tests pass
* Refactor a little bit more
* Fee test
* SetupTest
* All tests pass
* Refactor to RunTestCase
* Don't use StdFee
* Revert some little stuff
* Finish up last couple of test cases
* Less verbose
* s/TxGenerator/TxConfig
* Add comments
* Indent
* Move KeyTestPubAddr to testdata
* Move testdata to /testutil
* Revert to use signature: nil step in signing
* Add comments
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 08:30:12 -04:00
Finn
cc96e5c16f
x/staking: add call to iterator Close method ( #6791 )
...
Co-authored-by: FinnZhang <>
2020-07-20 04:30:09 -04:00
dauTT
b3838394e7
x/gov/simulation/params.go: add unit tests ( #6738 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-19 21:57:14 +00:00
atheeshp
3123d07ad9
Update x/{mint,slashing,evidence} cli to use gRPC query client ( #6704 )
...
* changes cli to use gRPC in mint, slashing
* added command for signing infos
* gRPC query client migration of evidence
* review changes
* added unpack any
* fixed build error
* fixed failing tests issue
* added read flags
* added pagination flags
* updated docs
* fixed tests issue
* failing tests
* fixed tests
* review changes
* review changes
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-07-19 06:16:57 -04:00
dauTT
13b5a8d670
Merge PR #6771 : x/bank/simulation/operations.go: add unit tests
2020-07-18 19:47:22 -04:00
Alexander Bezobchuk
b9f533d51f
Merge PR #6778 : fix TestGetCmdQueryCommunityPool
2020-07-18 19:12:51 -04:00
Cory
8dcae706db
Merge PR #6777 : update NewABCIMessageLog to take uint32, update UnsafePackAny comment
2020-07-18 13:56:41 -04:00
dauTT
5a5a402518
Merge PR #6775 : x/auth/simulation/genesis.go: add unit tests
2020-07-18 13:46:56 -04:00
dauTT
f59ea26941
Merge PR #6774 : x/auth/simulation/params.go: add unit tests
2020-07-18 13:23:37 -04:00
dauTT
d5bd38fa3d
Merge PR #6773 : x/bank/simulation/params.go: add unit tests
2020-07-18 13:06:21 -04:00
dauTT
9262319caf
Merge PR #6772 : x/bank/simulation/genesis.go: add unit tests
2020-07-18 12:53:39 -04:00
dauTT
4b07cb6cc4
Merge PR #6768 : x/distribution/simulation/params.go: add unit tests
2020-07-18 12:47:22 -04:00
dauTT
0033f24650
Merge PR #6770 : x/capability/simulation/genesis.go: add unit tests
2020-07-18 12:40:08 -04:00
dauTT
07a6bd4321
Merge PR #6769 : x/distribution/simulation/genesis.go: add unit tests
2020-07-18 12:34:15 -04:00
dauTT
6b5733918b
Merge PR #6767 : x/distribution/simulation/proposals.go: add unit tests
2020-07-18 12:19:00 -04:00
Alexander Bezobchuk
e59781eca7
Merge PR #6765 : x/auth: Finish CLI Refactor
2020-07-17 16:20:45 -04:00
Adam Bozanich
f33749263f
Merge PR #6761 : telemetry: use UTC() in wrappers
2020-07-17 15:33:50 -04:00