I have a custom type defined as
#[contracttype]
pub struct Rectangle {
pub height: u32,
pub width: u32,
}
which I am trying to pass to an contract function using the cli.
Previously I was able to pass the parameter using --arg '{"object":{"map":[{"key":{"symbol":"width"},"val":{"u32":5}},{"key":{"symbol":"height"},"val":{"u32":8}}]}}' but since this update this command will result in an Status(HostValueError(UnknownError)) during the transaction simulation.
When looking at the https://soroban.stellar.org/docs/learn/custom-types example I don't see anything changed that would explain this behaviour.
What am I missing here?