Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Tests for the patch in #27752#27784

Merged
Lichtso merged 1 commit intosolana-labs:masterfrom
Lichtso:tests/for_#27752
Sep 16, 2022
Merged

Tests for the patch in #27752#27784
Lichtso merged 1 commit intosolana-labs:masterfrom
Lichtso:tests/for_#27752

Conversation

@Lichtso
Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant