Submit ASTs instead of sources
muellerberndt opened this issue · 7 comments
muellerberndt commented
Description
MythX works more reliably based on ASTs and use of source code will be deprecated shortly.
Submit ASTs instead of sources in the sources
dict of the request data. For an example how to construct a request with ASTs see:
https://github.com/b-mueller/sabre/blob/9ceb49218645cbcf700f4eea708a958ad306e16b/lib/client.js#L7
aquiladev commented
I'll take a look
yann300 commented
we pushed a PR ethereum/remix#1236, in remix-alpha probably tomorrow (Tuesday)
yann300 commented
I think the fix should already be in remix-alpha...
aquiladev commented
@yann300 I checked today, still ast
is not there. I checked both environments, remix
and remix-alpha
yann300 commented
and now? (we just updated a few hours ago)
aquiladev commented
yes remix-alpha
has ast
aquiladev commented
when AST is present, plugin uses it, otherwise it uses source