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

Convert errors in @solana/signers to coded exceptions #2224

Conversation

steveluscher
Copy link
Collaborator

@steveluscher steveluscher commented Feb 29, 2024

Addresses #2118.

@steveluscher
Copy link
Collaborator Author

steveluscher commented Feb 29, 2024

};
[SOLANA_ERROR__SIGNER_EXPECTED_CONFORMING_SIGNER]: {
address: string;
interfaceName: string;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not super sure that this was the right thing to do, but you tell me @lorisleiva.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it'd be nicer to have one for each type. Because otherwise there is redundancy between the "expected conforming signer" error and "expected transaction signer" error.

@steveluscher steveluscher changed the base branch from master to 03-01-Refine_Address_error_types March 1, 2024 00:15
@steveluscher steveluscher force-pushed the 02-29-Convert_errors_in_solana/signers_to_coded_exceptions branch from 24cb64d to b6c80ed Compare March 1, 2024 00:15
@steveluscher steveluscher force-pushed the 02-29-Convert_errors_in_solana/signers_to_coded_exceptions branch from b6c80ed to f0ad0e1 Compare March 1, 2024 00:21
@steveluscher steveluscher force-pushed the 03-01-Refine_Address_error_types branch from 34d5666 to b59fecd Compare March 1, 2024 01:05
@steveluscher steveluscher force-pushed the 02-29-Convert_errors_in_solana/signers_to_coded_exceptions branch from f0ad0e1 to 75de449 Compare March 1, 2024 01:05
Base automatically changed from 03-01-Refine_Address_error_types to master March 1, 2024 01:47
@steveluscher steveluscher force-pushed the 02-29-Convert_errors_in_solana/signers_to_coded_exceptions branch from 75de449 to e14a7ef Compare March 1, 2024 02:09
@steveluscher steveluscher force-pushed the 02-29-Convert_errors_in_solana/signers_to_coded_exceptions branch from e14a7ef to 3b46917 Compare March 1, 2024 22:33
@steveluscher
Copy link
Collaborator Author

steveluscher commented Mar 1, 2024

Merge activity

@steveluscher steveluscher merged commit 613053d into master Mar 1, 2024
6 of 10 checks passed
@steveluscher steveluscher deleted the 02-29-Convert_errors_in_solana/signers_to_coded_exceptions branch March 1, 2024 22:48
Copy link
Contributor

github-actions bot commented Mar 2, 2024

🎉 This PR is included in version 1.90.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants