Commit Graph

595 Commits

Author SHA1 Message Date
Alessio Treglia ee33d8248e Merge PR #3364: Use dash-separated flags for minimus gas prices 2019-01-24 11:21:02 +01:00
Alessio Treglia 493bbaa537 Merge PR #3360: Remove --json flag from all commands
* remove --json flag from all commands and CLIContext

gaiad tendermint show-{address,validator} now take --machine-parseable/-m
for machine parseable output.

Closes: #3249

* Revert machine-parseable thing
2019-01-24 11:15:44 +01:00
Christopher Goes b5e245fee3
Merge PR #3333: F1 storage efficiency improvements 2019-01-23 12:37:03 +01:00
Jack Zampolin 9f50c9f5b6
R4R: Ensure all CLI queries respect output flags (#3320) 2019-01-22 09:28:39 -08:00
Alessio Treglia b055c129dd Merge PR #3442: make gaiacli config handle "indent" flag
It defaults to false, users can override it via gaiacli config
and avoid to append --indent to all commands:

    $ gaiacli config indent true

Closes: #2607
2019-01-22 11:07:18 +01:00
Alessio Treglia cffa39cf44 Add bash completion for gaiad and gaiacli (#3334) 2019-01-21 19:42:15 -08:00
frog power 4000 7f789d2ed3
Merge PR #3281: Staking Spec Upgrade
* remove kv seperation for marshalling

* pending

* cleanup

* cleanup x2

* pending

* working

* minor refactors

* entry structs defined

* uncompiled mechanism written

* add many compile fixes

* code compiles

* fix test compile errors

* test cover passes

* ...

* multiple entries fix

* ...

* more design fix

* working

* fix test cover bug

* Update PENDING.md

* update comment around queue completion for redelegations/ubds

* basic spec updates

* spec folder cleanup

* cleanup docs folder cont.

* ...

* find-replace and folder rename

* supplimentary find/replace

* pending

* supplimentary

* pending

* few undos, stakingd -> staked

* to staking -> to stake

* undos

* most staking -> most stake

* ...

* undos

* simplestake->simplestaking

* ...

* pending update

* capital letter replacements

* ...

* working

* staking doc updates from rigel/delegation-index branch

* spec-spec

* spec-spec

* LooseTokens -> NotBondedTokens

* staking state.md updates

* updates to hook and endblock spec

* Update docs/gaia/gaiacli.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* comment undo

* remove ErrConflictingRedelegation

* @cwgoes comments are resolved

* further updates to endblock and state

* msg json update

* working transaction updates

* working

* complete transaction rewrite

* PENDING.md

* typo

* add todo

* address @jackzampolin @cwgoes comments

* couple leftover comments, rename

* Update x/staking/types/pool.go

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* cwgoes additions

* cwgoes suggestions x2
2019-01-21 19:52:03 -05:00
Christopher Goes f65ae49356
Merge PR #3319: Distribution Queriers & CLI query commands 2019-01-18 20:38:40 +01:00
Alexander Bezobchuk 36d1736a08 Refactor Gas/Fee Model (#3258) 2019-01-18 08:45:20 -08:00
frog power 4000 8f7a222308 Merge PR #3314: Staking misc rename 2019-01-17 18:53:22 +01:00
Alexander Bezobchuk f2e87ad81f Merge PR #3308: Genesis Vesting Accounts & Simulation
* Update vesting spec and impl time fields and constructors
* Update genesis to support vesting accounts
* More spec and godoc updates
* Update genesis section in vesting spec
* Fix bank unit tests
* Add test cases to ToAccount in genesis
* Update RegisterCodec to include vesting interface and types
* Fix GetVestedCoins bug where block time is past vesting end time
* Add vesting accounts to simulation
* Update vesting genesis logic to panic on invalid accounts
* Change randomness of vesting accounts in simulation
2019-01-17 17:15:13 +01:00
Alessio Treglia 20bcacfaf4 Merge PR #3316: Fix regression in gaiacli config file handling
* --chain-id must be a persistent flag to be successfully read from config
* Prevent panic when not enough arguments
* Add docs on gaiacli config
* Small tweak
2019-01-17 16:40:34 +01:00
Christopher Goes 0684a42d9f
Merge PR #3292: Enable/disable withdraw addresses with a parameter 2019-01-16 23:17:56 +01:00
Christopher Goes 2942f83ff5
Merge PR #3099: F1 fee distribution 2019-01-16 22:38:05 +01:00
Alessio Treglia 26cb0a125a Multi-signature workflow support (#3264)
- New keys add --multisig flag to store multisig keys
  locally.
- New multisign command to generate multisig
  signatures.
- New sign --multisig flag to enable multisig mode.
- Add multisig transactions support in ante handler.
- gaiad add-genesis-account can now take both account
  addresses and key names.

Closes: #3198
2019-01-16 09:30:57 -08:00
Christopher Goes eff1f7ca10
Merge PR #3304: Non-zero-height export fix
* Tiny non-zero-height export fix
* Fix linter
2019-01-16 15:59:19 +01:00
frog power 4000 133934ae37
Merge PR #3243: allow multiple simultaneous redelegations/ubds between same delegator/validator(s) addresses
* remove kv seperation for marshalling

* pending

* cleanup

* cleanup x2

* pending

* working

* minor refactors

* entry structs defined

* uncompiled mechanism written

* add many compile fixes

* code compiles

* fix test compile errors

* test cover passes

* ...

* multiple entries fix

* ...

* more design fix

* working

* fix test cover bug

* Update PENDING.md

* update comment around queue completion for redelegations/ubds

* basic spec updates

* remove ErrConflictingRedelegation

* @cwgoes comments are resolved

* Update x/staking/keeper/slash.go

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* address @alexanderbez comments
2019-01-16 05:35:18 -05:00
cong 916ea85630 Merge PR #2730: add tx search pagination related CLI/REST API parameter 2019-01-15 16:34:48 +01:00
Alessio Treglia 57c9de7c8b Create separate directories for cli tests (#3296) 2019-01-14 09:55:49 -08:00
Alessio Treglia e4efb8da8a Merge PR #3286: Print out sdk.AccAddress.String() instead of hex 2019-01-14 13:25:44 +01:00
frog power 4000 78a21353da Rename stake/ to staking/ (#3280) 2019-01-11 12:08:01 -08:00
Alessio Treglia df567616a9 Upgrade tendermint to 0.28.0-dev0 (#3279) 2019-01-11 09:19:01 -08:00
Sunny Aggarwal 4aec6cd41c R4R: Tombstone Implementation (#3225) 2019-01-10 17:22:49 -08:00
Alexander Bezobchuk 03bdd3f870 Fix IsAnyGTE (#3265) 2019-01-09 12:31:03 -08:00
Jack Zampolin d1e769391a
CLI Test refactor and coverage increase (#3250) 2019-01-09 07:49:38 -08:00
Hleb Albau 867f8a7467 Merge PR #3195: Configurable pruning. Fix docs and create strategies const. 2019-01-09 16:06:22 +01:00
Jack Zampolin b16af44271 Merge PR #3076: Rename hooks from Before -> Pre and On -> Post
* Rename hooks from Before -> Pre and On -> Post

* Fix lint error

* Update x/slashing/hooks.go

Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>

* Ignore linter warnings on hooks file

* swap 171, 172 for clarity (my own comment)
2019-01-09 00:28:46 -05:00
Zaki Manian ed2b6bd9a7 Multiple fees in min fees to OR instead of AND (#3239) 2019-01-08 08:21:54 -08:00
Alexander Bezobchuk fa056c9816 Minor cleanup of validator CLI logic (#3221) 2019-01-03 15:28:55 -08:00
Alexander Bezobchuk 15bd1f668f Merge PR #3189: Reset slashing periods on export
* Reset slashing periods on export
* Rename old slashing period setter to SetValidatorSlashingPeriod
* Update export to reset slashing periods
* Fix cons address
* Remove old slashing period reset
* Add pending log entry
* Update slashing period tests
2019-01-03 00:57:13 +01:00
frog power 4000 a98a5a056a
Merge PR #2958: Validator Power Dec-> Int
* Validator Power Dec-> Int, working

* non-test code compiles

* working, many test compile fixes

* all test compile errors resolved

* ...

* slashing test fixes minor

* test cover passes

* invariant rounding issue

* comment update

* PENDING and doc updates

* @cwgoes comments

* RemoveDelShares trimmings to the final delegation share

* fixes

* ...

* fix the oopsie

* @alexanderbez comments

* merge fixes

* address @cwgoes comments
2019-01-02 15:29:47 -05:00
Christopher Goes feff014df1 Export for zero height fixes (#3183) 2018-12-20 12:40:27 -08:00
Alexander Bezobchuk 8211c025da Support min fees in a localnet and fix gaiad config (#3172) 2018-12-20 11:21:39 -08:00
Alessio Treglia abbd2d4dd3 Change --gas=simulate to --gas=auto when sending txs (#3170) 2018-12-20 11:21:07 -08:00
Alexander Bezobchuk 217a2925dc Auth Module Param Store (#2998) 2018-12-20 11:09:43 -08:00
Alexander Bezobchuk 5a13e75367 Tags Cleanup & Docs (#3137) 2018-12-19 19:28:38 -08:00
Federico Kunze f02f7aa5a0 Add fees and memo to REST, updated CLI to receive coins as fees (#3069) 2018-12-19 16:26:33 -08:00
Jack Zampolin 14ebc65daf Merge PR #3119: Move all store keys into constants
* Move all store keys into constants
* Fix lint issue
* Add Pending.md
* QuerierKey -> QuerierRoute
2018-12-19 20:58:30 +01:00
Jack Zampolin 4b4a2b81a1
Add slashing genesis validation (#3158) 2018-12-19 09:03:16 -08:00
Jack Zampolin 0360b12075
Remove unimplemented gaiacli init command (#3156) 2018-12-19 08:25:27 -08:00
Alessio Treglia 500fa2b694 Make coins denoms case insensitive (#3092) 2018-12-18 11:14:11 -08:00
Alessio Treglia eac7d6939d Merge PR #3127: Don't fallback to any default values for chain id
- Remove DefaultChainID(). User needs to suplly chain ID
  via either config or flag.
- Mark --chain-id as required by all tx commands.
- Fix gaiacli config values containing underscores.
  Underscore '_' character is not automagically translated
  into hyphen '-'. Viper values wouldn't be affected.
- Refresh gaiacli config tests

Closes: #810
2018-12-18 19:40:01 +01:00
Christopher Goes 371c7adeaa
Merge PR #3148: Fix gaiad export
* Add boolean for LoadLatestVersion
* Update PENDING.md
2018-12-18 17:17:50 +01:00
Jae Kwon 6666540dbb Revert "Remove GovernancePenalty"
This reverts commit 86a214f10c.
2018-12-17 10:56:45 -08:00
Jae Kwon 86a214f10c Remove GovernancePenalty 2018-12-17 02:17:19 -08:00
Alexander Bezobchuk 110fd63e22 Add Slashing Query Params (#3117) 2018-12-14 11:09:39 -08:00
Artur Albov 0c6d53dc07 Merge PR #2959: Add TxEncoder to client TxBuilder 2018-12-12 22:29:42 +01: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
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
Alessio Treglia 24a1670cf0 Run make format 2018-12-10 14:27:25 +00:00