crypto-facs and GitHub
6bd5263515
rpc: Add totalGasUSed to block_results response ( #308 )
2021-06-24 15:01:36 +00:00
Callum Waters and GitHub
c2908ef785
release: prepare changelog for v0.34.11 ( #6597 )
v0.34.11
2021-06-18 11:44:39 +02:00
Callum Waters and GitHub
d515bbcf1d
statesync: increase chunk priority and robustness ( #6582 )
2021-06-18 09:59:52 +02:00
be8c9833ca
state sync: tune request timeout and chunkers (backport #6566 ) ( #6581 )
...
* state sync: tune request timeout and chunkers (#6566 )
(cherry picked from commit 7d961b55b2 )
# Conflicts:
# CHANGELOG_PENDING.md
# config/config.go
# internal/statesync/reactor.go
# internal/statesync/reactor_test.go
# node/node.go
# statesync/syncer.go
* fix build
* fix config
* fix config
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com >
2021-06-15 15:10:16 -04:00
Aleksandr Bezobchuk and GitHub
89d381f7cf
update ResponseCheckTx ( #306 )
2021-06-07 09:35:47 -04:00
mergify[bot] and GitHub
358b1f23c0
p2p/conn: check for channel id overflow before processing receive msg (backport #6522 ) ( #6528 )
...
* p2p/conn: check for channel id overflow before processing receive msg (#6522 )
Per tendermint spec, each Channel has a globally unique byte id, which
is mapped to uint8 in Go. However, the proto PacketMsg.ChannelID field
is declared as int32, and when receive the packet, we cast it to a byte
without checking for possible overflow. That leads to a malform packet
with invalid channel id is sent successfully.
To fix it, we just add a check for possible overflow, and return invalid
channel id error.
Fixed #6521
(cherry picked from commit 1f46a4c90e )
2021-06-04 20:20:36 -04:00
5559e14355
rpc: add chunked genesis endpoint ( #299 )
...
* rpc: add chunked genesis endpoint
* fix lint
* feedback
* add info about error
* fix lint
Co-authored-by: marbar3778 <marbar3778@yahoo.com >
2021-06-03 09:46:21 +00:00
a2a9ffbe7e
rpc: clarify timestamps ( #304 )
...
* clarify timestamps
* changelog entry
* Update spec/rpc/README.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-06-02 12:03:33 +00:00
Marko and GitHub
c376b44f1c
Backport: #6494 ( #6506 )
...
* version: revert version through ldflag only (#6494 )
Add version back to versions, but allow it to be overridden via a ldflag.
Reason:
Many users are not setting the ldflag causing issues with tooling that relies on it (cosmjs)
closes #6488
cc @webmaster128
* revert variable rename
* Update CHANGELOG_PENDING.md
2021-05-31 21:15:12 +00:00
8dd91a7ac3
add a changelog to track changes ( #303 )
...
* add a changelog to track changes
* Update CHANGELOG.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-05-27 11:04:37 +00:00
Yixin Luo and GitHub
f3216e6953
rename HasVote to ReceivedVote ( #289 )
2021-05-25 07:42:30 +00:00
90434cb74d
build(deps): bump actions/stale from 3.0.18 to 3.0.19 ( #302 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3.0.18 to 3.0.19.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3.0.18...v3.0.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 07:37:38 +00:00
aba090a69a
build(deps): bump actions/stale from 3 to 3.0.18 ( #300 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3 to 3.0.18.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3...v3.0.18 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 10:50:56 +00:00
Sam Kleinman and GitHub
048f6a32f9
lint: fix lint errors ( #301 )
2021-05-12 18:33:24 -04:00
MengXiangJian and GitHub
4a9bcebe2a
fix message type for block-sync ( #298 )
2021-05-12 11:28:40 +02:00
Callum Waters and GitHub
8dd8a4e8ea
libs/os: avoid CopyFile truncating destination before checking if regular file (backport: #6428 ) ( #6436 )
2021-05-10 13:24:33 +02:00
Jordan Sexton and GitHub
4b79bccc0b
Fixed a broken link ( #291 )
2021-05-07 14:29:12 -04:00
292828a01b
A few improvements to the Ivy proof ( #288 )
...
* Avoid quantifier alternation cycle
The problematic quantifier alternation cycle arose because the
definition of accountability_violation was unfolded.
This commit also restructures the induction proof for clarity.
* add count_lines.sh
* fix typo and add forgotten complete=fo in comment
Co-authored-by: Giuliano <giuliano@eic-61-11.galois.com >
2021-05-04 14:28:07 +02:00
5dfaa54350
rpc: define spec for RPC ( #276 )
...
* add rpc spec and support outline
* add json
* add more routes remove unneeded ones
* add rest of rpc endpoints
* add jsonrpc calls
* add more jsonrpc calls
* fix blockchain
* cleanup unused links and add links to repos
* Update spec/rpc/README.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* add missing param from consensus param
* Update spec/rpc/README.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* Update spec/rpc/README.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* fix cast and add doc to readme
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: Marko Baricevic <markobaricevic@Fergalicious.local >
2021-04-27 09:25:32 +00:00
Ethan Buchman and GitHub
00446bb9f4
Update README.md ( #286 )
2021-04-23 19:52:48 +00:00
Callum Waters and GitHub
255942e8c7
p2p: update state sync messages for reverse sync ( #285 )
2021-04-23 13:22:09 +02:00
mergify[bot] and GitHub
353e3a3243
evidence: fix bug with hashes (backport #6375 ) ( #6381 )
2021-04-22 15:05:56 +02:00
Tess Rinearson and GitHub
a9b4fac610
.github: make core team codeowners ( #6384 )
2021-04-21 13:38:07 -07:00
1614e12035
statesync: improve e2e test outcomes (backport #6378 ) ( #6380 )
...
(cherry picked from commit d36a5905a6 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2021-04-21 12:30:17 -04:00
Callum Waters and GitHub
84ee4249ae
core: update a few sections ( #284 )
2021-04-20 10:21:27 +02:00
Callum Waters and GitHub
b39af911ae
RFC: ReverseSync - fetching historical data ( #224 )
2021-04-19 17:02:09 +02:00
Tess Rinearson and GitHub
68eceda0b5
changelog: update for 0.34.10 ( #6357 )
v0.34.10
2021-04-14 13:46:14 -07:00
Callum Waters and GitHub
b878326396
e2e: relax timeouts ( #6356 )
...
* remove duplicate light error
* quieten handling of txs that already exist in the mempool
* notch back e2e timeouts
2021-04-14 19:53:54 +02:00
mergify[bot] and GitHub
693e11c6c6
e2e: tx load to use broadcast sync instead of commit (backport #6347 ) ( #6352 )
2021-04-14 10:09:49 +02:00
mergify[bot] and GitHub
6cc3e23a95
light: handle too high errors correctly (backport #6346 ) ( #6351 )
2021-04-13 14:46:54 +02:00
Callum Waters and GitHub
a9ac63510d
p2p: fix using custom channels ( #6339 )
2021-04-13 14:05:36 +02:00
0dc5d4df07
ABCI++ RFC ( #254 )
...
* ABCI++ RFC
This commit adds an RFC for ABCI++, which is a collection of three new phases of communication between the consensus engine and the application.
Co-authored-by: Sunny Aggarwal <sunnya97@protonmail.ch >
* Fix bugs pointed out by @liamsi
* Update rfc/004-abci++.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com >
* Fix markdown lints
* Update rfc/004-abci++.md
Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com >
* Update rfc/004-abci++.md
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com >
* Update rfc/004-abci++.md
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com >
* Add information about the rename in the context section
* Bold RFC
* Add example for self-authenticating vote data
* More exposition of the term IPC
* Update pros / negatives
* Fix sentence fragment
* Add desc for no-ops
Co-authored-by: Sunny Aggarwal <sunnya97@protonmail.ch >
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com >
Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com >
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com >
2021-04-09 10:33:45 +00:00
mergify[bot] and GitHub
bd968aba1f
build(deps): Bump google.golang.org/grpc from 1.36.1 to 1.37.0 (bp #6330 ) ( #6335 )
2021-04-09 12:20:20 +02:00
Tess Rinearson and GitHub
e54fdb6204
changelog: prepare changelog for 0.34.9 release ( #6333 )
v0.34.9
2021-04-08 10:05:23 -07:00
Callum Waters and GitHub
7869f5ec1d
light/evidence: handle FLA backport ( #6331 )
2021-04-08 09:49:25 -07:00
Sam Kleinman and GitHub
ea8238f090
abci: reorder sidebar ( #282 )
2021-04-06 06:59:57 +00:00
mergify[bot] and GitHub
af35ca9cf4
state: fix block event indexing reserved key check ( #6314 ) ( #6315 )
2021-04-05 08:42:17 -04:00
Gustavo Chaín and GitHub
c9966cd6be
p2p: Fix "Unknown Channel" bug on CustomReactors ( #6297 )
2021-03-30 09:35:00 -04:00
6c0c27320c
change index block log to info ( #6290 ) ( #6294 )
...
## Description
Change log from error to info for indexing blocks
(cherry picked from commit 32ee737d42 )
Co-authored-by: Marko <marbar3778@yahoo.com >
2021-03-29 13:57:57 +00:00
b7a4d5e7ba
fix: jsonrpc url parsing and dial function ( #6264 ) ( #6288 )
...
This PR fixes how the jsonrpc parses the URL, and how the dial function connects to the RPC.
Closes: https://github.com/tendermint/tendermint/issues/6260
(cherry picked from commit 9ecfcc93a6 )
Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com >
2021-03-29 11:05:03 +00:00
0682337de2
logging: shorten precommit log message ( #6270 ) ( #6274 )
...
This is an attempt to clean up the logging message as requested in #6269 .
(cherry picked from commit 3f9066b290 )
Co-authored-by: Sam Kleinman <garen@tychoish.com >
2021-03-25 16:19:50 -04:00
640b71038b
Proposer-based timestamp specification ( #261 )
...
* added proposer-based timestamp spec
* Update spec/consensus/proposer-based-timestamp/pbts_001_draft.md
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
* Update spec/consensus/proposer-based-timestamp/pbts_001_draft.md
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
* Update spec/consensus/proposer-based-timestamp/pbts-algorithm_001_draft.md
Co-authored-by: Marko <marbar3778@yahoo.com >
* Update spec/consensus/proposer-based-timestamp/pbts-algorithm_001_draft.md
* Update spec/consensus/proposer-based-timestamp/pbts-sysmodel_001_draft.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* fixes from PR
Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com >
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
Co-authored-by: Marko <marbar3778@yahoo.com >
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-03-23 16:40:21 +01:00
Marko and GitHub
5c32ebcda8
p2p: links ( #268 )
...
* fix links
* fix more links
2021-03-23 11:13:42 +00:00
b2465e0c3a
genesis: Explain fields in genesis file ( #270 )
...
* describe the genesis
* Update spec/core/genesis.md
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* add wording on app_state
* Update spec/core/genesis.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com >
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-03-23 10:13:02 +00:00
mergify[bot] and GitHub
b00cac9368
rpc: index block events to support block event queries (bp #6226 ) ( #6261 )
2021-03-22 15:01:25 -04:00
mergify[bot] and GitHub
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
4e25703d58
rpc/jsonrpc/server: return an error in WriteRPCResponseHTTP(Error) (bp #6204 ) ( #6230 )
...
* rpc/jsonrpc/server: return an error in WriteRPCResponseHTTP(Error) (#6204 )
instead of panicking
Closes #5529
(cherry picked from commit 00b9524168 )
# Conflicts:
# CHANGELOG_PENDING.md
# rpc/jsonrpc/server/http_json_handler.go
# rpc/jsonrpc/server/http_server.go
# rpc/jsonrpc/server/http_server_test.go
# rpc/jsonrpc/server/http_uri_handler.go
* resolve conflicts
* fix linting
* fix conflict
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com >
2021-03-17 14:55:05 +00:00
Marko and GitHub
9f6a4bcf23
readme: cleanup ( #262 )
...
* modify readme
* add rfc and proto
* add rust=spec back to avoid breakage
* lint readme
2021-03-17 13:51:10 +00:00
Ethan Buchman and GitHub
b4a31746dd
Fix list of RFCs ( #266 )
2021-03-17 08:43:54 +01:00
d004a584f8
use error.Is to check for nondeterminstic vote error type ( #6237 ) ( #6239 )
...
(cherry picked from commit bf8cce83db )
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-03-15 11:20:33 +01:00