Commit Graph

3069 Commits

Author SHA1 Message Date
Rigel 473ac4a38e Merge PR #1423: PR Template labels 2018-06-28 03:22:57 +02:00
Rigel 2f3e1a3fde
Merge branch 'develop' into bucky/gaiadebug-bech32 2018-06-27 20:41:42 -04:00
Dev Ojha 6d9f07dfee tools: Add go vet as a linter (#1421)
* tools: add go vet

* tools: Add go vet as a linter
2018-06-27 20:32:06 -04:00
Rigel 36e8c27786
Merge branch 'develop' into bucky/gaiadebug-bech32 2018-06-27 20:28:48 -04:00
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 9dbdb1a55f
Merge branch 'develop' into bucky/gaiadebug-bech32 2018-06-27 19:32:24 -04:00
Rigel 50733f5c22
Merge branch 'develop' into develop 2018-06-27 19:22:48 -04:00
Aditya 9b4838d96e Merge PR #1367: Set ChainID on InitChain
* Added chain-id to context in InitChain
* Fix bug in test
* fmt
* Appease linter
* updated changelog
* Remove chainID hack
* setCheckState in InitChain
* Fix bug
* Fix initialization errors in example tests
* Initialize app tests with default stake genesis
* fix comments
2018-06-28 00:45:10 +02:00
Dev Ojha 49f421db19 Merge PR #1332: benchmarks: Add benchmark for block time to bank module
* benchmarks: Add benchmark folder, and single benchmark for block time
* Move benchmark into module
* Fix merge conflict errors
* Fix spelling
* Add instructions to run benchmark
* Update auth_app_test.go
2018-06-28 00:33:56 +02:00
Dev Ojha 3dc2387124 Merge PR #1404: Add more context for errors when no address is provided 2018-06-27 19:39:57 +02:00
Joon 6018e719d2 Merge PR #1069: Oracle Module
fix prefixstore iterator
in progress
fix mock validator
fix NewContext
add to changelog
apply requests
fix mock
2018-06-27 19:21:12 +02:00
Ethan Buchman 6bbe295d7f app3 coin keeper 2018-06-27 12:45:01 -04:00
Ethan Buchman 0c5e3fdc74 some cleanup, remove old files 2018-06-27 10:08:55 -04:00
Ethan Buchman b335d3bb70 app3 ante handler 2018-06-27 09:53:00 -04:00
Ethan Buchman bd581b22e8 working on app3 2018-06-27 09:02:11 -04:00
Ethan Buchman d6a01ba3a4 minor updates in App2 2018-06-27 08:24:40 -04:00
Ethan Buchman 0987787896 more app1 cleanup 2018-06-27 08:11:11 -04:00
Ethan Buchman 6a5a8b4721 minor cleanup 2018-06-27 07:59:20 -04:00
Ethan Buchman fc81c14a16 update/finish app1 go and md 2018-06-27 07:51:46 -04:00
Ethan Buchman 354f9760f8 move AnteHandler to app2 and some cleanup in app3 2018-06-27 07:15:30 -04:00
Aditya Sripal 41c61d2cc7 Revert changes to app1 router 2018-06-27 07:15:30 -04:00
Aditya Sripal e11e469340 Initialize coin metadata in app4 and fmt 2018-06-27 07:15:30 -04:00
Aditya Sripal c0445e52b0 Remove unnecessary fields from simple account 2018-06-27 07:15:30 -04:00
Aditya Sripal d1c9b8bdb9 Finish app1-3, app4 done minus staking 2018-06-27 07:15:30 -04:00
Ethan Buchman e6aec82f40 update readme 2018-06-27 07:15:30 -04:00
Ethan Buchman 72c1381a4d some reordering in app1 and app3 2018-06-27 07:15:30 -04:00
Ethan Buchman dde8abf9d7 more structure for app2 and app3 md 2018-06-27 07:15:30 -04:00
Ethan Buchman 69a4737659 more minor fixes 2018-06-27 07:15:30 -04:00
Ethan Buchman cc4f2541c5 fix comment 2018-06-27 07:15:30 -04:00
Ethan Buchman bc35c72952 minor fixes 2018-06-27 07:15:30 -04:00
Ethan Buchman 7566ac2a94 consolidate files into appX.md 2018-06-27 07:15:30 -04:00
Ethan Buchman b3b075cc12 finish docs for app1 2018-06-27 07:15:30 -04:00
Aditya Sripal 05db92f154 Added handler to app1 2018-06-27 07:15:30 -04:00
Ethan Buchman 234d7498de docs/examples: templates for more examples 2018-06-27 07:15:30 -04:00
Ethan Buchman 7e50e7d125 docs: update readme structure with example apps 2018-06-27 07:15:30 -04:00
Ethan Buchman 9233e35716 example app1 2018-06-27 07:15:30 -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
Dev Ojha d6df6b07d1 Merge PR #1388: types/int: Switch Int, Uint to use pointers internally
* types/int: Switch Int, Uint to use pointers internally
This reduces the amount of pointer refs & derefs.
* Fix nil pointers on unmarshalling amino
* Fix elusive bug in marshalling with unitialized big int
* Remove debug code
* Switch big.rat to use pointers internally
2018-06-27 03:10:34 +02:00
Sunny Aggarwal 9ca3a16bb3 Merge PR #1397: Fix spelling changes
* fixed spelling changes
* extra spelling error
2018-06-27 01:58:42 +02:00
Christopher Goes 8778576b93
Merge PR #1391: Remove Viper from ante handler
No longer necessary.
2018-06-27 00:05:51 +02:00
Christopher Goes 8bdf06b9f6 Remove Viper from ante handler 2018-06-26 23:45:31 +02:00
7768 4f57a765ad Merge PR 1354: CLI: Show fractional in human-readable format
Fix https://github.com/cosmos/cosmos-sdk/issues/1353

before:
```
Shares: Status Bonded,  Amount: -6508168128760126341/-3308135364330552608
Delegator Shares: -6508168128760126341/-3308135364330552608
```
after:
```
Shares: Status Bonded,  Amount: 2.0000000000
Delegator Shares: 2.0000000000
```
2018-06-26 19:26:12 +02:00
Christopher Goes ff09c76471
Merge PR #1383: Pin exact versions 2018-06-26 09:03:27 +02:00
Dev Ojha 9f30a90980 Merge PR #1374: types/rat: Fix overflowing in printing
This now uses the underlying golang big.rat's string function,
instead of casting to num and den which are int64s.

Closes #1258
2018-06-26 05:03:55 +02:00
Dev Ojha 893bb4027d Merge PR #1377: types: remove GetMemo from Tx
This method is an unneccessary requirement on Tx. Auth casts the Tx
to StdTx, so the memo can be obtained in previous usecases from
StdTx. This also makes it more clear for when something is
implementing StdTx vs Tx.

Resolves #1375
2018-06-26 04:37:21 +02:00
Dev Ojha f2a83a07f9 Merge PR #1366: tests: add method to wait for n blocks to pass
Adds a helper method to tests/util.go for waiting for N blocks to
pass. This is useful for situations when you need to wait for
multiple blocks to pass, but don't know the current block number.
In general, this is safer than using "wait for height", since the
block height could have advanced further than expected while the
test was running.

Resolves remaining point in #1283
2018-06-25 23:53:48 +02:00
Ethan Buchman 5b29a509cd gaiadebug: support bech32 2018-06-25 17:42:48 -04:00
Ethan Buchman 300a360714 fix tmcmd.ResetAll 2018-06-25 16:45:27 -04:00
Jae Kwon 7487f67346 Use new tmlibs/common.Error for sdk.Error 2018-06-25 16:44:09 -04:00
Ethan Buchman 12f71876e8 update dep 2018-06-25 16:42:29 -04:00