When using the sol! macro to define a public mapping whose value type is a struct, the automatically…
When using the sol! macro to define a public mapping whose value type is a struct, the automatically…: a task in LegoFlow-SWE (Harbor dataset). The macro currently tries to generate a getter that includes every field, leading to compilation errors such as mapping types are unsupported . The…
The task
The macro currently tries to generate a getter that includes every field, leading to compilation errors such as `mapping types are unsupported`. The correct behavior is to match Solidity’s own getter generation: the `returns` clause should contain **only** the fields that are ABI‑encodable. In this case, the…
Part of Lego-X/LegoFlow-SWE.