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

Tests for the patch in #27752 #27784

Merged
merged 1 commit into from
Sep 16, 2022
Merged

Conversation

Lichtso
Copy link
Contributor

@Lichtso Lichtso commented Sep 14, 2022

Problem

See #27752

Summary of Changes

Adds tests for the two account aliasing restrictions of UpgradeableLoaderInstruction::Upgrade which can be triggered.
The other two in UpgradableLoaderInstruction::DeployWithMaxDataLen and UpgradableLoaderInstruction::Close can not fail and return InstructionError::AccountBorrowFailed because other prior checks already prevent that.

Fixes #

…aderInstruction::Upgrade which can be triggered.
@Lichtso Lichtso requested a review from ryoqun September 14, 2022 18:13
@Lichtso Lichtso merged commit 79f45da into solana-labs:master Sep 16, 2022
@Lichtso Lichtso deleted the tests/for_#27752 branch September 16, 2022 08:54
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.

1 participant