Aaron Craelius
e9534b0935
Add gRPC server & reflection ( #6463 )
...
* Add gRPC proxy
* Make GRPC disabled by default
* WIP on integration tests
* WIP on integration tests
* Start setting up in process tests
* Start setting up in process tests
* Make it compile
* Add start server to network util
* Add Println
* Use go routine
* Fix scopelint
* Move to proxy_test
* Add response type cache
* Remove proxy
* Tweaks
* Use channel to handle error
* Use error chan
* Update server/start.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Use %w
* Add sdk.Context
* Add comments
* Fix lint
* Add header and tests
* Address comments
* Factorize some code
* Fix lint
* Add height and prove in req metadata
* Add reflection test
* Fix lint
* Put grpc test in server/grpc
* Update baseapp/grpcserver.go
* Update baseapp/grpcserver.go
* Remove proof header
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2020-07-27 17:57:15 +00:00
Adam Bozanich
f33749263f
Merge PR #6761 : telemetry: use UTC() in wrappers
2020-07-17 15:33:50 -04:00
Alexander Bezobchuk
5c86ecd1f8
Fix measure since ( #6759 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-07-17 15:34:37 +00:00
Alexander Bezobchuk
9ebda4edb9
Server/simd: Viper Removal ( #6599 )
...
* init commit
* remove viper from tm cmds
* updates
* Undo x/bank/client/cli/tx.go
* Fix unit tests
* lint++
* rename var
* Fix genutil test
* fix test
* prefer cmd.Flags() over direct viper usage
* update
* fix ABCI error tests
* fix integration tests
* Add viper to context
* fix build
* fix unit test
* Implement and use AppOptions
* Revert Redact godoc
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-07-05 16:56:17 +00:00
Alexander Bezobchuk
5040ff87c4
Merge PR #6449 : Initial Metrics
2020-06-18 14:12:44 -04:00
Aaron Craelius
c1355d0b45
Integrate gRPC queries into BaseApp ( #6335 )
...
* Rename GRPCRouter to GRPCQueryRouter, add to BaseApp
* Rename field
* add comment
* Update baseapp/abci.go
* Update baseapp/abci.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Address review feedback
* Improve code reuse
* Fix errors
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-04 18:48:06 +00:00
Marko
218ec99508
various linter fixes ( #6106 )
...
x/staking: Fix all linter warnings.
Fixed warnings across base packages.
New linters:
- unparam
- nolintlint
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-05-02 21:26:59 +02:00
Jonathan Gimeno
550c3e9ef0
Jonathan/5988 sim params consensus 2 ( #6051 )
...
* temporal commit
* add random consensus params
* make format
* make random pass
* remove comment
* revert change
* update ub key types
* extract Evidence params from state
* extract the random parameters from state
* clean the code
* update imports!
* mispelled back
* mispelled back
* add misspelled command
* update changelog
* remove useless linter to avoid misspell
* remove function
* use tendermint constants
* update import test
* remove debug comment
* Update baseapp/baseapp.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-04-22 18:24:13 +00:00
Alexander Bezobchuk
09a55f68b5
Merge PR #5952 : Refactor Evidence Age Util + Governable Consensus Params
2020-04-16 11:10:39 -04:00
Aleksandr Bezobchuk
6135912e53
JSON Proto changes
2020-03-26 12:46:10 -04:00
Aleksandr Bezobchuk
8bb0cfdf6f
Use JSON for SimulationResponse
2020-03-24 16:45:34 -04:00
Federico Kunze
eeea5ebf89
baseapp: add sdk.Result to simulation response
2020-03-19 20:03:49 -03:00
Jonathan Gimeno
2e42f9cb74
Favor marshal unmashal binare bare ( #5799 )
...
* change abci file to use BinaryBare
* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in mint keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in auth keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in gov keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in slashing keeper store.
* update decoder test
* migrate decoder
* migrate gov simulation decoder
* migrate baseapp_test
* refactor QuerySubspace
* refactor coedc std codec
* migrate keybase
* migrate iavl store
* migrate root multi
* migrate ante basic
* migrate tx type to bare
* migrate auth client
* update auth types
* update decoder
* migrate supply decoder
* migrate stake encoding
* migrate staking simulation
* migrate genutil
* migrate simapp test helpers
* migrate docs
* upgrade changelog
* Update CHANGELOG.md
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-13 19:58:43 +00:00
Alexander Bezobchuk
9a183ffbcc
Merge PR #5421 : Refactor Error Handling
2019-12-27 12:57:54 -05:00
Alexander Bezobchuk
b862e271a1
Allow node to restart after halt config trigger ( #5352 )
...
* Allow node to restart after halt config trigger
* Update godoc
* Update documentation on halt config
2019-12-03 10:24:12 +01:00
Aditya
4cd18bcf35
Merge PR 5196: RecheckTx Optimizations
2019-10-23 10:43:58 -04:00
Vladimir Evgrafov
ce52f8ff73
Merge PR #5159 : Remove unused nolints from baseapp & format the rest of them
...
* baseapp: Remove unused nolints & format the rest of them
* Export queryRouter type
* Export router type
2019-10-14 15:05:10 -07:00
Marko
01d8a230b2
Merge PR #5068 : Add linter Nakedret
2019-09-19 09:21:38 -04:00
Alexander Bezobchuk
ce5b36b12a
Merge PR #5022 : Remove inter-block cache reset in init-chain
2019-09-10 10:31:12 -04:00
Alexander Bezobchuk
c8d84b4df4
Merge PR #5005 : Add support for halt-time
2019-09-09 10:08:10 -04:00
Alexander Bezobchuk
f010d2c6f1
Merge PR #4748 : Write-Through Inter-Block Cache
2019-09-04 13:33:32 -04:00