frog power 4000
d66db6a772
Merge PR #3621 : module inter-dependency cleanup
2019-02-13 15:01:50 -08:00
Alexander Bezobchuk
22bdc1778b
Merge PR #3264 : Return an empty TxResponse when nil
2019-02-12 17:23:03 +01:00
Alexander Bezobchuk
2216f4716e
Merge PR #3625 : Fix Fee Comparison
2019-02-12 16:22:04 +01:00
Alexander Bezobchuk
9c23fe68ee
Merge PR #3604 : Improve REST Error Messages & Allow Unicode
2019-02-11 15:12:43 -08:00
Alexander Bezobchuk
1d4bb1a863
Merge PR #3591 : Fix setting tx hash when nil
...
* fix setting the tx hash when nil
* add a pending log entry
2019-02-11 11:28:23 +01:00
Sunny Aggarwal
da0426a2dd
Merge PR #2601 : Bech32 Empty Addresses
2019-02-09 00:54:40 +01:00
Alexander Bezobchuk
fd5e7b9b80
Merge PR #3552 : General Sanitization & Gas Cost Review
2019-02-08 23:33:29 +01:00
Juan Leni
b5fdb83830
Merge PR #3517 : Increasing test coverage in keys/client package
2019-02-08 12:45:23 -08:00
Sunny Aggarwal
cff985ffc5
Merge PR #3546 : Min Self Delegation
2019-02-08 12:44:19 -08:00
Alexander Bezobchuk
7bc837aa06
Merge PR #3555 : Reintroduce Fees OR Semantics
2019-02-07 18:14:54 -08:00
Joon
685bfca1d4
Merge PR #3526 : BaseApp Peer Review
2019-02-07 17:52:24 -08:00
Christopher Goes
38068a59ea
Merge PR #3507 : Results from x/staking & x/slashing peer review
2019-02-07 17:41:23 -08:00
Alessio Treglia
b63b6254c8
Merge PR #3522 : get rid of double negatives: IsNotNegative -> IsAnyNegative
2019-02-06 14:45:15 -08:00
Alexander Bezobchuk
c5ab5699e3
Merge PR #3520 : Minor CLI Output Updates
...
* minor cli output fixes
* Update client/utils/utils.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2019-02-06 11:48:06 -08:00
frog power 4000
52f2ec71a9
Merge PR #3400 : power reduction for Tendermint
...
* add uncompiled power functionality
* fix some compile errors
* Power -> TendermintPower
* tests rename GetTendermintPower
* test fix
* working
* fix delegation tests
* fix slash tests
* staking/keeper tests passing
* docs reversion
* debuggin workin
* x/staking test pass
* fix gov tests
* fix x/slashing tests
* working distribution test fixes
* fix distribution tests
* lint
* fix lcd tests
* fix gov test
* lint
* CLI fixes, rm stakingTypes
* typos
* working cli fixes
* cli test fix
* cli tests fixed
* testnet creation modification
* typo
* pending
* Sanitize Dec.Roundint64 (#3475 )
* merge fixes
* @cwgoes comments
* fix tests
* change power reduction to 10^-6
* option to turn off minting for LCD tests
2019-02-05 21:30:48 -08:00
Jack Zampolin
5e35354269
Merge PR #3451 : Make tags and responses legible
2019-02-04 18:20:56 -08:00
Joon
08e62fb157
Store Refactor 1 ( #2985 )
2019-02-01 17:03:09 -08:00
Jack Zampolin
af60c75dd3
Merge PR #3352 : Reenable simulation tests
2019-01-24 22:01:32 +01:00
Alexander Bezobchuk
36d1736a08
Refactor Gas/Fee Model ( #3258 )
2019-01-18 08:45:20 -08:00
frog power 4000
d9e32e93d5
Merge PR #3315 : Increase decimal precision to 18
...
* Decimal precision increase WIP
* fix String()
* resolve many errors
* changelog
2019-01-17 18:15:10 +01:00
Christopher Goes
2942f83ff5
Merge PR #3099 : F1 fee distribution
2019-01-16 22:38:05 +01:00
cong
916ea85630
Merge PR #2730 : add tx search pagination related CLI/REST API parameter
2019-01-15 16:34:48 +01:00
Alexander Bezobchuk
a984a22373
Merge PR #2694 : Vesting Account(s) Implementation
2019-01-14 17:11:24 +01:00
Alexander Bezobchuk
03bdd3f870
Fix IsAnyGTE ( #3265 )
2019-01-09 12:31:03 -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
Alessio Treglia
1040e3a8f5
Increase CLI test coverage ( #3254 )
2019-01-08 08:43:36 -08:00
Zaki Manian
ed2b6bd9a7
Multiple fees in min fees to OR instead of AND ( #3239 )
2019-01-08 08:21:54 -08:00
Jack Zampolin
23819b1ce5
Merge PR #3159 : Add address interface
...
* Add address interface
* Add test for addresses
* Address comments
2019-01-04 23:09:39 +01:00
Jack Zampolin
d1824ad704
R4R: validate sign tx request's body ( #3179 )
...
* validate sign tx request's body
Closes : #3176
* Introduce CodeNoSignatures
* Update swagger.yaml
* Fix tests
* Update x/auth/client/rest/sign.go
Co-Authored-By: alessio <quadrispro@ubuntu.com>
2019-01-03 08:30:04 -08:00
Alexander Bezobchuk
990f3ab4c1
Add IsValid check on sendCoins ( #3212 )
2019-01-02 13:19:48 -08: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
Dev Ojha
67a1e47c6e
Fix is_valid bug ( #3211 )
2019-01-02 11:14:12 -08:00
Christopher Goes
5ca8c5bb83
Merge PR #3207 : Fix token printing bug
...
* Add IsPositive, case check on coins[0]
* Link to correct PR
* Add testcase
2019-01-02 19:17:27 +01:00
Alessio Treglia
11585a4abd
Introduce CodeNoSignatures
2019-01-02 10:05:56 +00: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
Artur Albov
0c6d53dc07
Merge PR #2959 : Add TxEncoder to client TxBuilder
2018-12-12 22:29:42 +01: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
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
Alessio Treglia
24a1670cf0
Run make format
2018-12-10 14:27:25 +00:00
Jae Kwon
40a30b738f
Update gas costs to more reasonable numbers for GoS ( #3052 )
2018-12-10 02:48:19 -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
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
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
Jae Kwon
d1e76221d8
Jae/simulator improvements ( #2900 )
...
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -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
Jae Kwon
819af35962
Final fixes from review
2018-11-24 18:15:02 -08:00
rigelrozanski
0861112b70
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-22 12:34:41 -05:00
rigelrozanski
b4b61b890c
address some comments while reviewing Jaes work
2018-11-22 00:30:04 -05: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
rigelrozanski
6fd3132e71
lint fix, merge fix
2018-11-21 02:02:15 -05:00
rigelrozanski
70e60c2f30
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-21 01:51:56 -05:00
Jae Kwon
4afd53d81b
Consume block gas to tx gas limit even upon overconsumption
2018-11-20 20:07:30 -08:00
Jae Kwon
10bdf8fa03
Store ConsensusParams to main store
2018-11-20 16:44:49 -08:00
Alexander Bezobchuk
41fc538ac7
Add Safety Measures to Coin/Coins ( #2797 )
2018-11-20 01:22:35 -08:00
Jae Kwon
47eed3958b
Clean up Context/MultiStore usage in BaseApp ( #2847 )
2018-11-20 01:06:14 -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
Sunny Aggarwal
8d6b0929fb
Codespaces as Strings ( #2821 )
2018-11-16 09:12:24 -08:00
rigelrozanski
4818e67145
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-16 03:32:55 -05: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
rigelrozanski
7be5179982
Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas
2018-11-14 14:45:02 -05:00
rigelrozanski
956d351f68
basic structure in place
2018-11-13 11:30:06 -05:00
Christopher Goes
0e56ed9e4e
Fix DiffKVStore
2018-11-13 14:36:09 +01:00
Christopher Goes
d2a53539dd
Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export
2018-11-13 14:23:15 +01:00
rigelrozanski
2f73cf4193
block gas meter working
2018-11-12 23:12:09 -05:00
Alessio Treglia
70826495b8
Merge PR #2752 : Don't hardcode bondable denom
2018-11-12 19:54:18 +01:00
Christopher Goes
f9c7281124
Linter fix
2018-11-09 16:43:46 +01:00
Christopher Goes
d761eb7282
Address remaining comments from #2690
2018-11-09 16:26:08 +01: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
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
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
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
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
Alexander Bezobchuk
50926fffff
Update to TM v0.26.0 - Part I ( #2679 )
...
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
svaishnavy
9cf53f25f7
Merge PR #2614 : Configurable Bech32 prefix for SDK users
2018-10-31 20:13:13 +01:00
Jae Kwon
0f1fb179c4
Merge PR #2599 from cosmos/jae/dist_refactor
...
* Rename Pool -> DelRewards; PoolCommission -> ValCommision
* FeePool.Pool -> FeePool.ValPool
* WithdrawalHeight->DelPoolWithdrawalHeight
* OnValidatorBeginUnbonding
* Caught the bug's tail
* Update vi.FeePoolWithdrawalHeight upon bonding
* Fix staking slashUnbondingDelegation bug; fixes simulator failure #9
2018-10-26 13:27:55 +02:00
Sunny Aggarwal
d666658ca9
Merge PR #2553 : Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route()
2018-10-23 21:23:55 +02:00
Christopher Goes
306fb8fb6d
Address @rigelrozanski comments
2018-10-23 20:33:39 +02:00
Christopher Goes
33c8238392
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-23 17:54:58 +02:00
Jae Kwon
fa3730a5d2
WIP looking for bug...
2018-10-22 19:48:28 -07:00
rigelrozanski
c4d7747a56
Merge remote-tracking branch 'origin/cwgoes/check-supply-in-simulation' into jae/check-supply-in-simulation
2018-10-22 15:51:52 -04:00
rigelrozanski
278d23776b
call hook on slashing
2018-10-22 14:59:00 -04:00
Jae Kwon
1cc74320df
Replicate Rigel's changes but w/ modifications as discussed + some name changes
2018-10-22 01:46:47 -07:00
ValarDragon
1a463eb056
make more clear
2018-10-20 18:02:17 -07:00
ValarDragon
864ca4e982
Merge branch 'dev/change_dec_marshaljson' of github.com:cosmos/cosmos-sdk into dev/change_dec_marshaljson
2018-10-20 13:32:59 -07:00
ValarDragon
c2d68928e7
Switch to new Decimal.String() implementation
2018-10-20 13:32:43 -07:00
Dev Ojha
73bfd6c747
Merge branch 'develop' into dev/change_dec_marshaljson
2018-10-20 13:05:27 -07:00
Christopher Goes
7770aec306
Withdraw rewards on bonded to unbonding
2018-10-20 00:13:44 +02:00
Federico Kunze
ad355d6c69
Merge PR #2444 : Standardize REST error responses
2018-10-19 18:55:20 +02:00
Sunny Aggarwal
b51d41a2e3
added sdk time format tests, const, and removed duplicate in stake module
2018-10-17 01:03:56 -07:00
Sunny Aggarwal
e419396bd1
fixed time key marshal ( #2516 )
...
Do not use Amino Binary for key sorting.
2018-10-16 23:09:19 -07:00
Christopher Goes
79ce52a41a
Merge PR #2458 : Move linear to store
2018-10-16 21:57:42 +02:00
ValarDragon
20cc13e5bf
types: Dec.MarshalJSON now marshals as a normal decimal string
...
Closes #2475
2018-10-16 09:29:32 -07:00
rigelrozanski
2f4a01bcba
address @ValarDragon comments, param store update
2018-10-15 15:51:51 -04:00
mossid
9d809d7855
Merge branch 'develop' into joon/2406-move-linear
2018-10-16 03:18:04 +09:00
rigelrozanski
5de0c9a1f8
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-15 02:43:36 -04:00
Sunny Aggarwal
6c9e71b654
Merge PR #2451 : implement validator queue
...
* unbonding redelegation queue
* address some of bez and chris review
* delete old timeslices from queue
* added Rigel's test case
* added end-time to tags
* fixed bug in staking
* removed prints
* Get -> Queue
* called Endblocker in test
* implement validator queue
* Docs and PENDING
* address federicos comments
* unexposed UnbondingToUnbonded
* no copying unbonded val array to memory
2018-10-14 20:37:06 -04:00
rigelrozanski
06fa518e30
address @cwgoes comments, add in precommit calculation
2018-10-12 07:15:13 -04:00
rigelrozanski
f3c0496c99
TestWithdrawDelegationRewardsAll
2018-10-12 04:11:09 -04:00
rigelrozanski
3b5e57be08
ctx with proposer, working through allocation test
2018-10-10 17:43:47 -04:00
mossid
03975407ba
Merge branch 'develop' into joon/paramstore-refactor-base
2018-10-10 21:20:59 +09:00
mossid
0c92477b4d
mv types/lib/* store/
2018-10-09 22:23:22 +09:00
rigelrozanski
600532575b
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-08 20:15:17 -04:00
Sunny Aggarwal
cd21427a7b
Merge PR #2405 : Unbonding and Redelegations Queue
2018-10-08 06:43:47 +02:00
Dev Ojha
869d85fba5
Merge PR #2453 : Update to tm version v0.25.0
2018-10-08 06:08:20 +02:00
mossid
7a68b376bd
apply requests in progress
2018-10-07 01:12:01 +09:00
Aleksandr Bezobchuk
2aad1bd1b0
Minor doc and formatting updates
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
rigelrozanski
45f0dd0e3b
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-04 18:33:12 -04:00
rigelrozanski
1e74da1abe
validator_info tests
2018-10-04 03:00:24 -04:00
Christopher Goes
17983460b8
Merge PR #2219 : Update to Tendermint 0.24 (except NextValSet offsets)
2018-10-03 17:48:23 +02:00
rigelrozanski
0436f50c00
...
2018-09-27 19:54:41 -04:00
Alexander Bezobchuk
8ca8acf638
Merge PR #2357 : Refactor Iterator Gas Consumption
2018-09-26 22:02:56 +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
rigelrozanski
3846894c3a
Merge branch 'rigel/new-hooks' into rigel/fee-distribution
2018-09-25 20:09:33 -04:00
rigelrozanski
9e9756a6a9
Merge remote-tracking branch 'origin/develop' into rigel/new-hooks
2018-09-25 18:31:12 -04:00
rigelrozanski
910af2066f
Merge commit '5be5ea3' into rigel/new-hooks
2018-09-25 18:26:24 -04:00
rigelrozanski
d3146bf06d
...
2018-09-25 18:02:22 -04:00
rigelrozanski
380d3e1c5a
pull a bunch from develop
2018-09-25 17:43:26 -04: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
611e287375
Merge PR #2401 : Remove remnants of gocyclo
2018-09-25 13:45:04 -04: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
rigelrozanski
5be5ea3b4c
comment update
2018-09-24 23:07:55 -04:00
rigelrozanski
f5116b9d57
Merge branch 'rigel/truncate-decimal' into rigel/new-hooks
2018-09-24 22:52:12 -04:00
rigelrozanski
ff8d7486a2
Merge branch 'rigel/stake-cons-addr' into rigel/truncate-decimal
2018-09-24 22:51:14 -04:00
rigelrozanski
16594f7daf
Merge remote-tracking branch 'origin/develop' into rigel/stake-cons-addr
2018-09-24 21:54:30 -04:00
rigelrozanski
afe179ebb3
remove GetValidatorByConsPubKey
2018-09-24 21:51:24 -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
rigelrozanski
6f35822d7d
import hook from fee-distr
2018-09-22 16:29:42 -04:00
rigelrozanski
d428317f91
import decimal from fee-distr PR
2018-09-22 13:56:48 -04:00
rigelrozanski
9e2b8e413d
revert some gov changes
2018-09-20 21:22:28 -04:00
rigelrozanski
0f903bdd52
finished pulling in, compiles
2018-09-20 21:17:50 -04:00
rigelrozanski
0d9105cf7c
...
2018-09-20 20:10:26 -04:00
rigelrozanski
d36030424e
breakout use of GetValidatorByConsAddr
2018-09-20 15:36:32 -04:00
rigelrozanski
5dabd1bf6d
the errors never want to seem to end...
2018-09-19 22:54:46 -04:00
rigelrozanski
18fdccf95b
...
2018-09-19 22:13:12 -04:00
rigelrozanski
d9396ed732
working compile errors
2018-09-19 19:33:12 -04:00
rigelrozanski
97f7dbc5e6
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-09-19 13:25:23 -04:00
Alessio Treglia
b74a6a9066
Merge PR #2328 : Support min fees-based anti spam strategy
2018-09-19 23:25:52 +08:00
rigelrozanski
24e43b9869
hookwork
2018-09-18 12:46:04 -04:00
rigelrozanski
431fdb8695
hook, genesis, and withdraw address
2018-09-17 23:02:15 -04:00
rigelrozanski
2eff69a575
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-09-17 17:53:42 -04:00
Dev Ojha
65137f6331
Merge PR #2343 : Add a name field to the message type
...
This is to facillitate ease of implementing #1406 . (Tags for messages
could then be added dynamically)
Ultimately once we make the router support hiearchical routing, (#770 )
we can then remove the name field and just the parse info for tags from that.
Until then, we can parse the tag name as
`fmt.Sprintf("%s %s", msg.Type(), msg.Name())`
2018-09-17 22:34:06 +08:00