Open DaniPopes opened 1 year ago
can i take on this ?
Is it planned to support resolving imports from within the sol macro? Currently sol!
is largely unusable for any non-trivial contracts, since all imports have to be re-specified manually.
Is it planned to support resolving imports from within the sol macro? Currently sol! is largely unusable for any non-trivial contracts, since all imports have to be re-specified manually.
@benluelo
No, that would be basically embedding a compiler frontend into the macro at that point which is just not worth it.
You should use JSON ABI input to pass in ABI generated from other tools, or write a simple interface inline.
This is a tracking issue for missing
sol!
proc macro (and correspondingsol-types
,syn-solidity
) features.Blockers
Nice-to-haves