Assaf Morami
Assaf Morami
This PR increases query performance by about 25% (1.25x). | A large query | Time (s) | |--|--| | Without gas metering | 41.273849005 | | With gas metering |...
I'm thinking of maybe creating a docker images that runs QEMU and inside of QEMU run the current docker image.
For now let's aim to consume 10M gas for 3 seconds of runtime. This direction might help - https://github.com/CosmWasm/cosmwasm/blob/v1.0.0-beta5/packages/vm/src/environment.rs#L36-L49
Extend [this](https://github.com/enigmampc/SecretNetwork/blob/0e4505ed75253e7ebbf6491cb22112ada48a0557/go-cosmwasm/types/msg.go?plain=1#L63-L69) and all subsequent usages, including adding them to cosmwasm-std in [here](https://github.com/enigmampc/SecretNetwork/blob/0e4505ed75253e7ebbf6491cb22112ada48a0557/cosmwasm/packages/std/src/init_handle.rs?plain=1#L17-L28) and inside the enclave in [here](https://github.com/enigmampc/SecretNetwork/blob/0e4505ed75253e7ebbf6491cb22112ada48a0557/cosmwasm/packages/wasmi-runtime/src/cosmwasm/types.rs?plain=1#L164-L175). - [ ] x/auth - [ ] [MsgCreateVestingAccount](https://github.com/cosmos/cosmos-sdk/blob/v0.43.0-rc2/x/auth/vesting/types/tx.pb.go#L35) - [ ]...
Extend [this](https://github.com/enigmampc/SecretNetwork/blob/0e4505ed75253e7ebbf6491cb22112ada48a0557/go-cosmwasm/types/queries.go#L62-L70) and all subsequent usages, including adding them to cosmwasm-std in [here](https://github.com/enigmampc/SecretNetwork/blob/a45b780d68f2c5c05228927a2d2c8fa3c3e15b49/cosmwasm/packages/std/src/query.rs?plain=1#L17-L25) and inside the enclave in [here](https://github.com/enigmampc/SecretNetwork/blob/a45b780d68f2c5c05228927a2d2c8fa3c3e15b49/cosmwasm/packages/wasmi-runtime/src/cosmwasm/query.rs?plain=1#L12-L20). - [ ] /x/auth - [ ] [QueryAccountsRequest](https://github.com/cosmos/cosmos-sdk/blob/v0.43.0-rc2/x/auth/types/query.pb.go#L36) - [ ]...
Currently can only call by address: https://github.com/enigmampc/SecretNetwork/blob/b62073aa72f2cfc9101927cb6e6c7a2836bb734c/cosmwasm/packages/std/src/init_handle.rs#L92-L100
We have `HeapMaxSize` set to 10 MiB. When we try to allocate more than 10 MiB we get `SIGILL`. Is there a nice way to catch and recover from these...
### Feature Request Adding an optional `MsgTransformer` to `CosmWasmClient` (via its constructor). `MsgTransformer` will be an interface that transforms the `MsgInstantiateContract` and `MsgExecuteContract` before `init`, `handle` and `query`, and also...
**Describe what happened:** **What was your system configuration?** *Product and Version*: VSCode 1.45.0 *OS Version*: Linux *Live Share Extension Version*: 1.0.2106 *Target Platform or Language* [e.g. Node.js]: Rust **Steps to...