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

Upstream Updates - Mon Aug 26 00:12:40 UTC 2024 #831

Closed
github-actions bot opened this issue Aug 26, 2024 · 3 comments
Closed

Upstream Updates - Mon Aug 26 00:12:40 UTC 2024 #831

github-actions bot opened this issue Aug 26, 2024 · 3 comments
Assignees
Labels
AUTO: Upstream Updates Auto-generated from tracking upstream repos

Comments

@github-actions
Copy link
Contributor

SIMD

Opened

Closed

Agave Wiki

c747a51cdc89feb836be43f74c5704290c5fc548^..b59713a80a6b546efb94e7ace0c6463826519a06

diff --git a/Agave-v2.0-Transition-Guide.md b/Agave-v2.0-Transition-Guide.md
new file mode 100644
index 0000000..678116a
--- /dev/null
+++ b/Agave-v2.0-Transition-Guide.md
@@ -0,0 +1,66 @@
+In coming weeks, Agave v2.0 will be released to Solana mainnet-beta. There are a number of changes which may require validators, RPC operators and developers to update scripts including deprecated RPC APIs and SDK calls. If you are a developer or operating a Solana RPC node or validator, we recommend following the steps in this blog post in order to prepare for Agave v2.0 reaching mainnet-beta. 
+
+# Step 1: Review list of renamed Crates & check any automation scripts to avoid problems
+
+Agave v2.0 will rename a number of crates. Please carefully check any automation scripts to ensure a smooth migration. The following six "solana-" crates will be getting renamed to “agave-.” This may break automations and scripts depending on these namings. Please refer to this link as well for further details on the [Agave Transition](https://github.com/anza-xyz/agave/wiki/Agave-Transition).
+
+| Original Name                        | New Name                        |
+|--------------------------------------|----------------------------------|
+| solana-validator                     | agave-validator                 |
+| solana-ledger-tool                   | agave-ledger-tool               |
+| solana-watchtower                    | agave-watchtower                |
+| solana-install                       | agave-install                   |
+| solana-geyser-plugin-interface       | agave-geyser-plugin-interface   |
+| solana-cargo-registry                | agave-cargo-registry            |
+
+The reason these crates are being renamed is that, in the future, there will be multiple Solana validator clients being introduced by different teams in the ecosystem. We are renaming these to ensure clarity when referring specifically to agave-related dependencies maintained by Anza.
+
+# Step 2: Review removed RPC endpoints and SDK elements
+
+A number of deprecated v1 Agave endpoints are set to be removed. Carefully check any scripts and automations to ensure these endpoints are not being called. These endpoints and recommended replacements are as follows: 
+
+| Deprecated v1 API Call                | v2 Replacement Call            |
+|---------------------------------------|--------------------------------|
+| confirmTransaction                    | getSignatureStatuses           |
+| getSignatureStatus                    | getSignatureStatuses           |
+| getSignatureConfirmation              | getSignatureStatuses           |
+| getConfirmedSignaturesForAddress       | getSignaturesForAddress         |
+| getConfirmedBlock                     | getBlock                       |
+| getConfirmedBlocks                    | getBlocks                      |
+| getConfirmedBlocksWithLimit           | getBlocksWithLimit             |
+| getConfirmedTransaction               | getTransaction                 |
+| getConfirmedSignaturesForAddress2     | getSignaturesForAddress         |
+| getRecentBlockhash                    | getLatestBlockhash             |
+| getFees                               | getFeeForMessage               |
+| getFeeCalculatorForBlockhash          | isBlockhashValid or getFeeForMessage |
+| getFeeRateGovernor                    | getFeeForMessage               |
+| getSnapshotSlot                       | getHighestSnapshotSlot         |
+| getStakeActivation                    | getAccountInfo ([alternative approach](https://solana.stackexchange.com/questions/15710/the-alternative-method-to-get-the-stake-account-status-since-getstakeactivation))                           |
+
+
+Further deprecations are listed in the “breaking” section linked here related to the SDK and Solana client: https://github.com/anza-xyz/agave/blob/v2.0/CHANGELOG.md#200 
+
+# Step 3: Understand the deprecation of the Solana Labs GitHub Repo vs Anza Agave repo
+
+Over the last several months, Anza core engineers, along with ecosystem developers, have been working to steadily migrate the Agave validator client software away from the Solana Labs repository. You can read our prior blog post on this topic [here](https://medium.com/anza-xyz/learn-more-about-the-solana-labs-to-agave-fork-f8507453e639). 
+
+Since the founding of Anza at the start of 2024, the Agave validator software has been under active development as a fork of the original Solana Labs validator client. Changes to the Agave validator were mirrored back to the Solana Labs GitHub repository while the Solana Labs repo does not accept any new commits, issues or PRs. Once Agave v2 is released on mainnet-beta, the Solana Labs GitHub repository will be archived and no longer used.
+
+# Step 4: Review removed validator arguments
+
+The following deprecated validator arguments will be removed upon the release of Agave v2.0. Carefully review any automations and scripts to ensure these are not used:
+
+| Commands                                              |
+|-------------------------------------------------------|
+| --enable-rpc-obsolete_v1_7 (#1886)                    |
+| --accounts-db-caching-enabled (#2063)                 |
+| --accounts-db-index-hashing (#2063)                   |
+| --no-accounts-db-index-hashing (#2063)                |
+| --incremental-snapshots (#2148)                       |
+| --halt-on-known-validators-accounts-hash-mismatch (#2157) |
+
+
+# Summary
+
+Agave v2.0 is an important milestone in the evolution of the Solana ecosystem. Further announcements and information will follow in October of 2024, please monitor Anza communication handles and review the changelog for Agave v2.0 to ensure compatibility. Agave v2.0 is currently live on Solana testnet and devnet.
+
diff --git a/Feature-Gate-Activation-Schedule.md b/Feature-Gate-Activation-Schedule.md
index c758ded..17572e6 100644
--- a/Feature-Gate-Activation-Schedule.md
+++ b/Feature-Gate-Activation-Schedule.md
@@ -43,7 +43,7 @@ The version floor is the current minimum supported software version for a cluste
 
 || Testnet  | Devnet   | Mainnet Beta |
 | :-----: | :------: | :------: | :----------: |
-| Current floor | v2.0.0  | v2.0.0 | v1.18.22 |
+| Current floor | v2.0.4  | v2.0.0 | v1.18.22 |
 | Next expected floor * | -- | -- | -- |
 
 * These dates are tentative. Please keep an eye out for comms as the dates near
@@ -52,7 +52,6 @@ The version floor is the current minimum supported software version for a cluste
 ### Pending Mainnet Beta activation
 | Key | Version | Testnet | Devnet | Description | Owner | Comms Required |
 |-----|---------|---------|--------|-------------|-------| -------------- |
-| FNKCMBzYUdjhHyPdsKG2LSmdzH8TCHXn3ytj8RNBS4nG | v1.18.1 | 673 | 733 | [notify state machine of duplicate proofs](https://github.com/solana-labs/solana/issues/35005) | @wen-coding | |
 | 7uZBkJXJ1HkuP6R3MJfZs7mLwymBcDbKdqbF51ZWLier | v1.18.2 | 674 | 734 | [Enable chained Merkle shreds #34916](https://github.com/solana-labs/solana/pull/34916) | @behzadnouri |
 | tvcF6b1TRz353zKuhBjinZkKzjmihXmBAHJdjNYw1sQ | v1.18.8 | 675 | 735 | [Timely vote credits](https://github.com/solana-labs/solana/issues/32857) | @AshwinSekar | Passed governance vote |
 | decoMktMcnmiq6t3u7g5BfgcQu91nKZr6RvMYf9z1Jb | v1.18.0 | 676 | 737 | [Allow commission decreases at any time](https://github.com/solana-labs/solana/issues/33994) | @joncinque | |
@@ -61,11 +60,11 @@ The version floor is the current minimum supported software version for a cluste
 | Key | Version | Testnet | Devnet | Description | Owner | Comms Required |
 |-----|---------|---------|--------|-------------|-------| -------------- |
 | 9bn2vTJUsUcnpiZWbu2woSKtTGW3ErZC9ERv88SDqQjK | v2.0.0 | 679 | | [Partitioned epoch rewards](https://github.com/anza-xyz/agave/issues/426) | @CriesofCarrots | |
+| ed9tNscbWLYBooxWA7FE2B5KHWs8A6sxfY8EzezEcoo | v2.0.4 | 681 | | [Use verify_strict for signature verification in ed25519 precompile](https://github.com/anza-xyz/feature-gate-tracker/issues/42) | @samkim-crypto |
 
 ### Pending Testnet Activation
 | Key | Version | Testnet | Devnet | Description | Owner | Comms Required |
 |-----|---------|---------|--------|-------------|-------| -------------- |
-| ed9tNscbWLYBooxWA7FE2B5KHWs8A6sxfY8EzezEcoo | v2.0.0 | | | [Use verify_strict for signature verification in ed25519 precompile](https://github.com/anza-xyz/feature-gate-tracker/issues/42) | @samkim-crypto |
 | EenyoWx9UMXYKpR8mW5Jmfmy2fRjzUtM7NduYMY8bx33 | v2.0.0 | | | [Enable account data direct mapping](https://github.com/solana-labs/solana/issues/29708) | @alessandrod | |
 | Pause until after Breakpoint |  | | |  |  | |
 | FuS3FPfJDKSNot99ECLXtp3rueq36hMNStJkPJwWodLh | v2.0.0 | | | [error on invalid curve/op id](https://github.com/anza-xyz/agave/issues/1132) | @samkim-crypto | |
diff --git a/_Sidebar.md b/_Sidebar.md
index e033654..e93e311 100644
--- a/_Sidebar.md
+++ b/_Sidebar.md
@@ -15,5 +15,7 @@
   * [v1.18 Release Schedule](v1.18-Release-Schedule)
   * [v2.0 Release Schedule](v2.0-Release-Schedule)
   * [Agave Transition](Agave-Transition)
+* **Migration**
+  * [Agave v2.0 Migration](Agave-v2.0-Transition-Guide)
 * **Testnet**
   * [2024-01-02 Testnet Restart](2024‐01‐02-Testnet-Rollback-and-Restart)
 No newline at end of file 
@github-actions github-actions bot added the AUTO: Upstream Updates Auto-generated from tracking upstream repos label Aug 26, 2024
@smartcontractkit smartcontractkit deleted a comment Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AUTO: Upstream Updates Auto-generated from tracking upstream repos
Projects
None yet
Development

No branches or pull requests

4 participants
@aalu1418 and others