You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions for retrieving full block information (GetBlockById, GetBlockByHeight, GetLatestBlock) don't implement conversion from flowgo.Payload to sdk.BlockPayload, but instead just return an empty sdk.BlockPayload struct.
Problem
Functions for retrieving full block information (
GetBlockById
,GetBlockByHeight
,GetLatestBlock
) don't implement conversion fromflowgo.Payload
tosdk.BlockPayload
, but instead just return an emptysdk.BlockPayload
struct.See example: https://github.com/onflow/flow-emulator/blame/799f57c037f3bd33acdd4e57a4d1b55ee58fc5d9/adapters/sdk.go#L179-L186
Steps to Reproduce
Use SDK adapter and try retrieving block payload (e.g. collection guarantees).
Acceptance Criteria
SDK adapter should support retrieval of block payloads.
Context
I'm playing around with building a revamped web-based playground. This was proposed in the grant: onflow/developer-grants#260.
The text was updated successfully, but these errors were encountered: