Commit Graph

4742 Commits

Author SHA1 Message Date
Alessio Treglia 816248987f CollectStdTxs() must check DelegatorAddr against accounts (#3004)
* CollectStdTxs() must check DelegatorAddr against accounts
* Use sdk.AccAdress.String() instead of casting with string()
2018-12-05 13:23:19 -08:00
Alexander Bezobchuk 6395e2a7ab Merge PR #2984: Removal of Mandatory Self-Delegation Reward
* Some minor cleanup and reformatting to make things easier to understand

* Update onDelegationSharesModified hook

* Add pending log

* Address PR comments

* Fix linting
2018-12-04 17:53:52 -05:00
Christopher Goes dfd00a661a Inflation bug fixes (#2982)
* PENDING.md; swap BeginBlocker ordering
* Calculate inflation every block
* Update x/mint spec
* Reset distribution info bond height instead
2018-12-04 10:17:02 -08:00
Alexander Bezobchuk bcfd93f544 Merge PR #2950: AnteHandler Cleanup
* Add and use CodeInvalidAccountNumber in ante handler

* Minor cleanup of ante handler

* Add pending log entry

* Spell check and more minor comment restructuring

* Add additional CodeInvalidAccountNumber

* Update validateAccNumAndSequence

* Revert account number error in favor of CodeInternal

* Update pending log

* Fix pending log
2018-12-04 17:42:15 +01:00
Jack Zampolin 07b0ad3c9e Merge PR #2987: Add shorthand flag to address output on gaiacli keys show and update docs
* Add shorthand flag to address output on gaiacli keys show

* Update docs and add PENDING

* Update client/keys/show.go

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

* pk -> p
2018-12-04 17:38:43 +01:00
Alessio Treglia 079b1f0ffa Merge PR #2994: Change wrong password message
* change wrong password message

Closes: #2993

* Update PENDING.md
2018-12-04 17:23:10 +01:00
Alessio Treglia d32e4a9fe0 Merge PR #2972: Fix gaiacli config and make it non-interactive only
* Fix gaiacli config and make it non-interactive only

Closes: #2734

* Update cli tests

* Remove --list, by default and with no args print config

* Small improvements

* Warn user when file doesn't exist

* Fix integration tests
2018-12-04 14:17:45 +01:00
Jack Zampolin d8fbae677f R4R: Additional gentx verfication (#2971)
* Add check that account is in genesis and contains enough funds to gentx command

* Fix CLI tests and make them parallel

* Update makefile to take advantage of parallel tests

* Add path seperator back in

* Don
't check error on key delete

* Add debuggin printout for debugging remote test failures

* Update cmd/gaia/init/gentx.go

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

* Update cmd/gaia/init/gentx.go

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

* Change to bondDenom from the stake section in genesis

* Add PENDING.md

* Push changes

* Fix CI failure

* Address PR comments

* Fix broken gov tests

* Address PR comments

* Address PR comments
2018-12-04 10:57:44 +01:00
Jack Zampolin 886bd35670
Address gov cli ux issues and add additional input validation for better errors (#2938)
* Fix governance cli ux issues and add additional transaction validation
2018-12-03 12:48:51 -08:00
Dev Ojha 13e78166ee Merge PR #2977: Don't serialize Account Number and Sequence Number in signatures
* Don't serialize Account Number and Sequence Number in signatures

This was not needed to be included within the tx body, as its in the
state.

* fix lint
2018-12-03 18:29:50 +01:00
Zach fedecd5436 docs: add tutorial to sidebar (#2865)
* add tutorial
2018-12-03 08:23:49 -08:00
Alessio Treglia 16e8bfc365 Merge PR #2974: Cleanup home dirs when cli testcases exit with success
* Cleanup dirs when testcases exit with success

Also remove unnecessary tests.WaitForNextNBlocksTM() calls
which slow down tests execution.

* Don't wait for 2 blocks
2018-12-03 11:49:44 +01:00
gamarin2 5c5ea48623 Improve testnet docs (#2928)
* improve testnet docs
2018-12-01 09:54:59 -08:00
Alessio Treglia bedc900d49 Run cli test in parallel (#2969) 2018-11-30 15:11:52 -08:00
Alessio Treglia 535822ca68 R4R: add command asks for encryption password once too many (#2970)
* add command asks for encryption password once too many

* keep additional explanatory text
2018-11-30 15:00:53 -08:00
Alessio Treglia 956c2229bf Merge PR #2965: add --force to keys delete for unattended execution
* add --force to keys delete for unattended execution

Skip password check when --force is on and delete
keys unconditionally.

Closes: #2961

* Forcibly cleanup keys on fixtures initialization
2018-11-30 21:36:55 +01:00
mircea-c a55f4490f9 changed docs deployment to trigger on every push to master/develop (#2962)
* changed docs deployment to trigger on every push to master/develop

* updated PENDING.md
2018-11-30 07:15:04 -08:00
Ethan Buchman b5ccbc9f07 Merge PR #2956: gaiadebug: fix addr fmt to print bech32 and hex 2018-11-30 15:39:18 +01:00
Juan Leni 0473621570 Merge PR #2870: Upgrading ledger-cosmos-go dependency
* Upgrading dependencies
* Update dependency
2018-11-30 15:23:55 +01:00
Christopher Goes 98caf44e35
Merge PR #2853: Write bank module specification, check spec/code consistency
* Update PENDING.md

* New structure

* Start transactions section

* Remove MsgIssue

* Update keepers.md

* Add state.md

* Update keepers.md, discovered #2887

* Move inputOutputCoins to BaseKeeper

* Remove no-loner-applicable tests

* More spec updates

* Tiny cleanup

* Clarify storage rationale

* Warn the user

* Remove extra newline
2018-11-29 22:56:42 +01:00
Christopher Goes da83b2525e
Merge PR #2934: Release 0.27.0 back to develop 2018-11-29 22:41:03 +01:00
Alessio Treglia c3965f5509 Remove inconsistent gaiacli keys new/add dualism (#2904)
* Remove inconsistent gaiacli keys new/add dualism
2018-11-29 12:59:41 -08:00
Alessio Treglia a6bc60e4c6 Merge PR #2923: Prompt user for confirmation when deleting ledger and offline keys
* Force password to 'yes' when deleting ledger-offline keys
* Improve UX, better docs on removing offline/ledger keys
* Ask for confirmation on offline/ledger keys deletion
2018-11-29 21:55:23 +01:00
Jack Zampolin ddab04e55f
R4R: Update single node network bootstrapping documentation (#2931)
* Update single node network bootstrapping documentation to reflect changes to gentx
* Update docs/gaia/networks.md
* Address PR comments
2018-11-29 12:39:09 -08:00
Hendrik Hofstadt b7736367a8 R4R: Fix duplicate json key in SetWithdrawAddress (#2944)
* Fix duplicate json key

* Update PENDING.md
2018-11-29 09:54:36 -08:00
Jack Zampolin 6258fded71
Update IAVL to 0.12.0 (#2951) 2018-11-29 09:33:14 -08:00
Hendrik Hofstadt db77117a5b Only allow supported pubKey types (#2949)
* Only allow supported pubKey types
* Add type and supported types to error message
* Add default value for ConsensusParams
2018-11-29 09:21:45 -08:00
Christopher Goes b2b026b5e0
Merge PR #2930: Simulation spring cleaning
* Update PENDING.md
* Add simple period for expensive invariants
* Remove individual module simulations
* Simulate a few more blocks
* Add README explaining reason for shell scripts
* Deduplicate scripts, log exact replication command on failure
* Refactor invariants to take sdk.Context instead of baseapp.BaseApp
* Reference all issues in PENDING.md entry
* Remove no longer used simulation.RandSetup
* Bug fixes
* Address @rigelrozanski comments
* Fix typo
2018-11-29 16:17:10 +01:00
Christopher Goes 5d700a597c
Merge PR #2947: Update to Tendermint 0.27.0-dev1 2018-11-29 16:02:19 +01:00
Hendrik Hofstadt ca43225851 Merge PR #2943: Fix tag usage in handlers and EndBlocker
* Fix tag usage in handlers and EndBlocker
* Prepend action tag in baseApp
* Fix LCD
* Remove unnecessary conversion
* Fix invalid consensus pubkey in CLI tests
* Fix tag usage in cli_test
* Shorten bechify in test
* Update docs and PENDING
2018-11-29 15:34:57 +01:00
Christopher Goes aa72e72ce4
Merge #2932: Update to Tendermint v0.27.0-dev0
* Update upstream Tendermint version
* Update PENDING.md
* Fix for accum -> proposer priority
2018-11-28 23:29:55 +01:00
Zach f7e22cb4d3 Merge PR #2828: Reorganize install scripts & add ARM 2018-11-28 17:52:07 +01:00
BigManing 619b60f207 Merge PR #2908: Fix file path error 2018-11-28 00:10:12 +01:00
Christopher Goes 1a18a428a4
Merge PR #2842: Fix tx search 2018-11-28 00:09:14 +01:00
Christopher Goes 6a74cd0920
Merge PR #2919: Refactor Gaia Lite bootstrapping
* Refactor Gaia Lite bootstrapping
* Update examples
* Add pending log entry
2018-11-28 00:07:28 +01:00
Federico Kunze 8414c344fa Merge branch 'fedekunze/2819-fix-tx-search' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search
Merge branch
2018-11-28 00:01:02 +01:00
Federico Kunze 7cf5da2f72 address Chris' comments 2018-11-28 00:00:38 +01:00
Federico Kunze 9751a61b46
Merge branch 'develop' into fedekunze/2819-fix-tx-search 2018-11-27 22:56:36 +01:00
Federico Kunze 14154f71be deleted unnecessary function 2018-11-27 22:54:25 +01:00
Federico Kunze ebaac49142 minor changes from review 2018-11-27 22:47:56 +01:00
Alexander Bezobchuk d8683fe90b
Update client/tx/search.go
Co-Authored-By: fedekunze <31522760+fedekunze@users.noreply.github.com>
2018-11-27 22:38:13 +01:00
Aleksandr Bezobchuk ee041cee92 Add pending log entry 2018-11-27 16:14:30 -05:00
Aleksandr Bezobchuk 252030c6b6 Update examples 2018-11-27 16:09:20 -05:00
Aleksandr Bezobchuk 155c553456 Refactor Gaia Lite bootstrapping 2018-11-27 16:03:53 -05:00
Alexander Bezobchuk 71aec4688b Fix starting Gaia Lite (#2918)
* Fix starting Gaia Lite
2018-11-27 12:19:01 -08:00
Alexander Bezobchuk cdb027e914 Merge PR #2917: Print commit ID in hex 2018-11-27 18:24:53 +01:00
Tony Stark f8ee8a7f78 Merge PR #2896: Fixed account sequence issue in IBC relay 2018-11-27 18:22:43 +01:00
Federico Kunze 2d9ce3121b updated tests 2018-11-27 16:52:27 +01:00
Federico Kunze 9c85e935fd Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search
Merge develop
2018-11-27 16:38:08 +01:00
Federico Kunze f97b934c73 few more tx search tests 2018-11-27 16:37:53 +01:00