Finschia / cosmwasm

Fast and reusable WebAssembly smart contract runtime(and library) for finschia-sdk.
Apache License 2.0
27 stars 14 forks source link

Unify how to limit input/output length between dynamic link and tx #257

Closed loloicci closed 1 year ago

loloicci commented 1 year ago

input

dynamic link

https://github.com/line/cosmwasm/pull/240 limits both inputs and outputs. It is not the same way as txs (instantiate, execute, etc...) to limit the length of inputs.

Txs

Txs do not limit the size but cost gas according to the size of inputs.

output

dynamic link

https://github.com/line/cosmwasm/pull/240. Size is not the same as the txs.

Txs

https://github.com/line/cosmwasm/blob/354f875b721844df1c923bde14460b6ffdaad4c1/packages/vm/src/calls.rs#L24

loloicci commented 1 year ago

closed via https://github.com/line/lbm-sdk/pull/835, https://github.com/line/wasmvm/pull/83, and https://github.com/line/cosmwasm/pull/259