Commit Graph

109 Commits

Author SHA1 Message Date
Rigel 324bdaf55d Merge PR #2394: Split up UpdateValidator into distinct state transitions applied only in EndBlock 2018-10-03 18:37:06 +02:00
Christopher Goes 17983460b8
Merge PR #2219: Update to Tendermint 0.24 (except NextValSet offsets) 2018-10-03 17:48:23 +02:00
Matthew Slipper 2fb3493ff5 Merge PR #2223: Gaia CLI Config Command
* Allow a gaia-cli config file to be created

Closes #1613.
Closes #1275.
Closes #1956.

* Add homedir to Gopkg.toml

* Updates from code review

* Post-rebase fixes

* Update test

* Code review refactor

* Fixes from code review

* Fix import

* Fix broken test

* Fixes from rebase

* Fix formatting
2018-09-25 17:36:42 -04:00
Alessio Treglia a65c6eba00 Merge PR #2389: Remove dependency on tendermint/tmlibs 2018-09-24 23:06:38 +08:00
HaoyangLiu 7dc09d0fc2 Merge PR 2210: Judge if trust-node predefined before create certifier add verification for getBlock, queryTx and getValidators (#2210)
Replace trust-node option with distrust-node option, and add varification in getting blocks, transactions and validator sets.
2018-09-15 02:41:21 +08:00
Federico Kunze d195cc15ed Merge PR #2249: Staking Querier pt1
* Cherry picked commits from prev branch

* Added new keepers for querier functionalities

* Renaming

* Fixed gov errors and messages

* Added Querier to stake and app

* Update delegation keepers

* REST Queriers not working

* Fix marshalling error

* Querier tests working

* Pool and params working

* sdk.NewCoin for test handler

* Refactor and renaming

* Update LCD queries and added more tests for queriers

* use sdk.NewCoin

* Delegator summary query and tests

* Added more tests for keeper

* Update PENDING.md

* Update stake rest query

* Format and replaced panics for sdk.Error

* Refactor and addressed comments from Sunny and Aleks

* Fixed some of the errors produced by addr type change

* Fixed remaining errors

* Updated and fixed lite tests

* JSON Header and consistency on errors

* Increased cov for genesis

* Added comment for maxRetrieve param in keepers

* Comment on DelegationWithoutDec

* Bech32Validator Keepers

* Changed Bech validator

* Updated remaining tests and bech32 validator

* Addressed most of Rigel's comments

* Updated tests and types

* Make codec to be unexported from keeper

* Moved logic to query_utils and updated tests

* Fix linter err and PENDING

* Fix err

* Fix err

* Fixed tests

* Update PENDING description

* Update UpdateBondedValidatorsFull

* Update iterator

* defer iterator.Close()

* delete comment

* Address some of Aleks comments, need to fix tests

* export querier

* Fixed tests

* Address Rigel's comments

* More tests

* return error for GetDelegatorValidator

* Fixed conflicts

* Fix linter warnings

* Address @rigelrozanski comments

* Delete comments

* wire ––> codec
2018-09-13 17:23:44 -04:00
Dev Ojha 358b48771c Merge PR #2308: Remove ripemd160 entirely
* Remove ripemd160 entirely

We already made this decision awhile ago, and have had tendermint switched
for awhile. I was surprised to find ripemd still used within the storeinfo.
This actually leads me to think the new "byter" API change in the tendermint
PR RFC compliance is better, as it avoids things like this from ever happening.

* Get ripemd160 removed from the gopkg imports
2018-09-12 15:13:14 +08:00
Dev Ojha 43ccbd4185 Merge PR #2281: Update to iavl 0.11.0 2018-09-09 23:13:17 +08:00
Juan Leni a450bf7ae4 Upgrading ledger-goclient 2018-09-07 15:33:24 +02:00
Christopher Goes bd227ec6db dep ensure -v -update 2018-09-03 07:57:15 -07:00
Jeremiah Andrews b72f87a027 Update IAVL dependency for v0.10.0 2018-09-03 07:57:15 -07:00
HaoyangLiu 959582476b IRISHUB-238: fix test_lint failure 2018-08-31 15:21:35 +08:00
ValarDragon f6cb4d4fb6 Speedup IAVL iterator by removing defers when unneeded.
Note each defer occurs a 30ish ns overhead here, which is significant
for IAVL iteration. We were previously using around 3-4 defers. (2 in
next, one in Valid, one in Key, one in Value) This slows down the entire
application quite significantly, as we require fast iteration.
2018-08-24 10:26:02 -07:00
Christopher Goes 506c439bea
Merge pull request #2130 from cosmos/master
Master
2018-08-23 15:06:00 +02:00
Ethan Buchman 0bf061b707 update to tm v0.23.1
- fixes unbounded WAL growth
2018-08-22 16:04:26 -04:00
Christopher Goes ba56c570c0 Update Gopkg.lock 2018-08-22 12:40:15 +02:00
Matthew Slipper 0c0d282a0c Add plaintext flags to show keys; default print response to true; helptext updates
Closes #1970
Closes #1971
Closes #1967
Closes #1969
2018-08-21 15:36:53 -07:00
Christopher Goes 98a5844310 Makefile phony; Gopkg.lock 2018-08-20 17:06:18 +02:00
Ethan Buchman af73b885e7 Merge branch 'develop' into bucky/merge-master 2018-08-19 16:24:45 -04:00
Christopher Goes 3d50567034
Merge PR #1783: Slashing, validator set, and governance simulation 2018-08-16 17:36:15 +02:00
Alexander Bezobchuk 97ea51a335 Merge pull request #2023: Terminate Update Bonded Validators Iteration Properly 2018-08-15 14:51:19 -04:00
Juan Leni 61b49d560f Merge PR #2003: Update upstream Ledger Go client 2018-08-13 18:16:41 +02:00
Juan Leni 36b54e190f Merge PR #2003: Update upstream Ledger Go client 2018-08-13 18:15:54 +02:00
Christopher Goes a56117ee74 Stage onto release/v0.24.0 (#1999)
* Set SignedBlocksWindow back to 1000

* Merge PR #1995: upgrading ledger goclient lib

* Update version/version.go
2018-08-13 09:41:53 -04:00
Juan Leni 1a64c8747c Merge PR #1995: upgrading ledger goclient lib 2018-08-13 13:21:05 +02:00
Ethan Buchman 0ab00c8e87 update go-amino dep 2018-08-12 20:10:40 -04:00
Dev Ojha b2a4aecc44 Upgrade to tm version 23.0. (#1927)
* Start upgrade. Currently go test ./... hangs.

* (squash this) Fix staking tests

* wip

* note what changes need to be made to make this work on tm v0.23.0

* Fix addr -> pubkey map

* cleanup code

* Fix slashing test failures except for begin blocker

* fix all slashing tests

* fix lcd tests

* Address PR comments

* add link to changelog.

* (wip) start making addrToPubkey map persisted. Since amino can't handle maps,
we have to change from what this commit is doing.

* Use the correct method of storing a map

* (squash this) address PR comments

* Did you run 'make'?

* remove gaiadebug binary
2018-08-12 03:33:48 -04:00
Christopher Goes 8f05d052f2 Merge branch 'master' into cwgoes/stage 2018-08-11 15:04:28 +02:00
Federico Kunze 1da1115a24 Merge PR #1880: Staking Gaia-lite (ex LCD) refactor 2018-08-08 12:38:39 +02:00
Rigel 7fb626f548 Merge PR #1702: lamborghini distribution & inflation spec upgrade 2018-08-08 12:10:21 +02:00
Alexander Bezobchuk 12c2c236c2 Merge PR #1741: CoreContext Refactor 2018-08-06 20:11:30 +02:00
Jae Kwon 23e3d5ac12 Release 0.23.1 2018-07-26 19:07:33 -07:00
Sunny Aggarwal 55ef898db8 Merge PR #1688: Un-hardcode in governance parameters 2018-07-27 03:24:41 +02:00
Jae Kwon 55562fbaca Bump tendermint to 0.22.8. 2018-07-26 18:18:39 -07:00
Christopher Goes 02d52e4326 Hotfix/0.23.1: Tendermint 0.22.7 (#1844)
* Tendermint 0.22.7; bump patch version

* 0.23.0 -> 0.23.1; update CHANGELOG.md
2018-07-26 19:24:51 -04:00
Sunny Aggarwal 8538a7b5b4 Merge PR #1801: Fixed governance bug with iterate delegations 2018-07-25 16:37:39 -07:00
Dev Ojha bac91f7a7b Update to tendermint v0.22.6 (#1798)
* Update to tendermint v0.22.6

- This was cherry-picked and fixed from develop
- Updates all crypto imports for changes from v0.22.5
2018-07-25 17:13:30 -04:00
Dev Ojha 5d02a743fb Update to tendermint v0.22.6-rc0 (#1798)
* Update to tendermint v0.22.6-rc0

This is comprised of updating the crypto imports / API

* (squash this) switch to v0.22.6

If this passes tests, I'll squash this commit and update the PR.
2018-07-25 16:43:37 -04:00
Sunny Aggarwal 89eba4952c Merge PR #1801: Fixed governance bug with iterate delegations 2018-07-24 21:00:56 +02:00
Sunny Aggarwal f3a12909ef Merge PR #1773: Query the votes on a proposal
* added lcd endpoint to query all votes on a proposal
* added cli support
* Gopkg.lock from new dep
* Update PENDING.md
2018-07-20 02:02:46 +02:00
Dev Ojha 95191f5a51 Merge PR #1730: client: On any tx that broadcasts a tx, check that acct exists
This subverts the really hard to decipher ABCI error message, with
a nice user friendly error message.
2018-07-18 20:25:55 +02:00
Sunny Aggarwal d6969c1d22 Merge PR #1697: Proposal Query filter by status 2018-07-17 22:59:06 +02:00
Ethan Buchman f4ee940989 update to tm0.22.4-rc0 and bring back lcd test 2018-07-14 19:47:42 +01:00
Alexander Bezobchuk db7407f96e Fix Cross Compile Build/Ledger Build Tag (#1674)
* Merge pull request #1674: Fix Cross Compile Build/Ledger Build Tag
* Merge pull request #1674: Fix Cross Compile Build/Ledger Build Tag
* Remove incorrect Ledger test
2018-07-14 04:19:23 +02:00
Alexander Bezobchuk bb1f1a21bf Fix Cross Compile Build/Ledger Build Tag (#1674)
* Merge pull request #1674: Fix Cross Compile Build/Ledger Build Tag
* Merge pull request #1674: Fix Cross Compile Build/Ledger Build Tag
* Remove incorrect Ledger test
2018-07-14 04:17:53 +02:00
Ethan Buchman 53bbe13ece disable lcd tests until fixed 2018-07-13 23:04:55 +01:00
Ethan Buchman c6827dfb43 fix post merge 2018-07-10 21:40:24 -04:00
Ethan Buchman 080dd5b97a update protobuf to 1.1.0 2018-07-10 15:00:00 -04:00
Ethan Buchman aed1ca89aa update dep 2018-07-10 12:20:22 -04:00
Christopher Goes 66fdb9585b Gopkg.lock & 'make format' 2018-07-06 02:09:33 +02:00