Skip to content

Commit

Permalink
chore: set calibnet F3InitialPowerTableCID
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Oct 31, 2024
1 parent f6fbd53 commit e819865
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion fixtures/networks/butterfly.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func ButterflySnapNet() *NetworkConf {
F3Enabled: true,
F3BootstrapEpoch: 1000,
ManifestServerID: "12D3KooWJr9jy4ngtJNR7JC1xgLFra3DjEtyxskRYWvBK9TC3Yn6",
F3Consensus: true,
F3InitialPowerTableCID: cid.Undef,
},
}
Expand Down
3 changes: 1 addition & 2 deletions fixtures/networks/calibration.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ func Calibration() *NetworkConf {
AllowableClockDriftSecs: 1,
Eip155ChainID: 314159,
ActorDebugging: false,
F3Consensus: true,
F3InitialPowerTableCID: cid.Undef,
F3InitialPowerTableCID: cid.MustParse("bafy2bzaceab236vmmb3n4q4tkvua2n4dphcbzzxerxuey3mot4g3cov5j3r2c"),
},
}

Expand Down
1 change: 0 additions & 1 deletion fixtures/networks/forcenet.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ func ForceNet() *NetworkConf {
F3Enabled: true,
F3BootstrapEpoch: 1000,
ManifestServerID: "12D3KooWHcNBkqXEBrsjoveQvj6zDF3vK5S9tAfqyYaQF1LGSJwG",
F3Consensus: true,
F3InitialPowerTableCID: cid.Undef,
},
}
Expand Down
1 change: 0 additions & 1 deletion fixtures/networks/integrationtestnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func IntegrationNet() *NetworkConf {
F3Enabled: false,
F3BootstrapEpoch: -1,
ManifestServerID: "12D3KooWHcNBkqXEBrsjoveQvj6zDF3vK5S9tAfqyYaQF1LGSJwG",
F3Consensus: true,
F3InitialPowerTableCID: cid.Undef,
},
}
Expand Down
1 change: 0 additions & 1 deletion fixtures/networks/interopnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func InteropNet() *NetworkConf {
F3Enabled: true,
F3BootstrapEpoch: 1000,
ManifestServerID: "12D3KooWQJ2rdVnG4okDUB6yHQhAjNutGNemcM7XzqC9Eo4z9Jce",
F3Consensus: true,
F3InitialPowerTableCID: cid.Undef,
},
}
Expand Down
1 change: 0 additions & 1 deletion fixtures/networks/mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ func Mainnet() *NetworkConf {
F3Enabled: true,
F3BootstrapEpoch: -1,
ManifestServerID: "12D3KooWENMwUF9YxvQxar7uBWJtZkA6amvK4xWmKXfSiHUo2Qq7",
F3Consensus: false,
F3InitialPowerTableCID: cid.Undef,
},
}
Expand Down
1 change: 0 additions & 1 deletion fixtures/networks/net_2k.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ func Net2k() *NetworkConf {
F3Enabled: true,
F3BootstrapEpoch: 1000,
ManifestServerID: "12D3KooWHcNBkqXEBrsjoveQvj6zDF3vK5S9tAfqyYaQF1LGSJwG",
F3Consensus: true,
F3InitialPowerTableCID: cid.Undef,
},
}
Expand Down
3 changes: 0 additions & 3 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,6 @@ type NetworkParamsConfig struct {
F3Enabled bool `json:"f3Enabled"`
F3BootstrapEpoch abi.ChainEpoch `json:"f3BootstrapEpoch"`
ManifestServerID string `json:"manifestServerID"`
// F3Consensus set whether F3 should checkpoint tipsets finalized by F3. This
// flag has no effect if F3 is not enabled.
F3Consensus bool `json:"f3Consensus"`
// The initial F3 power table CID.
F3InitialPowerTableCID cid.Cid `json:"f3InitialPowerTableCID"`
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/vf3/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func NewManifest(
Finality: int64(finality),
DelayMultiplier: manifest.DefaultEcConfig.DelayMultiplier,
BaseDecisionBackoffTable: manifest.DefaultEcConfig.BaseDecisionBackoffTable,
HeadLookback: 0,
HeadLookback: 4,
Finalize: true,
},
CertificateExchange: manifest.CxConfig{
Expand Down

0 comments on commit e819865

Please sign in to comment.