You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-07-27T11:31:31Z ERROR block data processing for block with hash 0x03ff62c2f25209593b2fdf87b2206f6b09e5877f76026c7c7fa527b465453f61 failed: processing block data with header and body: handling block: failed to execute block 7165794: running runtime function: wasm error: unreachable
2023-08-08T16:53:34Z CRITICAL target=runtime message=panicked at 'Host to wasm values are encoded correctly; qed: Error', /cargo-home/git/checkouts/substrate-7e08433d4c370a21/91061a7/primitives/runtime-interface/src/pass_by.rs:255:38 ext_logging_log_version_1 pkg=runtime module=wazero
The problem is that the pallet is trying to retrieve a value from the host through the default child storage, as the value does not exist in the host the host should return None however Gossamer is returning the value 0 which is causing the problem since the runtime is expecting a Option<Vec<u8>>, to fix that we should return None or []byte{0x00} if we don't find the value
The text was updated successfully, but these errors were encountered:
More informations about the error:
The problem is that the pallet is trying to retrieve a value from the host through the default child storage, as the value does not exist in the host the host should return
None
however Gossamer is returning the value 0 which is causing the problem since the runtime is expecting aOption<Vec<u8>>
, to fix that we should returnNone
or[]byte{0x00}
if we don't find the valueThe text was updated successfully, but these errors were encountered: