Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side-by-side support for Tendermint 0.34 and 0.37 #1193

Merged
merged 88 commits into from
Mar 2, 2023
Merged
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
d37f063
proto-compiler: Improve error reporting
mzabaluev Sep 5, 2022
ce68dbd
Generate proto from tendermint 0.37.0-alpha.1
mzabaluev Sep 5, 2022
95b962a
proto: sort includes in generated tendermint.rs
mzabaluev Sep 6, 2022
c6807d2
proto: generate structs for 0.34 and 0.37
mzabaluev Sep 8, 2022
df05a47
tendermint: Remove Evidence::ConflictingHeaders
mzabaluev Oct 19, 2022
eb160fb
Add serializers::allow_null
mzabaluev Oct 20, 2022
8e04a06
Adapt domain types to v0.37 and add multi-version conversions.
mzabaluev Sep 27, 2022
d33945a
Multi-version protobuf support for request types
mzabaluev Oct 21, 2022
7414aa9
Add ABCI response types for PrepareProposal, ProcessProposal
mzabaluev Oct 21, 2022
30408ed
Multi-version protobuf conversions for response types
mzabaluev Oct 24, 2022
df28559
Fix conversion from account::Id to Bytes
mzabaluev Oct 24, 2022
ca50ce4
Fix compiler warnings
mzabaluev Oct 24, 2022
3277ac3
light-client: Restore Supervisor::report_evidence
mzabaluev Oct 25, 2022
47e285b
Restore serialization of Block and Evidence
mzabaluev Oct 25, 2022
53a546c
Fix clippy lints
mzabaluev Oct 27, 2022
9b7089c
proto-compiler: Improve copying of generated files
mzabaluev Oct 27, 2022
f40b6f4
proto: Regenerate v0_34 with v0.34.22
mzabaluev Oct 27, 2022
276bc6d
Add domain type for RemoteSignerError
mzabaluev Nov 9, 2022
18f51e4
Define more multi-protocol conversions
mzabaluev Nov 9, 2022
b18264e
p2p: version-qualify dependencies on protobuf
mzabaluev Nov 14, 2022
d1a76a9
Make clippy happy
mzabaluev Nov 14, 2022
d397090
Derive Eq where clippy suggests
mzabaluev Nov 16, 2022
4796bc4
tendermint: version-specific Request and Response
mzabaluev Nov 21, 2022
9730636
Remove last version aliases of Request, Response
mzabaluev Nov 28, 2022
1aa5fee
Merge branch 'main' into mikhail/multi-tc-version-support
mzabaluev Dec 18, 2022
d7ee353
Re-generate protos with prost-build 0.11.4
mzabaluev Dec 18, 2022
0bea5cf
rpc: add endpoints header and header_by_hash
mzabaluev Dec 19, 2022
d7e7100
rpc: Separate Client traits for v0.34 and v0.37
mzabaluev Dec 19, 2022
6a24461
rpc: feature-gate the Client traits
mzabaluev Dec 19, 2022
a00a69d
xla/multi-tc-versionsupport/fix (#1254)
xla Dec 24, 2022
14b3080
Merge branch 'main' into mikhail/multi-tc-version-support
mzabaluev Jan 10, 2023
08702c5
tendermint: post-merge fix
mzabaluev Jan 10, 2023
011dc7b
Add missing ConsensusRequest and ConsensusResponse mappings.
aakoshh Jan 12, 2023
e6fdbcd
Merge branch 'mikhail/multi-tc-version-support' of github.com:aakoshh…
mzabaluev Jan 16, 2023
1f782ea
rpc: clean up change noise
mzabaluev Jan 16, 2023
c2f06e3
Changelog entries for #1193
mzabaluev Jan 16, 2023
c2fa95a
Revert "rpc: clean up change noise"
mzabaluev Jan 16, 2023
620aa99
abci: change serialization to unsigned varint
mzabaluev Jan 18, 2023
483be77
abci: changelog notice about varint encoding
mzabaluev Jan 18, 2023
0af8aba
rpc: multi-version support through generics
mzabaluev Jan 30, 2023
0695093
Merge branch 'main' into mikhail/multi-tc-version-support
mzabaluev Jan 31, 2023
91b984d
rpc: remove generic default from request::Wrapper
mzabaluev Jan 31, 2023
6054e3e
Implement both Client dialect traits for websocket
mzabaluev Feb 1, 2023
ab16785
Rework Event serialization with helper types
mzabaluev Feb 1, 2023
03eda10
rpc: Refactor subscriptions to support dialects
mzabaluev Feb 1, 2023
6beba5f
rpc: fix the fixture tests
mzabaluev Feb 1, 2023
d708fd0
rpc: fix websocket tests
mzabaluev Feb 1, 2023
251ff89
Merge branch 'main' into mikhail/multi-tc-version-support
mzabaluev Feb 1, 2023
580b367
tendermint: Fix test_sign_bytes_compatibility
mzabaluev Feb 2, 2023
0305ba8
Versioned type aliases for WebSocketClient
mzabaluev Feb 2, 2023
75c212f
Fix tools build
mzabaluev Feb 2, 2023
546170e
Remove dialect parameter for SubscriptionClient
mzabaluev Feb 2, 2023
52197f0
Derive PartialEq, Eq on ProdCommitValidator
mzabaluev Feb 3, 2023
1610120
tendermint: restore Serialize impl on Event
mzabaluev Feb 6, 2023
2d864bb
rpc: de-genericized result types
mzabaluev Feb 6, 2023
504bbe7
rpc: make the client module public
mzabaluev Feb 13, 2023
e81f7bf
Remove WebSocketClient::*_with_dialect
mzabaluev Feb 14, 2023
064534b
rpc: rename DefaultDialect to LatestDialect
mzabaluev Feb 16, 2023
fca0f1a
rpc: dynamic compat mode for HttpClient
mzabaluev Feb 17, 2023
31cf889
rpc: eliminate dialect Client traits
mzabaluev Feb 20, 2023
1c1432e
rpc: Add client::compat::discover
mzabaluev Feb 20, 2023
b587e6e
rpc: unit test for CompatMode version parsing
mzabaluev Feb 20, 2023
7691ba0
rpc: make WebSocketConfig struct more usable
mzabaluev Feb 20, 2023
3866d0e
rpc: expose CompatMode::from_version
mzabaluev Feb 20, 2023
62f6e5d
rpc: make mod client::compat private
mzabaluev Feb 20, 2023
4c55808
rpc: account for "v" prefixing Tendermint version
mzabaluev Feb 20, 2023
b526b2a
rpc: fix websocket tests
mzabaluev Feb 21, 2023
c6c5aa6
rpc: debug received events in WebSocketTransport
mzabaluev Feb 23, 2023
f0d9e6a
Quick fix for running `rpc-probe` against a Comet 0.37 node
romac Feb 23, 2023
4f8f122
Fix doc for overriding env variable in rpc-probe README
romac Feb 23, 2023
4deecf4
Merge branch 'main' into mikhail/multi-tc-version-support
mzabaluev Feb 24, 2023
ab8b54e
rpc: added kvstore test fixtures for 0.37
mzabaluev Feb 24, 2023
bacb64b
rpc: adjust some v0_37 tests to match fixtures
mzabaluev Feb 27, 2023
6946849
rpc: fudge data in subscribe_newblock_1
mzabaluev Feb 27, 2023
295ef2a
rpc: adjust kvstore_fixtures tests for v0_37
mzabaluev Feb 27, 2023
7fedc09
rpc: fixed and expanded unit tests using fixtures
mzabaluev Feb 27, 2023
7e79039
abci: more sensible default impl of ABCI++ methods
mzabaluev Feb 27, 2023
0fe73a1
abci: overflow-proof impl of prepare_proposal
mzabaluev Feb 27, 2023
9e25f3f
Update #1193 changelog for tendermint-rpc changes
mzabaluev Feb 27, 2023
74b8793
Fill out .changelog entry for #1193
mzabaluev Feb 28, 2023
f3e161e
rpc: improve CompatMode enum
mzabaluev Feb 28, 2023
84d9cad
rpc: builder API for clients
mzabaluev Mar 1, 2023
7d9572c
Update #1193 changelog about RPC client builders
mzabaluev Mar 1, 2023
679eba1
Change CompatMode::LATEST to a const fn
romac Mar 1, 2023
11c2c82
Add missing serde bounds on WebSocketClientUrl
romac Mar 1, 2023
e68643b
Add missing Display impl to WebSocketClientUrl
romac Mar 1, 2023
fe4c0ab
Change to self-consuming builder API
romac Mar 1, 2023
2d4a333
rpc: do version discovery in CLI
mzabaluev Mar 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make clippy happy
  • Loading branch information
mzabaluev committed Nov 28, 2022
commit d1a76a9803408a21e23b26dfa61d07d47362e130
2 changes: 1 addition & 1 deletion tendermint/src/privval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use crate::prelude::*;

#[derive(Clone, Debug, PartialEq)]
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct RemoteSignerError {
pub code: i32,
pub description: String,
Expand Down