ameliatastic / seahorse-lang

Write Anchor-compatible Solana programs in Python
Apache License 2.0
320 stars 46 forks source link

Unable to use lists/arrays in events #64

Closed mcintyre94 closed 1 year ago

mcintyre94 commented 1 year ago

In addition to #61 (we'll need to add .clone for these types), there are some extra problems when using lists/arrays

ameliatastic commented 1 year ago

Yeah that's a big problem. What Seahorse type does that IDL come from? update: duh it's a List[u8], for some reason I thought Anchor was coercing arrays to Vec

anoushk1234 commented 1 year ago

Yeah that's a big problem. ~What Seahorse type does that IDL come from?~ update: duh it's a List[u8], for some reason I thought Anchor was coercing arrays to Vec

since this is working now we can close this issue