Alexander Bezobchuk
b78c359a23
Merge PR #4605 : x/bank: Expected Keeeper
2019-06-24 16:45:09 -04:00
Alessio Treglia
c530c1cbb7
Remove auth's AccountDecoder type ( #4588 )
...
AccountDecoder is now entirely redundant.
client package now does no longer depend on x/auth.
Context: #4488
2019-06-19 16:20:27 +02:00
Alessio Treglia
1e7c4dd58a
Move /bank/balances/{address} REST endpoint into /x/bank ( #4570 )
...
Closes : #4560
2019-06-18 15:44:09 +02:00
Alexander Bezobchuk
ac2e765607
Merge PR #4561 : Add account JSON tag to AccountWithHeight
2019-06-15 16:17:39 +02:00
Alessio Treglia
73700df8c3
Merge PR #4555 : Move client/{tx,rest,utils} into x/auth/client
2019-06-15 14:34:11 +02:00
Alexander Bezobchuk
d5fe9b7eef
Merge PR #4550 : Minor Cleanup
2019-06-14 11:52:28 +02:00
colin axner
95f3d32250
Merge PR #4536 : Return account queries with height
2019-06-13 15:54:17 +02:00
colin axner
c777fb9108
Merge PR #4505 : Support height queries in REST client
2019-06-07 09:02:07 -04:00
Alexander Bezobchuk
3180e68c7b
Merge PR #4499 : Remove Client Codec Redundancy
2019-06-06 11:43:15 -04:00
frog power 4000
5f9c3fdf88
Merge PR #4451 : Client and Module Modularization
2019-06-05 19:26:16 -04:00
Marin Basic
b50b25d0a9
Replace all REST query empty result HTTP Status codes to 200 ( #4065 )
...
All query params that are empty now returns success
(http.StatusOK) instead of mixed http status codes
(http.StatusNoContent/http.StatusBadRequest/
http.StatusInternalServerError)
Closes : #2007
2019-04-10 18:07:21 +01:00
Alexander Bezobchuk
6ace1fada2
Merge PR #3696 : Cleanup Tx Broadcasting and Encoding
2019-02-26 12:34:27 +01:00
Alexander Bezobchuk
e39debd359
Merge PR #3674 : Remove password/keybase from REST Client
2019-02-19 10:15:39 -08:00
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
Ducem Barr
9348750eb4
Merge PR #3523 : Add tx/encode endpoint and CLI command
2019-02-08 13:17:25 -08:00
Alessio Treglia
c04c69648e
client/utils/ reorganization ( #3487 )
2019-02-04 07:48:26 -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
Federico Kunze
ad355d6c69
Merge PR #2444 : Standardize REST error responses
2018-10-19 18:55:20 +02:00
HaoyangLiu
8e1bfee6ca
Add swagger-ui for key management
2018-10-04 20:36:24 +08:00
HaoyangLiu
9830acc5b9
Add indent option to context and fix a bug in node status command
2018-10-02 23:38:18 +08:00
HaoyangLiu
5d259b1b39
Add post respones process to add json to header and decide whether bring in indent to make response more readable
2018-10-02 23:15:04 +08:00
HaoyangLiu
bd274db7a7
Add application/json to response header
2018-10-01 09:07:41 +08:00
HaoyangLiu
019b1d95cf
unminify JS files according to cwgoes
2018-09-30 18:50:31 +08:00
HaoyangLiu
6e8b8e47ee
Add swagger-ui for ICS0 and ICS20
2018-09-30 11:42:12 +08:00
HaoyangLiu
0627675929
Remove uesless code
2018-09-23 15:48:49 +08:00
HaoyangLiu
0b021cfa45
Merge with develop
2018-09-23 15:35:29 +08:00
Dev Ojha
6b55093c75
Merge PR #2324 : rename wire to codec
...
* rename wire to codec
* fix formatting and cli
* fix the docs
2018-09-13 14:17:32 -04:00
HaoyangLiu
c2668335a7
merge with develop
2018-09-13 23:09:17 +08:00
HaoyangLiu
0c171ec761
Merge branch 'develop' into bianjie/lcd-lite-swagger-ui
2018-09-13 22:47:01 +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
Alessio Treglia
e6a8a4df55
Implement command/REST endpoint for offline tx sign off #1953
...
* Add sign CLI command to sign transactions generated with the
--generate-only flag.
* Add /sign REST endpoint for Voyager support.
Redirect password prompt to STDERR to avoid messing up cli
commands output. As a rule of thumb, program's output should
always go to STDOUT, whilst errors&diagnostics go to STDERR
as per POSIX's philosophy and specs.
2018-09-07 12:57:50 +01:00
HaoyangLiu
79c0bc40c8
Add swagger-ui to gaiacli rest-server
2018-09-02 20:09:43 +08:00
Alessio Treglia
122ed3a900
Don't use pointers when you need them not!
2018-08-31 19:04:45 +02:00
Alessio Treglia
f432c0c383
Simulate transactions before actual execution
...
* Change --gas=0 semantic in order to enable gas auto estimate.
* REST clients have been modified to simulate the execution of
the tx first to then populate the context with the estimated
gas amount returned by the simulation.
* The simulation returns both an unadjusted gas estimate and an
adjusted one. The adjustment is required to ensure that the
ensuing execution doesn't fail due to state changes that might
have occurred. Gas adjustment can be controlled via the CLI's
--gas-adjustment flag.
* Tiny refactorig of REST endpoints error handling.
Closes : #1246
2018-08-24 10:16:51 +01:00
Alexander Bezobchuk
12c2c236c2
Merge PR #1741 : CoreContext Refactor
2018-08-06 20:11:30 +02:00
Sunny Aggarwal
896cd333f0
address comments
2018-07-09 16:06:05 -07:00
Fabian
42e72956f4
Merge PR #1252 : Query node version
...
introduce non store queries
add version query
update lcd spec
changelog
moved version query into baseapp
2018-06-14 07:49:21 +02:00
David Kajpust
ec2fedd36c
Merge PR #1227 : Set all Error strings 1st letters to lowercase. Fixes issue #1154
2018-06-13 21:13:22 +02:00
Sunny Aggarwal
161cb474d4
Account Numbers for Replay Protection with Account Pruning ( #1077 )
...
* in progress
* passes current tests
* added tests and got working
* changelog and docs
* removed prints
* oops
* works!
* issue in test_cli
* number 9 number 9 number 9
* at least it does only the 9 issue now
* hallelujah it works!
* removed print statement
* rebased
* gah
2018-06-12 04:30:54 +02:00
Fabian
5f409ce832
Merge PR #1086 : Bech32Cosmos output/input for the LCD
...
* refactored bech32ization
* updated keys endpoints for bech32
* bech32 for sending and querying
* trying to change output of validator addresses
* fixed validator output
* linted
* fixed merge conflict
* added bech32 to staking endpoints
* removed some logging statements
* added GetAccPubKeyBech32Cosmos
* fixed cli tests
* updated swagger
* merged standard bech32 change
* renamed bech32cosmos to bech32
* bech32ify json output for key add
* readded changelog
* fixed changelog merge issue
* Update CHANGELOG.md
2018-06-06 06:53:04 +02:00
sunnya97
56d1c48812
in progress
2018-05-23 19:49:35 -07:00
Christopher Goes
5b4fb85f7e
Fn suffix & http.HandlerFunc
2018-04-25 22:32:22 +02:00
Christopher Goes
fd40d39556
Only one CoreContext for all REST commands
2018-04-25 16:49:31 +02:00
Christopher Goes
56ac948dc6
REST folder restructure & cleanup
2018-04-25 16:18:06 +02:00