File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ type (
113
113
ValidateSystemAction bool
114
114
AllowCorrectChainIDOnly bool
115
115
AddContractStakingVotes bool
116
- SharedGasWithDapp bool
117
116
FixContractStakingWeightedVotes bool
117
+ SharedGasWithDapp bool
118
118
}
119
119
120
120
// FeatureWithHeightCtx provides feature check functions.
@@ -253,8 +253,8 @@ func WithFeatureCtx(ctx context.Context) context.Context {
253
253
ValidateSystemAction : g .IsQuebec (height ),
254
254
AllowCorrectChainIDOnly : g .IsQuebec (height ),
255
255
AddContractStakingVotes : g .IsQuebec (height ),
256
- SharedGasWithDapp : g .IsToBeEnabled (height ),
257
256
FixContractStakingWeightedVotes : g .IsRedsea (height ),
257
+ SharedGasWithDapp : g .IsToBeEnabled (height ),
258
258
},
259
259
)
260
260
}
Original file line number Diff line number Diff line change @@ -226,12 +226,12 @@ func TestConstantinople(t *testing.T) {
226
226
},
227
227
{
228
228
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y" ,
229
- 34838200 ,
229
+ 26704440 ,
230
230
},
231
231
// after Redsea
232
232
{
233
233
action .EmptyAddress ,
234
- 34838201 ,
234
+ 26704441 ,
235
235
},
236
236
{
237
237
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y" ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ func defaultConfig() Genesis {
71
71
OkhotskBlockHeight : 21542761 ,
72
72
PalauBlockHeight : 22991401 ,
73
73
QuebecBlockHeight : 24838201 ,
74
- RedseaBlockHeight : 34838201 ,
74
+ RedseaBlockHeight : 26704441 ,
75
75
ToBeEnabledBlockHeight : math .MaxUint64 ,
76
76
},
77
77
Account : Account {
@@ -239,7 +239,9 @@ type (
239
239
// 2. enable IIP-13 liquidity staking
240
240
// 3. valiate system action layout
241
241
QuebecBlockHeight uint64 `yaml:"quebecHeight"`
242
- // RedseaBlockHeight is the start height to enable Shanghai EVM
242
+ // RedseaBlockHeight is the start height to
243
+ // 1. upgrade go-ethereum to Bellatrix release
244
+ // 2. correct weighted votes for contract staking bucket
243
245
RedseaBlockHeight uint64 `yaml:"redseaHeight"`
244
246
// ToBeEnabledBlockHeight is a fake height that acts as a gating factor for WIP features
245
247
// upon next release, change IsToBeEnabled() to IsNextHeight() for features to be released
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ func TestNewHeightChange(t *testing.T) {
57
57
require .True (cfg .IsPalau (uint64 (22991401 )))
58
58
require .False (cfg .IsQuebec (uint64 (24838200 )))
59
59
require .True (cfg .IsQuebec (uint64 (24838201 )))
60
- require .False (cfg .IsRedsea (uint64 (34838200 )))
61
- require .True (cfg .IsRedsea (uint64 (34838201 )))
60
+ require .False (cfg .IsRedsea (uint64 (26704440 )))
61
+ require .True (cfg .IsRedsea (uint64 (26704441 )))
62
62
63
63
require .Equal (cfg .PacificBlockHeight , uint64 (432001 ))
64
64
require .Equal (cfg .AleutianBlockHeight , uint64 (864001 ))
@@ -80,5 +80,5 @@ func TestNewHeightChange(t *testing.T) {
80
80
require .Equal (cfg .OkhotskBlockHeight , uint64 (21542761 ))
81
81
require .Equal (cfg .PalauBlockHeight , uint64 (22991401 ))
82
82
require .Equal (cfg .QuebecBlockHeight , uint64 (24838201 ))
83
- require .Equal (cfg .RedseaBlockHeight , uint64 (34838201 ))
83
+ require .Equal (cfg .RedseaBlockHeight , uint64 (26704441 ))
84
84
}
You can’t perform that action at this time.
0 commit comments