Alessio Treglia
ca19fbc5f8
types/rest: add convenience functions for error checking ( #5900 )
2020-04-01 09:50:22 +02:00
Aleksandr Bezobchuk
da400156c3
Fix tests
2020-03-26 12:50:39 -04:00
Aleksandr Bezobchuk
75412d00f8
Rename to Println
2020-03-25 15:17:12 -04:00
Aleksandr Bezobchuk
6a33b424a6
Do not sanitize memo
2020-03-25 15:15:43 -04:00
Aleksandr Bezobchuk
e950dd34aa
Error when keybase is nil during Sign
2020-03-25 15:12:39 -04:00
Aleksandr Bezobchuk
f4e6bd6ad7
Fix build
2020-03-25 14:30:42 -04:00
Aleksandr Bezobchuk
3e0cf99e81
Finish remaining x/bank REST handlers
2020-03-25 14:23:34 -04:00
Aleksandr Bezobchuk
d962526b70
Implement and use CLIContext.Print
2020-03-25 12:24:13 -04:00
Aleksandr Bezobchuk
70d0241373
tx tests
2020-03-24 19:07:27 -04:00
Aleksandr Bezobchuk
33c090ee17
Use auth instead of func interface
2020-03-24 18:56:20 -04:00
Aleksandr Bezobchuk
0f4473936d
Fix imports
2020-03-24 16:51:59 -04:00
Aleksandr Bezobchuk
8bb0cfdf6f
Use JSON for SimulationResponse
2020-03-24 16:45:34 -04:00
Aleksandr Bezobchuk
d4d4da4a6e
Implement client and factory
2020-03-24 16:36:12 -04:00
Aleksandr Bezobchuk
b0f784d8f9
Implement factory and remove tx generator from CLIContext
2020-03-24 15:55:52 -04:00
Aleksandr Bezobchuk
b557d4278f
Update CanonicalSignBytes godoc
2020-03-16 11:52:07 -04:00
Aleksandr Bezobchuk
98f62db242
Fix linting
2020-03-15 14:10:15 -04:00
Aleksandr Bezobchuk
c49af0b8dd
Update context
2020-03-13 13:59:14 -04:00
Alessio Treglia
73700df8c3
Merge PR #4555 : Move client/{tx,rest,utils} into x/auth/client
2019-06-15 14:34:11 +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
frog power 4000
73e5ef7c13
reduce module interdependancy, /client refactor ( #4415 )
...
* abstract staking BuildCreateValidatorMsg, genutil defines its own flags
* client/ refactor
* staking move keys from keeper to types
2019-05-28 09:44:04 +01:00
Alessio Treglia
71d71f2206
Remove gaia ( #4347 )
...
Gaia is removed from cosmos-sdk repository.
Few changes were required to make sure no packages depend on gaia subpackages.
CI config is amended accordingly.
Unnecessary targets are removed from Makefile.
Simulations run through a lightweight version of gaia renamed to simapp.
Closes : #4104
2019-05-18 10:42:24 +02:00
Frank Yang
8bb2569abc
R4R: Fix /txs/encode endpoint ( #4212 )
...
Closes : #4141
2019-05-06 15:53:12 +01:00
Frank Yang
1cfc868d86
Support query txs' TotalCount in GET /txs ( #4214 )
...
Closes : #3942
2019-05-04 12:09:02 +01:00
Alexander Bezobchuk
0e54369850
Merge PR #4177 : Update Staking Validators Rest Query
...
* Support pagination and status query params for /staking/validators
* Rename BondStatusToString to String
2019-04-24 11:48:39 -04:00
Alessio Treglia
85021d4ca9
No packages must depend on cmd/gaia/ ( #4048 )
...
Preparation work for moving gaia out of the SDK.
2019-04-04 15:36:39 +01:00
Alexander Bezobchuk
e2928d5b70
Merge PR ##4007: Add Block Time in Txs Responses
2019-04-02 21:09:37 -04:00
Karoly Albert Szabo
5bb6090e38
Add route for querying signing_info for all validators ( #3952 )
...
Also remove duplicate pagination:
- move function to extract query params into types/rest
- adjust pagination values locally until available in tendermint for validators
Code cleanup:
- helper function in test
- fix pagination description in swagger.yaml
- uint instead of int when possible
Closes : #3226
Closes : #3991
2019-03-28 18:43:33 +00:00
Alexander Bezobchuk
2b43e25d55
Merge PR #3954 : Tx Broadcasting Sync by Default
2019-03-25 20:54:23 -04:00
Alessio Treglia
cdf2b7a7c5
gometalinter -> golangci-lint migration ( #3933 )
...
{,scripts/}Makefile:
- Remove gometalinter, install golangci-lint.
- Remove distinction between tools and devtools.
Just tools is enough.
- test_lint -> lint
Migrating away from underscore separated names.
- Remove unnecessary targets.
- Drop tendermint/lint. Incompatbile with golangci-lint
and no longer necessary anyway.
- Fix misleading message in go-mod-cache.
- New ci-target to avoid download tools twice.
- Run tests with -mod=readonly.
Port tools/gometalinter.json to .golangci.yml
Update CircleCI config accordingly.
Closes : #3896
2019-03-19 17:52:43 +01:00
Alexander Bezobchuk
6ace1fada2
Merge PR #3696 : Cleanup Tx Broadcasting and Encoding
2019-02-26 12:34:27 +01:00
Jack Zampolin
5ccad4723f
Merge PR #3642 : Tx Query return values
2019-02-15 17:00:40 +01:00
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
Jack Zampolin
5e35354269
Merge PR #3451 : Make tags and responses legible
2019-02-04 18:20:56 -08:00
Alessio Treglia
c04c69648e
client/utils/ reorganization ( #3487 )
2019-02-04 07:48:26 -08:00
Jack Zampolin
9f50c9f5b6
R4R: Ensure all CLI queries respect output flags ( #3320 )
2019-01-22 09:28:39 -08:00
Alessio Treglia
20bcacfaf4
Merge PR #3316 : Fix regression in gaiacli config file handling
...
* --chain-id must be a persistent flag to be successfully read from config
* Prevent panic when not enough arguments
* Add docs on gaiacli config
* Small tweak
2019-01-17 16:40:34 +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
ff6c2f2bad
Gov Get Vote(s)/Deposit(s) Updates ( #3091 )
2018-12-14 11:13:43 -08:00
Alessio Treglia
24a1670cf0
Run make format
2018-12-10 14:27:25 +00:00
Federico Kunze
7cf5da2f72
address Chris' comments
2018-11-28 00:00:38 +01:00
Federico Kunze
14154f71be
deleted unnecessary function
2018-11-27 22:54:25 +01:00
Federico Kunze
ebaac49142
minor changes from review
2018-11-27 22:47:56 +01:00
Alexander Bezobchuk
d8683fe90b
Update client/tx/search.go
...
Co-Authored-By: fedekunze <31522760+fedekunze@users.noreply.github.com>
2018-11-27 22:38:13 +01:00
Federico Kunze
cd812c788f
fix comments and cmd description
2018-11-27 16:02:03 +01:00
Federico Kunze
666fafb97a
add other tests and update docs
2018-11-27 15:16:33 +01:00
Federico Kunze
a2189bc672
fix tx search CLI
2018-11-27 14:37:03 +01:00
Federico Kunze
9fdd4300f2
update cli tx search
2018-11-26 15:55:42 +01:00
Federico Kunze
ee4c51bb36
update cli tests
2018-11-20 14:13:05 +01:00
Federico Kunze
1a7f9dac75
update unit tests
2018-11-16 15:10:02 +01:00
Federico Kunze
e65d18643e
test empty response
2018-11-16 13:07:17 +01:00
Federico Kunze
4de3aee7f1
fixed tx search
2018-11-16 12:50:58 +01:00
Jack Zampolin
d4fb6d4ebe
Reorganize CLI command structure. Fixes #2575
2018-11-07 15:03:00 -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
Federico Kunze
ad355d6c69
Merge PR #2444 : Standardize REST error responses
2018-10-19 18:55:20 +02:00
HaoyangLiu
9f67e8af20
Merge PR #2215 : Add swagger-ui for gaiacli lite-server
2018-10-04 13:00:24 +02:00
Christopher Goes
17983460b8
Merge PR #2219 : Update to Tendermint 0.24 (except NextValSet offsets)
2018-10-03 17:48:23 +02:00
Alessio Treglia
a2caefc8ae
Merge PR #2390 : CLI subcommands reorganization
2018-09-26 22:00:49 +08:00
Alexander Bezobchuk
91cac96fea
Merge PR #2391 : LCD Cleanup and DRY Refactor
2018-09-26 21:29:39 +08: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
HaoyangLiu
a3df7af428
Merge PR #2346 : bugfix in validatorset query and refactor transaction search
2018-09-17 22:13:11 +08:00
HaoyangLiu
7dc09d0fc2
Merge PR 2210: Judge if trust-node predefined before create certifier add verification for getBlock, queryTx and getValidators ( #2210 )
...
Replace trust-node option with distrust-node option, and add varification in getting blocks, transactions and validator sets.
2018-09-15 02:41:21 +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
Matthew Slipper
0c0d282a0c
Add plaintext flags to show keys; default print response to true; helptext updates
...
Closes #1970
Closes #1971
Closes #1967
Closes #1969
2018-08-21 15:36:53 -07:00
Dev Ojha
b2a4aecc44
Upgrade to tm version 23.0. ( #1927 )
...
* Start upgrade. Currently go test ./... hangs.
* (squash this) Fix staking tests
* wip
* note what changes need to be made to make this work on tm v0.23.0
* Fix addr -> pubkey map
* cleanup code
* Fix slashing test failures except for begin blocker
* fix all slashing tests
* fix lcd tests
* Address PR comments
* add link to changelog.
* (wip) start making addrToPubkey map persisted. Since amino can't handle maps,
we have to change from what this commit is doing.
* Use the correct method of storing a map
* (squash this) address PR comments
* Did you run 'make'?
* remove gaiadebug binary
2018-08-12 03:33:48 -04:00
Federico Kunze
1da1115a24
Merge PR #1880 : Staking Gaia-lite (ex LCD) refactor
2018-08-08 12:38:39 +02:00
Alexander Bezobchuk
12c2c236c2
Merge PR #1741 : CoreContext Refactor
2018-08-06 20:11:30 +02:00
sunnya97
7ac220beb6
asdf
2018-07-09 00:59:51 -07:00
Ethan Buchman
f78f30c67a
update for tm v0.22.0. tmlibs->tendermint/libs
2018-07-02 16:34:06 -04:00
Christopher Goes
59aadf42aa
Ledger integration ( #931 )
...
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
Dev Ojha
6d9f07dfee
tools: Add go vet as a linter ( #1421 )
...
* tools: add go vet
* tools: Add go vet as a linter
2018-06-27 20:32:06 -04:00
Fabian
4884747662
Merge PR #1317 : Added tx hash to query output in LCD
...
* added tx hash
* changelog
2018-06-21 19:21:58 +02:00
Fabian
f68e903d06
Merge PR #1260 : Fixed url encoding issue
2018-06-15 22:24:04 +02:00
Dev Ojha
bd362ee590
Merge PR #1090 : Switch away from ephemeral ports
...
* Switch ports 4665x to be 2655x
This is done so the default ports aren't in the linux kernel's default ephemeral port range.
* Missed one doc file, change dep so gaiad works
* Update changelog, fix Gopkg.lock
2018-06-14 00:13:51 +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
Fabian
8ece807301
Merge PR #1085 : Re-enable tx history in LCD
...
* reenable tx search
* removed not needed argument
* register types for decoding
* trying to fix indexing tests
* added tx hash query test
* Fix x/bank tagging
* remove dead code
* remove print
* extended tests for tx querying
* changelog
* added txs address querying
* linted
* rename
* use prefix for bech32 addresses in tags
* changed error message
* Fix tiny linter issue
2018-06-11 22:09:29 +02:00
sunnya97
cb52712660
in progress
2018-05-23 19:49:35 -07:00
Ethan Buchman
33af8ee7e8
update to tm v0.19.5
2018-05-20 10:35:19 -04:00
rigelrozanski
556896679a
...
2018-04-26 14:26:39 -04: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
rigelrozanski
d28efaac27
many renames / golint compliance
2018-04-19 00:49:24 -04:00
Christopher Goes
7214149f1d
Move client context initialization from viper to separate package
2018-04-03 22:16:03 +02:00
Christopher Goes
579e5d4cdc
Add CoreContext for CLI/REST options
2018-04-03 22:15:12 +02:00
Christopher Goes
720b37c6f2
Rename client/builder to client/core (ref #721 )
2018-04-03 22:14:11 +02:00
Fabian Weber
5ea06639f9
fix tests and refactored
2018-03-17 22:17:56 +01:00
Fabian Weber
cbbb3be0d4
fixed tests + removed indexed txs
2018-03-17 22:17:56 +01:00
Fabian Weber
cf6f04978c
adjusted sending + tx tests
2018-03-17 22:17:56 +01:00
Fabian
2f470baf19
refactored route registering
2018-03-17 22:14:19 +01:00
rigelrozanski
a28f53721d
rebase fixes
...
...
2018-03-17 22:14:19 +01:00
Ethan Buchman
ad705fdea1
bump version
...
added rest server and status endpoint
added get block endpoint
added latest block endpoint
add 404 if height is out of bounds
add version endpoint
add validators endpoint
export GetBlockHeight
add keys endpoints
add txs endpoints
added verb limiters to ednpoints
only output node info + json structure improvement
fixed wrong body parsing
github PR template
crypto.Address -> sdk.Address
revert to old go-wire
update glide
remove print statement and update glide
fix #554
add .DS_Store to .gitignore
Massive consolidation: queue, data storage struct, store, logic, ...
Small fixes
2018-03-17 22:14:19 +01:00
Ethan Buchman
630a5fe579
revert to old go-wire
2018-03-02 04:24:07 -05:00
rigelrozanski
0469358286
rebase fixes
2018-03-01 03:17:48 +00:00
rigelrozanski
3be46395cf
restructure to remove deps on example
2018-03-01 02:36:57 +00:00
rigelrozanski
65f27f2daa
basecli refactor
2018-03-01 02:36:57 +00:00
Ethan Frey
c083678cae
cleaned up basecli tx so it really works
2018-03-01 02:36:57 +00:00
Ethan Frey
734b1073ba
Added tx subcommands and automate manual testing
2018-03-01 02:36:57 +00:00
Ethan Frey
bae7cec3fa
Move all subcommands out of main into proper folders
2018-03-01 02:36:57 +00:00