colin axner
eb3f7e6473
rename blacklist to blocked ( #6455 )
...
* rename blacklisted to cannotSendTo
* add changelog
* rename to blockedAddrs
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-17 13:32:49 +00:00
Federico Kunze
d82114df2b
ibc/04-channel: move UNORDERED channel ack to RecvPacket ( #6457 )
2020-06-17 05:36:09 -04:00
Aaron Craelius
c13809062a
Update TxBuilder to use SignatureV2 ( #6443 )
...
* Update TxBuilder to use SignatureV2
* Fix unit tests
* Lint
* lint
* Cleanup
* Address review feedback
* Add Sign tests
* Add more cases for sign tests
* Fix lint
* Fix gofmt
* Deprecate StdTx
* Undeprecate StdTx, but leave a comment to use the protobuf Tx
* Address review comment
Co-authored-by: anilCSE <anil@vitwit.com>
2020-06-16 19:57:37 +00:00
Jonathan Gimeno
c134e8974e
Move some Param types from Keeper to Types in staking ( #6451 )
2020-06-16 19:59:36 +02:00
YOSHIDA Masanori
e2f336345d
x/ibc: add the missing path parameter "height" to "/ibc/clients/{client-id}/consensus-state/{height}" ( #6448 )
...
* x/ibc: fix "height" query parameter handling in queryConsensusStateHandlerFn
* x/ibc: add the missing path parameter "{height}" to "/ibc/clients/{client-id}/consensus-state/{height}"
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-16 09:19:20 -04:00
Alexander Bezobchuk
35312d098e
JSON Codec Updates ( #6444 )
...
* Initial commit
* More updates
* Fix tests
* CLI test updates
* Updates
* Updates
2020-06-16 00:20:50 +00:00
Akhil Kumar P
6336f95802
x/gov: fix rest single vote and inactive proposal votes list queries ( #6388 )
...
* Fix single vote and votes list issues
* Add unmarshal json test
2020-06-15 08:56:03 -04:00
dauTT
24b9be0ef8
x/bank: remove alias.go usage ( #6439 )
...
* x/bank: remove alias.go usage
* Fix simd_test.go
2020-06-14 23:06:16 +00:00
dauTT
8cf8098861
x/capability: remove alias.go usage ( #6438 )
2020-06-14 19:05:45 +02:00
dauTT
6e9ffc1a0e
x/crisis: remove alias.go usage ( #6437 )
2020-06-14 13:59:25 +00:00
dauTT
190bee27cb
x/distribution: remove alias.go usage ( #6436 )
2020-06-14 11:01:47 +00:00
dauTT
cc42a82c86
x/evidence: remove alias.go usage ( #6435 )
2020-06-14 11:58:48 +02:00
dauTT
0286a4a5dc
x/ibc-transfer: remove alias.go usage ( #6427 )
...
* x/ibc-transfer: remove alias.go usage
* Fix formatting
Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
2020-06-13 16:20:38 -04:00
atheeshp
6a0ac5b67d
Missing cli tests for staking module ( #6347 )
...
* edit validator flags issue fixed
* added remaining tests
* fixed example command
* fixed redelegation query in tests
* changed all "require" conditions to relevant type
* added err condition at query execution
* Added consoles for err msgs
* added comments
* fixed bug in query.go
* updated helpers, cli_test
* updated docs
* Update x/staking/client/cli/cli_test.go
* fixed type errors
* removed TODO comment
* updated docs
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-13 18:50:04 +00:00
dauTT
560398cfdc
x:ibc: remove alias.go usage ( #6429 )
...
* x:ibc: remove alias.go usage
* Replace ibc24host with ibchost
2020-06-13 14:29:00 +00:00
dauTT
1783f5ef1e
x/gov: remove alias.go usage ( #6432 )
2020-06-13 11:07:51 +02:00
dauTT
c3ff8c0c06
x/genutil: remove alias.go usage ( #6433 )
2020-06-13 07:41:45 +00:00
Aditya
e07c1e20bc
address review from pr #6374 ( #6430 )
...
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-13 00:33:25 +00:00
dauTT
73bdb7d190
Merge PR #6424 : x/mint - remove alias.go usage
2020-06-12 20:26:19 -04:00
Aaron Craelius
60f7edfe3d
Add SignatureV2 infrastructure ( #6373 )
...
* Updte tx generator
* Add sigv2, PublicKeyCodec
* revert changes
* revert changes
* updates
* Updates
* Integrate multisig support
* Undo move
* remove func
* undo
* godocs
* godocs, cleanup
* Cleanup
* godocs, tests
* lint
* Re-enable VerifyBytes
* Address comments
* Fix imports
* Update crypto/types/multisig/multisignature.go
* Add test for MultiSignatureData
* Add nested multisig case
* Add test for AddSignatureV2
* Add changelog
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
2020-06-12 18:13:20 +00:00
Alexander Bezobchuk
7871910359
Simapp Localnet ( #6421 )
...
* Setup localnet
* Fix compose
* Fix file perms
* Fix build
* Codec + lint updates
* lint++
2020-06-12 16:23:08 +00:00
dauTT
14e3aa1265
x/staking: remove alias.go usage ( #6397 )
...
* x/staking: remove alias.go usage
* Fix formatting and Add entry in CHANGELOG.md
* Add missing end curly parenthesis
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-12 14:54:37 +00:00
dauTT
df68b1512c
x/slashing: remove alias.go usage ( #6417 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-12 14:25:12 +00:00
Jonathan Gimeno
ddbb9a2321
run make format ( #6416 )
2020-06-12 10:17:36 -04:00
dauTT
3228c3b12a
x/params: remove alias.go usage ( #6415 )
2020-06-12 09:52:04 -04:00
Federico Kunze
55a7226535
x/ibc: channel from client state query ( #6401 )
...
* x/ibc: channel from client state query
* 04-channel/client: add CLI and REST queries
* querier test
2020-06-12 08:06:24 -04:00
Aditya
d82c2e6a94
Enforce ProofSpecs in 23-Commitment ( #6374 )
...
* enforce spec ordering
* modify clients to pass in specs to verify functions
* start fixing tests
* Apply suggestions from code review
* enforce spec length and proof length match
* fix all tests
* add argument to constructor:
* fixed msg client and tests
* appease linter
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* finish fixes from review
* add back proof-specific checks
* Apply suggestions from code review
* more robust proof spec checks
* add CHANGELOG entries
* do not hardcode proofspecs in 23-commitment
* fix client modules
* fix tests
* appease linter
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-12 10:45:40 +00:00
colin axner
9048ffa8d3
Update ibc proof to be bytes ( #6393 )
...
* update interfaces to use []byte instead of commitment proof
* update 03/04 msgs with bytes
* fix compile errors
* fix channel tests
* fix connection tests
* fix testing, tm, and localhost tests
* fix ante tests
* update 03-connection spec
* update channel msgs spec
* small fixes after self review
* rm unused import
* Update x/ibc/03-connection/client/utils/utils.go
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* add empty proof test and rm ics 20 from ibc spec
* fix merge issues
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-12 00:19:25 +02:00
Jonathan Gimeno
b09d6728ec
Rename all methods IsEmpty to Empty to be consistent with all codebase ( #6409 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-11 23:32:24 +02:00
Jonathan Gimeno
49597b19ec
module: pass route by value ( #6404 )
...
* use instance
* add some comments
* Update types/router.go
* rename Nil to Empty
* run make mocks
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-11 15:37:23 +00:00
atheeshp
4ecbd00436
missing cli tests for distr and mint ( #6349 )
...
Add cli tests for distribution and mint modules.
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-11 13:03:43 +02:00
colin axner
affe7265cb
Update connection and channel to use types_test package name ( #6395 )
...
* convert connection types test pacakge name
* convert channel types test package name
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-11 00:31:54 +00:00
dauTT
82afd52981
x/upgrade: remove alias.go usage ( #6382 )
...
* x/upgrade: remove alias.go usage
* Simplify code
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-10 18:54:15 +00:00
Jonathan Gimeno
79c308ae4a
Concept PR simplify Module ( #6231 )
...
* add test of alternative impl
* simplify query route too
* change name querier
* simplify register routes
* revert change
* add route
* add router
* first step refactor
* refactor
* update documentation
* update
* add format
* simplify appmodule
* update changelog
* rename vars
* remove interface
* Update CHANGELOG.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-10 18:48:16 +00:00
Federico Kunze
0d9faec1f3
07-tendermint: cherry-picks from #6272 ( #6387 )
2020-06-10 08:36:18 -04:00
Federico Kunze
55796fb3e7
x/ibc: client consensus_height event ( #6381 )
2020-06-10 05:34:18 -04:00
colin axner
6851c844b3
x/ibc: testing pkg ( #6356 )
...
* add ibc testing pkg with testchain
* add ibctestsuite
* add create connection and channel support
* lint fixes
* lint
* revert
* simplify code via lint
* change suite to coordinator
* Update x/ibc/testing/chain.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* make trust level var and remove get from channel test struct
* apply most suggestions from pr review
* split conn handshake into single step funcs
* split channel handshake into separate funcs
* apply @fedekunze suggestions
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-10 09:00:13 +00:00
colin axner
a8298976ac
update 07-tm err msg to utc time ( #6383 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-10 08:54:23 +00:00
Federico Kunze
744c1ce250
x/ibc: simulation store decoders ( #6247 )
...
* x/ibc: simulation store decoders
* x/ibc: missing decoders
* fixes
* 02-client: decoder test
* 03-connection: decoder test
* x/ibc: decoder test
* address comments from review
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-10 08:09:51 +00:00
Alexander Bezobchuk
c0aff2e1f5
baseapp: Enhance Tx Message Data ( #6384 )
...
* Enhance tx message data
* Fix allocation
* cl++
* Fix lint
2020-06-10 04:02:01 -04:00
Aaron Craelius
08b7557fe5
Add basic sign mode infrastructure ( #6371 )
...
* Add SignModeHandler and LegacyAminoJSONHandler
* Simplify, add tests
* Add godocs
* Add handler map
* Rename HandlerMap
* Don't use pointer
* Lint
* Lint
* Update x/auth/signing/amino/amino.go
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-06-09 15:19:18 +00:00
SaReN
0786e68296
Add proto compatible community spend cli tx ( #6215 )
...
* Add NewSubmitProposal for x/distribution
* Addressed comments
* Fix description for fund tx
* Remove old splitAndApply
* Update utils
* Add missing flag
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-09 10:18:44 +00:00
Alessio Treglia
65ea305336
x/auth: add sign-batch command ( #6350 )
...
The command processes list of transactions from file
(one StdTx each line), generate signed transactions
or signatures and print their JSON encoding, delimited
by '\n'. As the signatures are generated, the command
increments the sequence number automatically.
Author: @jgimeno
Reviewed-by: @alessio
2020-06-08 17:19:29 +02:00
Marko
b618e0a827
add comments to why its nolint ( #6366 )
...
* add comments to why its nolint
* fix spelling
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-08 13:47:18 +00:00
Federico Kunze
c44813bcdf
x/ibc: commit timeout timestamp ( #6363 )
...
Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
2020-06-08 08:03:18 -04:00
Segue
52d11acb45
R4R: Fix bug of unordered channel ( #6337 )
...
* fix unordered
* resolve conflicts
2020-06-08 06:19:59 +00:00
colin axner
b9b578d6de
x/ibc: querying support for unordered channels ( #6294 )
...
* pause
* add querying for packet commitments and unrelayed acks
* add get all packet commitments test
* add query channels test
* add query connection channels test
* add test for query packet commitments
* fix key path and add unrelayed acks test
* fix part of lint
* add unrelayed packetsends func
* fix godoc
* add nolint directive
* fix lint
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-06 19:25:45 -04:00
Jonathan Gimeno
626f9b62c5
add pagination ( #6163 )
...
* add pagination
* make test pass with validators
* add pagination option
* unbonding delegations test added
* test unbondedvalidators pagination
* clean test
* remove comment
* remove comment
* add page and limit to unbonding delegations
* add flag limit and page for delegations-to command
* refactor hardcoded string values
* udpate page and limit for validator
* update changelog
* add pagination option
* add defaults
* Update CHANGELOG.md
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-06 17:32:15 +00:00
colin axner
71374d0eca
add contextual info to sigverify err msg ( #6355 )
...
* update sigverify error message
* whoops, use get sequence
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-06 08:05:30 +00:00
Aaron Craelius
43947ca2ef
Add RegisterQueryService to AppModule ( #6336 )
...
* Add RegisterQueryService to AppModule
* Update CHANGELOG.md
* Update CHANGELOG.md
* Wire up BaseApp, fix tests
* Add mock test
* add missing file
* Update types/module/module.go
* Update CHANGELOG.md
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-06 07:59:57 +00:00