Commit Graph

2754 Commits

Author SHA1 Message Date
Ethan Buchman 1d4d9e922f simplify and complete app3 2018-06-28 23:42:04 -04:00
Ethan Buchman d1a42e0691 satisfy linter 2018-06-28 20:23:09 -04:00
Ethan Buchman d0efeb1020 fill in app3 todos. simplify app3.go 2018-06-28 20:17:50 -04:00
Ethan Buchman 778b102a52 more app1/app2 cleanup 2018-06-28 20:08:38 -04:00
Ethan Buchman e7081040d0 address TODOs in app 1 and 2 2018-06-28 19:41:40 -04:00
Ethan Buchman e8946e9b36 fixes from review 2018-06-28 19:06:37 -04:00
Ethan Buchman 3a96f8ffd1
Merge pull request #1434 from cosmos/bucky-aditya/docs-core
Bucky aditya/docs core
2018-06-28 15:35:15 -04:00
Aditya Sripal 4e2eb240f3 Appease linter 2018-06-28 15:08:39 -04:00
Aditya Sripal e3f38b6f6c Added some documentation 2018-06-28 15:08:34 -04:00
Aditya Sripal 98be0e7f76 Improved apps with better handling/routing and simpler MsgIssue 2018-06-28 15:08:30 -04: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
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
Dev Ojha eb097c4c5c Merge PR 1361: server: Use differing defaults from tendermint
When loading the config file, this now checks in the sdk if the file
already exists. If not, it writes a config with different defaults.
The defaults differ by having the profiler listen address set,
and increasing the receive / send rates.
2018-06-25 18:33:07 +02:00
Adrian Brink 296ba2d56e Merge PR #1350: Update README.md 2018-06-23 04:45:24 +02:00
Christopher Goes b098c0da74
Merge PR #1344: Swap parallelism: 4 to parallelism: 1 2018-06-22 22:58:48 +02:00
Dev Ojha 15bba919e2 Merge PR #1341: Switch gometalinter to stable
* Switch gometalinter to stable
* Delete empty folder
2018-06-22 22:08:50 +02:00