mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
omit NetworkScheduleEntry fields that are not part of BlobScheduleEntry (#15557)
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
This commit is contained in:
2
changelog/kasey_omit-non-blob-fields.md
Normal file
2
changelog/kasey_omit-non-blob-fields.md
Normal file
@@ -0,0 +1,2 @@
|
||||
### Ignored
|
||||
- omits non-standard blob schedule entry struct fields from marshaling.
|
||||
@@ -348,13 +348,13 @@ func (b *BeaconChainConfig) ExecutionRequestLimits() enginev1.ExecutionRequestLi
|
||||
}
|
||||
|
||||
type NetworkScheduleEntry struct {
|
||||
ForkVersion [fieldparams.VersionLength]byte
|
||||
ForkDigest [4]byte
|
||||
MaxBlobsPerBlock uint64 `yaml:"MAX_BLOBS_PER_BLOCK" json:"MAX_BLOBS_PER_BLOCK"`
|
||||
Epoch primitives.Epoch `yaml:"EPOCH" json:"EPOCH"`
|
||||
BPOEpoch primitives.Epoch
|
||||
VersionEnum int
|
||||
isFork bool
|
||||
ForkVersion [fieldparams.VersionLength]byte `yaml:"-" json:"-"`
|
||||
ForkDigest [4]byte `yaml:"-" json:"-"`
|
||||
MaxBlobsPerBlock uint64 `yaml:"MAX_BLOBS_PER_BLOCK" json:"MAX_BLOBS_PER_BLOCK"`
|
||||
Epoch primitives.Epoch `yaml:"EPOCH" json:"EPOCH"`
|
||||
BPOEpoch primitives.Epoch `yaml:"-" json:"-"`
|
||||
VersionEnum int `yaml:"-" json:"-"`
|
||||
isFork bool `yaml:"-" json:"-"`
|
||||
}
|
||||
|
||||
func (e NetworkScheduleEntry) LogFields() log.Fields {
|
||||
|
||||
Reference in New Issue
Block a user