You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some limitations regarding Rust's dynamic allocation, which can cause some sc calls to fail. We recommend using managed types instead, which only allocate memory inside the VM, or use static buffers.
The simplest and fastest solution is to use only VecMapper and 'push', which will consume over twice as much gas. As a temporary solution, it should be a quick fix.
The text was updated successfully, but these errors were encountered:
After tests on the testnet it looks like it could be 3000 instead of the current 2200, but it can be implemented when devnet and testnet have equal codebase and configuration. For now, the limit per transaction is 2200 indexes to populate. CLI will do this automatically in v1.4.1
https://stackoverflow.com/questions/71108759/vecmapper-extend-from-slice-differences-between-testnet-and-devnet
There are some limitations regarding Rust's dynamic allocation, which can cause some sc calls to fail. We recommend using managed types instead, which only allocate memory inside the VM, or use static buffers.
The simplest and fastest solution is to use only VecMapper and 'push', which will consume over twice as much gas. As a temporary solution, it should be a quick fix.
The text was updated successfully, but these errors were encountered: