vyperlang / titanoboa

a vyper interpreter
https://titanoboa.readthedocs.io
Other
251 stars 49 forks source link

fix dynamic_source_filename return for contracts without filename #212

Closed cfcfs closed 4 months ago

cfcfs commented 4 months ago

What I did

Fix coverage report failing with Plugin 'boa.coverage.TitanoboaPlugin' did not provide a file reporter for 'None'. Checking with coverage debug data shows a line with

None: 9 lines [boa.coverage.TitanoboaPlugin]

How I did it

Change TitanoboaTracer.dynamic_source_filename to return None if there's no contract filename (previously it returned "None")

How to verify it

Description for the changelog

Cute Animal Picture

iOne5bBd

charles-cooper commented 4 months ago

thanks!