Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Changelog
## v1.5.10
### FEATURE
[\#3015](https://github.com/bnb-chain/bsc/pull/3015) config: update BSC Mainnet hardfork time: Lorentz

### BUGFIX
NA

### IMPROVEMENT
[\#2985](https://github.com/bnb-chain/bsc/pull/2985) core: clearup pascal&prague testflag and rialto code

## v1.5.9
### FEATURE
[\#2932](https://github.com/bnb-chain/bsc/pull/2932) BEP-520: Short Block Interval Phase One: 1.5 seconds
Expand Down
10 changes: 0 additions & 10 deletions cmd/geth/chaincmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ var (
Flags: slices.Concat([]cli.Flag{
utils.CachePreimagesFlag,
utils.OverridePassedForkTime,
utils.OverridePascal,
utils.OverridePrague,
utils.OverrideLorentz,
utils.OverrideVerkle,
utils.MultiDataBaseFlag,
Expand Down Expand Up @@ -261,14 +259,6 @@ func initGenesis(ctx *cli.Context) error {
v := ctx.Uint64(utils.OverridePassedForkTime.Name)
overrides.OverridePassedForkTime = &v
}
if ctx.IsSet(utils.OverridePascal.Name) {
v := ctx.Uint64(utils.OverridePascal.Name)
overrides.OverridePascal = &v
}
if ctx.IsSet(utils.OverridePrague.Name) {
v := ctx.Uint64(utils.OverridePrague.Name)
overrides.OverridePrague = &v
}
if ctx.IsSet(utils.OverrideLorentz.Name) {
v := ctx.Uint64(utils.OverrideLorentz.Name)
overrides.OverrideLorentz = &v
Expand Down
8 changes: 0 additions & 8 deletions cmd/geth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,6 @@ func makeFullNode(ctx *cli.Context) (*node.Node, ethapi.Backend) {
v := ctx.Uint64(utils.OverridePassedForkTime.Name)
cfg.Eth.OverridePassedForkTime = &v
}
if ctx.IsSet(utils.OverridePascal.Name) {
v := ctx.Uint64(utils.OverridePascal.Name)
cfg.Eth.OverridePascal = &v
}
if ctx.IsSet(utils.OverridePrague.Name) {
v := ctx.Uint64(utils.OverridePrague.Name)
cfg.Eth.OverridePrague = &v
}
if ctx.IsSet(utils.OverrideLorentz.Name) {
v := ctx.Uint64(utils.OverrideLorentz.Name)
cfg.Eth.OverrideLorentz = &v
Expand Down
2 changes: 0 additions & 2 deletions cmd/geth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ var (
utils.SmartCardDaemonPathFlag,
utils.RialtoHash,
utils.OverridePassedForkTime,
utils.OverridePascal,
utils.OverridePrague,
utils.OverrideLorentz,
utils.OverrideVerkle,
utils.OverrideFullImmutabilityThreshold,
Expand Down
41 changes: 37 additions & 4 deletions cmd/jsutils/getchainstatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,38 @@ const builderMap = new Map([
["0xE1ec1AeCE7953ecB4539749B9AA2eEF63354860a", "blockroute singapore"],
["0x89434FC3a09e583F2cb4e47A8B8fe58De8BE6a15", "blockroute virginia"],
["0x10353562E662E333C0c2007400284e0e21cF74fF", "blockroute x"],
// txboost
["0x6Dddf681C908705472D09B1D7036B2241B50e5c7", "puissant ap"],
["0x76736159984AE865a9b9Cc0Df61484A49dA68191", "puissant eu"],
["0x5054b21D8baea3d602dca8761B235ee10bc0231E", "puissant us"],
// jetbldr
["0x36CB523286D57680efBbfb417C63653115bCEBB5", "jetbldr ap"],
["0x3aD6121407f6EDb65C8B2a518515D45863C206A8", "jetbldr eu"],
["0x345324dC15F1CDcF9022E3B7F349e911fb823b4C", "jetbldr us"],
// blockbus
["0x3FC0c936c00908c07723ffbf2d536D6E0f62C3A4", "jetbldr dublin"],
["0x17e9F0D7E45A500f0148B29C6C98EfD19d95F138", "jetbldr tokyo"],
["0x1319Be8b8Ec4AA81f501924BdCF365fBcAa8d753", "jetbldr virginia"],
// txboost(blocksmith)
["0x6Dddf681C908705472D09B1D7036B2241B50e5c7", "txboost ap"],
["0x76736159984AE865a9b9Cc0Df61484A49dA68191", "txboost eu"],
["0x5054b21D8baea3d602dca8761B235ee10bc0231E", "txboost us"],
// darwin
["0xa6d6086222812eFD5292fF284b0F7ff2a2B86Af4", "darwin ap"],
["0x3265A3243ee84e667a73073504cA4CdeD1413D82", "darwin eu"],
["0xdf11CD23992Fd48Cf2d245aC144010673275f285", "darwin us"],
// inblock
["0x9a3234b450518fadA098388B88e00deCAd96ad38", "inblock ap"],
["0xb49f86586a840AB9920D2f340a85586E50FD30a2", "inblock eu"],
["0x0F6D8b72F3687de6f2824903a83B3ba13c0e88A0", "inblock us"],
// nodereal
["0x79102dB16781ddDfF63F301C9Be557Fd1Dd48fA0", "nodereal ap"],
["0xd0d56b330a0dea077208b96910ce452fd77e1b6f", "nodereal eu"],
["0x4f24ce4cd03a6503de97cf139af2c26347930b99", "nodereal us"],
// xzbuilder
["0x812720cb4639550D7BDb1d8F2be463F4a9663762", "xzbuilder"],

// Chapel
["0x627fE6AFA2E84e461CB7AE7C2c46e8adf9a954a2", "txboost"],
// ["0x79102dB16781ddDfF63F301C9Be557Fd1Dd48fA0", "nodereal ap"],
// ["0x4827b423D03a349b7519Dda537e9A28d31ecBB48", "puissant y"],
["0x0eAbBdE133fbF3c5eB2BEE6F7c8210deEAA0f7db", "blockrazor"],
]);

// 1.cmd: "GetMaxTxCountInBlockRange", usage:
Expand Down Expand Up @@ -644,7 +671,13 @@ async function getMevStatus() {
blockrazor: 0,
puissant: 0,
blockroute: 0,
jetbldr: 0,
txboost: 0,
blockbus: 0,
darwin: 0,
inblock: 0,
nodereal: 0,
xzbuilder: 0,
};

// Get the latest block number
Expand Down
10 changes: 0 additions & 10 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,6 @@ var (
Usage: "Manually specify the hard fork timestamps which have passed on the mainnet, overriding the bundled setting",
Category: flags.EthCategory,
}
OverridePascal = &cli.Uint64Flag{
Name: "override.pascal",
Usage: "Manually specify the Pascal fork timestamp, overriding the bundled setting",
Category: flags.EthCategory,
}
OverridePrague = &cli.Uint64Flag{
Name: "override.prague",
Usage: "Manually specify the Prague fork timestamp, overriding the bundled setting",
Category: flags.EthCategory,
}
OverrideLorentz = &cli.Uint64Flag{
Name: "override.lorentz",
Usage: "Manually specify the Lorentz fork timestamp, overriding the bundled setting",
Expand Down
10 changes: 2 additions & 8 deletions core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ func (e *GenesisMismatchError) Error() string {
// Typically, these modifications involve hardforks that are not enabled on the BSC mainnet, intended for testing purposes.
type ChainOverrides struct {
OverridePassedForkTime *uint64
OverridePascal *uint64
OverridePrague *uint64
OverrideLorentz *uint64
OverrideVerkle *uint64
}
Expand All @@ -284,12 +282,8 @@ func (o *ChainOverrides) apply(cfg *params.ChainConfig) error {
cfg.HaberTime = o.OverridePassedForkTime
cfg.HaberFixTime = o.OverridePassedForkTime
cfg.BohrTime = o.OverridePassedForkTime
}
if o.OverridePascal != nil {
cfg.PascalTime = o.OverridePascal
}
if o.OverridePrague != nil {
cfg.PragueTime = o.OverridePrague
cfg.PascalTime = o.OverridePassedForkTime
cfg.PragueTime = o.OverridePassedForkTime
}
if o.OverrideLorentz != nil {
cfg.LorentzTime = o.OverrideLorentz
Expand Down
1 change: 0 additions & 1 deletion core/systemcontracts/pascal/rialto/CrossChainContract

This file was deleted.

Loading