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

Revert deprecate executable feature #309

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

HaoranYi
Copy link

@HaoranYi HaoranYi commented Mar 19, 2024

Problem

We reevaluated the feature to deprecate executable. We felt that this feature is
too complex and too risky for v1.18.

Therefore, we would like to revert this feature.

Summary of Changes

  • revert deprecate executable feature
  • add a test to cover transfering lamports into native_loader owned account

Fixes #

@HaoranYi HaoranYi force-pushed the feature/revert_executable branch from 66ac7ef to 3e95fa4 Compare March 19, 2024 14:25
@HaoranYi HaoranYi changed the title revert deprecate executable feature Revert deprecate executable feature Mar 19, 2024
@HaoranYi HaoranYi added the v1.18 label Mar 19, 2024
Copy link

mergify bot commented Mar 19, 2024

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

@HaoranYi HaoranYi marked this pull request as ready for review March 19, 2024 16:16
@HaoranYi HaoranYi merged commit 0f8f8cd into anza-xyz:master Mar 20, 2024
46 checks passed
@HaoranYi HaoranYi deleted the feature/revert_executable branch March 20, 2024 15:54
mergify bot pushed a commit that referenced this pull request Mar 20, 2024
* revert deprecate executable feature

* add native loader account transfer test

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
(cherry picked from commit 0f8f8cd)

# Conflicts:
#	programs/bpf_loader/src/lib.rs
#	runtime/src/accounts/mod.rs
#	runtime/src/bank.rs
#	runtime/src/bank/tests.rs
#	sdk/src/account.rs
HaoranYi added a commit that referenced this pull request Mar 21, 2024
* Revert deprecate executable feature (#309)

* revert deprecate executable feature

* add native loader account transfer test

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
(cherry picked from commit 0f8f8cd)

# Conflicts:
#	programs/bpf_loader/src/lib.rs
#	runtime/src/accounts/mod.rs
#	runtime/src/bank.rs
#	runtime/src/bank/tests.rs
#	sdk/src/account.rs

* fix merge conflict

* fix a test

---------

Co-authored-by: HaoranYi <haoran.yi@gmail.com>
Co-authored-by: HaoranYi <haoran.yi@solana.com>
anwayde pushed a commit to firedancer-io/agave that referenced this pull request Jul 23, 2024
…anza-xyz#337)

* Revert deprecate executable feature (anza-xyz#309)

* revert deprecate executable feature

* add native loader account transfer test

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
(cherry picked from commit 0f8f8cd)

# Conflicts:
#	programs/bpf_loader/src/lib.rs
#	runtime/src/accounts/mod.rs
#	runtime/src/bank.rs
#	runtime/src/bank/tests.rs
#	sdk/src/account.rs

* fix merge conflict

* fix a test

---------

Co-authored-by: HaoranYi <haoran.yi@gmail.com>
Co-authored-by: HaoranYi <haoran.yi@solana.com>
codebender828 pushed a commit to codebender828/agave that referenced this pull request Oct 3, 2024
* revert deprecate executable feature

* add native loader account transfer test

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants