Commit Graph

297 Commits

Author SHA1 Message Date
Ethan Buchman ff34cbc8bc gaia/cli_test: remove sleeps 2018-06-13 17:41:01 -07:00
Greg Szabo 17e88a5e00 Fixes requested by Rigel: GenTx, config package name 2018-06-13 17:30:16 -07:00
Ethan Buchman 0180a5b48e testnets/status: gaia-6002 is live 2018-06-13 15:20:54 -07:00
Ethan Buchman 3cbb06015e add gaiadebug readme 2018-06-13 15:17:18 -07: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
Greg Szabo 73b0b489cf
Merge branch 'develop' into greg/testnet-command-2 2018-06-13 09:28:04 -07:00
gamarin2 6b9f851032
Add update testnet guide to status 2018-06-13 11:11:55 +02:00
Ethan Buchman 8acac90894 gaia 6002 2018-06-13 01:44:30 -07:00
Christopher Goes 5a273a1cdd
Merge branch 'develop' into release/v0.19.0 2018-06-13 10:02:55 +02:00
Ethan Buchman 35a3c14918 update status.md 2018-06-12 23:18:37 -07:00
Ethan Buchman 47cc91e8e5 gaiadebug: raw-bytes command 2018-06-12 22:59:33 -07:00
Ethan Buchman cb93cbee3d gaiadebug: add hack command 2018-06-12 22:41:33 -07:00
Ethan Buchman 522042fd12 gaiadebug tool 2018-06-12 22:41:33 -07:00
Ethan Buchman 85c7702ca0 Merge branch 'master' into local/develop 2018-06-12 22:40:54 -07:00
suyuhuang ef2e7a5129 Merge PR #1229: Fix 'gaiad init gen-tx' not showing seed 2018-06-13 07:27:24 +02:00
Ethan Buchman a03770d73d testnets: minor readme update 2018-06-12 21:13:28 -07:00
Greg Szabo 072d422da6
Merge branch 'develop' into greg/testnet-command-2 2018-06-12 11:26:58 -07:00
Greg Szabo 4c5e536b31 Added testnet command and localnet targets
Finished testnet command and introduced localnet targets in Makefile, together with gaiadnode Docker image

Fixed function parameter list - now starts with ctx

Separated GenTxConfig into a server/config package so both the server package and the mock package can use it

Adding server/config to app package

gaiadnode Docker image

Separated GenTxConfig into a server/config package so both the server package and the mock package can use it

Adding server/config to app package

Fixes requested by Rigel

Removed commented code

Global flag fixes
2018-06-12 11:25:03 -07:00
Peng Zhong 3b9cb49497 readme improvements
add link to official faucet, remove sequence from cmds

readme improvements

wording improvements and simplifications

add link to cosmos explorer

remove instances of candidate

add apostrophe

small fixes

improve the installing software section

fixes based on feedback

add note about querying an empty account

remove panic note

update introduction

add full cp path for copying genesis.json

update moniker warning

remove redundant sections

add error message when querying empty account

don't need a link to golang.org

link to sections, better section names

fix section link

reorganize sections

add h3s

remove & symbol

add whitespace

update h3 to h2

add note about explorer not connecting to every node
2018-06-12 16:53:24 +08:00
Rigel dc62279ae1
Merge pull request #1200 from cosmos/cwgoes/slashing-bugfixes
Slashing bugfixes (start height, handler registration)
2018-06-11 20:12:02 -07:00
Sunny Aggarwal 161cb474d4 Account Numbers for Replay Protection with Account Pruning (#1077)
* in progress
* passes current tests
* added tests and got working
* changelog and docs
* removed prints
* oops
* works!
* issue in test_cli
* number 9 number 9 number 9
* at least it does only the 9 issue now
* hallelujah it works!
* removed print statement
* rebased
* gah
2018-06-12 04:30:54 +02:00
Ethan Buchman 4dcf41df4b seed->seeds 2018-06-11 11:40:38 -07:00
Ethan Buchman 5e975fc675 add fixes from billy 2018-06-11 11:35:18 -07:00
Christopher Goes 3bea85abb3
Register slashing keeper, set startHeight, testcases 2018-06-11 02:55:54 +02:00
Ethan Buchman 9430ba1baa cmd/gaia/testnets: update versions, use a working seed 2018-06-10 11:02:19 -07:00
Ethan Buchman eceb56b709 cmd/gaia/testnets: update status.md with recent history 2018-06-10 10:51:18 -07:00
Ethan Buchman e699e251f5 add cmd/gaia/testnets folder to deprecate cosmos/testnets repo 2018-06-10 10:41:37 -07:00
rigelrozanski 61a510ed08 ... 2018-06-07 21:46:27 -07:00
rigelrozanski b5d847288d move original mock into server 2018-06-07 21:33:06 -07:00
rigelrozanski abab7c2e42 modules test within mock application 2018-06-07 20:55:14 -07:00
rigelrozanski 1e67768485 ported ibc tests 2018-06-07 17:20:35 -07:00
Christopher Goes 3fbee11ccc
Merge PR #1142: Export validators to genesis
* Validator export skeleton
* Update export command, add tests, update CHANGELOG
* Rename exportAppState to exportAppStateAndTMValidators
2018-06-06 18:38:13 +02:00
Fabian 5f409ce832 Merge PR #1086: Bech32Cosmos output/input for the LCD
* refactored bech32ization
* updated keys endpoints for bech32
* bech32 for sending and querying
* trying to change output of validator addresses
* fixed validator output
* linted
* fixed merge conflict
* added bech32 to staking endpoints
* removed some logging statements
* added GetAccPubKeyBech32Cosmos
* fixed cli tests
* updated swagger
* merged standard bech32 change
* renamed bech32cosmos to bech32
* bech32ify json output for key add
* readded changelog
* fixed changelog merge issue
* Update CHANGELOG.md
2018-06-06 06:53:04 +02:00
Christopher Goes be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02:00
rigelrozanski 0ef3259a39 revised use of EndBlock/BeginBlock, basecoin updated for staking/slashing 2018-06-01 14:24:48 -07:00
Christopher Goes 537ce91e33
Merge pull request #1105 from cosmos/cwgoes/slashing-v1.1
Fix minor slashing issues
2018-06-01 18:41:13 +02:00
Zaki Manian ce850dca3b Switch from bech32cosmos to bech32 2018-06-01 16:23:58 +02:00
rigelrozanski e1d9f00d2d ... 2018-06-01 01:57:21 -07:00
rigelrozanski 823814dfce fix cli test 2018-06-01 01:47:44 -07:00
Jeremiah Andrews a03638d14a changed commands in cli_test to match refactor 2018-05-31 22:06:13 -07:00
Jeremiah Andrews aa41cefb1e renamed state subcommand to tendermint 2018-05-31 21:50:01 -07:00
Jeremiah Andrews 744f78573e small fixes 2018-05-31 21:50:01 -07:00
Jeremiah Andrews 083ca8234b Refactored gaiacli and gaiad commands into subcommands 2018-05-31 21:50:01 -07:00
Christopher Goes 9fa4a55012
Add 'gaiacli signing_info' 2018-06-01 06:21:26 +02:00
Christopher Goes cde91bd229
gaiacli unrevoke 2018-06-01 06:21:22 +02:00
rigelrozanski ba44bf7c81 rm debug output 2018-05-31 18:54:14 -07:00
rigelrozanski 5515b60b0a better tooling for cli, couple lsd fixes 2018-05-31 18:46:25 -07:00
rigelrozanski a4e1e497cd cwgoes comments 2018-05-31 15:49:18 -07:00
rigelrozanski 0b6aa3c047 add test_cli to ci 2018-05-31 14:57:09 -07:00
rigelrozanski 1f1097c4d3 cli test bugs 2018-05-31 14:57:09 -07:00
rigelrozanski 952aedc4f1 get rid of candidacy references 2018-05-31 14:57:09 -07:00
rigelrozanski afc2bbfe09 working through cli 2018-05-31 14:56:17 -07:00
rigelrozanski 94e78e0602 cech32 fixes for TestGaiaCLISend 2018-05-31 14:56:17 -07:00
Jae Kwon 871574888b Make Execute and GoExecute log better 2018-05-31 14:56:17 -07:00
Rigel 0fb2bbdfef
Merge pull request #1011 from cosmos/cwgoes/slashing
Implement slashing (v1)
2018-05-31 11:09:44 -07:00
Rigel 49adacab53
Merge branch 'develop' into cwgoes/misc-fixes 2018-05-30 20:09:57 -04:00
Rigel 1c462013a9
Merge branch 'develop' into matt/stake-rest 2018-05-30 10:53:12 -04:00
Christopher Goes 91f14e1b48
Merge branch 'develop' into cwgoes/slashing 2018-05-29 21:39:45 +02:00
Christopher Goes e4b0d0a618
Reorganization in progress 2018-05-28 21:55:54 +02:00
Christopher Goes 67f7f31ba9
Fix testcases by mounting store 2018-05-28 21:55:52 +02:00
Christopher Goes 95c5baf449
Rebase & squash slashing 2018-05-28 21:55:27 +02:00
Zaki Manian f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
Matt Bell 5c1a7694e5 Merge branch 'develop' into matt/stake-rest 2018-05-27 16:02:33 +09:00
Sunny Aggarwal d3bdb09ffc passes, needs tests 2018-05-25 20:29:40 -07:00
rigelrozanski 57d86cc04c fix many lcd errors, restructure lcd init 2018-05-25 10:17:49 -04:00
sunnya97 5d7c3af1b8 works 2018-05-23 22:09:01 -07:00
sunnya97 33492cc070 in progress 2018-05-23 19:53:42 -07:00
sunnya97 cb52712660 in progress 2018-05-23 19:49:35 -07:00
sunnya97 3055d939ed in progress 2018-05-23 19:26:54 -07:00
rigelrozanski 41458956a1 fix tests, pool.TotalSupply -> pool.TokenSupply() 2018-05-22 18:50:59 -04:00
rigelrozanski db9fd51d1c ... 2018-05-22 15:13:03 -04:00
Christopher Goes 8f4234b44d
Require --name on init gen-tx 2018-05-22 10:40:04 +02:00
rigelrozanski e70249b631 more bucky comments, single status validator, only one store now for core validator object 2018-05-20 17:39:04 -04:00
rigelrozanski 26be2a231b working addressed bucky comments 2018-05-18 18:57:47 -04:00
rigelrozanski 423917f352 test compile fixes for poolshares 2018-05-17 09:19:33 -04:00
rigelrozanski 1ab432a7e1 many bug fixes, introduce PoolShare type 2018-05-17 09:19:33 -04:00
rigelrozanski dc3c40fecc fixing tests, working on TestUpdateSharesLocation 2018-05-17 09:19:33 -04:00
rigelrozanski b64363fcbe split types into multiple files, fix delegation share exrate 2018-05-17 09:19:33 -04:00
rigelrozanski c69c145964 fix stake app tests 2018-05-17 09:19:05 -04:00
rigelrozanski 9bb01c9504 fixing tests 2018-05-17 09:19:05 -04:00
rigelrozanski a0c73372be stake refactor, tests compiling 2018-05-17 09:19:05 -04:00
rigelrozanski 675dc5df15 staking refactor compiling 2018-05-17 09:19:05 -04:00
rigelrozanski fa64487e65 working fee distribution reorg 2018-05-17 09:17:40 -04:00
rigelrozanski ed5d088824 renaming and refactoring for fees 2018-05-17 09:17:14 -04:00
rigelrozanski d871605241 staking fee distribution working commit 2018-05-17 09:15:06 -04:00
Christopher Goes 3d5b048444
Remove txGasLimit, update tests 2018-05-16 02:31:52 +02:00
Christopher Goes 4134bf922c
Address PR comments 2018-05-16 02:06:17 +02:00
Christopher Goes 1c4ed7b833
Gas-wrap ctx.KVStore 2018-05-16 01:13:48 +02:00
Christopher Goes 09517056b0
Catch out-of-gas panics 2018-05-16 01:13:48 +02:00
Adrian Brink cd24244308
Sort all genesis transaction by node id
This ensures that users can rename the genesis transactions and they
will still be in the same order.
2018-05-13 18:19:42 -04:00
rigelrozanski d44c7afa30 add range queries, add candidates query 2018-05-08 15:57:12 -04:00
Christopher Goes 23c9e2fb6f
Update CLI tests to test auto-sequencing 2018-05-04 05:43:29 +02:00
rigelrozanski dd9b5e78f7 cleanup stake marshalJson -> marshalBinary 2018-05-01 16:41:04 -04:00
Adrian Brink d52d74582a
Change fermion to steak 2018-04-30 16:24:46 -07:00
rigelrozanski ce32117399 rational embedes bigRat 2018-04-30 17:21:14 -04:00
rigelrozanski 318e924145 refactor 2018-04-27 20:36:11 -04:00
rigelrozanski 10ddd7a3d3 refactor export function, working 2018-04-27 20:06:50 -04:00
Christopher Goes 67961476b4 Fix testsuite 2018-04-27 20:06:50 -04:00
Christopher Goes 5759f6ab60 Use account store key 2018-04-27 20:05:58 -04:00
Christopher Goes ad77affb53 Add IterateAccounts & account export 2018-04-27 20:04:29 -04:00
Christopher Goes 10d2e5ae40 Move generateApp & exportApp to baseapp/helpers 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 df4fdb3642 Rebase & merge changes 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 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 f71191e402 Add simple WriteGenesis for stake & cool modules 2018-04-27 20:00:58 -04:00
rigelrozanski 260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
rigelrozanski 514b3fba4e fix genesis tests 2018-04-26 14:26:39 -04:00
rigelrozanski ade42e74b7 better init test 2018-04-26 14:26:39 -04:00
rigelrozanski 05c5809bae gaia init automatic key processing 2018-04-26 14:26:39 -04:00
rigelrozanski 7e2ac80137 cli testing fix 2018-04-26 14:26:39 -04:00
rigelrozanski b9477ecbbe init refactor uses genesis transaction now 2018-04-26 14:26:39 -04:00
rigelrozanski 525a852b01 bug fixes to init from-pieces command 2018-04-26 14:26:39 -04:00
rigelrozanski 3aa4752737 stake cli init fixes 2018-04-26 14:26:39 -04:00
rigelrozanski 201908949a stake init overhaul 2018-04-26 14:26:39 -04:00
rigelrozanski 867d0e502c working genesis pieces 2018-04-26 14:26:39 -04:00
rigelrozanski 246e4bdac3 renames 2018-04-26 14:26:39 -04:00
rigelrozanski d4c2d6fd4c fix cli tests 2018-04-26 14:26:39 -04:00
rigelrozanski 55c1e1dcfc init refactor 2018-04-26 14:26:39 -04:00
rigelrozanski 6748aa7bc6 first stab init refactor 2018-04-26 14:26:39 -04:00
Christopher Goes 56ac948dc6
REST folder restructure & cleanup 2018-04-25 16:18:06 +02:00
Sunny Aggarwal 016a1c8ec9 removed seal 2018-04-22 23:36:15 -07:00
rigelrozanski ca3d3be3af better key output 2018-04-20 12:51:47 -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
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
rigelrozanski 0e8c3e4a5b remove gaia basecoin reference 2018-04-18 14:32:40 -04:00
rigelrozanski d36efcd417 unbond in gaia cli test 2018-04-18 14:21:07 -04:00
rigelrozanski 6f65867154 comment out go-bash race condition 2018-04-18 14:06:49 -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 d344de3b62 stake test candidate query 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 158e9dd12d fixed cli tests 2018-04-18 12:19:35 -04:00
rigelrozanski 59f86b4251 interim borken 2018-04-18 12:19:35 -04:00
rigelrozanski ebb2faabe0 go-bash working 2018-04-18 12:19:35 -04:00
rigelrozanski 3ab032e1c6 cli testing 2018-04-18 12:19:35 -04:00
rigelrozanski 8ab77e2ab5 started gaia go-bash cli testing 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 068ca5e3e6 fix gaia init genesis creation
int

int
2018-04-18 12:19:35 -04:00
rigelrozanski c63a545206 stake handler tests 2018-04-18 12:19:35 -04:00
rigelrozanski c90d62e035 rebase fixes 2018-04-18 12:18:28 -04:00
rigelrozanski c4a1c12119 gaia app_test for declare candidacy 2018-04-18 12:18:28 -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