mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 05:47:59 -05:00
fixing some linting
This commit is contained in:
@@ -117,6 +117,7 @@ func GethPragueTime(genesisTime time.Time, cfg *clparams.BeaconChainConfig) *uin
|
||||
// by adding the relative time of the fulu the fork epoch to the given genesis timestamp.
|
||||
func GethOsakaTime(genesisTime time.Time, cfg *clparams.BeaconChainConfig) *uint64 {
|
||||
var osakaTime *uint64
|
||||
|
||||
if cfg.FuluForkEpoch != math.MaxUint64 {
|
||||
startSlot, err := slots.EpochStart(cfg.FuluForkEpoch)
|
||||
if err == nil {
|
||||
@@ -125,6 +126,7 @@ func GethOsakaTime(genesisTime time.Time, cfg *clparams.BeaconChainConfig) *uint
|
||||
osakaTime = &newTime
|
||||
}
|
||||
}
|
||||
|
||||
return osakaTime
|
||||
}
|
||||
|
||||
@@ -176,21 +178,21 @@ func GethTestnetGenesis(genesis time.Time, cfg *clparams.BeaconChainConfig) *cor
|
||||
Cancun: params.DefaultCancunBlobConfig,
|
||||
Prague: params.DefaultPragueBlobConfig,
|
||||
Osaka: params.DefaultOsakaBlobConfig,
|
||||
//BPO1: ¶ms.BlobConfig{
|
||||
// Target: 9,
|
||||
// Max: 14,
|
||||
// UpdateFraction: 8832827,
|
||||
//},
|
||||
//BPO2: ¶ms.BlobConfig{
|
||||
// Target: 14,
|
||||
// Max: 21,
|
||||
// UpdateFraction: 13739630,
|
||||
//},
|
||||
//BPO3: ¶ms.BlobConfig{
|
||||
// Target: 21,
|
||||
// Max: 32,
|
||||
// UpdateFraction: 20609697,
|
||||
//},
|
||||
BPO1: ¶ms.BlobConfig{
|
||||
Target: 9,
|
||||
Max: 14,
|
||||
UpdateFraction: 8832827,
|
||||
},
|
||||
BPO2: ¶ms.BlobConfig{
|
||||
Target: 14,
|
||||
Max: 21,
|
||||
UpdateFraction: 13739630,
|
||||
},
|
||||
BPO3: ¶ms.BlobConfig{
|
||||
Target: 21,
|
||||
Max: 32,
|
||||
UpdateFraction: 20609697,
|
||||
},
|
||||
},
|
||||
}
|
||||
da := defaultDepositContractAllocation(cfg.DepositContractAddress)
|
||||
|
||||
@@ -100,6 +100,7 @@ func (t *TransactionGenerator) Start(ctx context.Context) error {
|
||||
if err == nil && bal.Sign() > 0 {
|
||||
break
|
||||
}
|
||||
|
||||
time.Sleep(250 * time.Millisecond)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user