Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Error in query curve_info for cw20-bonding #2

@shiki-tak

Description

@shiki-tak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions