[typed-protocols]: Fix the contra-tracer mess
Closed 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-tracer
is 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-network
is designed to be compatible with both the Hackage of the IOG version. node
uses a non-head version ofouroboros-network
that includesouroboros-consensus
.- Current HEAD of
ouroboros-network
does not includeouroboros-consensus
. - If any repo is upgraded to use
iog-contra-tracer
and any of the packages in that repo or ANY of its dependencies still relies oncontra-tracer
cabal 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!