• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-decoder-service / 26812265656
91%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2026 09:56AM UTC
Jobs 1
Files 68
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jun 2026 09:54AM UTC coverage: 91.482% (-0.09%) from 91.575%
26812265656

push

github

web-flow
Replace 4-byte MD5 abi_hash with PostgreSQL SHA-256 generated column (#266)

The old get_md5_abi_hash truncated MD5 to 4 bytes, giving ~50% collision probability at 65k rows. The new abi_hash column is GENERATED ALWAYS AS (sha256(abi_json::jsonb::text::bytea)) STORED so PostgreSQL owns both the computation and the uniqueness guarantee. JSONB normalisation makes the hash stable regardless of key insertion order.

Python no longer computes or stores the hash; get_or_create_abi uses the IntegrityError try/catch pattern for concurrent-safe upserts, and get_abi uses a JSONB equality query for key-order-independent lookup.

Fixes PLA-1301

20 of 22 new or added lines in 2 files covered. (90.91%)

1321 of 1444 relevant lines covered (91.48%)

0.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.37
-0.52% app/datasources/db/models.py
1
97.4
-0.03% app/routers/models.py
Jobs
ID Job ID Ran Files Coverage
1 26812265656.1 02 Jun 2026 09:56AM UTC 68
91.48
GitHub Action Run
Source Files on build 26812265656
  • Tree
  • List 68
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6e052996 on github
  • Prev Build on main (#26645428328)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc