-
Notifications
You must be signed in to change notification settings - Fork 0
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
Transaction sizes can grow too large #5
Comments
Follow-up on: Adi: Double-check that indeed the Tendermint-level protection on the TX size can be bypassed I did a quick check using tm-load-test and was able to submit to the mempool a ~9.6MB transaction using: Terminal 1:
Terminal 2:
I assessed that the transaction entered successfully in the blockchain based on these logs from Terminal 1
The above would not work successfully on a vanilla setup. To make it work, I had to change the following Tendermint configuration params: # Maximum size of request body, in bytes
max_body_bytes = 100000000
# %% ADI CHANGED ^ from 1000000
# Maximum size of request header, in bytes
max_header_bytes = 10485760
# %% ADI CHANGED ^ from 1048576
# Maximum size of a single transaction.
# NOTE: the max size of a tx transmitted over the network is {max_tx_bytes}.
max_tx_bytes = 10485760
# %%% ADI CHANGED ^ from 1048576 |
Context
This issue is a continuation of informalsystems/hermes#2993. That particular issue was closed since the packet was successfully cleared. We'd like to avoid this situations in the future, however. This will involve a cross-repository and cross-organizational effort, which I'll track here.
Next steps
After a discussion with the IBC-go team and SDK we remarked on the following:
Action items:
Acceptance criteria
To close this issue, the following are necessary
The text was updated successfully, but these errors were encountered: