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
mircea-c
c02043ec62
Added macos integration tests ( #3152 )
2018-12-19 09:02:56 -08:00
Jack Zampolin
0360b12075
Remove unimplemented gaiacli init command ( #3156 )
2018-12-19 08:25:27 -08:00
Sunny Aggarwal
f4fb3608c0
Redelegation Querier ( #2559 )
2018-12-18 13:43:41 -08:00
Alessio Treglia
711a22fde6
Merge PR #3121 : x/auth: fetch one account after another
...
* x/auth: fetch one account after another
- Don't read all accounts in one go as signature verification
could fail before last signature is checked.
- TestAnteHandlerFees now checks whether fees were actually
deducted from the account as well as the fee keeper collected
them.
Thanks: @ValarDragon for pointing this out
Closes : #3093
2018-12-18 21:41:54 +01: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
94e7950493
0.28.1
2018-12-17 02:37:39 -08:00
Alexander Bezobchuk
ff6c2f2bad
Gov Get Vote(s)/Deposit(s) Updates ( #3091 )
2018-12-14 11:13:43 -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
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
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
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
b4528d2a5d
Update PENDING.md
2018-12-10 14:39:25 +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
Jack Zampolin
be98f77aee
Add pending
2018-12-07 18:02:18 -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
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
Christopher Goes
ba5e87ca6f
x/auth module spec / code reconciliation ( #2964 )
2018-12-05 16:48:08 -08:00
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
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
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
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
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
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
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
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
Christopher Goes
1a18a428a4
Merge PR #2842 : Fix tx search
2018-11-28 00:09:14 +01:00
Federico Kunze
9751a61b46
Merge branch 'develop' into fedekunze/2819-fix-tx-search
2018-11-27 22:56:36 +01:00
Aleksandr Bezobchuk
ee041cee92
Add pending log entry
2018-11-27 16:14:30 -05:00
Alexander Bezobchuk
cdb027e914
Merge PR #2917 : Print commit ID in hex
2018-11-27 18:24:53 +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
Greg Szabo
2e0dfc31af
Added goimports tool to get_tools. Fixed get_tools build. ( #2889 )
...
* Added goimports tool to get_tools. Get_tools now only builds new versions if binaries are missing.
* Added the goimports format command from yutianwu's PR
* goimports install typo fix
2018-11-26 14:20:43 -05:00
Federico Kunze
9fdd4300f2
update cli tx search
2018-11-26 15:55:42 +01:00
Federico Kunze
60fc7c7919
Merge develop
2018-11-26 13:41:00 +01:00
Christopher Goes
ad121f1498
Add a flag to export for zero-height start ( #2827 )
...
Closes #2812
This PR adds the flag --for-zero-height to gaiad export, which runs several alterations to the application state to prepare for restarting a new chain in a consistent fashion.
It also:
* Moves Gaia's export code to cmd/gaia/app/export.go for cleaner separation.
* Fixes an inconsistency where we treated the initChainer as happening at height -1 - it should now happen at height 0, since the first header sent by Tendermint has height 1.
* Runs the runtime invariant checks on start (in initChainer)
* Adds a few auxiliary functions to clear slashing periods
* Removes the Height field from Delegation objects in x/stake, which was not used anywhere
2018-11-26 04:21:23 -08:00
frog power 4000
7cb1ba625e
blockly minting ( #2825 )
...
* update mechanism to use average block time
* correctly sets accum height for zero-delegations
* update Decimal Format()
* clip withdrawal tokens
* PositiveDelegationInvariant
* DelegatorSharesInvariant
* DelAccumInvariants
2018-11-26 04:13:47 -08:00
Alessio Treglia
4c36b0fe05
Merge PR #2881 : Don't call gaiacli tx sign. Use utils.SignStdTx() instead.
...
This is to avoid command redirection and reduce the use
of viper's global variables.
Closes : #2875
2018-11-26 12:50:33 +01:00
Christopher Goes
c21961b21d
Merge PR #2886 : Don't get command through client.{Get,Post}Commands()
...
* Don't get command through client.{Get,Post}Commands()
Logic has changed recently and commands are now enriched
with flags by default.
Closes : #2884
2018-11-26 12:46:22 +01:00
Sunny Aggarwal
b7da2eaa33
Merge PR #2799 : Account numbers and sequences to uint64
2018-11-26 12:29:21 +01:00
yutianwu
2d071763d1
Merge PR #2899 : Remove redundant $
2018-11-26 11:26:05 +01:00
rigelrozanski
0861112b70
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-22 12:34:41 -05:00
Alessio Treglia
83793a8974
Update PENDING.md
2018-11-22 14:36:28 +00:00
John McDowall
f09fa33cfd
Merge PR #2802 : Correct the usage of misspelling of English word 'depositor'.
...
Throughout the codebase the misspelling 'depositer' of the English word
'depositor' has been used. This commit applies a global search and
replace to correct the misspelling.
2018-11-22 00:53:33 +01:00
Alessio Treglia
3e68e44063
Merge PR #2874 : gaiad gentx subcommands refactoring
...
* gaiad gentx subcommands refactoring
- Replace STDIN/STDOUT redirection in `gaiad gentx` with subcommands
command line options to redirect streams to file since viper does
not handle redirection well.
- Use `BuildCreateValidatorMsg` to build a `MsgCreateValidator` rather
than redirecting to `gaiacli tx stake create-validator`.
- `PrintUnsignedStdTx` now takes an `io.Writer` object.
- Mark `--pubkey`, `--amount` and `--moniker` as required flags
instead of validating them manually.
- Use stake.NewDescription() to make a new Description - ref #2835
* Refresh PENDING.md
2018-11-22 00:44:13 +01:00
Alexander Bezobchuk
1ea0e4c457
Merge PR #2863 : Transaction ValidateBasic
...
* Add ValidateBasic to Tx interface
* Update BaseApp unit tests
* Add missing return in ValidateBasic
* Update ValidateBasic to use IsNotNegative
* Add pending log entry
* Add unit test TestTxValidateBasic
* Fix broken lint regression
* Add sig count check to validation
* Add test case to TestTxValidateBasic
2018-11-21 11:16:56 +01:00
Federico Kunze
d227e2a29e
Merge PR #2869 : Gov tally endpoint
...
* Added tally endpoint
* Update querier.go
* rename queryable
* Address @alexanderbez comments
2018-11-21 10:54:51 +01:00
rigelrozanski
70e60c2f30
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-21 01:51:56 -05:00
Alexander Bezobchuk
41fc538ac7
Add Safety Measures to Coin/Coins ( #2797 )
2018-11-20 01:22:35 -08:00
rigelrozanski
56dc2363fa
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-20 02:58:33 -05:00
Alexander Bezobchuk
6e813ab3a8
Change gas & related fields to unsigned integer type ( #2839 )
...
* Change gas & related fields to unsigned integer type
* Implement AddUint64Overflow
2018-11-19 09:13:45 -08:00
Jack Zampolin
f525717054
Standardize CLI Exports from Modules ( #2840 )
...
* Move query and tx commands to modules
* Move GetAccountDecoder to prevent import cycle and replace calls to it with one call in WithAccountDecoder
* Add moduleClients interface and implement in all applicable modules
* Use module clients in cli initialization
2018-11-19 09:02:34 -08:00
Christopher Goes
fd968f7d8f
R4R: Remove unused bank.MsgIssue (and prevent possible panic) ( #2855 )
...
* Remove all bank.MsgIssue code
2018-11-19 07:42:53 -08:00
Jack Zampolin
9676ce7d48
Expose LCD router, allowing devs to register custom routes from their modules ( #2836 )
...
* Fixes #1081
2018-11-16 14:21:36 -08:00
Alexander Bezobchuk
15b6fa0959
Cache-wrap context during ante handler exec ( #2781 )
...
* Use cache-wrapped multi-store in ante
* Implement TestBaseAppAnteHandler
* Add reference documentation for BaseApp/CheckTx/DeliverTx
2018-11-16 10:33:47 -08:00
Sunny Aggarwal
8d6b0929fb
Codespaces as Strings ( #2821 )
2018-11-16 09:12:24 -08:00
Federico Kunze
17559933b0
PENDING
2018-11-16 16:11:09 +01:00
Christopher Goes
eb27c70292
Merge branch 'develop' into alessio/validate-addr-when-adding-genesis-account
2018-11-16 11:44:41 +01:00
Christopher Goes
9a37066405
Merge PR #2841 : Check whether key passed with --name exists before redirecting to tx create-validator
...
* Check whether key passed with --name exists before redirecting to tx create-validator
* Update PENDING.md
2018-11-16 11:40:37 +01:00
rigelrozanski
4818e67145
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-16 03:32:55 -05:00
Alessio Treglia
9beb6d405e
Update PENDING.md
2018-11-16 05:05:20 +00:00
Christopher Goes
cf6b7ef6d8
Test runtime-assertable invariants every block ( #2807 )
...
* Initial pass
* Minor cleanup
2018-11-15 13:21:42 -08:00
Alessio Treglia
815a6de82f
R4R: Remove AppInit ( #2801 )
...
* Remove AppInit
* Update PENDING.md
2018-11-15 10:01:19 -08:00
Alessio Treglia
d22947f7b3
Update PENDING.md
2018-11-15 15:47:37 +00:00
Alessio Treglia
7b7d45ddd2
Merge PR #2800 : Limit total number of signatures per transaction
...
* Limit total number of signatures per transaction
* Fail if limit is exceeded
* Loop over all sigs and count subkeys
* No need for a type switch, adopt early return
* Test rejection logic
* Mention sigs limit
2018-11-15 15:30:24 +01:00
Jack Zampolin
554bdfba45
Merge branch 'cwgoes/export-at-height' of github.com:cosmos/cosmos-sdk into cwgoes/export-at-height
2018-11-14 18:25:06 -08:00
Christopher Goes
21795672c4
Update PENDING.md
2018-11-14 18:23:20 -08:00
mircea-c
45b0e3a7ac
Build docs in CircleCI ( #2810 )
...
* error checking the API call
* added docs build trigger to circleci job
2018-11-14 13:11:34 -08:00
rigelrozanski
90217e2313
docs and pending
2018-11-14 15:14:34 -05:00
Christopher Goes
2bff5c2838
Merge PR #2748 : Fix governance simulation, more import/export work
2018-11-14 19:20:50 +01:00
Christopher Goes
1f632e39bd
Merge branch 'develop' into cwgoes/export-at-height
2018-11-14 12:27:14 +01:00
Sunny Aggarwal
d1614ebb7e
R4R: Query Gov Params ( #2576 )
...
* gov query params
2018-11-13 15:45:37 -08:00
zramsay
689d8d0921
pending
2018-11-13 17:31:32 -05:00
Jack Zampolin
695395aca8
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-13 11:07:36 -08:00
Jack Zampolin
12ad39ea96
R4R: Reorganize CLI command structure. ( #2728 )
...
* Reorganize CLI command structure. Fixes #2575
2018-11-13 11:03:47 -08:00
Christopher Goes
7cb314ec01
Update PENDING.md
2018-11-13 15:55:22 +01:00
Christopher Goes
d2a53539dd
Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export
2018-11-13 14:23:15 +01:00
Christopher Goes
a4e5d8e594
Merge PR #2773 : Require moniker on `gaiad init`
...
* Generate random moniker when missing
* Update moniker prefix
* Require moniker instead of generating a random one
* Fix test coverage
* Fix required flag
* Link to issue
2018-11-13 13:58:40 +01:00
Christopher Goes
e76a18dcec
Link to issue
2018-11-13 13:46:38 +01:00
Jack Zampolin
b255a7d59f
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-12 14:09:18 -08:00
Jack Zampolin
8be97eec78
Add pending entry
2018-11-12 13:05:47 -08:00
Jack Zampolin
4df780b1dc
Merge branch 'develop' into bez/require-moniker-init
2018-11-12 12:08:38 -08:00
Jack Zampolin
fd7175d8ca
Merge pull request #2709 from cosmos/greg/MakefileFix2672
...
R4R: Makefile OS compatibility update
2018-11-12 11:33:22 -08:00
Jack Zampolin
ac8f2dabd4
Merge branch 'develop' into jack/query-tx-reorg
2018-11-12 11:10:52 -08:00
Christopher Goes
9c01348d7c
Merge branch 'develop' into greg/MakefileFix2672
2018-11-12 19:59:06 +01:00
Christopher Goes
0228d8f694
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-12 19:57:54 +01:00
Jack Zampolin
b7daf23366
R4R: Fix unbonding command flow ( #2727 )
2018-11-12 19:55:24 +01:00
Alessio Treglia
70826495b8
Merge PR #2752 : Don't hardcode bondable denom
2018-11-12 19:54:18 +01:00
Christopher Goes
81ae35c0f7
Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export
2018-11-12 15:28:52 +01:00
Aleksandr Bezobchuk
08a1667246
Require moniker instead of generating a random one
2018-11-12 08:27:26 -05:00
Aleksandr Bezobchuk
29bec833f3
Update moniker prefix
2018-11-12 08:16:47 -05:00
Aleksandr Bezobchuk
156370ea9c
Generate random moniker when missing
2018-11-12 08:15:08 -05:00
Alexander Bezobchuk
811b863677
Use correct Bech32 prefix for show-address command ( #2746 )
...
* Use consensus address bech32 prefix
* Update show-address CLI description
2018-11-11 23:34:50 -08:00
Jae Kwon
bb54a0de12
Gaia-9000: Update to TM 0.26.1-rc3 -- pex SeedMode fix
2018-11-09 19:39:22 -08:00
Hendrik Hofstadt
61fd142b9e
Fix TimeoutCommit ( #2743 )
...
* Fix TimeoutCommit to 5 seconds instead of whatever it was before which was too short.
2018-11-09 16:08:35 -08:00
Christopher Goes
241f6364e9
Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export
2018-11-09 16:55:20 +01:00
Christopher Goes
1049a2647f
Merge PR #2720 : x/mock/simulation cleanup and re-org
2018-11-09 16:54:25 +01:00
Alessio Treglia
fc56dd011e
Update PENDING.md
2018-11-09 15:27:28 +00:00
Christopher Goes
7031bc8e61
Update PENDING.md
2018-11-09 16:17:03 +01:00
Christopher Goes
8a58fdf634
Merge branch 'develop' into rigel/sim-cleanup
2018-11-09 16:16:01 +01:00
Christopher Goes
4d1246dae9
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-09 15:28:03 +01:00
Jae Kwon
d8b6d1d106
Update CHANGELOG/PENDING for straggling PR #2690
2018-11-08 16:45:44 -08:00
Christopher Goes
02da397899
Merge 0.26.0 back to develop ( #2718 )
...
* PENDING => CHANGELOG
* Linkify changelog
* Merge PR #2716 : Temporarily disable gaia lite insecure mode
* TODO: need to update CHANGELOG w/ import-export PR #2690
2018-11-08 16:41:57 -08:00
Christopher Goes
94f45311a0
Fix state export/import, add to CI ( #2690 )
...
* Update slashing import/export
* More slashing.WriteGenesis
* Add test import/export to CI
* Store equality comparison.
* Fix validator bond intra-tx counter
* Set timeslices for unbonding validators
* WriteGenesis => ExportGenesis
* Delete validators from unbonding queue when re-bonded
* Hook for validator deletion, fix staking genesis tests
2018-11-08 16:28:28 -08:00
Jack Zampolin
6c261eec66
PENDING
2018-11-08 13:39:37 -08:00
rigelrozanski
bbf574cedb
pending
2018-11-08 02:19:08 -05:00
Greg Szabo
74549faac9
Cross-compiling get_tools Makefile added
2018-11-07 22:42:43 -05:00
Dev Ojha
817f515956
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-07 13:26:00 -08:00
Christopher Goes
ee8bcbdaa5
PENDING => CHANGELOG
2018-11-07 14:10:20 +01:00
Alexander Bezobchuk
8f690b5b6c
Merge PR #2714 : Add commission data to MsgCreateValidator signature bytes
2018-11-07 13:55:59 +01:00
Greg Szabo
02327e13b6
Makefile OS compatibility update
2018-11-07 04:02:18 -05:00
Jae Kwon
c7b3efdd02
Do not allow nil values to be set in CacheKVStore ( #2708 )
...
* Do not allow nil values to be set in CacheKVStore
2018-11-07 00:29:27 -08:00
Alexander Bezobchuk
4f46a4c4d5
Update testnet to use canonical genesis time ( #2692 )
...
* Update testnet to use canonical genesis time
* Fix linting in genesis test
2018-11-07 00:19:06 -08:00
Jae Kwon
2a3d1f1e87
Fix coins.IsLT() impl ( #2686 )
...
* Fix coins.IsLT() impl
* Fix coin.IsLT() impl
* Coins.IsLT -> Coins.IsAllLT etc
2018-11-07 00:14:48 -08:00
Jae Kwon
2779f4dba3
Add general merkle absence proof (also for empty substores) ( #2685 )
2018-11-07 00:03:02 -08:00
Sunny Aggarwal
1d3a04a61c
Switch gov proposal-queues to use iterators ( #2638 )
...
* switched gov proposals queue to use iterators
* update gov spec
* update proposal.Equal
* Amino api change
* switched proposalID to uint64
* renamed Gov Procedures to Params
* s/ActiveProposalQueueProposalKey/KeyActiveProposalQueueProposal/g
* numLatestProposals -> Limit
* fixed staking invariant breakage because of gov deposits
* Send deposits to DepositedCoinsAccAddr or BurnedDepositCoinsAccAddr
2018-11-06 23:33:18 -08:00
Christopher Goes
dfddac394d
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-05 11:56:32 +01:00
Christopher Goes
cb3cb27b81
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-05 11:45:53 +01:00
Jae Kwon
336415baea
Fix simulation bugs; Incorprates #2676 from Sunny ( #2677 )
...
* Fix simulation bugs; Incorprates #2676 from Sunny
* Address review feedback; Update PENDING
2018-11-04 22:11:03 -08:00
Christopher Goes
256ec0f07b
Simulation improvements (logging fix, random genesis parameters) ( #2617 )
...
* Print out initial update on every block
* Randomize simulation parameters
* Randomize initial liveness weightings
* Randomize genesis parameters
* fixed power store invariant
* IterateValidatorsBonded -> IterateBondedValidatorsByPower
* WriteValidators uses IterateLastValidators rather than IterateBondedValidatorsByPower
* fixed democoin interface
Closes #2556
Closes #2396
Via #2671 :
closes #2669
closes #2670
closes #2620
Offshoot issues:
#2618
#2619
#2620
#2661
2018-11-04 20:44:43 -08:00
Alessio Treglia
c20fcbfd8f
New genesis workflow ( #2602 )
...
New genesis workflow:
* `gaiad init` is now used to generate an empty `genesis.json`.
* Genesis accounts need to be populated manually before running
`gaiad collect-gentxs`.
* This should support starfish too, see #2615 for more info.
* Closes : #2596 #2615
* Validate validator address and address against respective account ex ante
* Fix local testnet failures
* New genesis tests
* Run make format
* Add --pubkey flag
* gaiad collect-gentxs takes no args
2018-11-04 20:26:46 -08:00
Jae Kwon
f4338d6f75
Fix merge conflict bug; Update PENDING
2018-11-04 19:42:11 -08:00
ValarDragon
f0024e1a73
Make the simulator create the new comission rate sensibly
2018-11-04 15:55:07 -08:00
Sunny Aggarwal
2d429731b3
LCD and CLI
2018-11-03 22:55:38 -07:00
yutianwu
b6443e9496
Merge PR #2653 : Add benchmark for get and set account
2018-11-02 13:36:52 +01:00