Compare commits

...

2 Commits

Author SHA1 Message Date
rakita
09967329af Bump to v3.2.4 2021-04-15 21:49:20 +02:00
rakita
459a1a02a4 Fix broadcast for typed tx 2021-04-15 21:47:50 +02:00
6 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,7 @@
## OpenEthereum v3.2.4
* Fix for Typed transaction broadcast.
## OpenEthereum v3.2.3
* Hotfix for berlin consensus error.

4
Cargo.lock generated
View File

@@ -2825,7 +2825,7 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
[[package]]
name = "openethereum"
version = "3.2.1"
version = "3.2.4"
dependencies = [
"ansi_term 0.10.2",
"atty",
@@ -3188,7 +3188,7 @@ dependencies = [
[[package]]
name = "parity-version"
version = "3.2.3"
version = "3.2.4"
dependencies = [
"parity-bytes",
"rlp 0.3.0",

View File

@@ -2,7 +2,7 @@
description = "OpenEthereum"
name = "openethereum"
# NOTE Make sure to update util/version/Cargo.toml as well
version = "3.2.1"
version = "3.2.4"
license = "GPL-3.0"
authors = [
"OpenEthereum developers",

Binary file not shown.

View File

@@ -238,15 +238,15 @@ impl SyncPropagator {
for tx in &transactions {
let hash = tx.hash();
if to_send.contains(&hash) {
let appended =
packet.append_raw_checked(&tx.encode(), 1, MAX_TRANSACTION_PACKET_SIZE);
if !appended {
tx.rlp_append(&mut packet);
pushed += 1;
// this is not hard limit and we are okay with it. Max default tx size is 300k.
if packet.as_raw().len() >= MAX_TRANSACTION_PACKET_SIZE {
// Maximal packet size reached just proceed with sending
debug!(target: "sync", "Transaction packet size limit reached. Sending incomplete set of {}/{} transactions.", pushed, to_send.len());
to_send = to_send.into_iter().take(pushed).collect();
break;
}
pushed += 1;
}
}
packet.complete_unbounded_list();

View File

@@ -1,7 +1,7 @@
[package]
name = "parity-version"
# NOTE: this value is used for OpenEthereum version string (via env CARGO_PKG_VERSION)
version = "3.2.3"
version = "3.2.4"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"