@@ -204,7 +204,12 @@ Command options can only by placed after command.
204204 * ` --capture-lcm ` : capture ` LedgerCloseMeta ` XDR from every
205205 ` closeLedger ` /` closeLedgerOn ` call during tests. Files are written
206206 automatically at leaf-section boundaries (or test-case boundaries for
207- tests without sections) to ` test-lcm/<TestFileBaseName>/ ` . Each file
207+ tests without sections) to a protocol-tiered directory:
208+ ` test-lcm-next/<TestFileBaseName>/ ` when the binary was built with
209+ ` --enable-next-protocol-version-unsafe-for-production ` , otherwise
210+ ` test-lcm-current/<TestFileBaseName>/ ` . The two tiers are kept separate
211+ so a current build never reads back meta containing feature-gated XDR
212+ it cannot decode. Each file
208213 is named with a truncated SHA-256 hash of the test/section path
209214 (e.g. ` a1b2c3d4e5f67890.xdr ` ), and an ` index.json ` in each
210215 directory maps hashes back to human-readable names. Each file contains
@@ -218,7 +223,10 @@ Command options can only by placed after command.
218223 * For example this will run just the tests tagged with ` [tx] ` using protocol
219224 versions 9 and 10 and stop after the first failure:
220225 ` stellar-core test -a --version 9 --version 10 "[tx]" `
221- * The checked-in files under ` test-lcm/ ` were generated with:
226+ * The checked-in files under ` test-lcm-current/ ` and ` test-lcm-next/ ` are
227+ generated by running the capture under each build configuration (the
228+ ` next ` tier requires a binary built with
229+ ` --enable-next-protocol-version-unsafe-for-production ` ):
222230 ` stellar-core test --rng-seed 12345 '[tx]' --capture-lcm `
223231* ** upgrade-db** : Upgrades local database to current schema version. This is
224232 usually done automatically during stellar-core run or other command.
0 commit comments