Commit Graph

497 Commits

Author SHA1 Message Date
Rigel d9dc061b4f
Merge pull request #1819: rational -> decimal
* changelog

* ...

* decimal func working

* decimal complete, untested

* fixing tests

* decimal compile errors resolved

* test compile errors

* precision multiplier test

* 1% laptop battery

* fixed TestNewDecFromStr

* equalities working

* fix bankers round chop

* ...

* working, some decimal issues resolved

* fix rounding error

* rounding works

* decimal works

* ...

* deleted rational

* rational conversion working

* revert changelog

* code compiles (not tests)

* went through all NewDec, made sure they were converted from NewRat properly

* test debugging

* all testing bugs besides the json marshalling fixed

* json unmarshal

* lint

* document update

* fix lcd test

* cli test fix

* mostly undo Dece -> Rate

* val comments

* Efficiency improvements

This now caches all of the precision multipliers (as they were all
used in non-mutative functions), and caches the precisionInt calculation.
(Now it just copies the already calculated value)

* Cache another precisionInt() call.

* Improve banker rounding efficiency

* remove defer, make negation in-place.

* chris val comments

* bez comments

* Aditya comments

* ...

* val comments

* rebasing start

* ...

* compiling

* tests pass

* cli fix

* anton, cwgoes, val comments

* val and jae comments

* type

* undo reuse quo
2018-08-14 20:15:02 -04:00
Matthew Slipper 8fa2c3b4ea Merge PR #1984: Replace _ with - in command names
Closes #1955
2018-08-14 10:23:42 +02:00
Federico Kunze 63713c9378 Merge pull request #2000: tests for staking lcd
* Added tests for Delegator Validators routes

* Updated tests for undelegations

* Updated Gaia-lite docs

* Updated PENDING.md

* Updated comments

* Deleted more comments

* Add spacing
2018-08-13 18:06:48 -04:00
Zach f18c01d291 Merge PR #1994: Delete install.md 2018-08-13 13:15:01 +02:00
gamarin2 c5fcc9b65f Add SDK_By_Examples to doc (#1795)
* Add simple gov example and sdk-by-example folder

* Add simple gov example

* Add simple gov example and sdk-by-example folder

* Add simple gov example

* fix sectino title

* Jb feedback + Offload some of the content in other docs

* Add what is cosmos back

* platform to framewoork

* Reemove testnet
2018-08-12 03:37:26 -04:00
Dev Ojha b2a4aecc44 Upgrade to tm version 23.0. (#1927)
* Start upgrade. Currently go test ./... hangs.

* (squash this) Fix staking tests

* wip

* note what changes need to be made to make this work on tm v0.23.0

* Fix addr -> pubkey map

* cleanup code

* Fix slashing test failures except for begin blocker

* fix all slashing tests

* fix lcd tests

* Address PR comments

* add link to changelog.

* (wip) start making addrToPubkey map persisted. Since amino can't handle maps,
we have to change from what this commit is doing.

* Use the correct method of storing a map

* (squash this) address PR comments

* Did you run 'make'?

* remove gaiadebug binary
2018-08-12 03:33:48 -04:00
Ethan Buchman 691048c88a
Merge pull request #1917 from gamarin2/update_val_faq
Update validator faq
2018-08-12 03:32:59 -04:00
Christopher Goes 8f05d052f2 Merge branch 'master' into cwgoes/stage 2018-08-11 15:04:28 +02:00
Jae Kwon 0600d7356d
Update PRIORITIES.md 2018-08-08 13:06:01 -07:00
Jae Kwon bd65dbe2df
Update PRIORITIES.md 2018-08-08 12:59:21 -07:00
Jae Kwon 9342e34da2
Update PRIORITIES.md 2018-08-08 12:58:27 -07:00
Jae Kwon b333d56b36
Update PRIORITIES.md 2018-08-08 12:55:23 -07:00
Jae Kwon 950f151e02
Update PRIORITIES.md 2018-08-08 12:49:02 -07:00
Ethan Buchman e6dc01ec27
Bucky/docs (#1843)
* docs: updates for 7002

* docs: use master instead of versions

* Update validator-setup.md

* 7002 -> 7005
2018-08-08 12:26:31 -04:00
Federico Kunze 1da1115a24 Merge PR #1880: Staking Gaia-lite (ex LCD) refactor 2018-08-08 12:38:39 +02:00
Rigel 7fb626f548 Merge PR #1702: lamborghini distribution & inflation spec upgrade 2018-08-08 12:10:21 +02:00
Christopher Goes 46382994a3
Merge PR #1925: Fix develop from FF merge
* Update types/coin_test.go from FF merge
* 'make format'
2018-08-06 21:49:17 +02:00
gamarin f90fd2b90c update val faq 2018-08-03 17:43:31 +02:00
Zach 3c4985c315 Merge PR #1913: Delete gaiacli.md 2018-08-03 02:18:48 +02:00
Jae Kwon 9841a2dd91
Update PRIORITIES.md 2018-07-31 16:46:43 -07:00
Jae Kwon a5114ea1a2
Create PRIORITIES.md 2018-07-31 12:43:02 -07:00
Christopher Goes 02d52e4326 Hotfix/0.23.1: Tendermint 0.22.7 (#1844)
* Tendermint 0.22.7; bump patch version

* 0.23.0 -> 0.23.1; update CHANGELOG.md
2018-07-26 19:24:51 -04:00
Jack Zampolin 12ef51dc7a Add a Release Process for SDK (#1803)
* Add docs/RELEASE_PROCESS.md

* Address PR comments
2018-07-26 16:55:41 -04:00
Dev Ojha 78c58bfa15 Merge PR #1836: docs: Fix build errors on latest tendermint 2018-07-26 10:19:48 +02:00
Ethan Buchman a627526639
Bucky/docs (#1832)
* deprecate gaia testnets dir for testnets repo

* update docs for gaia-7002
2018-07-26 01:10:22 -04:00
Dev Ojha bac91f7a7b Update to tendermint v0.22.6 (#1798)
* Update to tendermint v0.22.6

- This was cherry-picked and fixed from develop
- Updates all crypto imports for changes from v0.22.5
2018-07-25 17:13:30 -04:00
Dev Ojha 5d02a743fb Update to tendermint v0.22.6-rc0 (#1798)
* Update to tendermint v0.22.6-rc0

This is comprised of updating the crypto imports / API

* (squash this) switch to v0.22.6

If this passes tests, I'll squash this commit and update the PR.
2018-07-25 16:43:37 -04:00
Rigel d6cd0d4acc Merge PR #1818: CLI keybase-sig -> identity 2018-07-25 20:43:13 +02:00
Aditya 671d8494b4 Merge PR #1682: Docs example app tests 2018-07-24 06:13:55 +02:00
Aditya Sripal 48885b4093 merge 2018-07-19 11:38:44 -07:00
Ethan Buchman 27840abb38
Merge pull request #1617 from cosmos/adrian/lcd_spec_final
LCD and API Specification / Documentation
2018-07-19 17:44:13 +02:00
Rigel d2f70ec8af Merge PR #1748: CLI use --from consistently 2018-07-19 08:53:12 +02:00
Rigel 8e26eb73a5
Merge branch 'develop' into svaishnavy/cosmos-sdk-cli 2018-07-18 21:27:04 -04:00
Aditya Sripal 218c9b3702 Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup 2018-07-18 17:48:15 -07:00
Aditya Sripal 8cdbc4b267 fix baseapp docs 2018-07-18 16:37:02 -07:00
Aditya Sripal ca5e1591b1 update documentation 2018-07-18 16:32:50 -07:00
Aditya Sripal 81f3e794fe make breaking changes 2018-07-18 16:24:16 -07:00
svaishnavy 1d9415eae0
Replacing with a single backtick 2018-07-18 21:37:11 +02:00
svaishnavy b7783a8a26
Making suggested changes 2018-07-18 21:20:38 +02:00
Sridhar Ganesan 9c5406891e Changing docs for cosmos-sdk-cli - including $ before beginning shell command 2018-07-18 12:18:57 +02:00
Sridhar Ganesan 8edac192e0 Moving cli.md to cosmos-sdk-cli.md 2018-07-17 21:50:25 +02:00
Sridhar Ganesan dedb2e4278 Formatting the command properly 2018-07-16 22:30:11 +02:00
Sridhar Ganesan 0bde720c80 Adding docs for cosmos-sdk-cli 2018-07-16 22:28:21 +02:00
Zach Ramsay 4e1cbb7d51 docs: how they're updated 2018-07-16 14:19:11 -04:00
Aditya Sripal 5b98a3da48 Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup 2018-07-13 17:22:56 -07:00
Rigel 3231daa4d8 remove global shares (#1644)
* wip removing pool shares

* remove PoolShares/Tokens entirely

* worked through stake/type compile error

* work through a bunch of keeper errors

* worked through compile errors

* debugging tests

* resolve compilation error

* resolved types errors

* ...

* move inflation to pool type

* ...

* stumped problem

* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation

* Rounding changed

* Update x/slashing tests for sdk.Rat BondedTokens

* testing fixes

* resolved test fixes

* cwgoes comments, changelog, lint

* cli bugfixes

* ..

* cli fixed

* spec update

* 'make format'

* cwgoes comments

* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
Aditya Sripal cd23f8b370 Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup 2018-07-13 12:35:55 -07:00
Ethan Buchman faa88d83c7
Merge pull request #1656 from cosmos/jordan/cosmos-docs
update docs folder to match cosmos.network/docs/
2018-07-13 20:24:08 +01:00
Ethan Buchman 32496c7b89
Merge pull request #1129 from cosmos/gamarin/update_gov_spec
WIP: Update gov spec
2018-07-13 20:00:17 +01:00
Aditya Sripal 4751727351 fmt 2018-07-12 19:06:54 -07:00