Commit Graph

3684 Commits

Author SHA1 Message Date
Christopher Goes 8afacac99d Remove extra space 2018-08-15 15:53:41 +02:00
Christopher Goes 38c65f036c Update PR template 2018-08-15 15:51:01 +02:00
Rigel 5fff217e9b Merge PR #2033: staking lcd uses owner address not pubkey address 2018-08-15 15:04:01 +02:00
Christopher Goes 53242681fe Two bullet points 2018-08-15 12:50:07 +02:00
Max Levy a4bcbc972e Merge PR #2036: Update examples to bech32
Using the addresses in Bech32 form
2018-08-15 12:04:16 +02:00
Christopher Goes 5624b1d7e5 Update PRIORITIES.md 2018-08-15 11:57:11 +02:00
Dev Ojha d37de06762 decimal: Remove unnecessary allocation in bankers round chop (#2030)
This is done by making the function mutative. A non-mutative variant
is created for functions that depend on it being non-mutative.
2018-08-14 21:49:40 -04:00
Dev Ojha 4b13529f2d Merge pull request #2029: fix build error 2018-08-14 21:10:57 -04:00
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
Aleksandr Bezobchuk f252f3e36c Update Cosmos signed messages ICS doc
- Address PR comments
- Fix markdown lint errors
2018-08-14 13:36:51 -04:00
Christopher Goes 21be609f52 Changes WIP 2018-08-14 19:04:57 +02:00
Christopher Goes a2463d038b Clarify points from PR review 2018-08-14 18:04:32 +02:00
Christopher Goes 32263ffe4d Merge branch 'develop' into cwgoes/slashing-period-spec 2018-08-14 17:56:46 +02:00
Christopher Goes 52475b1684 Fix minor typos 2018-08-14 11:31:39 +02:00
Avi Saranga 0adbd60dfa Merge PR #1989: Openbsd support 2018-08-14 10:39:27 +02:00
Dev Ojha 9997ea2243 Merge PR #2016: dep: Fix error with scratch directory
If dep already sees its scratch directory (.vendor-new), dep ensure fails. This rm -rf's that directory so make get_vendor_deps doesn't fail.
2018-08-14 10:35:08 +02:00
Matthew Slipper 8fa2c3b4ea Merge PR #1984: Replace _ with - in command names
Closes #1955
2018-08-14 10:23:42 +02:00
Jack Zampolin 1ae546610c
Merge pull request #2013 from cosmos/dev/fix_non_determinism_storekey
Rename transient store key to be a unique key.
2018-08-13 19:08:59 -07:00
ValarDragon 165fdf4a07 (squash this) Add PR ref in changelog 2018-08-13 18:26:16 -07:00
ValarDragon 0d41026a0a Rename transient store key to be a unique key.
This caused an error with non-determinism between nodes with same
gaiad version and genesis.
2018-08-13 15:13:37 -07: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
Jack Zampolin c9cbb0b094 Merge PR #2010: Add RELEASE_TEST_SCRIPT.md 2018-08-13 21:41:07 +02:00
Dev Ojha 1854430e7b makefile: Improve error message when LEDGER_ENABLED=True & no gcc (#2008)
Closes #2005
2018-08-13 20:42:38 +02:00
Juan Leni 61b49d560f Merge PR #2003: Update upstream Ledger Go client 2018-08-13 18:16:41 +02:00
Juan Leni 36b54e190f Merge PR #2003: Update upstream Ledger Go client 2018-08-13 18:15:54 +02:00
Christopher Goes 8b7d6e0979 Update state machine, contd. 2018-08-13 17:52:58 +02:00
Ethan Buchman 1cb89b958b update pending 2018-08-13 11:14:01 -04:00
Christopher Goes 2445718295 State machine contd. 2018-08-13 17:03:39 +02:00
Ethan Buchman e64a5538e4 update changelog, reset pending 2018-08-13 10:48:03 -04:00
Ethan Buchman d3322052db update pending.md 2018-08-13 10:48:03 -04:00
Christopher Goes 07a7db7fda Update links 2018-08-13 16:12:59 +02:00
Christopher Goes a8af4a4fad End block to begin block, add README 2018-08-13 16:04:35 +02:00
Christopher Goes 0b2bf8f3a0 Set SignedBlocksWindow to 10000 per @zmanian instructions 2018-08-13 15:56:40 +02:00
Christopher Goes 53fa4a28dc Start update of state-machine.md 2018-08-13 15:55:30 +02:00
Christopher Goes ff01cbb093 Update state.md 2018-08-13 15:48:23 +02:00
Christopher Goes a56117ee74 Stage onto release/v0.24.0 (#1999)
* Set SignedBlocksWindow back to 1000

* Merge PR #1995: upgrading ledger goclient lib

* Update version/version.go
2018-08-13 09:41:53 -04:00
Christopher Goes 98a278d564 Reorganize sections 2018-08-13 14:56:10 +02:00
Christopher Goes 84e9b215b2 Fix typo 2018-08-13 14:54:42 +02:00
Christopher Goes 4f8c9e4917 Update transactions.md 2018-08-13 14:51:01 +02:00
Juan Leni 1a64c8747c Merge PR #1995: upgrading ledger goclient lib 2018-08-13 13:21:05 +02:00
Zach f18c01d291 Merge PR #1994: Delete install.md 2018-08-13 13:15:01 +02:00
Ethan Buchman 59acfe857f WIP: reorg PENDING.md 2018-08-12 20:11:08 -04:00
Ethan Buchman 0ab00c8e87 update go-amino dep 2018-08-12 20:10:40 -04:00
Greg Szabo 68c9214721 DataDog log gathering (#1931)
* Added datadog service log gathering

* Updated PENDING.md

* monitoring script fixes so logs don't fill the disk space
2018-08-12 03:38:53 -04: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
Ethan Buchman 243fa20558
Merge pull request #1985 from cosmos/cwgoes/stage
Merge master into develop on staging branch
2018-08-12 01:56:34 -04:00
Jae Kwon a9800a92ae Fix slashing test to reflect SlashFractionDowntime param 2018-08-12 01:08:35 -04:00
Jae Kwon 77d02e348e fixed proposaltype string bug (#1829)
* fixed proposaltype string bug
2018-08-12 01:05:08 -04:00