I tried cw20-bonding and got the following error.
❯ CURVEINFO='{"curve_info":{}}'
❯ wasmd query wasm contract-state smart $CONTRACT "$CURVEINFO" --output json
Error: rpc error: code = InvalidArgument desc = Error calling the VM: Error executing Wasm: Wasmer runtime error: RuntimeError: unreachable: query wasm contract failed: invalid request
Conditions
- Only query "CurveInfo" will cause an error.
- Doesn't happen when "CurveType" is "Constant", but happens after "Buy" for "Linear" and "SquareRoot".(Before "Buy", no error occurs.)
- cw-plus v0.10.0
- wasmd v0.20.0