Four dated measurement scripts that carried the paths of the machine they ran on are no longer in this copy (dated notes in the two evidence documents; logs and results unchanged); the R18 fixture of the agent-witness test and a generator comment no longer name machine paths or internal tools

This commit is contained in:
Aere Network committed 2026-11-26 15:08:47 +02:00
1 parent 63fffa87c6
commit 4690449873
10 files changed
+17 -235

No files matched your search

+3 -3
View File
@@ -702,14 +702,14 @@ console.log(JSON.stringify({ cod: g.status, corp: t, sanatate: h.status })); awa
await rand('9.R18 o notarizare cazuta cu un mesaj care poarta o cale: in /health si in starea capului apare numai codul (unfunded; fara cod: notarization_failed), niciodata mesajul; codul notarizatorului real pe lantul 2800: chain_refused', async () => {
const mm = M.deschideMartor(fs.mkdtempSync(path.join(T, 'r18b-')), { ceas: () => Date.now() }); const id = newAgentIdentity();
const r = mm.primeste(M.cerereMartor(registruBrut(id, 1), id, { createdAt: iso(Date.now()) }));
await tur(mm, { notarizeaza: async () => ({ ok: false, cod: 'unfunded', motiv: "unfunded: Cannot find module '/opt/aere/notar/node_modules/ethers' Require stack" }) });
await tur(mm, { notarizeaza: async () => ({ ok: false, cod: 'unfunded', motiv: "unfunded: Cannot find module '/srv/notar/node_modules/ethers' Require stack" }) });
const h1 = mm.sanatate(); const s1 = mm.stareaCapului(r.corp.id).corp;
await tur(mm, { notarizeaza: async () => ({ ok: false, motiv: "ENOSPC: open '/opt/aere/martor-agenti/stare-28001/x.json'" }) });
await tur(mm, { notarizeaza: async () => ({ ok: false, motiv: "ENOSPC: open '/var/lib/martor/stare-28001/x.json'" }) });
const h2 = mm.sanatate(); mm.inchide();
const ethFals = { JsonRpcProvider: class { async getNetwork() { return { chainId: 2800n }; } }, parseEther: () => 0n, Wallet: class {} };
const nr = await notarizatorReal({ rpc: 'x', cheieFisier: path.join(T, 'r18-nu.key'), ethers: ethFals })(plicNenot);
const tot = JSON.stringify([h1, s1, h2]);
return [h1.lastCheckpoint.lastError === 'unfunded' && s1.notarization.lastError === 'unfunded' && h2.lastCheckpoint.lastError === 'notarization_failed' && !/\/opt|Require|ENOSPC/.test(tot) && nr.cod === 'chain_refused', JSON.stringify([h1.lastCheckpoint, s1.notarization, h2.lastCheckpoint, nr.cod])];
return [h1.lastCheckpoint.lastError === 'unfunded' && s1.notarization.lastError === 'unfunded' && h2.lastCheckpoint.lastError === 'notarization_failed' && !/\/srv|\/var|Require|ENOSPC/.test(tot) && nr.cod === 'chain_refused', JSON.stringify([h1.lastCheckpoint, s1.notarization, h2.lastCheckpoint, nr.cod])];
});
// ---- 9.R6 (controlul negativ planteaza fiecare paznic numit) se masoara in control-negativ-martor-agenti.mjs (acoperirea markerilor)
void mPrincipal; void g2c;