Closed letmejustputthishere closed 1 year ago
There is a bug in candid parsing.
You can change did into
type CommonError =
variant {
InvalidToken: TokenIdentifier;
Other: text;
};
type AccountIdentifier__1 = text;
type TokenIndex = nat32;
type TokenIdentifier = text;
type Result_1 =
variant {
err: CommonError;
ok: vec TokenIndex;
};
service : () ->{
tokens: (AccountIdentifier__1) -> (Result_1) query;
};
I think this should work.
fix in #67
are you expecting use to close issues that have been resolved ourselves? or are you waiting for some internal process before you close them? i see a couple of issues that have been resolved but they are still open
I have the following
did
fileI setup the canister like this
But making a call to
ext.tokens(account)
fails with the error mentioned above. Is this a bug or am I doing something wrong?