Skip to content

Conversation

@AntonioVentilii
Copy link
Collaborator

Motivation

Changes

Tests

.map_err(|e| BridgeError::Candid(e.to_string()).to_string())?;
let args_blob = idl_args
.to_bytes()
.map_err(|e| BridgeError::Candid(e.to_string()).to_string())?;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The caller may have to provide more type information than they are used to. Normally dfx will use the target canister's candid file to convert to the correct types; without that information it will guess more simply and won't always get this conversion right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants