prysmaticlabs / prysm

Unused method receiver RVV-B0013
Bug risk
Major
62 occurrences in this check
Method receiver 's' is not referenced in method's body, consider removing it
320	return s.setEth1Data(g)
321}
322
323func (s *PremineGenesisConfig) setGenesisValidatorsRoot(g state.BeaconState) error {324	vroot, err := stateutil.ValidatorRegistryRoot(g.Validators())
325	if err != nil {
326		return err
Method receiver 'b' is not referenced in method's body, consider removing it
321	panic("implement me")
322}
323
324func (b *BeaconBlockBody) Version() int {325	panic("implement me")
326}
327
Method receiver 'b' is not referenced in method's body, consider removing it
317	panic("implement me")
318}
319
320func (b *BeaconBlockBody) Attestations() []*eth.Attestation {321	panic("implement me")
322}
323
Method receiver 'b' is not referenced in method's body, consider removing it
313	panic("implement me")
314}
315
316func (b *BeaconBlockBody) Consolidations() ([]*eth.SignedConsolidation, error) {317	panic("implement me")
318}
319
Method receiver 'b' is not referenced in method's body, consider removing it
309}
310
311// BlobKzgCommitments returns the blob kzg commitments in the block.
312func (b *BeaconBlockBody) BlobKzgCommitments() ([][]byte, error) {313	panic("implement me")
314}
315
Method receiver 'b' is not referenced in method's body, consider removing it
304	panic("implement me")
305}
306
307func (b *BeaconBlockBody) SetBLSToExecutionChanges([]*eth.SignedBLSToExecutionChange) error {308	panic("implement me")
309}
310
Method receiver 'b' is not referenced in method's body, consider removing it
300	panic("implement me")
301}
302
303func (b *BeaconBlockBody) SetExecution(interfaces.ExecutionData) error {304	panic("implement me")
305}
306
Method receiver 'b' is not referenced in method's body, consider removing it
296	panic("implement me")
297}
298
299func (b *BeaconBlockBody) SetSyncAggregate(*eth.SyncAggregate) error {300	panic("implement me")
301}
302
Method receiver 'b' is not referenced in method's body, consider removing it
292	panic("implement me")
293}
294
295func (b *BeaconBlockBody) SetVoluntaryExits([]*eth.SignedVoluntaryExit) {296	panic("implement me")
297}
298
Method receiver 'b' is not referenced in method's body, consider removing it
288	panic("implement me")
289}
290
291func (b *BeaconBlockBody) SetDeposits([]*eth.Deposit) {292	panic("implement me")
293}
294
Method receiver 'b' is not referenced in method's body, consider removing it
284	panic("implement me")
285}
286
287func (b *BeaconBlockBody) SetAttestations([]*eth.Attestation) {288	panic("implement me")
289}
290
Method receiver 'b' is not referenced in method's body, consider removing it
280	panic("implement me")
281}
282
283func (b *BeaconBlockBody) SetAttesterSlashings([]*eth.AttesterSlashing) {284	panic("implement me")
285}
286
Method receiver 'b' is not referenced in method's body, consider removing it
276	panic("implement me")
277}
278
279func (b *BeaconBlockBody) SetProposerSlashings([]*eth.ProposerSlashing) {280	panic("implement me")
281}
282
Method receiver 'b' is not referenced in method's body, consider removing it
272	panic("implement me")
273}
274
275func (b *BeaconBlockBody) SetGraffiti([]byte) {276	panic("implement me")
277}
278
Method receiver 'b' is not referenced in method's body, consider removing it
268	panic("implement me")
269}
270
271func (b *BeaconBlockBody) SetEth1Data(*eth.Eth1Data) {272	panic("implement me")
273}
274
Method receiver 'b' is not referenced in method's body, consider removing it
264	panic("implement me")
265}
266
267func (b *BeaconBlockBody) SetRandaoReveal([]byte) {268	panic("implement me")
269}
270
Method receiver 'b' is not referenced in method's body, consider removing it
260	panic("implement me")
261}
262
263func (b *BeaconBlock) SetStateRoot(root []byte) {264	panic("implement me")
265}
266
Method receiver 'e' is not referenced in method's body, consider removing it
1852}
1853
1854// IsBlinded returns true if the underlying data is blinded.
1855func (e executionPayloadElectra) IsBlinded() bool {1856	return false
1857}
1858
Method receiver 'e' is not referenced in method's body, consider removing it
1822}
1823
1824// PbDeneb --
1825func (e executionPayloadElectra) PbDeneb() (*enginev1.ExecutionPayloadDeneb, error) {1826	return nil, consensus_types.ErrUnsupportedField
1827}
1828
Method receiver 'e' is not referenced in method's body, consider removing it
1817}
1818
1819// PbCapella --
1820func (e executionPayloadElectra) PbCapella() (*enginev1.ExecutionPayloadCapella, error) {1821	return nil, consensus_types.ErrUnsupportedField
1822}
1823
Method receiver 'e' is not referenced in method's body, consider removing it
1812}
1813
1814// PbBellatrix --
1815func (e executionPayloadElectra) PbBellatrix() (*enginev1.ExecutionPayload, error) {1816	return nil, consensus_types.ErrUnsupportedField
1817}
1818
Method receiver 'e' is not referenced in method's body, consider removing it
1799}
1800
1801// WithdrawalsRoot --
1802func (e executionPayloadElectra) WithdrawalsRoot() ([]byte, error) {1803	return nil, consensus_types.ErrUnsupportedField
1804}
1805
Method receiver 'e' is not referenced in method's body, consider removing it
1789}
1790
1791// TransactionsRoot --
1792func (e executionPayloadElectra) TransactionsRoot() ([]byte, error) {1793	return nil, consensus_types.ErrUnsupportedField
1794}
1795
Method receiver 'e' is not referenced in method's body, consider removing it
1656}
1657
1658// IsBlinded returns true if the underlying data is blinded.
1659func (e executionPayloadHeaderElectra) IsBlinded() bool {1660	return true
1661}
1662
Method receiver 'e' is not referenced in method's body, consider removing it
1651}
1652
1653// WithdrawalRequests --
1654func (e executionPayloadHeaderElectra) WithdrawalRequests() ([]*enginev1.ExecutionLayerWithdrawalRequest, error) {1655	return nil, consensus_types.ErrUnsupportedField
1656}
1657