@xaidenlabs/uso 1.1.56 → 1.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/workflow.js +8 -2
package/package.json
CHANGED
package/src/commands/workflow.js
CHANGED
|
@@ -221,8 +221,15 @@ const validator = async (args = []) => {
|
|
|
221
221
|
// --- STEALTH WSL MODE ---
|
|
222
222
|
if (stealth.enabled) {
|
|
223
223
|
const flags = Array.isArray(args) ? args : [];
|
|
224
|
+
|
|
225
|
+
// Unix sockets (admin.rpc) don't work on NTFS-mounted paths (/mnt/c/).
|
|
226
|
+
// Force ledger onto native Linux filesystem.
|
|
227
|
+
if (!flags.some(f => f.startsWith('--ledger'))) {
|
|
228
|
+
flags.push('--ledger', '/tmp/test-ledger');
|
|
229
|
+
}
|
|
230
|
+
|
|
224
231
|
const cmdArgs = flags.join(' ');
|
|
225
|
-
const fullCmd =
|
|
232
|
+
const fullCmd = `solana-test-validator ${cmdArgs}`;
|
|
226
233
|
|
|
227
234
|
log.header(`🚀 Starting Validator via Uso Engine...`);
|
|
228
235
|
log.info(`🐧 Running: ${fullCmd}`);
|
|
@@ -231,7 +238,6 @@ const validator = async (args = []) => {
|
|
|
231
238
|
const envSetup = 'source $HOME/.cargo/env 2>/dev/null; export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"';
|
|
232
239
|
runWsl(`${envSetup} && ${fullCmd}`, {
|
|
233
240
|
distro: stealth.distro,
|
|
234
|
-
cwd: process.cwd(),
|
|
235
241
|
execOpts: { async: false }
|
|
236
242
|
});
|
|
237
243
|
return;
|