Skip to content

Commit

Permalink
fix: f3: panic on unset manifest properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Jul 15, 2024
1 parent 424ae01 commit 7c0903e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions chain/lf3/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ import (
func NewManifestProvider(nn dtypes.NetworkName, cs *store.ChainStore, sm *stmgr.StateManager, ps *pubsub.PubSub) manifest.ManifestProvider {
m := manifest.LocalDevnetManifest()
m.NetworkName = gpbft.NetworkName(nn)
m.GpbftConfig = manifest.DefaultGpbftConfig
m.CxConfig = &manifest.CxConfig{
ClientRequestTimeout: 10 * time.Second,
ServerRequestTimeout: time.Minute,
MinimumPollInterval: time.Duration(build.BlockDelaySecs) * time.Second,
MaximumPollInterval: 4 * time.Duration(build.BlockDelaySecs) * time.Second,
}
m.ECDelayMultiplier = 2.
m.ECPeriod = time.Duration(build.BlockDelaySecs) * time.Second
m.BootstrapEpoch = int64(buildconstants.F3BootstrapEpoch)
Expand Down

0 comments on commit 7c0903e

Please sign in to comment.