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

Update Rust crate solana-program-test to v2 #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 22, 2024

This PR contains the following updates:

Package Type Update Change
solana-program-test (source) dev-dependencies major =1.7.12 -> =2.1.9

Release Notes

anza-xyz/agave (solana-program-test)

v2.1.9: Release - v2.1.9

Compare Source

This is a Testnet release. It is also recommended for Devnet, and up to 5% of Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.1.8...v2.1.9

v2.1.8: Testnet - v2.1.8

Compare Source

This is a Testnet and Devnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.1.7...v2.1.8

v2.1.7: Testnet - v2.1.7

Compare Source

This is a Testnet and Devnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.1.6...v2.1.7

v2.1.6: Testnet - v2.1.6

Compare Source

This is a Testnet and Devnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.1.5...v2.1.6

v2.1.5: Testnet - v2.1.5

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.1.4...v2.1.5

v2.1.4: Testnet - v2.1.4

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.1.1...v2.1.4

v2.1.2

Compare Source

🚧

v2.1.1: Testnet - v2.1.1

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.1.0...v2.1.1

v2.1.0

Compare Source

  • Breaking:
    • SDK:
      • cargo-build-bpf and cargo-test-bpf have been deprecated for two years and have now been definitely removed.
        Use cargo-build-sbf and cargo-test-sbf instead.
      • dependency: curve25519-dalek upgraded to new major version 4 (#​1693). This causes breakage when mixing v2.0 and v2.1 Solana crates, so be sure to use all of one or the other. Please use only crates compatible with v2.1.
    • Stake:
      • removed the unreleased redelegate instruction processor and CLI commands (#​2213)
    • Banks-client:
      • relax functions to use &self instead of &mut self (#​2591)
    • agave-validator:
      • Remove the deprecated value of fifo for --rocksdb-shred-compaction (#​3451)
  • Changes
    • SDK:
      • removed the respan macro. This was marked as "internal use only" and was no longer used internally.
      • add entrypoint_no_alloc!, a more performant program entrypoint that avoids allocations, saving 20-30 CUs per unique account
      • cargo-build-sbf: a workspace or package-level Cargo.toml may specify tools-version for overriding the default platform tools version when building on-chain programs. For example:
[package.metadata.solana]
tools-version = "1.43"

or

[workspace.metadata.solana]
tools-version = "1.43"

The order of precedence for the chosen tools version goes: --tools-version argument, package version, workspace version, and finally default version.

  • package-metadata: specify a program's id in Cargo.toml for easy consumption by downstream users and tools using solana-package-metadata (#​1806). For example:
[package.metadata.solana]
program-id = "MyProgram1111111111111111111111111111111111"

Can be consumed in the program crate:

solana_package_metadata::declare_id_with_package_metadata!("solana.program-id");

This is equivalent to writing:

solana_pubkey::declare_id!("MyProgram1111111111111111111111111111111111");
  • agave-validator: Update PoH speed check to compare against current hash rate from a Bank (#​2447)
  • solana-test-validator: Add --clone-feature-set flag to mimic features from a target cluster (#​2480)
  • solana-genesis: the --cluster-type parameter now clones the feature set from the target cluster (#​2587)
  • unified-scheduler as default option for --block-verification-method (#​2653)
  • warn that thread-local-multi-iterator option for --block-production-method is deprecated (#​3113)

v2.0.22

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.21...v2.0.22

v2.0.21

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.20...v2.0.21

v2.0.20

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.19...v2.0.20

v2.0.19: Mainnet-beta - v2.0.19

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.18...v2.0.19

v2.0.18: Mainnet-beta - v2.0.18

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.17...v2.0.18

v2.0.17: Mainnet-beta - v2.0.17

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.16...v2.0.17

v2.0.16: Mainnet-beta - v2.0.16

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.15...v2.0.16

v2.0.15: Mainnet-beta - v2.0.15

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.14...v2.0.15

v2.0.14: Mainnet-beta - v2.0.14

Compare Source

This is a stable release suitable for use on Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.13...v2.0.14

v2.0.13: Testnet - v2.0.13

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.10...v2.0.13

v2.0.11

Compare Source

🚧

v2.0.10: Testnet - v2.0.10

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.9...v2.0.10

v2.0.9: Testnet - v2.0.9

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.8...v2.0.9

v2.0.8: Testnet - v2.0.8

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

  • v2.0: RPC: rewards, return error if epoch_boundary_block is a lie (backport of #​2758) (#​2767)
  • v2.0: replay: do not refresh votes for hot spare validators (backport of #​2770) (#​2779)
  • v2.0: gossip: demote invalid duplicate proof errors to info (backport of #​2754) (#​2759)
  • v2.0: replay: extend last fec set check for 32+ retransmitter signed shreds (backport of #​2101) (#​2192)

v2.0.7: Testnet - v2.0.7

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.6...v2.0.7

v2.0.6: Testnet - v2.0.6

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed

Full Changelog: anza-xyz/agave@v2.0.5...v2.0.6

v2.0.5: Testnet - v2.0.5

Compare Source

This is a Testnet release. It is NOT recommended for Mainnet Beta.

What's Changed


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from 22a1fa4 to 022e527 Compare June 25, 2024 00:50
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from 022e527 to fa3eb60 Compare July 10, 2024 17:28
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from fa3eb60 to 82fb7aa Compare July 20, 2024 23:24
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch 2 times, most recently from 9de2b7c to b369486 Compare August 9, 2024 03:04
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch 2 times, most recently from 2558890 to f7409a0 Compare August 24, 2024 11:22
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch 2 times, most recently from 45f9388 to 469a4d1 Compare September 7, 2024 00:56
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from 469a4d1 to ea9842d Compare September 16, 2024 20:21
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch 2 times, most recently from bffb81e to b33f215 Compare October 2, 2024 19:09
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch 2 times, most recently from 1d7b2f4 to e49f6f7 Compare October 29, 2024 11:26
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch 2 times, most recently from 587388e to d39d6f6 Compare November 22, 2024 22:47
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from d39d6f6 to 7c371a3 Compare November 27, 2024 18:39
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from 7c371a3 to b338b4f Compare December 7, 2024 04:43
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from b338b4f to 06261d3 Compare December 15, 2024 06:38
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from 06261d3 to f707d85 Compare December 23, 2024 05:16
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from f707d85 to d378b00 Compare January 13, 2025 04:32
@renovate renovate bot force-pushed the renovate/solana-program-test-2.x branch from d378b00 to 7aff5f8 Compare January 15, 2025 21:48
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.

0 participants