MattHandzel
MattHandzel
Replace `BigInt(1) ** BigInt(15);` to `BigInt(10) ** BigInt(15);` Fixes 6358 **Motivation** When trying to fix flaky `test/unit/sanityCheck.test.ts` test in https://github.com/ChainSafe/lodestar/issues/6358 I noticed the test has a typo causing it to...
Remove non-atomic check-then-insert pattern that allowed race condition between duplicate user checks. Now relies on database unique constraint for atomicity, catching PostgreSQL error 23505 for duplicate emails. Fixes intermittent test...
**- What I did** Fixes #31 "investigate flaky test" **- How I did it** Explicitly waiting for stdout stream to finish by calling stream.end() and listening for the 'finish' event....