Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
6 changes: 3 additions & 3 deletions web/src/utils/__tests__/functions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

Expand Down