vyperlang / titanoboa

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

fix: local variable 'snapshot_id' referenced before assignment #203

Closed DanielSchiavini closed 5 months ago

DanielSchiavini commented 5 months ago

What I did

Fix UnboundLocalError: local variable 'snapshot_id' referenced before assignment

This was caused by a typo, the property block_id was removed in #134. Another typo broke the time travel tests.

How I did it

Used the correct block_number property

How to verify it

Unit tests should pass

Description for the changelog

Fix UnboundLocalError: local variable 'snapshot_id' referenced before assignment

Cute Animal Picture

image