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

Fix patch state not being able to patch for large amounts of data #223

Closed
ChaoticTempest opened this issue Oct 24, 2022 · 0 comments · Fixed by #251
Closed

Fix patch state not being able to patch for large amounts of data #223

ChaoticTempest opened this issue Oct 24, 2022 · 0 comments · Fixed by #251

Comments

@ChaoticTempest
Copy link
Member

When patching a large payload to contract state, the sandbox near node would not it, throwing the following error:

Error: the server returned a non-OK (200) status code: [413 Payload Too Large]

This is probably to do with the fact that the network can be attacked if the requests are too big. But since this is sandbox, we can just special case it to accept large payloads.

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