Commit Graph

3868 Commits

Author SHA1 Message Date
mossid
35a80e6563 fix gaiadebug 2018-10-07 01:12:00 +09:00
mossid
267990816f fix gaia 2018-10-07 01:12:00 +09:00
mossid
f33e856950 fix lint 2018-10-07 01:12:00 +09:00
mossid
37ce8d51c6 apply requests 2018-10-07 01:12:00 +09:00
mossid
bd6ee42c5a finalize rebase 2018-10-07 01:12:00 +09:00
mossid
61bc1a98c4 Key.s string -> []byte 2018-10-07 01:12:00 +09:00
mossid
cc0e2c9523 paramstore refactor base
rm debug code

fix lint

fix hack.go
2018-10-07 01:11:59 +09:00
Dev Ojha
c4b243142d Merge PR #2438: Add tests for more staking key operations as requested 2018-10-05 12:42:52 +02:00
Rigel
9c9113fa3b Merge PR #2437: Distr-PR-4 Distribution Types 2018-10-05 12:41:38 +02:00
Alexander Bezobchuk
2e040dd971 Merge PR #2442: Support removal of accounts in account mapper 2018-10-04 16:20:31 +02:00
Christopher Goes
f6e3e61e07
Merge PR #2440: Fix CircleCI 2018-10-04 15:59:04 +02:00
HaoyangLiu
9f67e8af20 Merge PR #2215: Add swagger-ui for gaiacli lite-server 2018-10-04 13:00:24 +02:00
Dev Ojha
b4e8fe5e94 Merge PR #2435: Staking store keys bug fix + memory improvement
Improve memory efficiency of getting store keys

This is done by removing repeated appends, which will create a new
slice if theres insufficient capacity, and instead creating a key
of the correct size, and then copying the data into it.
2018-10-04 08:42:03 +02:00
Zach
a4690bbe58 Merge PR #2434: config.js 2018-10-03 20:09:35 +02:00
gamarin2
f8cc0af144 Merge PR #2403: Update doc on website 2018-10-03 19:11:34 +02:00
Alexander Bezobchuk
89d13d1f4c Merge PR #2429: LCD Properly Init Proposing Validator in Tests
* Refactor InitializeTestLCD to initialize correctly

* Update InitializeTestLCD API usage in LCD unit tests

* Update pending log

* Update named return variables

* Increase power of validator proposer in LCD tests
2018-10-03 12:42:44 -04:00
Rigel
324bdaf55d Merge PR #2394: Split up UpdateValidator into distinct state transitions applied only in EndBlock 2018-10-03 18:37:06 +02:00
Zach
a7fabbea16 Merge PR #2431: Update some links 2018-10-03 18:02:34 +02:00
Christopher Goes
17983460b8
Merge PR #2219: Update to Tendermint 0.24 (except NextValSet offsets) 2018-10-03 17:48:23 +02:00
Christopher Goes
482a22da90
Merge PR #2428: Update priorities file 2018-10-03 17:27:59 +02:00
Dev Ojha
6cbac79912 Merge PR #2419: Add quick start section to the docs readme 2018-10-02 14:02:22 +02:00
Dev Ojha
9410b6287c Merge PR #2425: simulation: Make bank testing auth configurable 2018-10-02 14:01:18 +02:00
gamarin2
a3b31c7a6b Merge PR #2427: Fix typo val faq 2018-10-02 13:58:58 +02:00
Jae Kwon
1e26ba2e0e
CLIContext.Logger -> .Output as it isn't a logger (#2420)
This changes .Logger to .Output, as it isn't used anywhere except as os.Stdout.
2018-09-28 21:45:54 -07:00
Christopher Goes
f7cb351dd1
Merge PR #2162: Add loose/bonded token supply invariants back to simulation 2018-09-27 15:52:30 +02:00
Zach
e7134e8742 Merge PR #2414: docs: add version 2018-09-27 16:52:24 +08:00
Dev Ojha
7d5bc459fa Merge PR #2413: Remove reflection from handlers 2018-09-27 05:04:06 +08:00
Dev Ojha
cb86efa054 Merge PR #2376: auth: Don't recalculate mempool fees for every msg signer, misc. cleanup
This PR begins improving the godocs for the auth module, and begins cleaning
up the Ante handler.

Additionally we previously calculated if the fee was sufficient for the tx
on every single signer. This is now refactored to be more efficient, and have
a better logical flow. No changelog entry as this is new to this release.
2018-09-27 02:34:01 +08:00
Christopher Goes
91ee6b0d99
Merge PR #2313: Multi-seed parallel simulation 2018-09-26 23:04:42 +08:00
Alexander Bezobchuk
8ca8acf638 Merge PR #2357: Refactor Iterator Gas Consumption 2018-09-26 22:02:56 +08:00
Alessio Treglia
a2caefc8ae Merge PR #2390: CLI subcommands reorganization 2018-09-26 22:00:49 +08:00
Dev Ojha
e6a8b2278e Merge PR #2377: auth: Move stdsignmsg to txbuilder, add tests 2018-09-26 21:39:05 +08:00
Alexander Bezobchuk
91cac96fea Merge PR #2391: LCD Cleanup and DRY Refactor 2018-09-26 21:29:39 +08:00
Dev Ojha
145e06b85c Merge PR #2382: baseapp: Move code from setters.go to options.go 2018-09-26 21:17:46 +08:00
Dev Ojha
b1583dd8c5 Merge PR #2383: baseapp: Move query tests to their own file 2018-09-26 21:16:50 +08:00
Dev Ojha
9e27e4bac5 Merge PR #2386: types/coins: Add benchmarks for coins addition 2018-09-26 21:15:37 +08:00
Dev Ojha
e11c52e873 Merge PR #2408: decimal: Add a method to multiply a decimal by an Int
This is for usage within the slash function, to minimize operations
required to slash each unbonded and redelegating account.
2018-09-26 18:13:40 +08:00
Rigel
b54801b4b3 [RETRY] Distr-PR-3 More staking hooks (#2404)
* update commission hook for new commission work
* comment update
2018-09-25 23:11:57 -07:00
Matthew Slipper
2fb3493ff5 Merge PR #2223: Gaia CLI Config Command
* Allow a gaia-cli config file to be created

Closes #1613.
Closes #1275.
Closes #1956.

* Add homedir to Gopkg.toml

* Updates from code review

* Post-rebase fixes

* Update test

* Code review refactor

* Fixes from code review

* Fix import

* Fix broken test

* Fixes from rebase

* Fix formatting
2018-09-25 17:36:42 -04:00
Matthew Slipper
24413a395d Merge PR #2073: Allow --from to be a name or an address
* Allow --from to be a name or an address

Closes #1735.

* Post-rebase fixes

* Updates from code review

* Updates from code review

* Updates from code review

* Fix merge artifacts

* Fix merge conflicts

* Fix integration tests

* Add back GetFromName() check broken during merge

* Code review updates

* Fix failing test

* Updates from code review
2018-09-25 16:48:38 -04:00
Alexander Bezobchuk
04487ca5db Merge PR #2402: Skip LCD test TestVersion when no env var 2018-09-26 02:47:28 +08:00
Sunny Aggarwal
15e848e43c Merge PR #2395: Remove governance slashing 2018-09-26 02:45:20 +08:00
Sunny Aggarwal
a04d5cf26d Merge PR #2072: WIP Bank Denom Metadata Spec
* Bank Denom Metadata Spec

* moved to WIP filename

* val comment
2018-09-25 14:18:04 -04:00
Alexander Bezobchuk
611e287375 Merge PR #2401: Remove remnants of gocyclo 2018-09-25 13:45:04 -04:00
Jae Kwon
c31c0d2822 Merge remote-tracking branch 'origin/dev/simulation_remove_pubkey_ops' into develop 2018-09-24 21:29:41 -07:00
Rigel
de30281afa Distr-PR-2 Truncate Decimal Functionality (#2379) 2018-09-24 21:18:18 -07:00
Rigel
6b595842ed Distr-PR-1 Staking ConsPubKey -> ConsAddr index (#2369)
* pulling in stuff from fee-distr PR
* revert some gov changes
* fix using cons address, also remove old commented distr code
* doc update
* val comments
* remove GetValidatorByConsPubKey
2018-09-24 21:09:31 -07:00
Dev Ojha
1a5d122c93 Merge PR #2392: remove redundant sprintf calls, improve a doc comment, write test
* remove redundant sprintf calls, improve a doc comment, write test

* One more super minor fix
2018-09-24 21:42:51 -04:00
Alexander Bezobchuk
9dafa3252d Merge PR #2365: Validator Commission Model
* Update validator commission fields

* Remove CommissionChangeToday and update to use CommissionChangeTime

* Implement commission as a first class citizen type

* Implement stringer for Comission

* Move commission type and logic to new  file

* Add new commission errors

* Add commission to create validator message

* Implement and call UpdateValidatorCommission

* Update godoc for UpdateValidatorCommission

* Add Abs to the decimal type

* Implement new SetValidatorCommission

* Update decimal short godocs

* Move set initial commission logic

* Move initial commission validation to Commission type

* Update initial validator commission logic and unit tests

* Remove commission update time from struct and move to validator

* Update validator create handler tests

* Implement commission logic for CLI

* Fix make lint failure

* Fix make cover failure

* Update edit validator logic to handle new commission rate

* Fix lint and cover

* Update create/edit validator simulation to include commission params

* Update MsgEditValidator godoc

* Update pending log

* Update staking tx docs

* Fix CLI create validator test

* Update variables names for commission  strings

* Merge UpdateTime into Commission type

* Update create-validator usage in docs

* Update more docs with examples

* More doc updates
2018-09-24 18:23:58 -04:00
Dev Ojha
8774adc7de Merge PR #2375: Add an example for the size of a transaction
* Add an example for the size of a transaction

This shows that the size of a send tx from 1 input to 1 output is 173 bytes
This is good information to have, though we need to find the correct place
to put it.

* fix lint
2018-09-24 16:08:43 -04:00