prysmaticlabs / prysm

Unused method receiver RVV-B0013
Bug risk
Major
28 occurrences in this check
Method receiver 'e' is not referenced in method's body, consider removing it
1738}
1739
1740// IsBlinded returns true if the underlying data is blinded.
1741func (e executionPayloadHeaderElectra) IsBlinded() bool {1742	return true
1743}
Method receiver 'e' is not referenced in method's body, consider removing it
1723}
1724
1725// PbElectra --
1726func (e executionPayloadHeaderElectra) PbElectra() (*enginev1.ExecutionPayloadElectra, error) {1727	return nil, consensus_types.ErrUnsupportedField
1728}
1729
Method receiver 'e' is not referenced in method's body, consider removing it
1718}
1719
1720// PbDeneb --
1721func (e executionPayloadHeaderElectra) PbDeneb() (*enginev1.ExecutionPayloadDeneb, error) {1722	return nil, consensus_types.ErrUnsupportedField
1723}
1724
Method receiver 'e' is not referenced in method's body, consider removing it
1713}
1714
1715// PbCapella --
1716func (e executionPayloadHeaderElectra) PbCapella() (*enginev1.ExecutionPayloadCapella, error) {1717	return nil, consensus_types.ErrUnsupportedField
1718}
1719
Method receiver 'e' is not referenced in method's body, consider removing it
1708}
1709
1710// PbBellatrix --
1711func (e executionPayloadHeaderElectra) PbBellatrix() (*enginev1.ExecutionPayload, error) {1712	return nil, consensus_types.ErrUnsupportedField
1713}
1714
Method receiver 'e' is not referenced in method's body, consider removing it
1680}
1681
1682// Withdrawals --
1683func (e executionPayloadHeaderElectra) Withdrawals() ([]*enginev1.Withdrawal, error) {1684	return nil, consensus_types.ErrUnsupportedField
1685}
1686
Method receiver 'e' is not referenced in method's body, consider removing it
1670}
1671
1672// Transactions --
1673func (e executionPayloadHeaderElectra) Transactions() ([][]byte, error) {1674	return nil, consensus_types.ErrUnsupportedField
1675}
1676
Method receiver 'e' is not referenced in method's body, consider removing it
1529}
1530
1531// IsBlinded returns true if the underlying data is blinded.
1532func (e executionPayloadElectra) IsBlinded() bool {1533	return false
1534}
1535
Method receiver 'e' is not referenced in method's body, consider removing it
1514}
1515
1516// PbDeneb --
1517func (e executionPayloadElectra) PbDeneb() (*enginev1.ExecutionPayloadDeneb, error) {1518	return nil, consensus_types.ErrUnsupportedField
1519}
1520
Method receiver 'e' is not referenced in method's body, consider removing it
1509}
1510
1511// PbCapella --
1512func (e executionPayloadElectra) PbCapella() (*enginev1.ExecutionPayloadCapella, error) {1513	return nil, consensus_types.ErrUnsupportedField
1514}
1515
Method receiver 'e' is not referenced in method's body, consider removing it
1504}
1505
1506// PbBellatrix --
1507func (e executionPayloadElectra) PbBellatrix() (*enginev1.ExecutionPayload, error) {1508	return nil, consensus_types.ErrUnsupportedField
1509}
1510
Method receiver 'e' is not referenced in method's body, consider removing it
1481}
1482
1483// WithdrawalsRoot --
1484func (e executionPayloadElectra) WithdrawalsRoot() ([]byte, error) {1485	return nil, consensus_types.ErrUnsupportedField
1486}
1487
Method receiver 'e' is not referenced in method's body, consider removing it
1471}
1472
1473// TransactionsRoot --
1474func (e executionPayloadElectra) TransactionsRoot() ([]byte, error) {1475	return nil, consensus_types.ErrUnsupportedField
1476}
1477
Method receiver 'e' is not referenced in method's body, consider removing it
1338}
1339
1340// IsBlinded returns true if the underlying data is blinded.
1341func (e executionPayloadDeneb) IsBlinded() bool {1342	return false
1343}
1344
Method receiver 'e' is not referenced in method's body, consider removing it
1318}
1319
1320// PbCapella --
1321func (e executionPayloadDeneb) PbCapella() (*enginev1.ExecutionPayloadCapella, error) {1322	return nil, consensus_types.ErrUnsupportedField
1323}
1324
Method receiver 'e' is not referenced in method's body, consider removing it
1313}
1314
1315// PbBellatrix --
1316func (e executionPayloadDeneb) PbBellatrix() (*enginev1.ExecutionPayload, error) {1317	return nil, consensus_types.ErrUnsupportedField
1318}
1319
Method receiver 'e' is not referenced in method's body, consider removing it
1290}
1291
1292// WithdrawalsRoot --
1293func (e executionPayloadDeneb) WithdrawalsRoot() ([]byte, error) {1294	return nil, consensus_types.ErrUnsupportedField
1295}
1296
Method receiver 'e' is not referenced in method's body, consider removing it
1280}
1281
1282// TransactionsRoot --
1283func (e executionPayloadDeneb) TransactionsRoot() ([]byte, error) {1284	return nil, consensus_types.ErrUnsupportedField
1285}
1286
Method receiver 'e' is not referenced in method's body, consider removing it
1147}
1148
1149// IsBlinded returns true if the underlying data is blinded.
1150func (e executionPayloadHeaderDeneb) IsBlinded() bool {1151	return true
1152}
1153
Method receiver 'e' is not referenced in method's body, consider removing it
1092}
1093
1094// Withdrawals --
1095func (e executionPayloadHeaderDeneb) Withdrawals() ([]*enginev1.Withdrawal, error) {1096	return nil, consensus_types.ErrUnsupportedField
1097}
1098
Method receiver 'e' is not referenced in method's body, consider removing it
 773}
 774
 775// ExcessBlobGas --
 776func (e executionPayloadHeaderCapella) ExcessBlobGas() (uint64, error) { 777	return 0, consensus_types.ErrUnsupportedField
 778}
 779
Method receiver 'e' is not referenced in method's body, consider removing it
 768}
 769
 770// BlobGasUsed --
 771func (e executionPayloadHeaderCapella) BlobGasUsed() (uint64, error) { 772	return 0, consensus_types.ErrUnsupportedField
 773}
 774
Method receiver 'e' is not referenced in method's body, consider removing it
 580}
 581
 582// ExcessBlobGas --
 583func (e executionPayloadCapella) ExcessBlobGas() (uint64, error) { 584	return 0, consensus_types.ErrUnsupportedField
 585}
 586
Method receiver 'e' is not referenced in method's body, consider removing it
 575}
 576
 577// BlobGasUsed --
 578func (e executionPayloadCapella) BlobGasUsed() (uint64, error) { 579	return 0, consensus_types.ErrUnsupportedField
 580}
 581
Method receiver 'e' is not referenced in method's body, consider removing it
 359}
 360
 361// ExcessBlobGas --
 362func (e executionPayloadHeader) ExcessBlobGas() (uint64, error) { 363	return 0, consensus_types.ErrUnsupportedField
 364}
 365