Skip to content

Commit 02ddbc3

Browse files
authored
Merge pull request #286 from bnb-chain/develop
feat: change default seq window size (#285)
2 parents 472264b + 8ded34e commit 02ddbc3

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## v0.5.3-hotfix
4+
5+
This release is a hotfix that modifies the `SeqWindowSize` configuration.
6+
If not changed, opBNB will not function correctly for 3 hours after the BSC [BEP-524](https://github.com/bnb-chain/BEPs/blob/master/BEPs/BEP-524.md) takes effect.
7+
As a result, it will be unable to recover. After the modification, this recovery time will be extended to 12 hours.
8+
9+
### What's Changed
10+
11+
* [\#285](https://github.com/bnb-chain/opbnb/pull/285) feat: change default seq window size
12+
13+
### Docker Images
14+
- ghcr.io/bnb-chain/op-node:v0.5.3-hotfix
15+
- ghcr.io/bnb-chain/op-batcher:v0.5.3-hotfix
16+
- ghcr.io/bnb-chain/op-proposer:v0.5.3-hotfix
17+
18+
**Full Changelog**: https://github.com/bnb-chain/opbnb/compare/v0.5.2...v0.5.3-hotfix
19+
320
## v0.5.3
421

522
This release introduces the implementation of [BEP-543](https://github.com/bnb-chain/BEPs/blob/master/BEPs/BEP-543.md), effectively reducing the block time from 1 second to an impressive 500 milliseconds.

op-node/chaincfg/chains.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ var OPBNBMainnet = rollup.Config{
129129
},
130130
BlockTime: 1,
131131
MaxSequencerDrift: 600,
132-
SeqWindowSize: 14400,
132+
SeqWindowSize: 57600,
133133
ChannelTimeout: 1200,
134134
L1ChainID: big.NewInt(56),
135135
L2ChainID: big.NewInt(204),
@@ -166,7 +166,7 @@ var OPBNBTestnet = rollup.Config{
166166
},
167167
BlockTime: 1,
168168
MaxSequencerDrift: 600,
169-
SeqWindowSize: 14400,
169+
SeqWindowSize: 57600,
170170
ChannelTimeout: 1200,
171171
L1ChainID: big.NewInt(97),
172172
L2ChainID: big.NewInt(5611),
@@ -203,7 +203,7 @@ var OPBNBQANet = rollup.Config{
203203
},
204204
BlockTime: 1,
205205
MaxSequencerDrift: 600,
206-
SeqWindowSize: 14400,
206+
SeqWindowSize: 57600,
207207
ChannelTimeout: 1200,
208208
L1ChainID: big.NewInt(714),
209209
L2ChainID: big.NewInt(1081),

0 commit comments

Comments
 (0)