
> vellin-distributions@0.1.0 test
> node --test test/*.test.mjs

✔ two zero-value creation intents are durable; completed restart sends nothing (95.928417ms)
✔ network interruption after mining resumes by receipt without a duplicate creation (24.070375ms)
✔ wrong chain, changed nonce or insufficient ETH prevents every broadcast (24.822084ms)
✔ failed receipt stops before the second contract and cannot trigger a replacement transaction (13.900583ms)
✔ wrong receipt address or altered persisted signed intent refuses continuation (31.654084ms)
✔ resumed receipts still require confirmations and canonical deployed runtime (39.007708ms)
✔ mainnet preparation requires real addresses and never accepts testnet or null token (10.619166ms)
✔ temporary faucet-only testnet keys are rejected for mainnet roles (1.026959ms)
✔ two creation addresses and immutable arguments are deterministic (6.538541ms)
✔ team and treasury eligibility is recorded accurately and not excluded (1.211042ms)
✔ wrong market, custom quote, stalled graduation and missing launch event reject preparation (4.087ms)
✔ no gas allowance or insufficient allowance cannot authorize deployment (7.152375ms)
✔ plan tampering, signer, network, expiry and changed compiled bytecode fail closed (4.29175ms)
✔ resuming a started deployment preserves its original bounded plan after quote expiry (5.146042ms)
✔ read-only sample can never authorize deployment (1.346917ms)
✔ persisted signed intent binds nonce, chain, code, value, destination, sender and gas (89.308625ms)
✔ net costs then exact 30/30/40 (1.595583ms)
✔ negative and costs exceeding pnl create no allocation (0.309625ms)
✔ reject floats, unsafe JS numbers, unsigned negatives and overflow (0.265333ms)
✔ largest remainder conserves every wei and ties are deterministic (14.157292ms)
✔ allocation conservation across 2000 varying supplies (197.873875ms)
✔ exclusions and zero supply never divert holder money to team (0.296709ms)
✔ real StandardMerkleTree proofs validate with exact allocations (11.165084ms)
✔ proofs bind to account amount epoch chain and distributor (12.631917ms)
✔ tampered report fields and commitments rejected (4.920916ms)
✔ unapproved policies, reports and wrong snapshot identity fail closed (0.410834ms)
✔ zero profit root is empty and no synthetic recipients (0.82875ms)
✔ snapshot balances must conserve the verified supply, including excluded wallets (1.224167ms)
✔ restart reads processed claims onchain and never repeats them (6.736ms)
✔ unconfigured launch addresses rejected (0.1885ms)
✔ retry plans deduplicate team/holders and skip fresh or empty credits (0.356583ms)
✔ zero buyback reserve does not require an oracle quote or fresh floor (0.132ms)
✔ deployment identity and snapshot/evidence validation fail closed (0.810292ms)
✔ JS-generated vector matches Solidity interoperability fixture (2.766583ms)
✔ reconstructs actual Transfer semantics including self transfers and burns (3.617708ms)
✔ missing, duplicate or removed transfers fail instead of estimating (1.766042ms)
✔ UTC boundary is last confirmed block before midnight (0.263167ms)
✔ prepare-only path never sends broadcast or invokes an unfunded keeper (55.533458ms)
✔ restart reuses source and derives delivery from chain, exports despite deferred buyback (44.496709ms)
✔ source changes after prepare fail before any further transaction (18.28075ms)
✔ unapproved or unclosed reports never start the pipeline (11.198042ms)
✔ funding failure prevents keeper and status export (12.064958ms)
✔ retained epochs share one buyback attempt per invocation (20.45475ms)
✔ concurrent operators cannot share the same queue and release occurs after failure (6.339709ms)
✔ snapshot verifies balances and supply at the final closed block, never latest (29.452959ms)
✔ RPC chain mismatch, absent token and missing archive fail without latest fallback (5.439417ms)
✔ separate archive serves state only, pinned to the primary UTC boundary (4.621333ms)
✔ separate archive rejects wrong chain, different boundary hash and a late reorg (5.5735ms)
✔ omitted holders, incorrect balances and nonstandard supply reject the snapshot (5.190083ms)
✔ reorg after replay rejects a previously matching snapshot (3.8615ms)
✔ funding rechecks hash, UTC boundary and confirmations after preparation (0.862375ms)
✔ keeper stops on runtime substitution, changed roles, policy, path or network (2.101208ms)
ℹ tests 52
ℹ suites 0
ℹ pass 52
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 755.238125
