Commit Graph

164 Commits

Author SHA1 Message Date
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
Rigel
9dbdb1a55f
Merge branch 'develop' into bucky/gaiadebug-bech32 2018-06-27 19:32:24 -04: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
Ethan Buchman
5b29a509cd gaiadebug: support bech32 2018-06-25 17:42:48 -04:00
Adrian Brink
296ba2d56e Merge PR #1350: Update README.md 2018-06-23 04:45:24 +02:00
Sunny Aggarwal
dc2c8f900b Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +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
Peng Zhong
81c773c8bf Merge PR #1328: Testnet readme: how to edit validator description
* show how to edit validator description
* teach about keybase sig
* add dash
* add more dashes
* talk about logos for validators
2018-06-21 19:12:35 +02:00
Jack Zampolin
fb7e370c65 Merge PR #1316: Update testnet validator instructions
* Update testnet validator instructions
* Address PR comments
2018-06-21 05:15:29 +02:00
Christopher Goes
918e217e1f
Merge PR #1280: Implement simple transaction memos
* AltBytes -> Memo, memo CLI support & thread-through
* Check memo size, update changelog
* Update existing testcases
* Nuke CircleCI caches
* Charge gas proportional to memo size
* Fix gas allocations in ante handler testcases
* Add testcases
* Update changelog
* Fix tiny CLI bug & add to CLI tests
* Add '--memo' to gaiacli
* Add testcase for large memos
* Address PR comments
2018-06-20 21:27:36 +02:00
Peng Zhong
0b0236f2bf Merge PR #1309: Update testnet README with solutions to common problems
* update readme with common problems
* readme tweaks
* readme tweak
* Link to nodes page, not a single node, and rephrase slashing
2018-06-20 07:37:59 +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
Greg Szabo
59698f8368 Changed denom to token 2018-06-14 13:42:38 -07:00
Greg Szabo
f8290a0fc3
Merge branch 'develop' into greg/testnet-command-2 2018-06-14 11:34:26 -07:00
Greg Szabo
92fb6685fc Rename fermion to denom in genesis.go 2018-06-14 10:56:24 -07:00
Ethan Buchman
329bbdd502 Merge branch 'master' into develop 2018-06-13 18:05:45 -07:00
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