Commit Graph

320 Commits

Author SHA1 Message Date
Sunny Aggarwal 4effa6f8d4 Merge PR #1357: RESTful governance endpoints
* get deposit rest endpoint
* query proposals
* changelog
* fixed commented out headers
* fixed undeterministic tests
* increase circle test timeout
* MustBech32ifyAcc
* asdf
2018-06-28 01:49:59 +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
Dev Ojha 2e97baabf6 Merge PR #1358: Fix typos and gofmt files
* Fix typos
* gofmt -s files
* Add mispellings and gofmt checks to circle CI
* circleci: Install misspell in the linting step
2018-06-25 20:23:17 +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
Fabian 4884747662 Merge PR #1317: Added tx hash to query output in LCD
* added tx hash
* changelog
2018-06-21 19:21:58 +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
Christopher Goes 2a9bc2153a Merge pull request #1310: Fix x/bank REST handler
* Update sendtx.go

* Pass chain_id through in LCD tests

* Update changelog
2018-06-20 10:34:12 -07:00
Dev Ojha 1f88b0bf8f Merge PR #1281: Don't run defers if it would result in an NPE
* Don't run defers if it would result in an NPE
* Nuke CircleCI caches
2018-06-16 09:49:55 +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 f68e903d06 Merge PR #1260: Fixed url encoding issue 2018-06-15 22:24:04 +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
Dev Ojha bd362ee590 Merge PR #1090: Switch away from ephemeral ports
* Switch ports 4665x to be 2655x
This is done so the default ports aren't in the linux kernel's default ephemeral port range.
* Missed one doc file, change dep so gaiad works
* Update changelog, fix Gopkg.lock
2018-06-14 00:13:51 +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
Ethan Buchman 1cd3a6255a fix from merge 2018-06-12 23:12:55 -07:00
Ethan Buchman 2219548d0e fix from merge 2018-06-12 22:45:51 -07:00
Ethan Buchman 85c7702ca0 Merge branch 'master' into local/develop 2018-06-12 22:40:54 -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
Rigel 1b20adcd22 Merge PR #1191: LCD cleanup / add LCD gas field
* remove global variables from lcd
* added make race, fix lcd race condition
* cleanup
* Five-character changelog update
2018-06-12 03:12:37 +02:00
Fabian 8ece807301 Merge PR #1085: Re-enable tx history in LCD
* reenable tx search
* removed not needed argument
* register types for decoding
* trying to fix indexing tests
* added tx hash query test
* Fix x/bank tagging
* remove dead code
* remove print
* extended tests for tx querying
* changelog
* added txs address querying
* linted
* rename
* use prefix for bech32 addresses in tags
* changed error message
* Fix tiny linter issue
2018-06-11 22:09:29 +02:00
Christopher Goes c6796b8fba Add --gas flag to specify gas limit for a transaction 2018-06-09 09:31:59 -07:00
rigelrozanski d84296ed37 lawl viper 2018-06-09 09:31:59 -07:00
rigelrozanski c08a3fec04 lawl viper 2018-06-09 01:04:40 -07:00
Christopher Goes d47b7cf5fa
Add --gas flag to specify gas limit for a transaction 2018-06-09 08:51:31 +02:00
Ethan Buchman a277ba91c7 Merge PR #1178: Merge master (Tendermint updates)
* update to tm v0.19.6
* update tm to 0.17.4
* update for tm v0.19.9
* update godep
2018-06-09 06:34:27 +02:00
Ethan Buchman 2913d14239 Merge branch 'master' into develop 2018-06-08 19:31:48 -07: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
Ethan Buchman f3f2729b11 update for tm v0.19.9 2018-06-05 18:04:16 -07:00
Jeremiah Andrews 5a831bd0f8 additional changes 2018-06-04 18:35:07 -07:00
Christopher Goes 781975d6a0
Feedback on REST server start (closes #973) 2018-06-04 17:39:28 +02:00
Zaki Manian ce850dca3b Switch from bech32cosmos to bech32 2018-06-01 16:23:58 +02:00
Jeremiah Andrews 744f78573e small fixes 2018-05-31 21:50:01 -07:00
Jeremiah Andrews a032386e87 Added comments to newly exported functions 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
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 1f1097c4d3 cli test bugs 2018-05-31 14:57:09 -07:00
rigelrozanski 17a861da43 key utils output with cdc 2018-05-31 14:57:09 -07:00
rigelrozanski afc2bbfe09 working through cli 2018-05-31 14:56:17 -07:00
rigelrozanski ecf800810c remove append usage from lcd, fix address order test issue in lcd 2018-05-30 09:00:00 -07:00
Rigel 1c462013a9
Merge branch 'develop' into matt/stake-rest 2018-05-30 10:53:12 -04:00
rigelrozanski 52cd8b8c1f fix endPath missing bug for query 2018-05-30 07:42:59 -07:00
Matt Bell 99e5c5a18f Restored validators query endpoint 2018-05-29 15:07:03 +09:00
Christopher Goes 5055a4af45
Tiny indentation fix 2018-05-29 04:51:11 +02:00
Ethan Buchman f946b630a4 fixes from review 2018-05-28 22:20:30 -04: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
Matt Bell cfa1d42292 Fixed LCD staking tests 2018-05-26 17:37:39 +09:00
rigelrozanski 57d86cc04c fix many lcd errors, restructure lcd init 2018-05-25 10:17:49 -04:00
Matt Bell 0738de17f4 Removed candidates endpoint and addressed some comments 2018-05-25 09:32:43 +09:00
Matt Bell 6ad16e6c90 Changes to /stake/candidates REST handler 2018-05-25 09:32:37 +09:00
Matt Bell cb107c7383 Fixed LCD tests 2018-05-25 09:32:37 +09:00
Matt Bell 2c46662141 Added LCD test for candidates query 2018-05-25 09:32:37 +09:00
Matt Bell 10056d36d1 Set generated candidate addresses in lcd tests 2018-05-25 09:32:37 +09:00
Matt Bell 98b9040c63 Use actual types for genesis doc instead of unmarshaling JSON 2018-05-25 09:32:37 +09:00
Matt Bell 39995fe065 Added (non-working) stake REST tests 2018-05-25 09:32:12 +09:00
Matt Bell 5b81938e57 Enable stake REST routes 2018-05-25 09:32:12 +09:00
sunnya97 5d7c3af1b8 works 2018-05-23 22:09:01 -07:00
sunnya97 cb52712660 in progress 2018-05-23 19:49:35 -07:00
Ethan Buchman 5e858129c5 Merge branch 'master' into develop 2018-05-20 17:12:14 -04:00
Ethan Buchman 33af8ee7e8 update to tm v0.19.5 2018-05-20 10:35:19 -04:00
Christopher Goes 4134bf922c
Address PR comments 2018-05-16 02:06:17 +02:00
Christopher Goes 8c1c40b89a
New store query prefixes (ref #979) 2018-05-16 01:13:49 +02:00
rigelrozanski 677559bf6c cwgoes comments 2018-05-09 18:24:51 -04:00
rigelrozanski d464779d34 iter->substore, enable delegator bonds query 2018-05-08 15:57:12 -04:00
rigelrozanski d44c7afa30 add range queries, add candidates query 2018-05-08 15:57:12 -04:00
Christopher Goes 10540e38db
Handle case of empty (new) account 2018-05-03 23:19:56 +02:00
Christopher Goes 4911db850d
Fix auto-sequencing (closes #950) 2018-05-03 18:35:12 +02:00
Christopher Goes 67961476b4 Fix testsuite 2018-04-27 20:06:50 -04:00
rigelrozanski 54a5869efd added used of cobra arg constraints 2018-04-26 17:32:20 -04:00
rigelrozanski 05c5809bae gaia init automatic key processing 2018-04-26 14:26:39 -04:00
Ethan Buchman d1402f4e92 move waitForXxx funcs from lcd to tests.WaitForXxx 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
rigelrozanski 3e7481d00f updated docs for new key work
updated docs for new key work
2018-04-20 13:16:03 -04:00
rigelrozanski ca3d3be3af better key output 2018-04-20 12:51:47 -04:00
rigelrozanski d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
rigelrozanski 1f9184a24b basic go-linting // moved corecontext 2018-04-18 15:39:32 -04:00
rigelrozanski e584d5acac ci build -> install
pubkey issue

...

rebase fixes

...
2018-04-18 12:19:35 -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
Christopher Goes 49b8978454 Swap all examples & testcases to use automatic DB namespacing 2018-04-14 17:05:50 -07:00
Jae Kwon 62112eab17
Merge branch 'develop' into jae/fixrmssubstores 2018-04-13 02:06:27 -07:00
Jae Kwon d530ee2abc Fix MountStoreWithDB(); Bump to 0.15.0-rc0 2018-04-13 02:04:31 -07:00
Christopher Goes 25d0fb593c
Address PR comments 2018-04-11 17:48:15 +02:00
Rigel 5212ac02e4
Merge pull request #812 from cosmos/cwgoes/misc-cli-fixes
Misc CLI fixes
2018-04-11 11:42:38 -04:00
Christopher Goes 24f3a3a71c
Recreate RPC client on WithNodeURI 2018-04-11 11:25:52 +02:00
rigelrozanski c741be16ce next sequence comment, CHANGELOG updates 2018-04-10 17:45:23 -04: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
Christopher Goes 0be655b122
Automatically determine chainID, throw error if not provided (closes #810) 2018-04-10 11:16:29 +02:00
Ethan Buchman 1860f988b6 fix tests 2018-04-07 20:56:49 +03:00
Jae Kwon 413780807e WIP 2018-04-07 02:16:41 -07:00
Jae Kwon a06cfbeaa8 ... 2018-04-07 00:19:44 -07:00
Jae Kwon 49fdf80d9d WIP commit 2018-04-06 17:25:08 -07:00
Christopher Goes 12f4a21d03
Reuse Tendermint client instance (closes #671) 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