Skip to content

Commit

Permalink
confirm period blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Nov 1, 2023
1 parent c142f9f commit 602b67c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bold
Submodule bold updated 1 files
+87 −0 tools/fund-weth/main.go
2 changes: 1 addition & 1 deletion cmd/bold-deploy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func main() {
bigStepLeafHeight := flag.Uint64("bigStepLeafHeight", 1<<5, "big step edge leaf height")
smallSteapLeafHeight := flag.Uint64("smallStepLeafHeight", 1<<7, "small step edge leaf height")
minimumAssertionPeriodBlocks := flag.Uint64("minimumAssertionPeriodBlocks", 1, "minimum number of blocks between assertions")
confirmPeriodBlocks := flag.Uint64("confirmPeriodBlocks", 1, "challenge period")
confirmPeriodBlocks := flag.Uint64("confirmPeriodBlocks", 175, "challenge period")
challengeGracePeriodBlocks := flag.Uint64("challengeGracePeriodBlocks", 3, "challenge grace period in which security council can take action")
miniStake := flag.Uint64("miniStake", 1, "mini-stake size")
baseStake := flag.Uint64("baseStake", 1, "base-stake size")
Expand Down
12 changes: 0 additions & 12 deletions cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,18 +295,6 @@ func mainImpl() int {
}
}

if nodeConfig.Node.Bold.Enable && nodeConfig.Node.Bold.ValidatorPrivateKey != "" {
privKey, err := crypto.HexToECDSA(nodeConfig.Node.Bold.ValidatorPrivateKey)
if err != nil {
log.Crit("Failed to parse bold validator private key", "err", err)
}
validatorOpts, err := bind.NewKeyedTransactorWithChainID(privKey, new(big.Int).SetUint64(nodeConfig.ParentChain.ID))
if err != nil {
log.Crit("Failed to create bold validator opts from private key", "err", err)
}
l1TransactionOptsValidator = validatorOpts
}

combinedL2ChainInfoFile := nodeConfig.Chain.InfoFiles
if nodeConfig.Chain.InfoIpfsUrl != "" {
l2ChainInfoIpfsFile, err := util.GetL2ChainInfoIpfsFile(ctx, nodeConfig.Chain.InfoIpfsUrl, nodeConfig.Chain.InfoIpfsDownloadPath)
Expand Down

0 comments on commit 602b67c

Please sign in to comment.