This is a followup issue to make some improvements brought up in #3968 by @jochem-brouwer:
- Remove unused error messages in
EOFError
error message map
- Move the
EVMErrorMessages
object into the EVMError
constructor class as a static field
- Make
errorType
on EVMError
a constant somewhere and export it such that is reads from that variable? Then if we change it in the future, we don't run in the similar problem