clearloop
clearloop
Tried two ways to import `cita-sdk` into wechat-mini-program: ### bundle.js ``` require('../miniprogram_npm/@cryptape/cita-sdk/lib/bundle.js'); ... VM12449:1 thirdScriptError sdk uncaught third Error module "miniprogram_npm/@cryptape/cita-sdk/lib/bundle.js" is not defined Error: module "miniprogram_npm/@cryptape/cita-sdk/lib/bundle.js" is not defined...
the current API only accepts file as input and output, make it possible to pass byte array as input, btw the `wasm-opt` binary can accept wasm from pipe
perhaps provide a new feature `builded`, which will search the static library on OS _Originally posted by @clearloop in https://github.com/brson/wasm-opt-rs/issues/161#issuecomment-1833759497_
the `build.rs` of `wasm-opt-sys` takes too much time
Resolves #219 ### Changes - [x] introduce dynamic arguments - [ ] abi encoding - [ ] abi decoding - [ ] support signature and selector - [ ] merge...
### Describe the feature https://docs.soliditylang.org/en/v0.8.28/internals/layout_in_storage.html#mappings-and-dynamic-arrays ### Solution follow the design of the solidity, figure out a better solution if there is any _No response_
### Describe the feature refactor the implementation of storage ```rust impl Storage for MyStorage { fn set(value: Self) { value.push(); Self::STORAGE_KEY.push(); ffi::evm::sstore(); } } ``` ### Solution _No response_
### Describe the feature ``` struct Mapping storage -> ([Mapping::ManualKey, Mapping::Key], Value) ``` ### Solution _No response_
### Describe the feature checks everywhere is actually not possible, once there is control flow in function, the stack/memory output could be unpredictable --- EDITED - The stack output should...
### Describe the feature bytecode output of the example constructor ``` 6012600b5f395f5f5f35f0600d6005f35f5460010160005260206000f3 ``` ``` PUSH1 0x12 PUSH1 0x0b PUSH0 CODECOPY PUSH0 PUSH0 PUSH0 CALLDATALOAD CREATE PUSH1 0x0d PUSH1 0x05 RETURN...