Commit Graph

9455 Commits

Author SHA1 Message Date
HaoyangLiu
0f29a26efa Add a empty statik.go to avoid test_lint failure and add gocyclo for BroadcastTxRequestHandlerFn 2018-09-13 22:35:23 +08:00
HaoyangLiu
69b9a53b53 Remove generate golang file client/lcd/statik/statik.go 2018-09-13 21:33:04 +08:00
HaoyangLiu
5d5bdbb743 Use http.Handler instead of mux.Router 2018-09-13 20:35:54 +08:00
HaoyangLiu
dafe528559 rest-server is kept and there is no breaking change 2018-09-13 20:31:53 +08:00
HaoyangLiu
e704f095bd Keep both subcommand: rest-server and lite-server 2018-09-13 20:30:24 +08:00
HaoyangLiu
5f38b50a85 modify makefile to automatically install tools and generate api docs 2018-09-13 19:56:23 +08:00
rigelrozanski
dae32a3d65 ... 2018-09-13 03:03:30 -04:00
rigelrozanski
46db96bdb7 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-13 02:11:07 -04:00
Rigel
5bf9401e87
Merge PR #2310: staking transient store for Tendermint Updates
* working

* non-tests compile

* fix mounting error, working on testing

* stumped using transient store

* joon comments

* remove old comments

* resolve ibc error

* lint/sim_test

* fix determinism sim test

* sim enable commit

* docs and pending
2018-09-13 00:53:55 -04:00
philipstanislaus
8682556fad Merge PR #1993: Add optional flag to gaiad testnet to make config directory of daemon and cli configurable 2018-09-12 16:02:03 +08:00
Federico Kunze
5834a500da Merge PR #2259: Minor changes on slashing logs and gov Querier 2018-09-12 15:41:09 +08:00
Zach
f1ac53b4ad Merge PR #2270: docs: lotion update 2018-09-12 15:39:34 +08:00
Dev Ojha
e5e7c4fa0f Merge PR #2303: simulation: Add weighted operation 2018-09-12 15:16:52 +08:00
Alexander Bezobchuk
854aca2f7d Merge PR #2238: Ensure Tendermint Validator Update Invariants 2018-09-12 15:16:28 +08:00
Jia Chenhui
55b7c6adf1 Merge PR #2304: client/keys: remove excess code and uniform code style 2018-09-12 15:14:29 +08:00
Dev Ojha
358b48771c Merge PR #2308: Remove ripemd160 entirely
* Remove ripemd160 entirely

We already made this decision awhile ago, and have had tendermint switched
for awhile. I was surprised to find ripemd still used within the storeinfo.
This actually leads me to think the new "byter" API change in the tendermint
PR RFC compliance is better, as it avoids things like this from ever happening.

* Get ripemd160 removed from the gopkg imports
2018-09-12 15:13:14 +08:00
Alessio Treglia
fb0cc0b078 Merge PR #2306: Change --gas=0 semantic and introduce --gas=simulate
* Change --gas=0 semantic and introduce --gas=simulate

Make --gas flag accept a conventional "simulate" string value in addition
to integers. Passing --gas=simulate would trigger the tx simulation and
set the gas according to the gas estimate returned by the simulation.
Any other integer value passed to --gas would be interpreted as-is and
and set as gas wanted value.

Closes: #2300

* Add test cases with gas=0

* ACK suggestion from @alexanderbez

* s/GasFlagSimulateString/GasFlagSimulate/

* Drop TODO comment on Gas type

* Enrich TODO with ref
2018-09-11 20:31:30 -04:00
rigelrozanski
a153088073 ... 2018-09-11 13:35:47 -04:00
Dev Ojha
962b04d985 Merge PR #2285: simulation: Write logs on panic 2018-09-11 17:18:58 +08:00
Dev Ojha
2a49406e9b Merge PR #2284: Prevent create_empty_blocks=false 2018-09-11 17:15:38 +08:00
Dev Ojha
2e0fc15dd4 Merge PR #2292: x/staking: Use variable names in switch case 2018-09-11 17:14:32 +08:00
Dev Ojha
4f0c3cb25a Merge PR #2291: x/staking: standardize validator record not found error 2018-09-11 17:12:35 +08:00
rigelrozanski
922eb5e7ce ... 2018-09-10 22:00:51 -04:00
rigelrozanski
7d864fee11 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-10 18:42:26 -04:00
rigelrozanski
e498d43d03 dec coins, refactoring distr 2018-09-10 18:37:58 -04:00
Ismail Khoffi
06f094563a Merge PR #2301: remove BechValidator
- replace with and unexported struct and amino's ability to override /
implement MarshalJSON & UnmarshalJSON to have the pub key bechified

- replaced default time to UTC as I (from London) always got an error
while decoding (epoch but in BST ;-)

- remove all occurrences of `BechValidator
2018-09-10 18:37:03 -04:00
Alexander Bezobchuk
e13cdc0260 Merge PR #2146: x/bank: Keeper Interfaces
* Update banking module to implement and use keeper interfaces

* Cleanup/consolidate x/bank keeper interface
2018-09-10 14:25:34 -04:00
Dev Ojha
173ed6a63d Merge PR #2282: simulation: Switch the log method from a single string to string builders 2018-09-09 23:34:09 +08:00
Dev Ojha
8b8028e0dd Merge PR #2280: genesis: Ensure no dup validators, or bonded and revoked validators 2018-09-09 23:23:51 +08:00
Dev Ojha
43ccbd4185 Merge PR #2281: Update to iavl 0.11.0 2018-09-09 23:13:17 +08:00
HaoyangLiu
3cf3ab11b0 Merge PR #2037: transient store missed to implement store type interface
* transientstore missed to implement store type interface

* rename pointer name from rs to ts
2018-09-08 20:47:36 -04:00
Christopher Goes
d85eb98762 make format 2018-09-08 17:46:08 +08:00
Christopher Goes
1d55673f1f
Merge branch 'develop' into cwgoes/update-tendermint-upstream 2018-09-08 17:41:38 +08:00
Dev Ojha
1a700206b8 Merge PR #2275: genesis: Ensure there are no duplicate accounts in genesis file
This also contains a light refactor of genesis state parsing, so that
the tests file didn't duplicate a lot of this code.
2018-09-08 17:29:34 +08:00
Alessio Treglia
4448d175ad Merge PR #2240: New broadcast command
Implement broadcast command/REST endpoint to submit transactions
generated offline with --generated-only and the sign command.
2018-09-08 17:26:20 +08:00
Dev Ojha
88a2ddeb25 Merge PR #2276: make simulation no longer generate new privkeys 2018-09-08 16:55:49 +08:00
Christopher Goes
08d4f4525c Merge branch 'develop' into cwgoes/update-tendermint-upstream 2018-09-08 16:48:15 +08:00
Alexander Bezobchuk
0edfa17b53 Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
Alessio Treglia
f68e5a7542 Merge PR #2266: Fix CLI commands JSON output
When running with --json, commands should produce
correctly JSON-encoded output.
2018-09-08 16:33:55 +08:00
Dev Ojha
c800bc7a1a Merge PR #2274: simulation: Stop on SIGTERM 2018-09-08 16:29:24 +08:00
Christopher Goes
f95d26aec1 Merge branch 'develop' into cwgoes/update-tendermint-upstream 2018-09-08 16:14:23 +08:00
Christopher Goes
ffb4c5ec7d
Merge PR #2273: Rename coinKeeper -> bankKeeper 2018-09-08 16:12:58 +08:00
ValarDragon
fb235724d5 Fix unrelated lint error. 2018-09-07 22:39:26 -07:00
ValarDragon
e812919649 Rename coinKeeper -> bankKeeper
Closes #2267
2018-09-07 22:34:32 -07:00
Jae Kwon
2abc90e92b Merge remote-tracking branch 'origin/develop' into alessio/auth-txcontext-to-txbuilder 2018-09-07 10:49:12 -07:00
Jae Kwon
a27d83911a bld -> bldr in txbuilder.go 2018-09-07 10:34:44 -07:00
Jae Kwon
6325441861 txBld -> txBldr 2018-09-07 10:15:49 -07:00
Christopher Goes
b144dc7aa2 Merge branch 'develop' into cwgoes/update-tendermint-upstream 2018-09-08 01:09:24 +08:00
Jae Kwon
acd125029d x/auth/client/context -> x/auth/client/txbuilder 2018-09-07 10:04:58 -07:00
Christopher Goes
44b695c3c0
Merge PR #2226: simulation: Make governance simulation use future operations to schedule votes 2018-09-07 19:01:33 +02:00