[typed-protocols]: Fix the contra-tracer mess
erikd opened this issue · 4 comments
erikd commented
erikd commented
@coot This will actually have to be reverted. This PR fixed it in this package but the overall problem is much bigger and hairier.
Renaming IOG's contra-tracer to iog-contra-tracer and propagating this through all the repos is incredibly difficult.
The problems include:
contra-traceris used everywhere.- The Hackage version and the IOG version have the same package name, define the same module names but are not 100% compatible.
- Some code in
ouroboros-networkis designed to be compatible with both the Hackage of the IOG version. nodeuses a non-head version ofouroboros-networkthat includesouroboros-consensus.- Current HEAD of
ouroboros-networkdoes not includeouroboros-consensus. - If any repo is upgraded to use
iog-contra-tracerand any of the packages in that repo or ANY of its dependencies still relies oncontra-tracercabal with pull in the Hackage version instead of the IOG version and the compile will break.
I tried 3 different ways to fix this and all failed due to one or more of the above.
erikd commented
Done!