refactor: elcontracts
new reader interface
#1861
Annotations
10 errors
Test:
chainio/clients/elcontracts/reader_test.go#L36
cannot use operator (variable of type "github.com/Layr-Labs/eigensdk-go/types".Operator) as elcontracts.OperatorRequest value in argument to read_clients.ElChainReader.IsOperatorRegistered
|
Test:
chainio/clients/elcontracts/reader_test.go#L42
cannot use operator (variable of type "github.com/Layr-Labs/eigensdk-go/types".Operator) as elcontracts.OperatorRequest value in argument to read_clients.ElChainReader.GetOperatorDetails
|
Test:
chainio/clients/elcontracts/reader_test.go#L45
operatorDetails.Address undefined (type elcontracts.OperatorResponse has no field or method Address)
|
Test:
chainio/clients/elcontracts/reader_test.go#L125
assignment mismatch: 3 variables but read_clients.ElChainReader.GetStakerShares returns 2 values
|
Test:
chainio/clients/elcontracts/reader_test.go#L127
cannot use common.HexToAddress(operator.Address) (value of type "github.com/ethereum/go-ethereum/common".Address) as elcontracts.StakerRequest value in argument to read_clients.ElChainReader.GetStakerShares
|
Test:
chainio/clients/elcontracts/reader_test.go#L140
too many arguments in call to read_clients.ElChainReader.GetDelegatedOperator
|
Test:
chainio/clients/elcontracts/reader_test.go#L145
address.String undefined (type elcontracts.DelegateOperatorResponse has no field or method String)
|
Test:
chainio/clients/elcontracts/reader_test.go#L589
cannot use op (variable of type "github.com/Layr-Labs/eigensdk-go/types".Operator) as elcontracts.OperatorRequest value in argument to chainReader.GetOperatorDetails
|
Test:
chainio/clients/elcontracts/reader_test.go#L592
operatorDetails.Address undefined (type elcontracts.OperatorResponse has no field or method Address)
|
Test:
chainio/clients/elcontracts/reader_test.go#L593
operatorDetails.AllocationDelay undefined (type elcontracts.OperatorResponse has no field or method AllocationDelay)
|