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

use new feature gate for cu depletion #3994

Merged

Conversation

jstarry
Copy link

@jstarry jstarry commented Dec 7, 2024

Problem

Firedancer prefers to have a separate feature gate for each SIMD, so rather than reusing and rekeying the existing replay cost tracker feature, we should create a new feature gate for solana-foundation/solana-improvement-documents#182.

Summary of Changes

  • Revert feature id change for the replay cost tracker feature
  • Add new feature gate for cu depletion

Fixes #
Feature Gate Issue: #3993

@jstarry jstarry added feature-gate Pull Request adds or modifies a runtime feature gate v2.0 Backport to v2.0 branch v2.1 Backport to v2.1 branch labels Dec 7, 2024
@jstarry jstarry requested a review from a team as a code owner December 7, 2024 02:10
Copy link

mergify bot commented Dec 7, 2024

Backports to the stable 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.

Copy link

mergify bot commented Dec 7, 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.

Copy link

mergify bot commented Dec 7, 2024

The Firedancer team maintains a line-for-line reimplementation of the
native programs, and until native programs are moved to BPF, those
implementations must exactly match their Agave counterparts.
If this PR represents a change to a native program implementation (not
tests), please include a reviewer from the Firedancer team. And please
keep refactors to a minimum.

@jstarry jstarry requested a review from Lichtso December 7, 2024 03:15
Copy link

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

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

Makes sense to me, but approving on behalf of @anza-xyz/svm. Leaving the final stamp to @Lichtso.

Copy link

@bw-solana bw-solana left a comment

Choose a reason for hiding this comment

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

LGTM

@bw-solana
Copy link

@Lichtso - Any concerns or can we merge?

@bw-solana bw-solana merged commit 11467d9 into anza-xyz:master Dec 11, 2024
50 checks passed
@bw-solana
Copy link

merged on behalf of @jstarry while he's out

mergify bot pushed a commit that referenced this pull request Dec 11, 2024
(cherry picked from commit 11467d9)

# Conflicts:
#	programs/bpf_loader/src/lib.rs
#	programs/sbf/tests/programs.rs
#	sdk/src/feature_set.rs
mergify bot pushed a commit that referenced this pull request Dec 11, 2024
(cherry picked from commit 11467d9)

# Conflicts:
#	programs/bpf_loader/src/lib.rs
#	programs/sbf/tests/programs.rs
#	sdk/feature-set/src/lib.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-gate Pull Request adds or modifies a runtime feature gate v2.0 Backport to v2.0 branch v2.1 Backport to v2.1 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants