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

Allow for 10MB messages over grpc #1511

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Conversation

joshklop
Copy link
Contributor

@joshklop joshklop commented Dec 2, 2023

Got an error message that looked something like this:

JunoStateGetCompiledClass failed to read class
{
    "err": "rpc error: code = ResourceExhausted desc = grpc: received message larger than max (5877256 vs. 4194304)"
}
github.com/NethermindEth/juno/vm.JunoStateGetCompiledClass/home/user/repos/juno/vm/state_reader.go:80

https://stackoverflow.com/questions/55362342/grpc-received-message-larger-than-max-8653851-vs-4194304

Copy link

codecov bot commented Dec 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a9e3439) 72.82% compared to head (678e091) 72.75%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1511      +/-   ##
==========================================
- Coverage   72.82%   72.75%   -0.07%     
==========================================
  Files          96       96              
  Lines        9942     9947       +5     
==========================================
- Hits         7240     7237       -3     
- Misses       2163     2169       +6     
- Partials      539      541       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Got an error message that looked something like this:
```
JunoStateGetCompiledClass failed to read class
{
    "err": "rpc error: code = ResourceExhausted desc = grpc: received message larger than max (5877256 vs. 4194304)"
}
github.com/NethermindEth/juno/vm.JunoStateGetCompiledClass/home/user/repos/juno/vm/state_reader.go:80
```

https://stackoverflow.com/questions/55362342/grpc-received-message-larger-than-max-8653851-vs-4194304
@omerfirmak omerfirmak merged commit 4ef39fd into main Dec 5, 2023
9 of 10 checks passed
@omerfirmak omerfirmak deleted the joshklop/grpc-msg-size branch December 5, 2023 07:16
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 this pull request may close these issues.

2 participants