mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
eb6b811071
* remove ShardingForkVersion/Epoch from config * update magic value counting config params * skip the sharding params, which we disavow we wanted to remove these upstream and may well do some day but right now it's too big of a mess to untangle. Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
17 lines
432 B
Go
17 lines
432 B
Go
package params
|
|
|
|
// InteropConfig provides a generic config suitable for interop testing.
|
|
func InteropConfig() *BeaconChainConfig {
|
|
c := MainnetConfig().Copy()
|
|
|
|
// Prysm constants.
|
|
c.ConfigName = InteropName
|
|
c.GenesisForkVersion = []byte{0, 0, 0, 235}
|
|
c.AltairForkVersion = []byte{1, 0, 0, 235}
|
|
c.BellatrixForkVersion = []byte{2, 0, 0, 235}
|
|
c.CapellaForkVersion = []byte{3, 0, 0, 235}
|
|
|
|
c.InitializeForkSchedule()
|
|
return c
|
|
}
|