Commit Graph

2833 Commits

Author SHA1 Message Date
Christopher Goes
0efa89ff2d
Merge branch 'develop' into dev/isolate_cli_tests 2018-07-04 21:21:40 +02:00
Christopher Goes
01068eb76f
Merge PR #1544: Fix dead links 2018-07-04 21:19:03 +02:00
Christopher Goes
7a9bca5f33
Merge branch 'develop' into zach/docs-and-links 2018-07-04 20:32:38 +02:00
Christopher Goes
e59b855d84
Merge pull request #1526 from cosmos/unstable
Merge unstable into develop
2018-07-04 19:49:59 +02:00
ValarDragon
b0e6c76554 Remove redundant comment, switch to MustBech32ify 2018-07-04 08:20:44 -07:00
Zach Ramsay
557e652530 docs: fix dead links, closes #1508 2018-07-04 09:23:01 -04:00
ValarDragon
e41f2bc8b5 tests: cli_tests no longer reset call unsafe_reset_all on local env
* Makes all cli tests use .test_gaiad, .test_gaiacli instead of the
	same directories as the default binaries
* Abstracts alot of the functionality for setting up the server into
	a single function / file-wide constants. This is to reduce
	code duplication, especially since some of this functionality
	depends on each test setting up the keys in the same way.

Closes #1461
2018-07-03 23:33:24 -07:00
Christopher Goes
f2c203270d
Merge branch 'develop' into unstable 2018-07-04 06:23:47 +02:00
Alexander Bezobchuk
0b9e0f2afc Merge PR #1492: Improve Module Test Coverage
* Merge pull request #1492: Improve Module Test Coverage
* Revert renaming of SignCheckDeliver [#1492]
* Remove named fields from stake unit tests & fix comments [#1492]
* update for tmlibs->tendermint/libs
* Remove tmlibs dependency
2018-07-04 06:21:36 +02:00
Yukai Tu
f1194019cd Merge PR #1534: Check new rat decimal string length 2018-07-04 05:29:05 +02:00
Rigel
cae6b40221
Merge pull request #1467: staking index keys don't hold values
* docs: Explain the expected return type within the store (#1452)

* bug somewhere here

* ...

* ...

* fix appending over key

* keys cleanup

* changelog

* remove some junk

* address bucky comments - rearrange appends

* hard code address length
2018-07-03 19:15:48 -04:00
Jack Zampolin
270e216262 Merge PR #1512: Add Ledger Instructions
* Add ledger instructions
* Address PR comments
2018-07-04 00:10:56 +02:00
Christopher Goes
d26dbbd5f5 Remove unnecessary tmlibs in Gopkg.toml 2018-07-03 23:10:26 +02:00
Fabian
a118229fcb Fabo/Switch key creation REST output to bech32 address (#1522)
* switch new key output to bech32
* changelog
* fixed tests
* Update LCD TestKeys failure message
2018-07-03 21:31:15 +02:00
Christopher Goes
3f438cdbc2
Merge PR #1511: Prevent unrevoked validators from unrevoking
* Prevent unrevoked validators from unrevoking
* Update changelog
* Update previously incorrect test
* 'make format'
2018-07-03 07:47:40 +02:00
Ethan Buchman
d388036454 Merge PR #1520: various fixes for test_cli
* various fixes for test_cli
* linting
2018-07-03 06:33:53 +02:00
Jack Zampolin
85ba874d3b Merge PR #1396: Dockerfile Update
* Working dockerfile
* Fix typo
* Add deps for cgo support
2018-07-03 06:13:31 +02:00
Ethan Buchman
a6dc81defa minor cleanup of feeKeeper 2018-07-03 00:08:00 -04:00
Ethan Buchman
32c8993d1e
Merge pull request #1462 from davekaj/davekaj/set-fee-collection-keeper
WIP: Set auth.FeeCollectionKeeper in Applications
2018-07-02 23:55:45 -04:00
Ethan Buchman
673086f621
Merge branch 'develop' into davekaj/set-fee-collection-keeper 2018-07-02 20:43:33 -04:00
Ethan Buchman
c9e561eaf1
Merge pull request #1389 from cosmos/jlandrews/pruning
State tree pruning
2018-07-02 20:42:54 -04:00
Ethan Buchman
56f293850d
Merge branch 'develop' into jlandrews/pruning 2018-07-02 20:22:26 -04:00
Ethan Buchman
0492882586
Merge pull request #1509 from cosmos/bez/1269-basecoind-start-failure
Fix basecoin Example
2018-07-02 19:28:36 -04:00
Aleksandr Bezobchuk
e3e58435eb Merge branch 'develop' into bez/1269-basecoind-start-failure 2018-07-02 18:59:34 -04:00
Aleksandr Bezobchuk
61ce80135a Merge pull request #1509: Fix basecoin Example 2018-07-02 18:46:12 -04:00
Jeremiah Andrews
b3e4faec74 addressing comments 2018-07-02 15:30:09 -07:00
Jeremiah Andrews
1632b7de18 testing pruning 2018-07-02 15:30:09 -07:00
Jeremiah Andrews
60a8a63e62 base variabls / logic, need tests 2018-07-02 15:30:09 -07:00
Ethan Buchman
f48881d3a2
Merge pull request #1507 from cosmos/bucky/tm-v0.22
Bucky/tm v0.22
2018-07-02 18:20:15 -04:00
Ethan Buchman
fe7a5a01bd update iavl to remove tmlibs dep 2018-07-02 17:22:25 -04:00
Ethan Buchman
498aed433e update changelog 2018-07-02 16:48:56 -04:00
Ethan Buchman
64d5e3fa47 dev version 2018-07-02 16:48:56 -04:00
Ethan Buchman
f78f30c67a update for tm v0.22.0. tmlibs->tendermint/libs 2018-07-02 16:34:06 -04:00
Ethan Buchman
0845d8126e server: remove broken start test 2018-07-02 14:47:58 -04:00
Ethan Buchman
dbabc2e79f update tendermint to fix stopping WAL 2018-07-02 14:47:58 -04:00
Ethan Buchman
544454c3bd version 2018-07-02 14:47:58 -04:00
Ethan Buchman
7a14982901 some changelog updates 2018-07-02 14:47:58 -04:00
Ethan Buchman
fa293f3a3e update dep for tm v0.22.0 2018-07-02 14:47:58 -04:00
Dev Ojha
6a864923fa types: Rename rational.Evaluate to rational.Round (#1487)
* rational.Evaluate -> rational.RoundInt64
	* rational.EvaluateInt -> rational.RoundInt

This done to improve clarity of the code.

Closes #1485
2018-07-02 11:57:33 -04:00
Ethan Buchman
feb3acdbe9 Merge PR #1491: client/lcd: fix tests
* client/lcd: fix tests
* circle: drop test_unit. store artifacts in test_cover
* hack fix in TestUnrevoke
2018-07-01 01:32:52 +02:00
Christopher Goes
3654579ea7
Merge PR #1278: Slashing v2
Implement semifinal Gaia slashing spec (#1263), less #1348, #1378, and #1440 which are TBD.
2018-06-30 05:34:55 +02:00
Rigel
2f508f5b28 Merge PR #1422: Add Contributing Guidelines
* Merge pull request #1422: Add Contributing Guidelines
* cwgoes comments
2018-06-30 04:04:29 +02:00
Dev Ojha
955a0c9af7 Switch asserts to require (#1483)
* meta: Switch the majority of asserts to require

Switch most assert statements to require, to ease debugging.
Closes #1418

* Fix imports
2018-06-30 03:10:15 +02:00
Dev Ojha
fc3dd56281 Merge PR #1477: gaiacli: Make recovery allow new keys
* gaiacli: Make recovery allow new keys
* Move create key to a temporary method, restore create fundraiser key
2018-06-30 00:47:09 +02:00
Dev Ojha
097dd8a164 tools: Add unparam linter (#1443)
* tools: Add unparam linter

unparam detects unused parameters in functions, and a parameter to
a function which only ever takes on one value. The latter is an
indication that more tests are required.

There are many nolints in this PR, as I believe that writing tests
to fix alot of these situations is out of scope for this PR / it
will be changed in future commits. There are some nolints for
when we have to comply to normal api's.

* crypto/keys no longer used by x/gov/client/rest/rest.go
2018-06-29 18:22:24 -04:00
Dev Ojha
47e4682d9f Merge PR #1415: x/stake: Limit the size of rationals from user input
* x/stake: Limit the size of rationals from user input

This commit sets the maximum number of decimal points that can be
passed in from messages. This is enforced on the validate basic of
MsgBeginUnbonding and MsgBeginRedelegation. The cli has been
updated to truncate the user input to the specified precision. This
also updates types/rational to return big ints for Num() and Den().

Closes #887

* Switch NewFromDecimal to error instead of truncating
2018-06-29 22:30:12 +02:00
Dev Ojha
0d28eda146 Merge PR #1463: docs: Fix dependencies, from monorepo merge
Closes #1456
2018-06-29 22:02:45 +02:00
David Kajpust
64ea408b38 fixed error for blank fee string 2018-06-29 11:50:32 -04:00
David Kajpust
0a76035398 fee collection now works in gaia 2018-06-29 09:37:14 -04:00
Dev Ojha
24a68d3bdf Merge PR #1451: crypto/keys: move checksum size into constants
Closes #1410
2018-06-29 09:52:32 +02:00