Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 3aefa2b

Browse files
authored
Beta Backports 2.3.1 (#10225)
* version: bump beta to 2.3.1 * Fix _cannot recursively call into `Core`_ issue (#10144) * Change igd to github:maufl/rust-igd * Run `igd::search_gateway_from_timeout` from own thread * Update for Android cross-compilation. (#10180) * build-unix update * .gitlab-ci update * Update build-unix.sh add android postprocessing * path to android lib libparity.so * fix path to libparity * add android lib to artifacts * Run all `igd` methods in its own thread (#10195) * Cancel Constantinople HF on POA Core (#10198) * Add EIP-1283 disable transition (#10214) * Enable St-Peters-Fork ("Constantinople Fix") (#10223) * ethcore: disable eip-1283 on kovan block 10255201 * ethcore: disable eip-1283 on ropsten block 4939394 * ethcore: enable st-peters-fork on mainnet block 7280000 * ethcore: fix kovan chain spec * version: update fork blocks * ethcore: disable eip-1283 on sokol block 7026400
1 parent 10657d9 commit 3aefa2b

File tree

13 files changed

+88
-76
lines changed

13 files changed

+88
-76
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ build-android:
146146
script:
147147
- scripts/gitlab/build-unix.sh
148148
tags:
149-
- rust-arm
149+
- linux-docker
150150
allow_failure: true
151+
<<: *collect_artifacts
151152

152153
test-beta:
153154
stage: optional

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description = "Parity Ethereum client"
33
name = "parity-ethereum"
44
# NOTE Make sure to update util/version/Cargo.toml as well
5-
version = "2.3.0"
5+
version = "2.3.1"
66
license = "GPL-3.0"
77
authors = ["Parity Technologies <admin@parity.io>"]
88

ethcore/res/ethereum/foundation.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"durationLimit": "0xd",
1010
"blockReward": {
1111
"0x0": "0x4563918244f40000",
12-
"0x42ae50": "0x29a2241af62c0000"
12+
"0x42ae50": "0x29a2241af62c0000",
13+
"0x6f1580": "0x1bc16d674ec80000"
1314
},
1415
"homesteadTransition": "0x118c30",
1516
"daoHardforkTransition": "0x1d4c00",
@@ -134,7 +135,8 @@
134135
],
135136
"eip100bTransition": "0x42ae50",
136137
"difficultyBombDelays": {
137-
"0x42ae50": "0x2dc6c0"
138+
"0x42ae50": "0x2dc6c0",
139+
"0x6f1580": "0x1e8480"
138140
}
139141
}
140142
}
@@ -158,7 +160,10 @@
158160
"eip140Transition": "0x42ae50",
159161
"eip211Transition": "0x42ae50",
160162
"eip214Transition": "0x42ae50",
161-
"eip658Transition": "0x42ae50"
163+
"eip658Transition": "0x42ae50",
164+
"eip145Transition": "0x6f1580",
165+
"eip1014Transition": "0x6f1580",
166+
"eip1052Transition": "0x6f1580"
162167
},
163168
"genesis": {
164169
"seal": {

ethcore/res/ethereum/kovan.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"eip1014Transition": "0x8c6180",
5050
"eip1052Transition": "0x8c6180",
5151
"eip1283Transition": "0x8c6180",
52+
"eip1283DisableTransition": "0x9c7b61",
5253
"kip4Transition": "0x8c6180",
5354
"kip6Transition": "0x8c6180"
5455
},

ethcore/res/ethereum/poacore.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@
3434
"eip140Transition": "0x0",
3535
"eip211Transition": "0x0",
3636
"eip214Transition": "0x0",
37-
"eip658Transition": "0x0",
38-
"eip145Transition": 6843780,
39-
"eip1014Transition": 6843780,
40-
"eip1052Transition": 6843780,
41-
"eip1283Transition": 6843780
37+
"eip658Transition": "0x0"
4238
},
4339
"genesis": {
4440
"seal": {

ethcore/res/ethereum/poasokol.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"eip145Transition": 6464300,
4242
"eip1014Transition": 6464300,
4343
"eip1052Transition": 6464300,
44-
"eip1283Transition": 6464300
44+
"eip1283Transition": 6464300,
45+
"eip1283DisableTransition": 7026400
4546
},
4647
"genesis": {
4748
"seal": {

ethcore/res/ethereum/ropsten.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"eip145Transition": "0x408b70",
4545
"eip1014Transition": "0x408b70",
4646
"eip1052Transition": "0x408b70",
47-
"eip1283Transition": "0x408b70"
47+
"eip1283Transition": "0x408b70",
48+
"eip1283DisableTransition": "0x4b5e82"
4849
},
4950
"genesis": {
5051
"seal": {

ethcore/src/spec/spec.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ pub struct CommonParams {
121121
pub eip1052_transition: BlockNumber,
122122
/// Number of first block where EIP-1283 rules begin.
123123
pub eip1283_transition: BlockNumber,
124+
/// Number of first block where EIP-1283 rules end.
125+
pub eip1283_disable_transition: BlockNumber,
124126
/// Number of first block where EIP-1014 rules begin.
125127
pub eip1014_transition: BlockNumber,
126128
/// Number of first block where dust cleanup rules (EIP-168 and EIP169) begin.
@@ -189,7 +191,7 @@ impl CommonParams {
189191
schedule.have_return_data = block_number >= self.eip211_transition;
190192
schedule.have_bitwise_shifting = block_number >= self.eip145_transition;
191193
schedule.have_extcodehash = block_number >= self.eip1052_transition;
192-
schedule.eip1283 = block_number >= self.eip1283_transition;
194+
schedule.eip1283 = block_number >= self.eip1283_transition && !(block_number >= self.eip1283_disable_transition);
193195
if block_number >= self.eip210_transition {
194196
schedule.blockhash_gas = 800;
195197
}
@@ -300,6 +302,10 @@ impl From<ethjson::spec::Params> for CommonParams {
300302
BlockNumber::max_value,
301303
Into::into,
302304
),
305+
eip1283_disable_transition: p.eip1283_disable_transition.map_or_else(
306+
BlockNumber::max_value,
307+
Into::into,
308+
),
303309
eip1014_transition: p.eip1014_transition.map_or_else(
304310
BlockNumber::max_value,
305311
Into::into,

json/src/spec/params.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ pub struct Params {
8989
pub eip1052_transition: Option<Uint>,
9090
/// See `CommonParams` docs.
9191
pub eip1283_transition: Option<Uint>,
92+
/// See `CommonParams` docs.
93+
pub eip1283_disable_transition: Option<Uint>,
94+
/// See `CommonParams` docs.
9295
pub eip1014_transition: Option<Uint>,
9396
/// See `CommonParams` docs.
9497
pub dust_protection_transition: Option<Uint>,

0 commit comments

Comments
 (0)