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

Format the execution errors returned by deploy() #429

Merged
merged 6 commits into from
Aug 30, 2023

Conversation

alcuadrado
Copy link
Member

Closes #410 and #426

This makes the result self-contained.
@alcuadrado alcuadrado force-pushed the error-messages-format branch from 1dfca5a to 87b89cd Compare August 29, 2023 22:48
export {
StoredDeploymentDeserializer,
StoredDeploymentSerializer,
} from "./new-api/stored-deployment-serializer";
export * from "./new-api/type-guards";
export * from "./new-api/types/module";
export * from "./new-api/types/serialized-deployment";
export { formatSolidityParameter } from "./new-api/internal/formatters";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just so I am clear on the reasoning.

Because this will inevitable be used in both the UI project and the cli, we move it to core and leverage it from there; as the alternative is duplication?

@kanej kanej merged commit 42391d1 into development Aug 30, 2023
6 checks passed
@kanej kanej deleted the error-messages-format branch August 30, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Formatting a SolidityParameterType as string can throw
2 participants