Skip to content

Smid 0194 depricate rent exemption threshold#1503

Open
holps-7 wants to merge 2 commits intoanza-xyz:mainfrom
holps-7:SMID_0194_depricate_rent_exemption_threshold
Open

Smid 0194 depricate rent exemption threshold#1503
holps-7 wants to merge 2 commits intoanza-xyz:mainfrom
holps-7:SMID_0194_depricate_rent_exemption_threshold

Conversation

@holps-7
Copy link
Copy Markdown
Contributor

@holps-7 holps-7 commented Mar 28, 2026

Summary of Changes

  • Deprecate lamportsPerByteYear in favor of lamportsPerByte on SysvarRent.
  • Deprecate exemptionThreshold and burnPercent fields.
  • Update getMinimumBalanceForRentExemption to use DEFAULT_LAMPORTS_PER_BYTE: 6960n directly.

Fixes #1490

holps-7 added 2 commits March 29, 2026 02:05
- Deprecates `lamportsPerByteYear` in favor of `lamportsPerByte` since rent is no longer time-based.
- Deprecates `exemptionThreshold` and `burnPercent` fields on `SysvarRent`.
- Updates `getMinimumBalanceForRentExemption` to use `DEFAULT_LAMPORTS_PER_BYTE: 6960n` directly, removing the obsolete threshold multiplier.
- Updates RPC types, tests, and GraphQL schemas to support the new field names while maintaining backwards compatibility for the deprecated fields.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 28, 2026

🦋 Changeset detected

Latest commit: 2c20509

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 46 packages
Name Type
@solana/sysvars Minor
@solana/kit Minor
@solana/rpc-graphql Minor
@solana/rpc-parsed-types Minor
@solana/rpc-api Minor
@solana/program-client-core Minor
@solana/rpc Minor
@solana/transaction-confirmation Minor
@solana/accounts Minor
@solana/addresses Minor
@solana/assertions Minor
@solana/codecs-core Minor
@solana/codecs-data-structures Minor
@solana/codecs-numbers Minor
@solana/codecs-strings Minor
@solana/codecs Minor
@solana/compat Minor
@solana/errors Minor
@solana/fast-stable-stringify Minor
@solana/functional Minor
@solana/instruction-plans Minor
@solana/instructions Minor
@solana/keys Minor
@solana/nominal-types Minor
@solana/offchain-messages Minor
@solana/options Minor
@solana/plugin-core Minor
@solana/plugin-interfaces Minor
@solana/programs Minor
@solana/promises Minor
@solana/react Minor
@solana/rpc-spec-types Minor
@solana/rpc-spec Minor
@solana/rpc-subscriptions-api Minor
@solana/rpc-subscriptions-channel-websocket Minor
@solana/rpc-subscriptions-spec Minor
@solana/rpc-subscriptions Minor
@solana/rpc-transformers Minor
@solana/rpc-transport-http Minor
@solana/rpc-types Minor
@solana/signers Minor
@solana/subscribable Minor
@solana/transaction-messages Minor
@solana/transactions Minor
@solana/wallet-account-signer Minor
@solana/webcrypto-ed25519-polyfill Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@holps-7 holps-7 marked this pull request as ready for review March 28, 2026 20:42
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.

SIMD 194: Deprecate rent exemption_threshold

1 participant