Commit Graph

390 Commits

Author SHA1 Message Date
rigelrozanski 10ddd7a3d3 refactor export function, working 2018-04-27 20:06:50 -04:00
Christopher Goes ad77affb53 Add IterateAccounts & account export 2018-04-27 20:04:29 -04:00
Christopher Goes f6cef02904 Reorder parameters & remove redundant check 2018-04-27 20:03:43 -04:00
Christopher Goes 9450779bba InitGenesis & WriteGenesis no longer functions of keepers 2018-04-27 20:03:43 -04:00
Christopher Goes c788c3e533 GetBonds => getBonds 2018-04-27 20:03:43 -04:00
Christopher Goes dbdf6aae0e Test GetBonds 2018-04-27 20:03:43 -04:00
Christopher Goes f92e83d2e0 Swap to general `export` command 2018-04-27 20:02:26 -04:00
Christopher Goes 55c82e44a2 export-stake command works 2018-04-27 20:00:58 -04:00
Christopher Goes 203d2c19cc Add export command to stake module 2018-04-27 20:00:58 -04:00
Christopher Goes 0436d890c7 Add candidates & bonds to stake module genesis 2018-04-27 20:00:58 -04:00
Christopher Goes f71191e402 Add simple WriteGenesis for stake & cool modules 2018-04-27 20:00:58 -04:00
rigelrozanski bffb0132a5 lint fix, add make test_lint 2018-04-27 15:20:12 -04:00
rigelrozanski 260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
rigelrozanski 201908949a stake init overhaul 2018-04-26 14:26:39 -04:00
rigelrozanski 556896679a ... 2018-04-26 14:26:39 -04:00
Christopher Goes 5b4fb85f7e
Fn suffix & http.HandlerFunc 2018-04-25 22:32:22 +02:00
Christopher Goes fd40d39556
Only one CoreContext for all REST commands 2018-04-25 16:49:31 +02:00
Christopher Goes 56ac948dc6
REST folder restructure & cleanup 2018-04-25 16:18:06 +02:00
Christopher Goes 4ac80c3204
Merge pull request #897 from cosmos/sunny/remove_accountmapper_seal
Remove Account Mapper Seal
2018-04-24 12:27:01 +02:00
Rigel 2cc609fbe6
Merge pull request #818 from cosmos/adrian/ibc
Start prep for IBC standard for Ethereum community
2018-04-23 16:42:38 -04:00
Christopher Goes 86b79b9c84
Fix testcases & update changelog 2018-04-23 18:41:36 +02:00
Christopher Goes 5b1e2a3786
Add Height field to DelegatorBond, update appropriately 2018-04-23 18:32:55 +02:00
Christopher Goes 91b1ee393c
Add ViewSlashKeeper 2018-04-23 18:17:21 +02:00
Christopher Goes 2672f4a1bb
Add delegator bond query API endpoint 2018-04-23 17:30:54 +02:00
Sunny Aggarwal 016a1c8ec9 removed seal 2018-04-22 23:36:15 -07:00
Adrian Brink fbfec1c9cf
Start prep for IBC standard for Ethereum community 2018-04-21 13:43:57 +02:00
rigelrozanski 0ea1bc7918 add prepend bytes comment to pubkey hex string 2018-04-19 21:09:48 -04:00
rigelrozanski ad0c776d94 show_validator now displays HEX by default, declare-candidacy also takes go-amino encoded 2018-04-19 15:18:31 -04:00
Christopher Goes f0d8e950a3
Merge pull request #880 from cosmos/rigel/cleanup
Add Golint to CircleCI // Lint compliant // cleanup
2018-04-19 19:54:47 +02:00
rigelrozanski 2a796b6c7a remove test linter fail function 2018-04-19 13:23:59 -04:00
rigelrozanski 566563f666 ci gometalinter, also add linter failing function to test 2018-04-19 13:20:45 -04:00
Christopher Goes 12336f249c
Address PR comments
Clarify field names, explain testing scenarios in more depth
2018-04-19 14:09:12 +02:00
Christopher Goes d2fa76aa37
Rebase onto develop 2018-04-19 13:52:57 +02:00
Christopher Goes 7f38f34709
Stake module block-local tx index counter 2018-04-19 13:48:45 +02:00
Christopher Goes 4e72250dd1
Add testcases (ref #582 discussion) 2018-04-19 13:48:08 +02:00
Christopher Goes 6424bb85ff
Update ordering logic 2018-04-19 13:48:07 +02:00
Christopher Goes 166711742e
Rebase, test fix 2018-04-19 13:48:07 +02:00
Christopher Goes 90d88114d9
Ordering fixes, testcases 2018-04-19 13:48:07 +02:00
Christopher Goes 7fa634e772
Cleanup implementation 2018-04-19 13:48:07 +02:00
Christopher Goes 91e850b568
WIP: Track validator height (closes #582) 2018-04-19 13:48:07 +02:00
Christopher Goes 36f5797660
Ordering fixes, testcases 2018-04-19 13:48:07 +02:00
Christopher Goes 905a9eefb9
Cleanup implementation 2018-04-19 13:48:07 +02:00
Christopher Goes b1c83f2edb
WIP: Track validator height (closes #582) 2018-04-19 13:48:06 +02:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
rigelrozanski 2994af56c9 gaia new error codetype 2018-04-18 12:36:55 -04:00
rigelrozanski c80b9674cd stake CLI various fixes, confirmed working 2018-04-18 12:19:35 -04:00
rigelrozanski 45723733bc fix staking flags 2018-04-18 12:19:35 -04:00
rigelrozanski 09fe4c0262 fix stake query keys 2018-04-18 12:19:35 -04:00
rigelrozanski 265670297c fix PK encodings 2018-04-18 12:19:35 -04:00
rigelrozanski e584d5acac ci build -> install
pubkey issue

...

rebase fixes

...
2018-04-18 12:19:35 -04:00
rigelrozanski 996cafe972 register wire, stake changelog, stake genesis update 2018-04-18 12:19:35 -04:00
rigelrozanski c63a545206 stake handler tests 2018-04-18 12:19:35 -04:00
rigelrozanski 8a34b91fac fix existing gaia tests 2018-04-18 12:18:28 -04:00
rigelrozanski 179caa5768 refactor gaia with stake 2018-04-18 12:18:28 -04:00
rigelrozanski f7437fd899 connected stake cli 2018-04-18 12:18:01 -04:00
Christopher Goes f8e44b5b00 Error codespacing (#809)
* Initial codespacing layout (ref #766)
* Add codespace to Router (ref #766)
* Implement Codespacer and update modules
* Default codespaces, testcases
* Update error formatting, codespacer tests
* Add RegisterOrPanic testcase
* Update CHANGELOG
2018-04-17 19:16:21 -07:00
Sunny Aggarwal d2013ec2a0
added state change revert comment 2018-04-17 23:39:57 +02:00
Sunny Aggarwal fcc164fab1
rebase and switch test to amino 2018-04-17 23:39:57 +02:00
Sunny Aggarwal c7bd05f0b8
hard reset 2018-04-17 23:39:52 +02:00
Christopher Goes 474fa1dfd1
Switch to BurnFeeHandler 2018-04-17 01:06:07 +02:00
Christopher Goes 3bbb15f454
Add tx to feeHandler, move around in example apps 2018-04-16 14:58:19 +02:00
Christopher Goes 39ee95abe4
Refactor to use FeeHandler function 2018-04-16 14:15:03 +02:00
Christopher Goes 7fafa9e021
Add testcases 2018-04-16 14:00:01 +02:00
Christopher Goes e870163ec0
Implement fee pool pseudo-account in sdk.AccountMapper 2018-04-16 13:59:56 +02:00
Christopher Goes c7b680a545
Address PR comments 2018-04-10 11:16:30 +02:00
Christopher Goes 7383c99026
Add AutoSequence to all transaction-sending commands 2018-04-10 11:16:30 +02:00
Christopher Goes bd626ba94e
Helper function 2018-04-10 11:16:30 +02:00
Christopher Goes ec98545a1b
Default to next sequence number (closes #807) 2018-04-10 11:16:30 +02:00
Rigel e588ebfa9a
Merge pull request #821 from cosmos/adrian/deadcode
Remove deadcode
2018-04-09 20:34:50 -04:00
Ethan Buchman f5c285f5ee more MarshalJSONIndent 2018-04-09 23:18:56 +03:00
Adrian Brink 13521b3f77
Remove deadcode 2018-04-09 17:33:53 +02:00
Ethan Buchman 1860f988b6 fix tests 2018-04-07 20:56:49 +03:00
Jae Kwon c4bc888375 Fix almost all tests 2018-04-07 00:02:00 -07:00
Jae Kwon 49fdf80d9d WIP commit 2018-04-06 17:25:08 -07:00
Jae Kwon a44e871dc7 WIP, aminoification 2018-04-06 16:20:14 -07:00
rigelrozanski 27087bb064 cwgoes comments, validator.VotingPower -> validator.Power 2018-04-05 18:34:25 -04:00
rigelrozanski 6a10283eaa accumulated validator updates now type abcivalidator 2018-04-05 13:17:32 -04:00
rigelrozanski ccb71a2afa pool using time and end block handler staking 2018-04-05 13:17:32 -04:00
rigelrozanski 7d31ba835a rebase fixes 2018-04-05 13:17:08 -04:00
rigelrozanski 6b995ac701 handler tests pass woot
...
2018-04-05 13:17:08 -04:00
rigelrozanski b8541c8174 tests in loops use require
...
2018-04-05 13:17:08 -04:00
rigelrozanski bfcb214c55 fix nil.Result() call 2018-04-05 13:17:08 -04:00
Ethan Buchman d87488a48b stake: register auth.BaseAccount, not basecoin AppAccount 2018-04-05 13:17:08 -04:00
rigelrozanski 1db8764b9e handler tests compile
...

...
2018-04-05 13:17:08 -04:00
rigelrozanski 6b279bd8bd uncomment handler tests 2018-04-05 13:17:08 -04:00
Ethan Buchman 4bee8c6865 update for tendermint v0.18.0-rc1 2018-04-05 16:31:06 +03:00
Ethan Buchman 2ee3ca3192
Merge pull request #747 from cosmos/cwgoes/rest-cli-refactor
REST/CLI refactor
2018-04-05 11:26:44 +03:00
Rigel 0c9ba2ba99
Merge pull request #771 from cosmos/cwgoes/staking-tests-v2
Simplified multi-candidate staking pool tests
2018-04-05 05:19:24 +02:00
rigelrozanski 65e789c43d minor cleanup to pool_test.go 2018-04-04 13:54:30 -04:00
Christopher Goes ef2d43d5b0
Add tests for bondedRatio, bondedShareExRate, unbondedShareExRate 2018-04-04 19:49:02 +02:00
Christopher Goes 20651490eb
Disable overflow bug check for now (ref #753) 2018-04-04 19:40:34 +02:00
Christopher Goes 8ed328074f
Fix incorrect reassignment 2018-04-04 19:26:35 +02:00
rigelrozanski 9aef787c5d cleanup 2018-04-03 23:41:08 -04:00
Christopher Goes cdbb994e3f
Update IBC commands 2018-04-03 22:23:09 +02:00
Christopher Goes 12f4a21d03
Reuse Tendermint client instance (closes #671) 2018-04-03 22:16:03 +02:00
Christopher Goes 8412215c16
Additional module cleanup 2018-04-03 22:16:03 +02:00
Christopher Goes 7214149f1d
Move client context initialization from viper to separate package 2018-04-03 22:16:03 +02:00
Christopher Goes f5322fa25f
Remove unused imports 2018-04-03 22:15:51 +02:00
Christopher Goes 7a8e00dbb9
Change CoreContext parameters instead of using viper.Set 2018-04-03 22:15:27 +02:00
Christopher Goes 579e5d4cdc
Add CoreContext for CLI/REST options 2018-04-03 22:15:12 +02:00