docs: isolate stagenet canary funding RPC

This commit is contained in:
jwinterm
2026-07-24 11:23:20 -04:00
parent 842fb6bb2c
commit 28112e1f6f
2 changed files with 15 additions and 3 deletions
+9
View File
@@ -30,6 +30,7 @@ const {
} = require('../src/services/canaryDatabaseIdentity');
const SCRIPT = path.join(__dirname, '../src/scripts/stagenet-financial-canary.js');
const RUNBOOK = path.join(__dirname, '../docs/STAGENET_FINANCIAL_CANARY.md');
function configEnv(overrides = {}) {
return {
@@ -475,4 +476,12 @@ describe('XMR stagenet financial canary safety contract', () => {
expect(manifest.scripts['canary:stagenet'])
.toBe('node scripts/stagenet-financial-canary.js');
});
test('runbook keeps the separate funding wallet off the house-wallet RPC port', () => {
const runbook = fs.readFileSync(RUNBOOK, 'utf8');
expect(runbook).toContain('port `38083` belongs to the promoted house wallet');
expect(runbook).not.toContain('E2E_FUNDING_RPC_URL=http://127.0.0.1:38083');
expect(runbook.match(/E2E_FUNDING_RPC_URL=http:\/\/127\.0\.0\.1:38085/g))
.toHaveLength(2);
});
});