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

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

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2024 03:24PM UTC
Jobs 1
Files 577
Run time 3min
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

20 Aug 2024 03:22PM UTC coverage: 46.671% (-0.02%) from 46.695%
10474470690

push

github

web-flow
Add confirmation screen for native staking `deposit` calls (#1834)

Extends the confirmation view endpoint to return a confirmation screen for native staking `deposit` calls:

```ts
type Response = {
  type: 'KILN_NATIVE_STAKING_DEPOSIT',
  parameters: DataDecodedParameter[] | null;
  status: StakingStatus;
  estimatedEntryTime: number;
  estimatedExitTime: number;
  estimatedWithdrawalTime: number;
  fee: number;
  monthlyNrr: number;
  annualNrr: number;
}
```

- Add `features.nativeStaking` feature flag
- Add `NativeStakingDepositConfirmationView` with relevant interfaces/`type` value
- Add `NativeStakingDepositTransactionInfo`
- Add `KilnNativeStakingHelper`
- Add `NativeStakingMapper`
- Add relative mapping to `TransactionsViewService`
- Add appropriate test coverage

493 of 2982 branches covered (16.53%)

Branch coverage included in aggregate %.

53 of 102 new or added lines in 9 files covered. (51.96%)

1 existing line in 1 file now uncovered.

4694 of 8132 relevant lines covered (57.72%)

12.34 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
60.0
src/routes/transactions/entities/staking/native-staking-info.entity.ts
8
31.82
src/routes/transactions/mappers/common/native-staking.mapper.ts
9
62.5
src/routes/transactions/entities/staking/native-staking-confirmation-view.entity.ts
12
23.33
src/routes/transactions/helpers/kiln-native-staking.helper.ts
12
16.67
0.81% src/routes/transactions/transactions-view.service.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
16.67
0.81% src/routes/transactions/transactions-view.service.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 10474470690.1 20 Aug 2024 03:24PM UTC 1154
51.14
GitHub Action Run
Source Files on build 10474470690
  • Tree
  • List 577
  • Changed 6
  • Source Changed 5
  • Coverage Changed 168
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #10474470690
  • 5bafed86 on github
  • Prev Build on main (#10474055122)
  • Next Build on main (#10474584567)
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