Note that the canister call is made successfully (as shown in the Candid UI), but the event isn't captured by the decoder.
Expected behavior
The call should be captured by the decoder, show up in the decoder panel, and correctly display that the returned data is null.
System Information
OS: Ubuntu 21.10
Browser: Brave Version 1.39.111 Chromium: 102.0.5005.61 (Official Build) (64-bit)
Additional context
This only seems to be a problem with Motoko canisters. I've deployed the equivalent canister in Rust and Azle and the decoder can handle those responses fine.
Description When making a query to a motoko canister that returns a
null
value, the decoder doesn't capture the event.To Reproduce Steps to reproduce the behavior:
Expected behavior The call should be captured by the decoder, show up in the decoder panel, and correctly display that the returned data is
null
.System Information
Additional context This only seems to be a problem with Motoko canisters. I've deployed the equivalent canister in Rust and Azle and the decoder can handle those responses fine.
The candid of the deployed canister is: