We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the API specification, an unset port ID falls back to the contract's port ID:
If port_id is omitted, this list all channels bound to the contract's port.
port_id
(https://github.com/CosmWasm/cosmwasm/blob/v1.3.3/packages/std/src/query/ibc.rs#L16-L20), and
If PortID is unset, this list all channels bound to the contract's port.
PortID
(https://github.com/CosmWasm/wasmvm/blob/v1.3.0/types/queries.go#L165-L172). This specification never changed since the API's existence.
However, in https://github.com/CosmWasm/wasmd/pull/439/files#diff-47293308b181e6cdf9a982870e2de9941dfb405553ed239f7a192ec46963ec58R180 the implemetation changed to list channels for all ports in that case, instead of the contract's port. This is a bug in wasmd.
The motivation for changing the implementation instead of documenting the current behaviour is the following:
IbcQuery::Channel
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
According to the API specification, an unset port ID falls back to the contract's port ID:
(https://github.com/CosmWasm/cosmwasm/blob/v1.3.3/packages/std/src/query/ibc.rs#L16-L20), and
(https://github.com/CosmWasm/wasmvm/blob/v1.3.0/types/queries.go#L165-L172). This specification never changed since the API's existence.
However, in https://github.com/CosmWasm/wasmd/pull/439/files#diff-47293308b181e6cdf9a982870e2de9941dfb405553ed239f7a192ec46963ec58R180 the implemetation changed to list channels for all ports in that case, instead of the contract's port. This is a bug in wasmd.
The motivation for changing the implementation instead of documenting the current behaviour is the following:
IbcQuery::Channel
The text was updated successfully, but these errors were encountered: