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

When fetching Transasctions and Results for a block that is very large it fails #1107

Open
bjartek opened this issue Jun 25, 2023 · 0 comments
Assignees
Labels

Comments

@bjartek
Copy link
Collaborator

bjartek commented Jun 25, 2023

Instructions

Using flowkit try to GetTransactionsByBlockID() block 55179362

You will get the error message getting transactions: getting transaction results: client: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (26319669 vs. 20971520)

Problem

Flowkit fetches all Transactions in a block (small size) and then TransactionResults (large size) in one got.

Steps to Reproduce

Using flowkit try to GetTransactionsByBlockID() block 55179362

Acceptance Criteria

Guard against the error and manually run GetTransactionResults in a loop for every Transaction in the block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants