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

anchor: add test suite for api integ tests #126

Merged
merged 5 commits into from
Jun 11, 2024
Merged

anchor: add test suite for api integ tests #126

merged 5 commits into from
Jun 11, 2024

Conversation

@yurushao yurushao marked this pull request as draft June 10, 2024 02:13
@@ -133,11 +133,11 @@ export class BaseClient {
}

getManager(): PublicKey {
return this.provider?.publicKey || new PublicKey(0);
Copy link
Contributor Author

@yurushao yurushao Jun 10, 2024

Choose a reason for hiding this comment

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

if we cannot find manager public key just let it fail, because this should be a fatal error. Otherwise the error is swallowed and PublicKey(0) will lead to glam program errors.

@yurushao yurushao marked this pull request as ready for review June 10, 2024 05:37
@yurushao yurushao requested a review from 0x0ece June 10, 2024 06:32
@0x0ece 0x0ece merged commit 4b9b0d9 into main Jun 11, 2024
2 checks passed
@0x0ece 0x0ece deleted the api_integ_tests branch June 11, 2024 02:51
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