AleoNet / snarkOS

A Decentralized Operating System for ZK Applications
http://snarkos.org
Apache License 2.0
4.24k stars 2.59k forks source link

[Feature] Limit REST body size to 512KiB #3244

Closed niklaslong closed 2 months ago

niklaslong commented 2 months ago

Now that we cap transaction size, it was proposed that we reduce the allowed size for inbound REST requests. I've set it to 512KiB (note that the default for axum is 2MB).