Closed benber86 closed 2 months ago
the gas stats not appearing is a drawback of the table renderer, they just get lost if there is truncation. we should also export the gas results to csv or a prof file honestly.
btw, i think public variables not appearing is a bug in vyper's source map generation, which should have been fixed in 0.4.0 (https://github.com/vyperlang/vyper/commit/a91af13db9d6d89e6c2139c1b28c490845f06e13 if i'm not mistaken). can you try the beta and see if there are still issues?
@benber86 can we close this?
When accessing a public variable and generating a gas profile, the profiler returns
unnamed
instead of the getter function's nameExample: https://try.vyperlang.org/hub/user-redirect/lab/tree/Gas%20Profile%20Public%20Variable.ipynb
I would expect to see
balanceOf
in the profiler, but instead it's listed asunnamed
. (I would also expect the gas stats to actually appear in the table, even though it may not be the orthodox usage of the feature).