Hello!
Consider the following piece of code:
let metadata: Option<Metadata> = self.contract_name.methods()
.metadata(asset, value)
.simulate()
.await
.unwrap()
.value;
Execution of the above returns an error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidType("Enums currently support only one level deep heap types.")
Seems to be the same/related to this https://github.com/FuelLabs/fuels-rs/issues/1213.
I’d love to know if there is any alternative ways to use “metdata” in this scenario through the Rust SDK?
Thank you!