diff --git a/chainio/clients/avsregistry/reader.go b/chainio/clients/avsregistry/reader.go index 4db93d5e..42778d59 100644 --- a/chainio/clients/avsregistry/reader.go +++ b/chainio/clients/avsregistry/reader.go @@ -358,7 +358,7 @@ func (r *ChainReader) GetOperatorFromId( func (r *ChainReader) QueryRegistrationDetail( opts *bind.CallOpts, operatorAddress common.Address, -) ([]bool, error) { +) (map[int]bool, error) { operatorId, err := r.GetOperatorId(opts, operatorAddress) if err != nil { return nil, err @@ -368,14 +368,9 @@ func (r *ChainReader) QueryRegistrationDetail( return nil, err } numBits := value.BitLen() - quorums := make([]bool, numBits) + quorums := make(map[int]bool, numBits) for i := 0; i < numBits; i++ { - // Check if the ith bit is set - if value.Int64()&(1<