Alessio Treglia
f2ee972e31
various linter fixes ( #8666 )
2021-02-23 08:46:01 +00:00
MD Aleem
92317931c2
Fix Unregistered interface types.Evidence ( #8221 )
...
* fix Unregistered interface
* add test
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-12-23 04:22:53 +00:00
Robert Zaremba
a3ae6e3704
Combine client.ReadTxCommandFlags with GetClientContextFromCmd ( #8155 )
...
* Update codebase to simplify clientCtx loading from cmd
* make ReadTxCommandFlags and ReadQueryCommandFlags private
* fix build error
* fix conflicts
2020-12-14 22:09:51 +00:00
Amaury
74435137e9
Show height on legacy REST endpoints ( #7997 )
...
* Fix showing height in rest endpoints
* Fix query height
* Manually inject req.Height
* Small tweaks
* Use withHeight
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-24 10:28:12 +00:00
Marko
5ce15cb963
tm: update to latest ( #7376 )
...
* update to latest tm
* fix tests
2020-09-23 13:44:40 +00:00
Marko
e6a56226a8
context: remove verifier & trust node ( #6805 )
...
* remove verifier
* more removal of trustnode flag
* add todo
* fix lint
* remove file
* remove viper and add link to issue
* remve mention of trustnode
2020-07-23 06:44:18 +00:00
Alexander Bezobchuk
515b25b94e
Context: Remove Init/New ( #6797 )
...
* init commit
* remove new/init functions
* update CLI commands
* tests: fix TestCLIQueryConn
* remove viper
2020-07-20 16:42:46 +00:00
Alexander Bezobchuk
d5049413ef
Merge PR #6525 : x/bank: Refactor CLI & Tests
2020-06-30 16:59:21 -04:00
Aaron Craelius
81d647e505
Move codec.RegisterCrypto and codec.Cdc to new packages ( #6330 )
...
* Move codec.Cdc to legacy_global.Cdc
* Update CHANGELOG.md
* Updates
* nit
* Fix imports
* Updates
* Use cosmos multisig instead of tendermint multisig everywhere
* Fix tests
* Rename legacy_global -> legacy
* Add doc.go
* Linting, move all RegisterCrypto calls to crypto/codec
* Update crypto/codec/amino.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-04 10:38:24 +00:00
SaReN
39f53ac22f
client: rename CliContext to Context ( #6290 )
...
* Refactor CliContext as Context
* Fix lint issues
* Fix goimports
* Fix gov tests
* Resolved ci-lint issues
* Add changelog
* Rename cliCtx to clientCtx
* Fix mocks and routes
* Add changelog
* Update changelog
* Apply suggestions from code review
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* merge client/rpc/ro{ot,utes}.go
* Update docs
* client/rpc: remove redundant client/rpc.RegisterRPCRoutes
* regenerate mocks
* Update ADRs
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-01 12:46:03 +00:00
Alessio Treglia
b75406534d
add missing keyring-backend flag ( #5985 )
...
Query commands that don't append all `get` flags would
panic otherwise.
2020-04-11 18:52:36 +02:00
Alessio Treglia
ca19fbc5f8
types/rest: add convenience functions for error checking ( #5900 )
2020-04-01 09:50:22 +02:00
Alexander Bezobchuk
c1991e31bd
Merge PR #5527 : Bump Tendermint Version to v0.33.0
...
* Bump Tendermint version to v0.33.0
* Deprecate old cmn package with new packages
* Update update DB APIs
* More DB updates
* Bump IAVL to v0.13.0
* Handle error returned by iavl.NewMutableTree
* Fix some IAVL stuffs
* Update IAVL
* More updates
* Passing tests
* Fix unit tests
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
2020-01-16 13:46:51 -08:00
Alexander Bezobchuk
4b354a782b
Merge PR #4840 : Various Updates for Gaia
2019-08-03 09:56:15 -04:00
Marko
b2f8c58ec4
Merge PR #4608 : More linters - Gosec, staticcheck
2019-06-26 13:30:36 -07:00
Alexander Bezobchuk
3180e68c7b
Merge PR #4499 : Remove Client Codec Redundancy
2019-06-06 11:43:15 -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
Alexander Bezobchuk
829ce17d06
Merge PR #4307 : Don't pass height to RPC calls
2019-05-09 16:42:25 -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
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
Alessio Treglia
c04c69648e
client/utils/ reorganization ( #3487 )
2019-02-04 07:48:26 -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
Alessio Treglia
24a1670cf0
Run make format
2018-12-10 14:27:25 +00:00
HaoyangLiu
9ee9e28439
Merge PR #2462 : Add swagger-ui for gov, stake and slashing
2018-10-24 15:19:48 +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
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
3413a2bff1
Remove --select in block command ( #2060 )
...
Closes #1968 .
2018-08-21 20:53:16 -04:00
Alexander Bezobchuk
12c2c236c2
Merge PR #1741 : CoreContext Refactor
2018-08-06 20:11:30 +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
Jeremiah Andrews
a032386e87
Added comments to newly exported functions
2018-05-31 21:50:01 -07:00
Jeremiah Andrews
083ca8234b
Refactored gaiacli and gaiad commands into subcommands
2018-05-31 21:50:01 -07:00
rigelrozanski
54a5869efd
added used of cobra arg constraints
2018-04-26 17:32:20 -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
Jae Kwon
d530ee2abc
Fix MountStoreWithDB(); Bump to 0.15.0-rc0
2018-04-13 02:04:31 -07:00
Ethan Buchman
1860f988b6
fix tests
2018-04-07 20:56:49 +03: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
Fabian Weber
579bd56127
fixed some tests
2018-03-17 22:14:19 +01:00
Fabian
e8e1e2899b
removed /latest endpoints and checks
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
9dc3690a0c
change deps to master. remove tmwire dep
2018-03-08 19:48:17 +00:00
rigelrozanski
65f27f2daa
basecli refactor
2018-03-01 02:36:57 +00:00
Ethan Frey
94948746a0
rpc cli output uses wire.MarshalJSON
2018-03-01 02:36:57 +00:00
Ethan Frey
8392cf93ac
Implement RPC subcommands
...
Turned out the tendermint rpc was broken in the refactor and
had to fix that first...
2018-03-01 02:36:57 +00:00