Skip to content

refactor: elcontracts update more reader interfaces #1870

refactor: elcontracts update more reader interfaces

refactor: elcontracts update more reader interfaces #1870

Triggered via pull request January 31, 2025 19:01
Status Failure
Total duration 58s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: chainio/clients/elcontracts/reader_test.go#L100
too many arguments in call to read_clients.ElChainReader.CalculateDelegationApprovalDigestHash
Lint: chainio/clients/elcontracts/reader_test.go#L116
too many arguments in call to read_clients.ElChainReader.CalculateOperatorAVSRegistrationDigestHash
Lint: chainio/clients/elcontracts/reader_test.go#L273
not enough arguments in call to chainReader.GetCurrentClaimableDistributionRoot
Lint: chainio/clients/elcontracts/reader_test.go#L278
not enough arguments in call to chainReader.CurrRewardsCalculationEndTimestamp
Lint: chainio/clients/elcontracts/reader_test.go#L281
cannot convert 1 (untyped int constant) to type struct{EndTimestamp uint32}
Lint: chainio/clients/elcontracts/reader_test.go#L289
not enough arguments in call to chainReader.GetCurrentClaimableDistributionRoot
Lint: chainio/clients/elcontracts/reader_test.go#L348
cannot use root (variable of type [32]byte) as elcontracts.RootHashRequest value in argument to chainReader.GetRootIndexFromHash
Lint: chainio/clients/elcontracts/reader_test.go#L356
not enough arguments in call to chainReader.CurrRewardsCalculationEndTimestamp
Lint: chainio/clients/elcontracts/reader_test.go#L359
cannot convert 1 (untyped int constant) to type struct{EndTimestamp uint32}
Lint: chainio/clients/elcontracts/reader_test.go#L372
not enough arguments in call to chainReader.CurrRewardsCalculationEndTimestamp