From 591c341a378a3623fe083d9885723a30095fd7b0 Mon Sep 17 00:00:00 2001 From: Andrew Davis <1709934+Savid@users.noreply.github.com> Date: Thu, 8 Oct 2026 15:34:11 +1000 Subject: [PATCH 1/2] chore(deps): bump xatu to v1.25.0 Replaces the ethpandaops/xatu#900 commit with the release that contains it. Co-Authored-By: Claude Opus 5.5 --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 337dde9..39b6597 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/cenkalti/backoff/v4 v4.3.0 github.com/creasty/defaults v1.8.0 github.com/ethpandaops/ethwallclock v0.4.0 - github.com/ethpandaops/xatu v1.24.4-0.20261008044555-a71a264dc8d7 + github.com/ethpandaops/xatu v1.25.0 github.com/glebarez/sqlite v1.10.0 github.com/go-co-op/gocron v1.37.0 github.com/go-faster/errors v0.7.1 diff --git a/go.sum b/go.sum index 204e44c..84b9434 100644 --- a/go.sum +++ b/go.sum @@ -196,6 +196,8 @@ github.com/ethpandaops/xatu v1.24.4-0.20261007033258-20c9c651e62c h1:BqblsGPJvC9 github.com/ethpandaops/xatu v1.24.4-0.20261007033258-20c9c651e62c/go.mod h1:dUHUlJktAVaFBPN6zYSWgakJov/jcnpRYSZzGQwq8ug= github.com/ethpandaops/xatu v1.24.4-0.20261008044555-a71a264dc8d7 h1:KcSI+WZ/kbEEGQIc5L6pqTGM/3QGJomPQrPZSI1GM3I= github.com/ethpandaops/xatu v1.24.4-0.20261008044555-a71a264dc8d7/go.mod h1:ntnC7nu9jGEguwMSn/36cfwYQZMgtku/AuMgkma03xs= +github.com/ethpandaops/xatu v1.25.0 h1:i5lz6wqVCikc28CKlyhteKiPeCA0WRrL3/qnTsGSIV4= +github.com/ethpandaops/xatu v1.25.0/go.mod h1:ntnC7nu9jGEguwMSn/36cfwYQZMgtku/AuMgkma03xs= github.com/failsafe-go/failsafe-go v0.9.6 h1:vPSH2cry0Ee5cnR9wc9qshCDO6jdrMA9elBJNwyo4Uk= github.com/failsafe-go/failsafe-go v0.9.6/go.mod h1:IeRpglkcwzKagjDMh90ZhN2l4Ovt3+jemQBUbThag54= github.com/fatih/color v1.19.0 h1:Zp3PiM21/9Ld6FzSKyL5c/BULoe/ONr9KlbYVOfG8+w= From 73cf3714f87f697c39a262736a1acfbbc7cc2d8a Mon Sep 17 00:00:00 2001 From: Andrew Davis <1709934+Savid@users.noreply.github.com> Date: Thu, 8 Oct 2026 15:39:04 +1000 Subject: [PATCH 2/2] test(web): make the randomInt distinct-values test deterministic enough Two draws from 1..100 collide 1% of the time, which failed CI; 50 draws all being equal is negligible. Co-Authored-By: Claude Opus 5.5 --- web/src/utils/__tests__/functions.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/utils/__tests__/functions.test.ts b/web/src/utils/__tests__/functions.test.ts index 14f7282..d247eab 100644 --- a/web/src/utils/__tests__/functions.test.ts +++ b/web/src/utils/__tests__/functions.test.ts @@ -64,9 +64,9 @@ describe('functions', () => { it('should return different numbers for multiple calls within the same range', () => { const min = 1; const max = 100; - const result1 = randomInt(min, max); - const result2 = randomInt(min, max); - expect(result1).not.toBe(result2); + // Two draws collide 1% of the time; 50 draws all being equal is negligible. + const results = new Set(Array.from({ length: 50 }, () => randomInt(min, max))); + expect(results.size).toBeGreaterThan(1); }); });