f-o-a-m / chanterelle

Chanterelle -- a more functional truffle
80 stars 13 forks source link

Late Linking WIP #106

Closed iostat closed 5 years ago

iostat commented 5 years ago

This is a WIP/tracking PR to essentially fix #70. There's still a bunch of ergonomics stuff to be done, mainly around how linked bytecode is stored and used (to prevent things like contracts linked against libraries on network X being deployed on network Y, etc.). Additionally, doing this correctly makes #85 much easier going forward.

Please don't merge this yet.

iostat commented 5 years ago

Yeah a bunch of those error helpers I made mid-refactor to help preserve old behavior in certain places while making the flow more readable. Definitely agree that most of them should go as half of them ended up being unused by the end.