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
Christopher Goes
4b7f6efd87
Merge PR #1805 : Downtime slashing off-by-one-block fix
...
* Avoid slashing & revoking no longer stored or already revoked validators for downtime
* Add testcase
* Update PENDING.md
2018-07-25 04:12:48 +02:00
rigelrozanski
9e5a78fc7a
less stake endblock processing
2018-07-20 11:35:13 -04:00
Rigel
d2f70ec8af
Merge PR #1748 : CLI use --from consistently
2018-07-19 08:53:12 +02:00
Joon
aa525418e1
Merge PR #1373 : Initialization of POS chain
2018-07-19 08:39:40 +02:00
Christopher Goes
cbf432d34c
Merge PR #1746 : Remove ctx.IsCheckTx
...
* Remove ctx.IsCheckTx
* Changelog to Pending
* Typo
* Simulate instead of Check in SignCheckDeliver
* Add descriptive comment
* Change to 'CheckTx implements ABCI'
* Alphabetize changelog
2018-07-19 02:42:19 +02:00
Sunny Aggarwal
d6969c1d22
Merge PR #1697 : Proposal Query filter by status
2018-07-17 22:59:06 +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
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
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
Christopher Goes
75b4f4104a
Merge branch 'develop' into joon/673-am-constructor
2018-07-11 00:57:46 +02:00
Rigel
b60fcb68d6
Merge branch 'develop' into rigel/genesis-no-zero-power
2018-07-10 00:15:10 -04:00
mossid
bc12880394
Merge pull request #1379 : Account constructor in AccountMaper
...
fix
fix democoin
fix tests
pass lint
last fix
apply requests
fix build failing
fix docs
2018-07-09 20:29:14 -07:00
rigelrozanski
86f68a3e95
prevent zero genesis validators
2018-07-09 22:51:13 -04:00
Sunny Aggarwal
896cd333f0
address comments
2018-07-09 16:06:05 -07:00
Sunny Aggarwal
25d976feb4
works?
2018-07-09 01:47:38 -07:00
Sunny Aggarwal
d87c9ebc74
fixed lcd errors
2018-07-09 01:01:29 -07:00
sunnya97
7ac220beb6
asdf
2018-07-09 00:59:51 -07:00
Sunny Aggarwal
50ed0fa1ae
asdf
2018-07-09 00:35:28 -07:00
ValarDragon
c708c799fd
Add print-response flag
2018-07-05 22:19:50 -07:00
ValarDragon
2197a9598b
Merge branch 'dev/add_async_flag' of github.com:cosmos/cosmos-sdk into dev/add_async_flag
2018-07-05 20:19:39 -07:00
ValarDragon
8857b69d02
Use async flag directly from context
2018-07-05 20:15:40 -07:00
Dev Ojha
be9ae47b0a
Merge branch 'develop' into dev/add_async_flag
2018-07-05 20:06:52 -07:00
ValarDragon
27a31cae44
add Async to context
2018-07-05 20:05:17 -07:00
ValarDragon
6f94dd64c0
cli: Add async flag to all broadcasting txs
...
closes #1436
2018-07-05 19:15:37 -07:00
Liamsi
b7f902fba5
sort *all* GetSignBytes:
...
- call MustSortJSON before return JSON bytes to guarantee alphabetic
ordering
- moved SortJSON and MustSortJSON to types package to avoid cyclic
package dep
2018-07-06 01:12:57 +01:00
rigelrozanski
f152b64952
Merge remote-tracking branch 'origin/develop' into rigel/no_keys_in_state_value
2018-07-04 14:29:12 -04:00
rigelrozanski
a2f7b582df
validators smaller values stored
2018-07-04 01:32:49 -04: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
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
f78f30c67a
update for tm v0.22.0. tmlibs->tendermint/libs
2018-07-02 16:34:06 -04: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
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
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
Christopher Goes
59aadf42aa
Ledger integration ( #931 )
...
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
Dev Ojha
ac3adff1e8
Merge PR #1438 : Tools: Add errcheck linter
...
This linter ensures that all errors are checked.
This is disabled in the client directories, since its not needed on
those writes
2018-06-29 00:52:10 +02:00
Dev Ojha
2755c66545
Merge PR #1424 : tools: add unconvert linter
...
unconvert checks for unnecessary type conversions
2018-06-28 18:08:29 +02:00
Rigel
6f140d7296
Merge PR #1119 : Unbonding, Redelegation
...
* stake/fees spec updates
* staking overview.md revisions, moving files
* docs reorganization
* staking spec state revisions
* transaction stake updates
* complete staking spec update
* WIP adding unbonding/redelegation commands
* added msg types for unbonding, redelegation
* stake sub-package reorg
* working stake reorg
* modify lcd tests to not use hardcoded json strings
* add description update
* index keys
* key managment for unbonding redelegation complete
* update stake errors
* completed handleMsgCompleteUnbonding fn
* updated to use begin/complete unbonding/redelegation
* fix token shares bug
* develop docs into unbonding
* got non-tests compiling after merge develop
* working fixing tests
* PrivlegedKeeper -> PrivilegedKeeper
* tests compile
* fix some tests
* fixing tests
* remove PrivilegedKeeper
* get unbonding bug
* only rpc sig verification failed tests now
* move percent unbonding/redelegation to the CLI and out of handler logic
* remove min unbonding height
* add lcd txs
* add pool sanity checks, fix a buncha tests
* fix ante. set lcd log to debug (#1322 )
* redelegation tests, adding query functionality for bonds
* add self-delegations at genesis ref #1165
* PR comments (mostly) addressed
* cleanup, added Query LCD functionality
* test cleanup/fixes
* fix governance test
* SlashValidatorSet -> ValidatorSet
* changelog
* stake lcd fix
* x/auth: fix chainID in ante
* fix lcd test
* fix lint, update lint make command for spelling
* lowercase error string
* don't expose coinkeeper in staking
* remove a few duplicate lines in changelog
* chain_id in stake lcd tests
* added transient redelegation
* 'transient' => 'transitive'
* Re-add nolint instruction
* Fix tiny linter error
2018-06-27 04:00:12 +02:00
Joon
ec6acda6a4
Merge PR #1331 : Remove TxBytes from NewContext
2018-06-22 03:03:05 +02:00
Aditya
f049a56376
Merge PR #1266 : Multiple messages
...
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Added ante tests for multisigner
* Remove validatorUpdates from tx result
* Better error logs
* Put Memo in StdSignBytes and formatting
* Updated changelog
2018-06-22 00:05:25 +02:00
Dev Ojha
e2d23040a8
Merge PR #1325 : Refactor Complete Setup to not take in a testing parameter
...
* Refactor Complete Setup to not take in a testing parameter
* Update changelog
2018-06-21 18:55:08 +02:00
Joon
314b5a854d
Merge PR #1218 : sdk.Int in sdk.Coin
...
implement Int, Int256, Uint256
pass ci
pass ci
add to changelog, add boundcheck to test
add comments, fix cli_test.go
fix errors
apply requested changes
panics on New*WithDecimal
fix Int.BigInt()
fix stake tests
* Panic on uint division-by-zero
* Set ok=false on NewIntFromString, NewUintFromString failure
* Nuke CircleCI caches
2018-06-15 23:16:45 +02:00
Fabian
42e72956f4
Merge PR #1252 : Query node version
...
introduce non store queries
add version query
update lcd spec
changelog
moved version query into baseapp
2018-06-14 07:49:21 +02:00
David Kajpust
ec2fedd36c
Merge PR #1227 : Set all Error strings 1st letters to lowercase. Fixes issue #1154
2018-06-13 21:13:22 +02:00
Christopher Goes
5bf58ee444
Merge PR #1210 : Fix testcases (another fast-forward merge issue)
2018-06-12 09:47:59 +02:00
Christopher Goes
ee17b7c9cc
Address PR comments: test descriptions & NewValidatorSigningInfo
2018-06-11 21:47:35 +02:00
Christopher Goes
c9a977beae
Cleanup testcase
2018-06-11 03:15:48 +02:00
Christopher Goes
a4865ef6aa
Add mock.SignCheck, update testcase to assert error code
2018-06-11 03:14:20 +02:00
Christopher Goes
f6a30afbf4
Improve testcase, add comment
2018-06-11 03:03:52 +02:00
Christopher Goes
3bea85abb3
Register slashing keeper, set startHeight, testcases
2018-06-11 02:55:54 +02:00