Closed pgherveou closed 7 months ago
what exactly is the dependency cycle? drink doesn't depend on ink!, does it?
what exactly is the dependency cycle? drink doesn't depend on ink!, does it?
it does through contract-transcode (that is only required by feature session after this PR), we don't need all the session stuff in ink! as well
what exactly is the dependency cycle? drink doesn't depend on ink!, does it?
it does through contract-transcode (that is only required by feature session after this PR), we don't need all the session stuff in ink! as well
Exactly.
drink -> contract-transcode -> ink_metadata + ink_env
^ ^
| |
ink_e2e ----------------------------------------
Moved bundle and mocking under session. Alternatively we could keep it where it is but put this code behind other feature flags
This change is needed, cause the current setup introduce dependency cycle with ink!. ink! should import drink! without the session feature to avoid creating a dependency cycle