Commit Graph

3080 Commits

Author SHA1 Message Date
ValarDragon
1edfb89423 contribution guide: Add guidelines for testing
Indicates to use require's and asserts, and to use table driven
tests, with error messages as described in #1664.

Closes #1664
2018-07-16 12:30:54 -07:00
Dev Ojha
4b688992ba Merge pull request #1691: Table driven test indexes
* types: Switch table driven test error messages to new format

Make table driven tests in /types follow the format described in #1664

* typos / lower case errors

* lower case, not sentences

* lower case, not sentences
2018-07-16 14:42:28 -04:00
Ethan Buchman
90ed178c2b
Merge pull request #1685 from cosmos/bucky/fix-lcd-tests
update to tm0.22.4-rc0 and bring back lcd test
2018-07-16 16:16:55 +01:00
Ethan Buchman
e38aac5048
Merge pull request #1683 from cosmos/release/v0.21.1
Release/v0.21.1
2018-07-16 16:15:47 +01:00
Ethan Buchman
12fa42b43b
Merge branch 'master' into release/v0.21.1 2018-07-16 16:15:30 +01:00
Dev Ojha
a2047c5c81 Merge PR #1687: tools: Ensure Gopkg.lock is correct in linting
* tools: Ensure Gopkg.lock is correct in linting

This adds dep status to the lint process. Also fixes linting errors
that existed earlier. (not sure why they didn't show up on CI)

Closes #1574

* Update dep, use the lock file new dep version creates
2018-07-14 23:48:41 +02:00
Ethan Buchman
e35d06eb24 client/lcd: add more gas for unbonding tx 2018-07-14 19:47:45 +01:00
Ethan Buchman
f4ee940989 update to tm0.22.4-rc0 and bring back lcd test 2018-07-14 19:47:42 +01:00
Christopher Goes
28a1b5ebc0 Version & changelog 2018-07-14 04:20:14 +02: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
Joon
bdccbeff9e Merge PR #1265: Global Paramstore
in progress
in progress
stake and slashing now params
fix gaia
fix gaia again
add msg type deactivation
delete local error
in progress
revert actual application in baseapp/gaia/stake
add test, fix apps
fix MinSignedPerWindow, pass lint
fix gaia
fix keeper_test
fit with multiple msgs
fix
apply requests
pass lint
really the last fix
fix dependency
fix keeper_test
fix lint
2018-07-14 02:12:23 +02:00
Ethan Buchman
06216c1fdb
Merge pull request #1677 from cosmos/release/v0.21.0
Release v0.21.0
2018-07-13 23:35:25 +01:00
Ethan Buchman
53bbe13ece disable lcd tests until fixed 2018-07-13 23:04:55 +01:00
Christopher Goes
1a1373cc22 Update changelog & version 2018-07-13 23:00:07 +02:00
Rigel
3231daa4d8 remove global shares (#1644)
* wip removing pool shares

* remove PoolShares/Tokens entirely

* worked through stake/type compile error

* work through a bunch of keeper errors

* worked through compile errors

* debugging tests

* resolve compilation error

* resolved types errors

* ...

* move inflation to pool type

* ...

* stumped problem

* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation

* Rounding changed

* Update x/slashing tests for sdk.Rat BondedTokens

* testing fixes

* resolved test fixes

* cwgoes comments, changelog, lint

* cli bugfixes

* ..

* cli fixed

* spec update

* 'make format'

* cwgoes comments

* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
Ethan Buchman
faa88d83c7
Merge pull request #1656 from cosmos/jordan/cosmos-docs
update docs folder to match cosmos.network/docs/
2018-07-13 20:24:08 +01:00
Ethan Buchman
32496c7b89
Merge pull request #1129 from cosmos/gamarin/update_gov_spec
WIP: Update gov spec
2018-07-13 20:00:17 +01:00
Rigel
89f4f377f4
Merge pull request #1668: Add Issue Templates
* Update issue templates

* split into two templates

* Add line on possible disadvantages
2018-07-13 14:42:28 -04:00
Rigel
91dd972bbc Merge PR #1667: Update CONTRIBUTING.md 2018-07-13 19:35:29 +02:00
Rigel
80f4875ee7 Merge PR #1669: PR template cleanup / Add Admin section 2018-07-13 19:17:48 +02:00
Christopher Goes
78edba82c0
Merge PR #1648: Write moniker on 'gaiad init' and 'gaiad init gen-tx'
* Write moniker on 'gaiad init' and 'gaiad init gen-tx'
* Update changelog
* Add comment to second instance
* Checkout Gopkg.lock
2018-07-13 19:16:31 +02:00
Jeremiah Andrews
43b9cc6df0 Merge PR #1533: Pruning Cleanup 2018-07-13 03:20:26 +02:00
Jordan Bibla
28da104e1a
Merge branch 'master' into jordan/cosmos-docs 2018-07-12 20:01:27 -04:00
Alexander Bezobchuk
5983a07fb6 Merge PR #1599: Implementation of TraceKVStore 2018-07-13 01:58:51 +02:00
Rigel
2885ac586e Merge PR #1660: Redelegation doesn't subtract from liquid
* fix redelegation subtracting source coins
* changelog
* Add testcases for balance subtraction
* Move changelog entry
2018-07-13 01:38:35 +02:00
Dev Ojha
98bc419d5e Merge PR #1659: crypto/keys: Allow one to export their private key
* crypto/keys: Allow one to export their private key
* Update changelog
2018-07-13 00:12:20 +02:00
Jordan Bibla
06967eff55
Merge branch 'master' into jordan/cosmos-docs 2018-07-12 17:05:35 -04:00
Jordan Bibla
33831117e7 updated changelog 2018-07-12 17:04:43 -04:00
Jordan Bibla
97cf9a3173 deleted attic and .rst file, moved /core into /sdk, added getting-started, introduction, lotion, validators, resources and documentation image 2018-07-12 16:58:12 -04:00
Jeremiah Andrews
41dd01906a Merge PR #1654: Wait for 2 blocks attempt 2018-07-12 22:03:18 +02:00
Christopher Goes
b3e45413ed
Merge PR #1651: Fabo/fix account creation lcd 2018-07-12 20:01:46 +02:00
Christopher Goes
8b9f5396de Move changelog entry 2018-07-12 19:45:09 +02:00
Fabian Weber
c3bbb37df3 changelog 2018-07-12 19:44:31 +02:00
Fabian Weber
f8f46b2b8c added test for account importing 2018-07-12 19:44:31 +02:00
Fabian Weber
e400e83c43 fix key import creating random account 2018-07-12 19:44:31 +02:00
Christopher Goes
a6cc85ae87
Merge PR #1619: R4R: Clearer staking logic 2018-07-12 19:39:51 +02:00
Christopher Goes
432c109f06
Merge PR #1627: ready-for-review: Gov modules enums marshalJSON to String 2018-07-12 19:39:15 +02:00
Christopher Goes
e9db4a82ff
Merge PR #1631: keys: Keybase.Update no longer asks for newpass if oldpass is incorrect 2018-07-12 19:38:47 +02:00
Dev Ojha
c57c6c43ce
Merge branch 'master' into dev/fix_key_update_bug 2018-07-11 15:01:30 -07:00
Ethan Buchman
3f15ae7b15
Merge pull request #1633 from cosmos/bucky/fix-democoin
democoin: fix genesis for amino
2018-07-11 10:45:01 -04:00
gamarin2
894d0cf5e3
Merge branch 'master' into gamarin/update_gov_spec 2018-07-11 15:59:24 +02:00
Ethan Buchman
e56379821c update changelog 2018-07-10 23:57:48 -04:00
Ethan Buchman
dd429fd5d0 democoin: fix genesis for amino 2018-07-10 23:27:47 -04:00
ValarDragon
fc4c563e29 keys: Keybase.Update no longer asks for newpass if oldpass is incorrect
Achieved by refactoring the parameter newpass as follows:

* (newpass string) -> (getNewpass func() (string, error))

Closes #1629
2018-07-10 20:00:22 -07:00
Ethan Buchman
c6827dfb43 fix post merge 2018-07-10 21:40:24 -04:00
Sunny Aggarwal
cba7fd7ee8 gov enums marshal to String 2018-07-10 17:59:07 -07:00
Ethan Buchman
e984b73b96 update readme 2018-07-10 20:34:39 -04:00
Ethan Buchman
3f44589861 Merge branch 'develop' 2018-07-10 20:31:05 -04:00
Aditya
b195c556e2 Merge pull request #1600: Friend can create validator and delegate on behalf of genesis validator
* Added msg and handling for surrogate create validator

* changelog and error fix

* fix changelog

* Remove unnecessary msg by combining into CreateValidator

* Refactor

* Appease linter

* Added onbehalfof functionality in client

* fmt

* Added gaia onbehalfof test

* Update test for onbehalfof validator creation

* fix test

* Fix flag error

* Add app test

* fmt

* Fixed signer for onbehalfof createvalidator

* Fix error msg

* Simplify test

* fmt
2018-07-10 20:16:37 -04:00