sol! macro generates incorrect struct namespacing and duplicate function errors
sol! macro generates incorrect struct namespacing and duplicate function errors: a task in LegoFlow-SWE (Harbor dataset). When using the sol! macro to generate Rust types from JSON ABIs, the generated code loses library/namespace prefixes for structs defined inside Solidity libraries. This causes…
The task
When using the `sol!` macro to generate Rust types from JSON ABIs, the generated code loses library/namespace prefixes for structs defined inside Solidity libraries. This causes struct name collisions and invalid duplicate function definitions when two libraries contain structs with the same name, or when two…
Part of Lego-X/LegoFlow-SWE.