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

[E2E alternative backend]: Abstract error and result structs #1844

Merged

Conversation

pmikolajczyk41
Copy link
Member

@pmikolajczyk41 pmikolajczyk41 commented Jul 10, 2023

First step for introducing common backend trait:

  • move Error enum to a separate module and make it backend-agnostic
  • move CallDryRunResult, CallResult, InstantiationResult, UploadResult to a separate module and make them backend-agnostic

Fortunately, no changes to the test code is needed (apart from some type annotation for errors).

ref: #1834

Copy link

@deuszx deuszx left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

LGTM!

@ascjones ascjones merged commit 7c65a87 into use-ink:master Jul 13, 2023
@pmikolajczyk41 pmikolajczyk41 deleted the pmikolajczyk41/abstracting-client branch July 13, 2023 11:17
@SkymanOne SkymanOne mentioned this pull request Mar 4, 2024
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.

3 participants