Replies: 1 comment
-
Found a way to make this work by having a generic entry function, and then packing it into Any in the entry function |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Seems like we can't have
copyable_any::Any
as a param to an entry function. I get the error:i want to receive dynamic data in a transaction, which could be either of 2 structs. I can't receive bytes(
vector<u8>
) either cuz there's no way to pack bytes into Any type. What's the right way to do this?Beta Was this translation helpful? Give feedback.
All reactions