mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -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 {
|
type NetworkScheduleEntry struct {
|
||||||
ForkVersion [fieldparams.VersionLength]byte
|
ForkVersion [fieldparams.VersionLength]byte `yaml:"-" json:"-"`
|
||||||
ForkDigest [4]byte
|
ForkDigest [4]byte `yaml:"-" json:"-"`
|
||||||
MaxBlobsPerBlock uint64 `yaml:"MAX_BLOBS_PER_BLOCK" json:"MAX_BLOBS_PER_BLOCK"`
|
MaxBlobsPerBlock uint64 `yaml:"MAX_BLOBS_PER_BLOCK" json:"MAX_BLOBS_PER_BLOCK"`
|
||||||
Epoch primitives.Epoch `yaml:"EPOCH" json:"EPOCH"`
|
Epoch primitives.Epoch `yaml:"EPOCH" json:"EPOCH"`
|
||||||
BPOEpoch primitives.Epoch
|
BPOEpoch primitives.Epoch `yaml:"-" json:"-"`
|
||||||
VersionEnum int
|
VersionEnum int `yaml:"-" json:"-"`
|
||||||
isFork bool
|
isFork bool `yaml:"-" json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e NetworkScheduleEntry) LogFields() log.Fields {
|
func (e NetworkScheduleEntry) LogFields() log.Fields {
|
||||||
|
|||||||
Reference in New Issue
Block a user