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

safe-global / safe-client-gateway / 9060281009
89%

Build:
DEFAULT BRANCH: main
Ran 13 May 2024 09:12AM UTC
Jobs 2
Files 617
Run time 2min
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

13 May 2024 09:10AM UTC coverage: 92.821% (-0.2%) from 93.004%
9060281009

push

github

web-flow
Filter out imitation transfers (#1524)

Adds `trusted` param-specific filtering of imitation transfers behind a feature flag. It removes outgoing, ERC-20 transfers that imitate the value and recipient in vanity of their neighbour.

It maps over the transaction history, keeping the transaction if the following conditions are met:

1. Was transaction executed by Safe?
2. Is there no previous transactions?
3. Is (previous transaction...
   - ..._not_ an ERC-20 transfer?
   - ...incoming?
   - ...of different value?
   - ...to same recipient?
   - ..._not_ an imitation address?

1989 of 2420 branches covered (82.19%)

Branch coverage included in aggregate %.

20 of 46 new or added lines in 3 files covered. (43.48%)

7010 of 7275 relevant lines covered (96.36%)

318.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
84.91
-0.2% src/routes/transactions/mappers/transactions-history.mapper.ts
25
11.11
src/routes/transactions/helpers/imitation-transactions.helper.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 9060281009.1 13 May 2024 09:13AM UTC 1221
93.68
GitHub Action Run
2 run-test:e2e:cov - 9060281009.2 13 May 2024 09:12AM UTC 1024
53.15
GitHub Action Run
Source Files on build 9060281009
  • Tree
  • List 617
  • Changed 185
  • Source Changed 4
  • Coverage Changed 153
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9060281009
  • 8bd8bc9f on github
  • Prev Build on main (#9060122929)
  • Next Build on main (#9061761855)
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

© 2025 Coveralls, Inc