Commit Graph

1728 Commits

Author SHA1 Message Date
Alexander Bezobchuk 3c822547cf Merge PR #4750: Allow the use of a custom genesis time in simulations 2019-07-19 14:46:06 -07:00
Federico Kunze 8af2230ee4 Merge PR #4731: Save sim params and export app state to file 2019-07-19 18:59:04 +02:00
Federico Kunze 52edb032ca Merge PR #4717: update x/slashing to match module spec 2019-07-19 15:43:38 +02:00
Federico Kunze a922dad346 Merge PR #4686: v0.36 supply changes to genesis migration 2019-07-18 14:43:56 +02:00
colin axner 8c7ed19251 Remove Basic Permission (#4722)
Module account has "basic" permissions.
Since it is never checked against, we just delete it.

Closes: #4702
2019-07-16 15:02:36 +01:00
colin axner 8b49b58812 Merge PR #4710: Update Invariant Printing 2019-07-15 09:56:38 -07:00
colin axner 280734d0e3 collect all invariants for a block before stopping (#4707) 2019-07-11 11:56:43 +01:00
Karoly Albert Szabo 8a042dedd3 Supply patch for REST (#4698)
While reintroducing the contract tests a little discrepancy was noted:

* type from integer to string in the swagger definition for supply/total/{denominator}
* remove slash from supply/total route in the implementation
2019-07-09 11:43:00 +01:00
colin axner 1c9a188346 Merge PR #4679: Extended permissions for module accounts 2019-07-06 15:42:06 -04:00
Aayushi Jain 1a7f31f7c8 Merge PR #4678: Clean YAML output 2019-07-05 19:25:56 -04:00
Alexander Bezobchuk 2fdbf631e7
Merge PR #4669: v0.36 distribution genesis migration 2019-07-05 08:34:02 -04:00
Federico Kunze e0b55a89a7 Merge PR #4681: Add check before minting empty coins 2019-07-05 08:32:42 -04:00
Federico Kunze 1bfac99c35 Merge PR #4675: Export sim funcs pt2 2019-07-03 14:25:52 -04:00
Karoly Albert Szabo 00f753d684 Merge PR #4471: Migrate genesis cmd 2019-07-03 12:21:34 -04:00
Federico Kunze b0a359c8f0 fix supply NewQuerierHandler (#4672) 2019-07-03 10:44:27 +01:00
Federico Kunze 179476d6b0 Merge PR #4661: x/supply: use internal package 2019-07-02 12:24:13 -04:00
Marko 66e85c592d Merge PR #4662: Removed Previous IBC repo and docs 2019-07-02 11:19:49 -04:00
Federico Kunze 55e6b25035 Merge PR #4663: Refactor bank keeper by removing private funcs 2019-07-02 11:19:21 -04:00
Alexander Bezobchuk aba1f649ad
Merge PR #4658: Generalize Querier REST Pagination 2019-07-02 09:00:46 -04:00
Alexander Bezobchuk b3a8195e31 Fix build (#4659) 2019-07-02 12:01:40 +01:00
Alessio Treglia f1b08b85f2 Merge PR #4649: Refactor crisis package using internal 2019-07-01 12:50:04 -04:00
colin axner 8d8fd9df1a generalize query response with height (#4573)
Addition to #4536, no longer specific to account queries.
Allows for validator endpoints to return height in the response.

Closes: #4609
2019-07-01 17:48:13 +01:00
frog power 4000 ce0c0946b6 Merge PR #4654: Validator slash event stored by period and height 2019-07-01 12:03:34 -04:00
Federico Kunze 48e8161f25 supply querier (#4592)
Add querier to the supply module.

Closes: #4082
2019-07-01 12:32:04 +01:00
Federico Kunze 352678438c Merge PR #4255: Supply Module 2019-06-28 16:11:27 -04:00
Federico Kunze 4a0fbb3d6e Improve Import/Export Simulation Errors (#4607) 2019-06-28 19:20:36 +01:00
Aditya f9dea984c2 Merge PR #4629: Emit Warning Events when Validator Misses Blocks 2019-06-28 13:53:30 -04:00
Alexander Bezobchuk 3a39e9d558
Merge PR #4637: Update Search Txs by Events APIs 2019-06-28 09:32:47 -04:00
Marko b2f8c58ec4 Merge PR #4608: More linters - Gosec, staticcheck 2019-06-26 13:30:36 -07:00
Aayushi Jain c898dac6a9 Merge PR #4625: Implement logger on all module keepers 2019-06-26 12:41:14 -04:00
Alexander Bezobchuk 67f6b02118 Merge PR #4541: Events Tracking / Tendermint v0.32.0 Update
* Update Tendermint to v0.32.0-dev0

* Initial refactor of tags

* Update event types and add unit tests

* Refactor context

* Update module manager

* Update result godoc

* Implement ToABCIEvents

* Update BaseApp

* Minor cleanup

* Fix typo

* Update x/bank message handler

* Update x/bank keeper

* Update x/bank

* Update x/bank events docs

* Update x/crisis module events

* Reset context with events on each message exec

* Update x/distribution events and docs

* Update BaseApp to not set empty events manually

* Implement simple event manager

* Update module manager

* Update modules to use event manager

* Update x/gov module to use events

* Update events docs

* Update gov queries and crisis app module

* Update bank keeper

* Add events to minting begin blocker

* Update modules to use types/events.go

* Cleanup x/mint

* Update x/staking events

* Update x/staking events

* Update events to have sender part of message.sender

* Fix build

* Fix module unit tests

* Add pending log entry

* Update deps

* Update x/crisis/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/bank/internal/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/distribution/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/mint/internal/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/slashing/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/types/events.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/gov/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/gov/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/mint/abci.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/mint/abci.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/slashing/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/slashing/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/staking/handler.go

Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Upgrade TM to v0.32.0-dev1

* Update events as strings

* Update Tendermint to v0.32.0-dev2

* Fix BaseApp unit tests

* Fix unit tests

* Bump tendermint version to v0.32.0

* typos
2019-06-26 18:03:25 +02:00
Marko a7af4e8c45 Merge PR #4621: Changed abci_app.go -> abci.go 2019-06-25 10:03:10 -04:00
Alexander Bezobchuk f0ff0e87f3
Merge PR #4620: Close Staking Iterators 2019-06-25 09:22:17 -04:00
Alexander Bezobchuk b78c359a23
Merge PR #4605: x/bank: Expected Keeeper 2019-06-24 16:45:09 -04:00
Alessio Treglia 7b5e6cee07
Remove client/input.{Buffer,Override}Stdin() functions (#4602)
Cobra's new release made them redundant.

Thanks: Juan Leni <juan.leni@zondax.ch> for the original patch.
2019-06-22 11:24:59 +02:00
Marko 4ffabb65a5 lint add deadcode unused (#4606)
Added deadcode and unused linters to the repo, it
helped find some unused code.

Ref #4589
2019-06-21 17:18:01 +02:00
Federico Kunze eda558bc7e Merge PR #4600: Check Denom when (Un|Re)delegating 2019-06-20 09:51:18 -04:00
Alessio Treglia c530c1cbb7
Remove auth's AccountDecoder type (#4588)
AccountDecoder is now entirely redundant.
client package now does no longer depend on x/auth.

Context: #4488
2019-06-19 16:20:27 +02:00
Alessio Treglia 1eb7706c28
Separate account getters from client/context (#4579)
Account getters are removed from client context. x/auth has the
queriers necessary for retrieving account information.
These functions should be removed since they are currently
redundant and don't provide any extra value.

Closes: #4543
2019-06-19 14:24:11 +02:00
Alessio Treglia 55928ad165
Fix BaseAccount's YAML serialization (#4577) 2019-06-18 18:03:16 +02:00
Alessio Treglia 1e7c4dd58a
Move /bank/balances/{address} REST endpoint into /x/bank (#4570)
Closes: #4560
2019-06-18 15:44:09 +02:00
Marko a79749564e Merge PR #4571: Update .vuepress 2019-06-18 08:04:47 -04:00
Alexander Bezobchuk ac2e765607
Merge PR #4561: Add account JSON tag to AccountWithHeight 2019-06-15 16:17:39 +02:00
Alessio Treglia 73700df8c3 Merge PR #4555: Move client/{tx,rest,utils} into x/auth/client 2019-06-15 14:34:11 +02:00
helldealer 941effc14d Merge PR #4553: Fix undelegate losing tokens issue 2019-06-15 10:26:17 +02:00
Alessio Treglia 1e9ca4a15b
x/bank: use internal package (#4521)
Reorganise x/bank packages and leverage internal special
package for enhanced encapsulation.
2019-06-14 16:10:37 +02:00
Alexander Bezobchuk d5fe9b7eef
Merge PR #4550: Minor Cleanup 2019-06-14 11:52:28 +02:00
colin axner 95f3d32250 Merge PR #4536: Return account queries with height 2019-06-13 15:54:17 +02:00
frog power 4000 8c89023e9f Merge PR #4524: Staking ValidatorPowerRank to use "Potential Consensus Power" 2019-06-12 17:57:47 +02:00
Alessio Treglia 58ce605de4 Merge PR #4530: Test zero fee scenario
Closes: #4528
2019-06-11 12:47:17 +02:00