onflow / flow-go-sdk

Tools for building Go applications on Flow :ocean:
https://onflow.org
Apache License 2.0
212 stars 86 forks source link

CollectionGuarantee type differs from protobuf schema #768

Closed illia-malachyn closed 1 month ago

illia-malachyn commented 2 months ago

This is a part of https://github.com/onflow/flow-go-sdk/issues/736

CollectionGuarantee is a part of Collection type which is used in GetCollection endpoint https://github.com/onflow/flow-go-sdk/blob/master/access/grpc/grpc.go#L299

CollectionGuarantee type on the SDK side https://github.com/onflow/flow-go-sdk/blob/master/collection.go#L47

CollectionGuarantee in the Protobuf schema https://github.com/onflow/flow/blob/master/protobuf/flow/entities/collection.proto#L13