Repository navigation
Bump to p27 - #5305
Merged
Merged
Bump to p27#5305
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR graduates protocol 27 (“p27”) from WIP to production-supported by bumping the Soroban host/XDR dependencies, making p27 the default/current Soroban protocol, and updating Stellar Core’s CURRENT_LEDGER_PROTOCOL_VERSION to 27.
Changes:
- Promote Soroban p27 to be built/enabled by default (ungated from the Rust
nextfeature) and included in the Soroban module cache and host dispatch tables. - Bump core protocol constant to 27 and adjust the XDR identity check behavior at startup.
- Update Rust dependency pins/snapshots (dep-tree for p27,
stellar-quorum-analyzerrev, andCargo.lock/stellar-xdrresolution).
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/rust/src/soroban_proto_all.rs |
Makes p27 the “current” Soroban protocol and includes it unconditionally in dispatch tables. |
src/rust/src/soroban_module_cache.rs |
Adds an always-present p27 module cache and routes protocol 27 to it. |
src/rust/src/dep-trees/p27-expect.txt |
Updates the expected dependency tree snapshot for the bumped p27 host. |
src/rust/Cargo.toml |
Advances the stellar-quorum-analyzer git revision to match updated XDR. |
src/Makefile.am |
Moves p27 into ALL_SOROBAN_PROTOCOLS and clears the WIP Soroban protocol slot. |
src/main/main.cpp |
Re-enables XDR identity checking for normal builds; disables it for “next protocol” builds. |
src/main/Config.cpp |
Sets Config::CURRENT_LEDGER_PROTOCOL_VERSION to 27 (and still +1 under ENABLE_NEXT). |
Cargo.lock |
Updates locked dependencies to stellar-xdr 27.0.0 and refreshes related entries. |
Comments suppressed due to low confidence (1)
src/Makefile.am:215
- With
WIP_SOROBAN_PROTOCOLnow empty,--enable-next-protocol-version-unsafe-for-productionstill enablesCARGO_FEATURE_NEXT(and thereforeSOROBAN_FEATURE_NEXT) while also bumpingConfig::CURRENT_LEDGER_PROTOCOL_VERSIONto 28. The Rust Soroban host submodules/protocol list only goes through p27, so startup checks likecheck_sensible_soroban_config_for_protocol/get_soroban_version_infowill fail in next-protocol builds (no host supports core_max_proto=28). Consider either defining a p28 Soroban protocol (even if it temporarily aliases p27) and settingWIP_SOROBAN_PROTOCOL=p28, or changing next-protocol build wiring so core_max_proto doesn’t advance past the last Soroban host when no WIP Soroban protocol is present.
ALL_SOROBAN_PROTOCOLS=p21 p22 p23 p24 p25 p26 p27
WIP_SOROBAN_PROTOCOL=
CARGO_XDR_FEATURE_FLAGS =
if ENABLE_NEXT_PROTOCOL_VERSION_UNSAFE_FOR_PRODUCTION
ALL_SOROBAN_PROTOCOLS+=$(WIP_SOROBAN_PROTOCOL)
# This means "only pass --features=next if there's no WIP submodule"
SOROBAN_FEATURE_NEXT=$(if $(WIP_SOROBAN_PROTOCOL),,$(CARGO_FEATURE_NEXT))
sisuresh
enabled auto-merge
June 2, 2026 04:59
dmkozh
approved these changes
Jun 2, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Graduates protocol 27 from WIP to a production-supported protocol.
src/rust/soroban/p27) to414c3fbd(soroban-env / stellar-xdr 27.0.0) andsrc/protocol-curr/xdrto68fa1ac5.Config::CURRENT_LEDGER_PROTOCOL_VERSIONto 27.p27from the WIP slot intoALL_SOROBAN_PROTOCOLSand un-gate it from thenextfeature (soroban_proto_all.rs,soroban_module_cache.rs) so it builds as the current protocol without--enable-next-protocol-version-unsafe-for-production.stellar-quorum-analyzerat the matchingstellar-xdrand refresh the p27 dep-tree snapshot.