Merge branch 'release/v3.2.x' into main
This commit is contained in:
commit
2453f1a803
@ -1,3 +1,11 @@
|
|||||||
|
## OpenEthereum v3.2.4
|
||||||
|
|
||||||
|
* Fix for Typed transaction broadcast.
|
||||||
|
|
||||||
|
## OpenEthereum v3.2.3
|
||||||
|
|
||||||
|
* Hotfix for berlin consensus error.
|
||||||
|
|
||||||
## OpenEthereum v3.2.2-rc.1
|
## OpenEthereum v3.2.2-rc.1
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -2835,7 +2835,7 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "openethereum"
|
name = "openethereum"
|
||||||
version = "3.2.2-rc.1"
|
version = "3.2.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term 0.10.2",
|
"ansi_term 0.10.2",
|
||||||
"atty",
|
"atty",
|
||||||
@ -3191,7 +3191,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "parity-version"
|
name = "parity-version"
|
||||||
version = "3.2.2-rc.1"
|
version = "3.2.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"parity-bytes",
|
"parity-bytes",
|
||||||
"rlp",
|
"rlp",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
description = "OpenEthereum"
|
description = "OpenEthereum"
|
||||||
name = "openethereum"
|
name = "openethereum"
|
||||||
# NOTE Make sure to update util/version/Cargo.toml as well
|
# NOTE Make sure to update util/version/Cargo.toml as well
|
||||||
version = "3.2.2-rc.1"
|
version = "3.2.4"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
authors = [
|
authors = [
|
||||||
"OpenEthereum developers",
|
"OpenEthereum developers",
|
||||||
|
BIN
artifacts/openethereum-windows-v3.2.3.zip
Normal file
BIN
artifacts/openethereum-windows-v3.2.3.zip
Normal file
Binary file not shown.
@ -240,7 +240,6 @@ impl<'a> CallCreateExecutive<'a> {
|
|||||||
if schedule.eip2929 {
|
if schedule.eip2929 {
|
||||||
let mut substate = Substate::from_access_list(¶ms.access_list);
|
let mut substate = Substate::from_access_list(¶ms.access_list);
|
||||||
substate.access_list.insert_address(params.address);
|
substate.access_list.insert_address(params.address);
|
||||||
substate.access_list.insert_address(params.sender);
|
|
||||||
substate
|
substate
|
||||||
} else {
|
} else {
|
||||||
Substate::default()
|
Substate::default()
|
||||||
@ -1145,9 +1144,12 @@ impl<'a, B: 'a + StateBackend> Executive<'a, B> {
|
|||||||
let mut access_list = AccessList::new(schedule.eip2929);
|
let mut access_list = AccessList::new(schedule.eip2929);
|
||||||
|
|
||||||
if schedule.eip2929 {
|
if schedule.eip2929 {
|
||||||
for (address, _) in self.machine.builtins() {
|
access_list.insert_address(sender);
|
||||||
|
for (address, builtin) in self.machine.builtins() {
|
||||||
|
if builtin.is_active(self.info.number) {
|
||||||
access_list.insert_address(*address);
|
access_list.insert_address(*address);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if schedule.eip2930 {
|
if schedule.eip2930 {
|
||||||
// optional access list
|
// optional access list
|
||||||
if let TypedTransaction::AccessList(al_tx) = t.as_unsigned() {
|
if let TypedTransaction::AccessList(al_tx) = t.as_unsigned() {
|
||||||
@ -1232,6 +1234,7 @@ impl<'a, B: 'a + StateBackend> Executive<'a, B> {
|
|||||||
&nonce,
|
&nonce,
|
||||||
&t.tx().data,
|
&t.tx().data,
|
||||||
);
|
);
|
||||||
|
access_list.insert_address(new_address);
|
||||||
let params = ActionParams {
|
let params = ActionParams {
|
||||||
code_address: new_address.clone(),
|
code_address: new_address.clone(),
|
||||||
code_hash: code_hash,
|
code_hash: code_hash,
|
||||||
@ -1255,6 +1258,7 @@ impl<'a, B: 'a + StateBackend> Executive<'a, B> {
|
|||||||
(res, out)
|
(res, out)
|
||||||
}
|
}
|
||||||
Action::Call(ref address) => {
|
Action::Call(ref address) => {
|
||||||
|
access_list.insert_address(address.clone());
|
||||||
let params = ActionParams {
|
let params = ActionParams {
|
||||||
code_address: address.clone(),
|
code_address: address.clone(),
|
||||||
address: address.clone(),
|
address: address.clone(),
|
||||||
|
@ -238,15 +238,15 @@ impl SyncPropagator {
|
|||||||
for tx in &transactions {
|
for tx in &transactions {
|
||||||
let hash = tx.hash();
|
let hash = tx.hash();
|
||||||
if to_send.contains(&hash) {
|
if to_send.contains(&hash) {
|
||||||
let appended =
|
tx.rlp_append(&mut packet);
|
||||||
packet.append_raw_checked(&tx.encode(), 1, MAX_TRANSACTION_PACKET_SIZE);
|
pushed += 1;
|
||||||
if !appended {
|
// 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
|
// 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());
|
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();
|
to_send = to_send.into_iter().take(pushed).collect();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
pushed += 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
packet.finalize_unbounded_list();
|
packet.finalize_unbounded_list();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "parity-version"
|
name = "parity-version"
|
||||||
# NOTE: this value is used for OpenEthereum version string (via env CARGO_PKG_VERSION)
|
# NOTE: this value is used for OpenEthereum version string (via env CARGO_PKG_VERSION)
|
||||||
version = "3.2.2-rc.1"
|
version = "3.2.4"
|
||||||
authors = ["Parity Technologies <admin@parity.io>"]
|
authors = ["Parity Technologies <admin@parity.io>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user