cosmwasm
cosmwasm copied to clipboard
Fast and reusable WebAssembly smart contract runtime(and library) for lbm-sdk.
There are no specifications for writing WASM directly, so we would like to prepare them. We need to write and summarize the parts related to dynamic link. The contents of...
If serializations or deserializations fail in the code generated by macro `#[dynamiclink]` or `#[callablepoints]`, the `Err` is unwrapped, and WASM panics. I suggest improving the macros to enable generated functions...
Now, dynamic link functions can be called by only other contracts. Enable it from tx or query directly.
It's just an idea, but https://github.com/Finschia/cosmwasm/blob/ac1e18e57466cc86807f6bdbdbc2012d7f67632f/contracts/number/src/contract.rs#L79-L102 can make https://github.com/Finschia/cosmwasm/blob/ac1e18e57466cc86807f6bdbdbc2012d7f67632f/contracts/call-number/src/contract.rs#L16-L22 automatically.
As a measure against re-entarancy, when a contract function with the same address is called via a callablepoint, the callstack is designed so that a call to a contract with...
Currently, the limit of the call stack is defined as 5. It is mainly used in the following codes. https://github.com/Finschia/cosmwasm/blob/eda535b09ef7501752d633eb32eebc46cb1c9b92/packages/vm/src/environment.rs#L15 https://github.com/Finschia/cosmwasm/blob/eda535b09ef7501752d633eb32eebc46cb1c9b92/packages/vm/src/environment.rs#L357-L359 https://github.com/Finschia/cosmwasm/blob/eda535b09ef7501752d633eb32eebc46cb1c9b92/packages/vm/src/environment.rs#L383-L385 Check callstack limits and fix if necessary.
This repository now uses versions formatted `x.x.x-y.y.y-zzz` where `x.x.x` is the original CosmWasm's release version, `y.y.y` is our release version and `zzz` is the additional info (e.g. dynamiclink1). This does...
In cw721 (https://github.com/CosmWasm/cw-nfts/blob/main/packages/cw721/README.md), users can approve that some contracts operate some tokens. But the admin of a specified contract can change the contract code (logic) by migrating the contract. In...