Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetExecutionResultForBlockID uses wrong query param #486

Open
treethought opened this issue Oct 13, 2023 · 0 comments · May be fixed by #487
Open

GetExecutionResultForBlockID uses wrong query param #486

treethought opened this issue Oct 13, 2023 · 0 comments · May be fixed by #487

Comments

@treethought
Copy link

Problem

the access http.Client sets block_ids query param for GetExecutionResultForBlockID while the API spec uses block_id

This results in an error when calling the method with any block id

get execution results by IDs [df38d976b13ccfc40a379b1c779ee1ec2a4fb005b2dcb1bbc1ad823167cf8e3e] failed: no block IDs provided

Steps to Reproduce

resp, err := client.GetExecutionResultForBlockID(ctx, block.ID)
if err != nil {
	log.Fatal(err)
}
treethought added a commit to treethought/flow-go-sdk that referenced this issue Oct 13, 2023
@treethought treethought linked a pull request Oct 13, 2023 that will close this issue
6 tasks
treethought added a commit to treethought/flow-go-sdk that referenced this issue Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant