Repository navigation
Merge v29.0.0 to master - #5476
Merged
Merged
Conversation
Also add overlay filter for potentially useless offers that clear for 0 amount.
Adds src/rust/soroban/p29, pinned to a7e15b43 on stellar/rs-soroban-env main (stellar/rs-soroban-env#1732), and makes it the current host: soroban_curr, HOST_MODULES and SorobanModuleCache all gain p29, and p28 loses its `features = ["next"]` now that it is no longer the max host. Bumps CURRENT_LEDGER_PROTOCOL_VERSION to 29. ProtocolVersion::V_29 already exists on this branch, added by the DEX offer-crossing change. Re-records test-tx-meta-baseline-current through protocol 29, which adds 1522 entries. The only non-additive change is ManageBuyOfferTests, whose matrix runs for {current, previous} and so shifts from 27/28 to 28/29.
The p29 host now counts a module's custom sections towards its data segment cost inputs (and BrTable targets towards its instructions), which grows the accounted soroban state size and thus the rent fees at protocol 29. Rebases the hardcoded rent fee, refund and state size expectations on the new values, gated on V_29 where the test runs across protocol versions. ParallelApplyTest compares a protocol 22 apply against the current one, so it now has to tolerate contract code entries whose cost inputs differ across that boundary, on top of the restoration lastModifiedLedgerSeq diffs it already tolerated.
Counting custom sections towards the Wasm data segment cost inputs changes
the rent fees, and thus the TxMeta, of the soroban tests. Only hash values
change: no test context is added or removed, and the changes are confined
to InvokeHostFunctionTests (59 of 339 contexts) and FrozenLedgerKeysTests
(1 context).
Recorded with:
stellar-core test [tx] --all-versions --rng-seed 12345 \
--record-test-tx-meta test-tx-meta-baseline-current
Pins the cross-protocol comparison in ParallelApplyTest to the first protocol with the parallel Soroban phase instead of the current one, rather than teaching the comparison to tolerate the contract code cost inputs that diverge at protocol 29. Neither p22 nor p23 counts the Wasm custom sections, so the entries match again and the tolerance is no longer needed. Also assigns the archival test's rent bumps per protocol version in an if/else chain instead of nesting conditionals.
The Soroban config upgrade in the test setup is charged more rent under the p29 host, so ledger stellar#10's feePool and the root's balance both shift by 310001 stroops. Regenerated with GENERATE_TEST_LEDGER_CLOSE_META=1.
This is pretty inconsequential optimization that may actually lead to performance degradation when used incorrectly.
Resolves stellar#731 This change lowers the message size cap to 5MB, and the tx set size cap to 4MB. It goes into effect after the p29 vote to avoid a scenario where a quroum of non-updated validators externalizes a large tx set that upgraded validators cannot download.
Neither core nor the host uses contract specs, and hash-xdrs.sh already skips the file. The v29.0.0 host predates stellar-xdr's contract spec limit change.
Reverts the Stellar-contract-spec.x exemption and instead rolls the quorum analyzer back to 502a354 (rs-stellar-xdr 3305b3e), which matches the p29 host.
anupsdf
marked this pull request as draft
October 2, 2026 04:44
auto-merge was automatically disabled
October 2, 2026 04:44
Pull request was converted to draft
anupsdf
force-pushed
the
merge-v29-to-master
branch
from
October 2, 2026 15:43
e01ef1f to
7ed7836
Compare
The p30 host was pinned at 169890d5, which predates the p29 Wasm cost input changes (counting custom sections, wasmi bump). Protocol 30 therefore produced different rent and resource fees from protocol 29, failing the Soroban fee tests that were updated for the p29 cost inputs. fddfd567 is the merge of release/v29.0.0 into main and brings those changes into the p30 host. Also update the p30 dep-tree expectation for the wasmi rev change.
anupsdf
force-pushed
the
merge-v29-to-master
branch
from
October 2, 2026 15:49
7ed7836 to
00c3d35
Compare
anupsdf
marked this pull request as ready for review
October 2, 2026 15:49
anupsdf
enabled auto-merge
October 2, 2026 15:50
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
It combines consensus-sensitive exchange changes, overlay concurrency and limits, dependency updates, and extensive generated metadata requiring final human validation.
Review effort: Balanced
Findings: 2
Open (3)
Resolved since last review (1)
Regenerate the protocol 30 ledger-close-meta reference files
anupsdf
force-pushed
the
merge-v29-to-master
branch
from
October 2, 2026 16:38
00c3d35 to
c1b8012
Compare
SirTyson
approved these changes
Oct 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.



Merge v29.0.0 to master