Sergio Mena
70813a80cf
Merge branch 'main' into feature/abci++vef
2022-11-30 21:15:03 +01:00
Peter Lai
fee53a074d
patch: error message in light client ( #9771 )
...
Co-authored-by: peter <peter.lai@bitstreetx.com >
Co-authored-by: Lasaro Camargos <lasaro@informal.systems >
2022-11-29 07:41:16 -05:00
Callum Waters
c5c2aafad2
abci: implement finalize block ( #9468 )
...
Adds the `FinalizeBlock` method which replaces `BeginBlock`, `DeliverTx`, and `EndBlock` in a single call.
2022-11-28 23:12:28 +01:00
Julien Robert
101bf50e71
refactor: migrate to cosmos/gogoproto ( #9356 )
...
* refactor: migrate to `cosmos/gogoproto`
* add changelog
* Update Makefile
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* update link
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-09-06 07:28:37 -04:00
samricotta
2ff11e5bc2
Update rpc client header ( #9276 )
...
* Update rpc client header
2022-09-01 14:35:07 +02:00
Thane Thomson
cceea4de22
chore: Format and fix lints ( #9336 )
...
* make format
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix linting directives
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* make mockery
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Appease CI linter
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Appease CI linter
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-08-30 12:28:46 -04:00
Callum Waters
2d8df1bd4e
proto: deduplicate consensus params ( #9287 )
2022-08-22 10:50:21 +02:00
William Banfield
0bea0647fe
tools: remove mockery from tools.go ( #9196 )
...
The `mockery` project recommends against using a binary of `mockery` that has been created using `go install`. https://github.com/vektra/mockery/pull/456 . Developers of Tendermint wishing to generate mocks should avoid having a version of `mockery` on their path that does not match the version listed in [mockery_generate.sh](10e1ac8fea/scripts/mockery_generate.sh (L11) ). To make this easier for developers, the `mockery_generate.sh` script uses a containerized copy of `mockery` if `mockery` is not present on the developer's `PATH`. This containerized version of `mockery` uses the same version of mockery as our CI pipelines and allows all developers to automatically use the same version without having to manage it themselves.
#### PR checklist
- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
2022-08-09 15:12:31 +00:00
Callum Waters
a11b7743d4
fix mockery generation script ( #9094 )
2022-07-26 22:53:15 +02:00
M. J. Fromberger
5276400c30
Update generated mocks after upgrade of Mockery v2. ( #8974 )
2022-07-11 09:18:43 -04:00
Jasmina Malicevic
b83cc0aeda
makefile: buf setup backport v0.34 ( #8863 )
2022-06-24 13:58:25 -04:00
Callum Waters
ff2758b32e
dep: remove IAVL dependency (backport #6550 ) ( #7104 )
2021-10-12 18:09:08 +02:00
mergify[bot]
da9eefd111
rpc: add chunked rpc interface (backport #6445 ) ( #6717 )
...
* rpc: add chunked rpc interface (#6445 )
(cherry picked from commit d9134063e7 )
# Conflicts:
# light/proxy/routes.go
# node/node.go
# rpc/core/net.go
# rpc/core/routes.go
* fix conflicts
Co-authored-by: Sam Kleinman <garen@tychoish.com >
Co-authored-by: marbar3778 <marbar3778@yahoo.com >
2021-07-14 09:22:53 +00:00
mergify[bot]
b00cac9368
rpc: index block events to support block event queries (bp #6226 ) ( #6261 )
2021-03-22 15:01:25 -04:00
mergify[bot]
b2f01448be
e2e: integrate light clients (bp #6196 )
...
integrate light clients (#6196 )
fix e2e app test (#6223 )
fix light client generator (#6236 )
2021-03-18 13:02:05 +01:00
Callum Waters
3c22ed8320
light: fix panic with RPC calls to commit and validator when height is nil ( #6040 )
2021-02-04 15:17:34 +01:00
Anton Kaliaev
55ff694aa6
light/rpc: fix ABCIQuery ( #5375 )
...
Closes #5106
2020-10-22 12:17:53 +02:00
Callum Waters
3822ab924e
simplify commit and validators rpc calls ( #5393 )
2020-10-22 12:17:53 +02:00
Anton Kaliaev
85a4be87a7
rpc/client: take context as first param ( #5347 )
...
Closes #5145
also applies to light/client
2020-09-23 09:21:57 +04:00
Marko
0ed8dba991
lint: enable errcheck ( #5336 )
...
## Description
Enable errcheck linter throughout the codebase
Closes : #5059
2020-09-07 15:03:18 +00:00
Callum Waters
2b58a62721
light: implement light block ( #5298 )
2020-09-01 17:45:55 +02:00
Callum Waters
de8cb8c16d
light: fix rpc calls: /block_results & /validators ( #5104 )
2020-07-10 14:20:31 +02:00
Anton Kaliaev
257a374b78
rpc: add /check_tx endpoint ( #5017 )
...
Closes #4549
2020-06-19 09:25:52 +04:00
Marko
46f6d17601
crypto/merkle: remove simple prefix ( #4989 )
...
## Description
This PR removes simple prefix from all types in the crypto/merkle directory.
The two proto types `Proof` & `ProofOp` have been moved to the `proto/crypto/merkle` directory.
proto messge `Proof` was renamed to `ProofOps` and `SimpleProof` message to `Proof`.
Closes : #2755
2020-06-10 14:57:38 +00:00
Erik Grinaker
ba3a2dde37
rpc: replace Amino with new JSON encoder ( #4968 )
...
Migrates the `rpc` package to use new JSON encoder in #4955 . Branched off of that PR.
Tests pass, but I haven't done any manual testing beyond that. This should be handled as part of broader 0.34 testing.
2020-06-08 12:04:05 +00:00
Marko
9ef266b88f
types: migrate params to protobuf ( #4962 )
2020-06-05 15:29:53 +02:00
Anton Kaliaev
ce3c9c2341
rpc/core: return an error if page=0 ( #4947 )
...
* rpc/core: return an error if `page=0`
Closes #4942
affected endpoints:
- /validators
- /tx_search
* swagger: update doc for /unconfirmed_txs
2020-06-03 16:51:51 +04:00
Marko
c2578e2262
light: rename lite2 to light & remove lite ( #4946 )
...
This PR removes lite & renames lite2 to light throughout the repo
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com >
Closes : #4944
2020-06-03 10:13:42 +00:00