Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: marshal export what others import #1447

Merged
merged 1 commit into from
Jan 15, 2023

Conversation

erights
Copy link
Contributor

@erights erights commented Jan 15, 2023

Now that @endo/marshal has what it should (due to #1439 and #1291 ), when this version of endo is released and agoric-sdk is upgraded to depend on it, we have a potential problem: deep imports by code in agoric-sdk into the midst of internal modules in endo. In particular, the compat requirements #1439 was written to meet was to continue to support code that imports what @endo/marshal explicitly exports. But #1439 was not written to support code that deeply imports from the internals of marshal.

The best answer to that is for agoric-sdk to stop deeply importing from marshal, which is what Agoric/agoric-sdk#6792 will accomplish. But Agoric/agoric-sdk#6792 cannot work until agoric-sdk has been upgraded to depend on a version of endo in which those imports are exported directly by marshal, which is what this PR does.

@erights erights merged commit e2a016f into master Jan 15, 2023
@erights erights deleted the markm-marshal-export-explicitly branch January 15, 2023 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants