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
Dev Ojha
8e328c8706
Merge PR #2665 : simulation: Remove header from Invariant
...
This got introduced recently, but wasn't actually needed, hence the reversion
2018-11-02 13:35:21 +01:00
Christopher Goes
f4d3e65ef0
Merge PR #2660 : simulation: Make validator choice use validator set
...
* simulation: Make validator choice use validator set
This also had to change the default seed, since with the previous one it
actually got into a state where there were no validators left bonded, lol.
This also changes Unbond msgs from failing with almost 100% probability to now
only failing with 33% probability.
Thus more of the state machine is getting tested!
2018-11-02 00:32:55 +01:00
ValarDragon
52083e105b
Update changelog
2018-11-01 12:52:03 -07:00
Elvin
1686ba072b
Merge PR #2643 : AppendTag function usage error. append elements do not work
2018-11-01 10:26:44 +01:00
svaishnavy
9cf53f25f7
Merge PR #2614 : Configurable Bech32 prefix for SDK users
2018-10-31 20:13:13 +01:00
Christopher Goes
fcf5b7764b
Merge PR #2622 : Make simulation use a transition matrix for block size
...
Make simulation use a transition matrix for block size
This enables simulating periods of high load, and periods of low to no load.
(low load because future ops will still terminate in that time frame)
2018-10-31 20:10:35 +01:00
Alessio Treglia
06989bee61
Fix rebase
2018-10-31 13:48:10 +00:00
Alessio Treglia
17f799abb0
Update PENDING.md
2018-10-31 13:43:17 +00:00
Alessio Treglia
a4c4e280f8
Refresh PENDING.md
2018-10-31 13:42:38 +00:00
Jae Kwon
1538ab8de9
Merge branch 'develop' into release/v0.25.0
2018-10-30 17:54:54 -07:00
Dev Ojha
4cde8043c5
Merge branch 'develop' into dev/sim_blocksize
2018-10-29 17:41:32 -07:00
Christopher Goes
c93b116d23
Merge PR #2616 : Block redelegations to the same validator
2018-10-30 00:05:55 +01:00
ValarDragon
e4b5e2c9f3
Make simulation use a transition matrix for block size
...
This enables simulating periods of high load, and periods of low to no load.
(low load because future ops will still terminate in that time frame)
2018-10-28 21:37:19 -07:00
Federico Kunze
855e0ac70a
Merge PR #2596 : Cmds for validator unbondings and redelegations
2018-10-28 22:28:12 +01:00
Christopher Goes
0b5106090c
PENDING.md => CHANGELOG.md
2018-10-26 13:44:49 +02:00
Rigel
d71f38bdac
Merge PR #2597 : Add distribution accum invariants
2018-10-26 13:42:53 +02:00
Christopher Goes
d33cc7cdfe
Move PENDING to CHANGELOG
2018-10-24 15:38:34 +02:00
Christopher Goes
c577831261
Merge PR #2554 : Make `gaiacli keys show` multisig-ready
2018-10-24 15:24:12 +02:00
HaoyangLiu
9ee9e28439
Merge PR #2462 : Add swagger-ui for gov, stake and slashing
2018-10-24 15:19:48 +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
60d188ded0
Merge PR #2501 : Simulate transactions for fee distribution, simulate inflation, and fix a multitude of bugs discovered in the process of doing so
2018-10-23 21:21:37 +02:00
Christopher Goes
a231bd8ccc
Merge PR #2555 : Don't acquire lock on read-only keybase
2018-10-23 21:03:08 +02:00
Christopher Goes
701a00c67a
Merge PR #2570 : Cmds for query deposits
2018-10-23 20:52:56 +02:00
Christopher Goes
ef8aab84e1
Update PENDING.md
2018-10-23 20:37:36 +02:00
Alexander Bezobchuk
990852a5b2
Update PENDING.md
...
Co-Authored-By: alessio <quadrispro@ubuntu.com>
2018-10-23 10:43:45 -07:00
Christopher Goes
edd56be952
Cleanup, additional item in PENDING.md
2018-10-23 18:29:39 +02:00
Christopher Goes
6bf7e02a27
Back to on-operation=false, update PENDING.md
2018-10-23 18:10:06 +02:00