Skip to content

Commit

Permalink
Merge pull request ethereum#588 from maticnetwork/arpit/qa-to-develop
Browse files Browse the repository at this point in the history
qa to develop
  • Loading branch information
temaniarpit27 authored Nov 22, 2022
2 parents aece5ca + 7ae5bce commit b1739f6
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 25 deletions.
13 changes: 9 additions & 4 deletions builder/files/genesis-testnet-v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,24 @@
"londonBlock": 22640000,
"bor": {
"jaipurBlock": 22770000,
"delhiBlock": 29638656,
"period": {
"0": 2,
"25275000": 5
"25275000": 5,
"29638656": 2
},
"producerDelay": {
"0": 6
"0": 6,
"29638656": 4
},
"sprint": {
"0": 64
"0": 64,
"29638656": 16
},
"backupMultiplier": {
"0": 2,
"25275000": 5
"25275000": 5,
"29638656": 2
},
"validatorContract": "0x0000000000000000000000000000000000001000",
"stateReceiverContract": "0x0000000000000000000000000000000000001001",
Expand Down
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ func setPeerRequiredBlocks(ctx *cli.Context, cfg *ethconfig.Config) {

if peerRequiredBlocks == "" {
if ctx.GlobalIsSet(LegacyWhitelistFlag.Name) {
log.Warn("The flag --rpc is deprecated and will be removed, please use --peer.requiredblocks")
log.Warn("The flag --whitelist is deprecated and will be removed, please use --eth.requiredblocks")
peerRequiredBlocks = ctx.GlobalString(LegacyWhitelistFlag.Name)
} else {
return
Expand Down
2 changes: 1 addition & 1 deletion eth/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (cs *chainSyncer) modeAndLocalHead() (downloader.SyncMode, *big.Int) {
// return downloader.SnapSync, td
// }
// }
// Nope, we're really full syncing
// // Nope, we're really full syncing
// head := cs.handler.chain.CurrentBlock()
// td := cs.handler.chain.GetTd(head.Hash(), head.NumberU64())
// return downloader.FullSync, td
Expand Down
9 changes: 7 additions & 2 deletions internal/cli/server/chains/mumbai.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,24 @@ var mumbaiTestnet = &Chain{
LondonBlock: big.NewInt(22640000),
Bor: &params.BorConfig{
JaipurBlock: big.NewInt(22770000),
DelhiBlock: big.NewInt(29638656),
Period: map[string]uint64{
"0": 2,
"25275000": 5,
"29638656": 2,
},
ProducerDelay: map[string]uint64{
"0": 6,
"0": 6,
"29638656": 4,
},
Sprint: map[string]uint64{
"0": 64,
"0": 64,
"29638656": 16,
},
BackupMultiplier: map[string]uint64{
"0": 2,
"25275000": 5,
"29638656": 2,
},
ValidatorContract: "0x0000000000000000000000000000000000001000",
StateReceiverContract: "0x0000000000000000000000000000000000001001",
Expand Down
15 changes: 10 additions & 5 deletions internal/cli/server/chains/test_files/chain_legacy_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,21 @@
"bor": {
"period": {
"0": 2,
"25275000": 5
"25275000": 5,
"29638656": 2
},
"producerDelay": {
"0": 6
"0": 6,
"29638656": 4
},
"sprint": {
"0": 64
"0": 64,
"29638656": 16
},
"backupMultiplier": {
"0": 2,
"25275000": 5
"25275000": 5,
"29638656": 2
},
"validatorContract": "0x0000000000000000000000000000000000001000",
"stateReceiverContract": "0x0000000000000000000000000000000000001001",
Expand All @@ -43,7 +47,8 @@
"burntContract": {
"22640000": "0x70bcA57F4579f58670aB2d18Ef16e02C17553C38"
},
"jaipurBlock": 22770000
"jaipurBlock": 22770000,
"delhiBlock": 29638656
}
},
"nonce": "0x0",
Expand Down
15 changes: 10 additions & 5 deletions internal/cli/server/chains/test_files/chain_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,21 @@
"bor":{
"period":{
"0":2,
"25275000": 5
"25275000": 5,
"29638656": 2
},
"producerDelay":{
"0": 6
"0": 6,
"29638656": 4
},
"sprint":{
"0": 64
"0": 64,
"29638656": 16
},
"backupMultiplier":{
"0": 2,
"25275000": 5
"25275000": 5,
"29638656": 2
},
"validatorContract":"0x0000000000000000000000000000000000001000",
"stateReceiverContract":"0x0000000000000000000000000000000000001001",
Expand All @@ -45,7 +49,8 @@
"burntContract":{
"22640000":"0x70bcA57F4579f58670aB2d18Ef16e02C17553C38"
},
"jaipurBlock":22770000
"jaipurBlock":22770000,
"delhiBlock": 29638656
}
},
"nonce":"0x0",
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/server/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (c *Command) MarkDown() string {
// Help implements the cli.Command interface
func (c *Command) Help() string {
return `Usage: bor [options]
Run the Bor server.
` + c.Flags().Help()
}
Expand Down
9 changes: 7 additions & 2 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,19 +350,24 @@ var (
LondonBlock: big.NewInt(22640000),
Bor: &BorConfig{
JaipurBlock: big.NewInt(22770000),
DelhiBlock: big.NewInt(29638656),
Period: map[string]uint64{
"0": 2,
"25275000": 5,
"29638656": 2,
},
ProducerDelay: map[string]uint64{
"0": 6,
"0": 6,
"29638656": 4,
},
Sprint: map[string]uint64{
"0": 64,
"0": 64,
"29638656": 16,
},
BackupMultiplier: map[string]uint64{
"0": 2,
"25275000": 5,
"29638656": 2,
},
ValidatorContract: "0x0000000000000000000000000000000000001000",
StateReceiverContract: "0x0000000000000000000000000000000000001001",
Expand Down
8 changes: 4 additions & 4 deletions params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
)

const (
VersionMajor = 0 // Major version component of the current release
VersionMinor = 3 // Minor version component of the current release
VersionPatch = 1 // Patch version component of the current release
VersionMeta = "beta" // Version metadata to append to the version string
VersionMajor = 0 // Major version component of the current release
VersionMinor = 3 // Minor version component of the current release
VersionPatch = 1 // Patch version component of the current release
VersionMeta = "mumbai" // Version metadata to append to the version string
)

// Version holds the textual version string.
Expand Down

0 comments on commit b1739f6

Please sign in to comment.