stellar / rs-soroban-env

Rust environment for Soroban contracts.
Apache License 2.0
62 stars 42 forks source link

Cap number of args to wasm functions #1256

Closed graydon closed 11 months ago

graydon commented 11 months ago

This just limits the number of args allowed to wasm functions to something reasonable (32).

leighmcculloch commented 11 months ago

It'd be good if we caught limits like this earlier in the SDK in codegen and CLI when building, but a limit of 32 is so high I don't think it's worth the maintenance cost of the logic to add to those things.