Skip to content

Commit

Permalink
feat!: support ThresholdRecoverRaw in tenderdash v0.14 (#43)
Browse files Browse the repository at this point in the history
* chore: clippy

* fix: use TENDERDASH_COMMITISH env var if set

* feat: support ThresholdRecoverRaw vote extensions

* chore: bump version to 0.14.0-dev.1

* chore: bump version to 0.14.0-dev.6

* chore: set default Tenderdash version to v0.14.0-dev.2

* feat: threshold raw vote extensions sign_hash

* fix: take TENDERDASH_VERSION  from td version.go

* chore: fmt

* refactor(abci)!: renames in signature processing

* chore(abci): add comments to remove tracing:: in signatures once stable
  • Loading branch information
lklimek authored Feb 1, 2024
1 parent 2810894 commit 701ba0f
Show file tree
Hide file tree
Showing 13 changed files with 255 additions and 93 deletions.
2 changes: 1 addition & 1 deletion abci/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
version = "0.14.0-dev.5"
version = "0.14.0-dev.6"
name = "tenderdash-abci"
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion abci/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl<'a, App: RequestDispatcher + 'a> ServerBuilder<App> {
let _guard = server_runtime.handle.enter();

// No cancel is defined, so we add some "mock"
let cancel = self.cancel.unwrap_or(CancellationToken::new());
let cancel = self.cancel.unwrap_or_default();

let server = match bind_address.scheme() {
#[cfg(feature = "tcp")]
Expand Down
12 changes: 6 additions & 6 deletions abci/src/server/codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ mod test {
let codec = tokio_util::codec::Framed::new(server, super::Coder {});

let worker_cancel = cancel.clone();
let hdl = tokio::spawn(
async move {
super::Codec::process_worker_queues(codec, request_tx, response_rx, worker_cancel)
}
.await,
);
let hdl = tokio::spawn(super::Codec::process_worker_queues(
codec,
request_tx,
response_rx,
worker_cancel,
));

// We send 2 requests over the wire
for n_requests in 0..5 {
Expand Down
Loading

0 comments on commit 701ba0f

Please sign in to comment.