core icon indicating copy to clipboard operation
core copied to clipboard

`sol!` tracking issue

Open DaniPopes opened this issue 2 years ago • 3 comments

This is a tracking issue for missing sol! proc macro (and corresponding sol-types, syn-solidity) features.

Blockers

  • [x] #68
  • [x] #38
  • [x] #55
  • [x] #73

Nice-to-haves

  • [x] #36
  • [x] #37
  • [x] #39
  • [x] #82
  • [x] #163
  • [x] #157, #184
  • [ ] #254
  • [ ] #261

DaniPopes avatar Jun 07 '23 16:06 DaniPopes

can i take on this ?

mahmudsudo avatar Sep 22 '23 19:09 mahmudsudo

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 avatar Feb 22 '24 06:02 benluelo

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.

DaniPopes avatar Feb 22 '24 15:02 DaniPopes