When fetching Transasctions and Results for a block that is very large it fails
Open
@devbugging is already working on this.
Since Jun 25, 2023.
Feedback
- Dominant language
- Go
- Stars
- 209
- Forks
- 87
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.