q9f / eth.rb

a straightforward library to build, sign, and broadcast ethereum transactions anywhere you can run ruby.
https://q9f.github.io/eth.rb
Apache License 2.0
204 stars 88 forks source link

eth/contract: from_file defaults to ContextMixin #109

Closed q9f closed 2 years ago

q9f commented 2 years ago

From Telegram:

I'm experiencing some strange behavior with from_file. It will default to ContentMixin for certain filenames (without changing the contract content), and have a nil abi, and then will get the proper contract contents for others

photo_2022-06-02_12-20-48

q9f commented 2 years ago

@beacoding do you mind sharing one of these files? I would really like to reproduce this.

q9f commented 2 years ago

closing at cannot reproduce, please let me know if this appears and how to reproduce 🙏🏼