Commit Graph

4794 Commits

Author SHA1 Message Date
gamarin
a0a49d80a7 sdk tuto sidebar 2018-12-12 17:37:35 +01:00
gamarin
93e3d2950d merge 2018-12-12 14:17:07 +01:00
gamarin
e1d9fac340 reference to concepts 2018-12-12 14:16:00 +01:00
Alessio Treglia
f5e0379ef5 Merge PR #3087: Fix gaia lite docs on REST server's SSL flags
* Fix gaia lite docs on REST server's SSL flags

Closes: #3086

* Fix rest-server command call

Advanced was removed long ago
2018-12-12 13:17:15 +01:00
Dev Ojha
a31dc20e6a Merge PR #2990: Update f1 spec
* Update f1 spec:

* Improves exposition of the base scheme
* Fix inflation section / add sketch of how to do it
* Add future work section

I've also realized that using the ideas of the inflation section,
we could even remove the iteration over slashes when withdrawing!
(Note, inflation section equations / proof of correctness has not been
thoroughly transcribed from my head onto paper, so its not guaranteed to
be correct at the moment. However the inflation section of this describes
something separate from inflation in the hub. It has inflation happen by
having each staked token produce more staked tokens, instead of having it come
through block rewards. This inflation can also happen per validator,
so as to enable non-signing validators to not get inflation)

* Fix grammar

Co-Authored-By: ValarDragon <ValarDragon@users.noreply.github.com>

* Add proof of correctness to the inflation section

* Re-update PDF after merging chris' fixes

* address more of @cwgoes' suggestions
2018-12-12 13:13:53 +01:00
Jack Zampolin
0fbe319471
Code cleanup and refactor of LCD Tests (#3077) 2018-12-11 13:57:17 -08:00
Jack Zampolin
d8528ee4e8 Remove unused code 2018-12-11 13:30:03 -08:00
Jack Zampolin
6f08a0e76a Address PR comments 2018-12-11 13:04:59 -08:00
Jack Zampolin
b2f458ab48
Update broken links (#3035) 2018-12-11 11:52:22 -08:00
Jack Zampolin
5ecc52cdd3
Merge pull request #3082 from cosmos/zach/dahks
make sidebar titles nicer
2018-12-11 11:51:52 -08:00
zramsay
490a8d61c0 update release test script links, closes #2606 2018-12-11 14:40:25 -05:00
Jack Zampolin
206566f043 Adjust for redelegation and unbonding changes 2018-12-11 11:34:02 -08:00
Jack Zampolin
2f9b062cf3 Merge PR #3015: Add Governance genesis checks
* missing genesis verification in gaia, also add distribution verification

* PENDING.md

* Fix error message
2018-12-11 20:05:49 +01:00
zramsay
e46afe00d6 make sidebar titles nicer 2018-12-11 12:12:29 -05:00
Jack Zampolin
38c11cffad
Fix Quoted JSON Return (#3045)
Fix Quoted JSON Return
2018-12-11 08:54:37 -08:00
Jack Zampolin
73efc3c5d0
Merge branch 'develop' into jack/dry-rest-tests 2018-12-11 08:44:28 -08:00
Jack Zampolin
70ce6f28f2
Merge branch 'develop' into jack/fix-empty-return 2018-12-11 08:40:08 -08:00
Jack Zampolin
b9477df546
Reintroduce collect-gentxs's --gentx-dir flag (#3021)
R4R: Reintroduce collect-gentxs's --gentx-dir flag
2018-12-11 08:11:10 -08:00
Christopher Goes
e54e0465e2
Merge PR #3080: Run fewer blocks on CI multi-seed simulation 2018-12-11 15:49:19 +01:00
Federico Kunze
4ecbf0dd5f Merge PR #2997: Split POST delegations endpoint 2018-12-11 15:02:26 +01:00
Alessio Treglia
a051491b56 Update PENDING.md 2018-12-11 12:54:45 +00:00
Alessio Treglia
46bb2d0dea Update PENDING.md 2018-12-11 12:32:28 +00:00
Alessio Treglia
affa1fb3f3 Reintroduce collect-gentxs's --gentx-dir flag
It went lost in last genesis workflow refactoring.

Also address structs initializations as per #2835.
2018-12-11 12:32:28 +00:00
Jack Zampolin
96f8e340c1 Sacrifice to the linter gods 2018-12-10 18:32:13 -08:00
Jack Zampolin
5c3bef97fb Code cleanup and refactor of LCD tests 2018-12-10 18:22:08 -08:00
Jack Zampolin
e1f0767ba8
R4R: Move generate_only and simulate to POST body in REST txs (#3060)
* Move generate_only and simulate to POST body in REST txs

Closes: #3056

* Run make format

* drop extra else block, outdent its block, and make linter happy

* Update PENDING.md

* Update LCD swagger docs
2018-12-10 14:51:53 -08:00
Christopher Goes
c7646d2caf Release v0.28.0 back to develop (#3043)
* PENDING.md => CHANGELOG.md
2018-12-10 13:48:01 -08:00
Christopher Goes
243576143e
Merge PR #3072: Catch overflows in gas wanted
* Check for overflow

* Only expect block gas meter on DeliverTx

* ErrGasOverflow in tx.ValidateBasic()

* Update unit test
2018-12-10 21:39:29 +01:00
Alexander Bezobchuk
2ce41760e2 Merge PR #3070: Check for gas overflow in tx validation
* Check for gas overflow in tx validation

* Use bitshifting over math.Pow
2018-12-10 20:24:57 +01:00
Alessio Treglia
4f34cb7c1e Update LCD swagger docs 2018-12-10 16:00:38 +00:00
dongsamb
da7f459d44 Merge PR #3050: Add generate-only option to withdraw-rewards 2018-12-10 16:29:10 +01:00
Christopher Goes
7d55bd1a36
Merge PR #3063: Fix linter 2018-12-10 16:13:26 +01:00
Alessio Treglia
b4528d2a5d Update PENDING.md 2018-12-10 14:39:25 +00:00
Alessio Treglia
2e05d4e3d7 drop extra else block, outdent its block, and make linter happy 2018-12-10 14:36:20 +00:00
Alessio Treglia
24a1670cf0 Run make format 2018-12-10 14:27:25 +00:00
Alessio Treglia
ac0a7c0a1d Move generate_only and simulate to POST body in REST txs
Closes: #3056
2018-12-10 14:26:34 +00:00
Sunny Aggarwal
945803d586 Governance Quorum (#3053) 2018-12-10 02:50:20 -08:00
Jae Kwon
133134ca52
Use address instead of bond height / intratxcounter for deduplication (#3055) 2018-12-10 02:49:37 -08:00
Jae Kwon
40a30b738f
Update gas costs to more reasonable numbers for GoS (#3052) 2018-12-10 02:48:19 -08:00
Jae Kwon
663e954b80 Default SimulationPeriod is 1 2018-12-08 07:44:18 -08:00
Jae Kwon
e02e55116c multi_seed sim should run 400, or at least 100 2018-12-08 07:31:27 -08:00
Jae Kwon
bc51fa93b6
Fix updateValidatorDistInfoFromPool (#3046)
Fixes regression introduced by #2984.
Continuiation of #3033 , which didn't fix the simulation issues.
(candidate) Complete solution for #3019, 9002 halt bug.

From #2984, it isn't sufficient to take the fee pool rewards of a validator. Since we don't track delegator accums (as we do with validator accums), and because onValidatorModified >updateValidatorDistInfoFromPool is also being called upon delegation updates (or at least I believe this is the reason), it is necessary to also withdraw self delegation.

TODO: I don't think self-delegation should be required to be modified here... consider using a delegation hook to do the self-delegation withdraw part instead, e.g. splitting the updateValidatorDistInfoFromPool function into two. It might not result in cleaner code, however. Think hard.
2018-12-08 07:18:04 -08:00
Jack Zampolin
be98f77aee Add pending 2018-12-07 18:02:18 -08:00
Jack Zampolin
b558e50eb2 Fix quoted json return 2018-12-07 17:33:52 -08:00
Jae Kwon
1ba93ea1c1 Merge PR #3033: Fix negative stake & invariance bug
* Fix negative stake & invariance bug

* Merge PR #3037: Updates to negative stake fix

* Update invariant; fix lint

* Fix linter

* Add comment & TODO
2018-12-08 01:04:52 +01:00
Jae Kwon
2473b74d86
Jae/gaiareplay3 (#3032)
gaiareplay tool
2018-12-07 03:19:49 -08:00
frog power 4000
49da96bc09 Merge PR #3010: Add Missing genesis checks in Gaia 2018-12-07 01:22:24 +01:00
Alexander Bezobchuk
f11a65dee7 Merge PR #3005: Move auth keeper benchmarks to sep. file 2018-12-06 10:49:30 +01:00
Jack Zampolin
a3d5e493c9 Merge PR #3014: Update to 0.27 final of Tendermint 2018-12-06 10:46:50 +01:00
Alexander Bezobchuk
5b42e83bc2 Merge PR #2995: Fully verify the signature in gaiacli tx sign
* Implement auxiliary methods/functions for just building a tx sig bytes

* Undo auxiliary methods/functions

* Validate signature

* Remove redundant comment

* Add pending log entry

* Minor cleanup

* Update sign cli doc

* Update cli sign offline flag doc

* Update printAndValidateSigs

* Implement TestGaiaCLIValidateSignatures

* Minor cleanup

* Fix linting

* Update x/auth/client/cli/sign.go

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>

* Minor reformatting
2018-12-06 02:02:04 -05:00