Open tmjssz opened 1 week ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
packages/relay-kit/src/packs/safe-4337/SafeOperation.ts | 1 | 2 | 50.0% | ||
packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts | 0 | 3 | 0.0% | ||
packages/api-kit/src/SafeApiKit.ts | 8 | 13 | 61.54% | ||
<!-- | Total: | 9 | 18 | 50.0% | --> |
Totals | |
---|---|
Change from base Build 9485617547: | -0.5% |
Covered Lines: | 792 |
Relevant Lines: | 949 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
packages/relay-kit/src/packs/safe-4337/SafeOperation.ts | 1 | 2 | 50.0% | ||
packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts | 0 | 3 | 0.0% | ||
packages/api-kit/src/SafeApiKit.ts | 8 | 13 | 61.54% | ||
<!-- | Total: | 9 | 18 | 50.0% | --> |
Totals | |
---|---|
Change from base Build 9485617547: | -0.5% |
Covered Lines: | 792 |
Relevant Lines: | 949 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
packages/relay-kit/src/packs/safe-4337/SafeOperation.ts | 1 | 2 | 50.0% | ||
packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts | 0 | 3 | 0.0% | ||
packages/api-kit/src/SafeApiKit.ts | 8 | 13 | 61.54% | ||
<!-- | Total: | 9 | 18 | 50.0% | --> |
Totals | |
---|---|
Change from base Build 9485617547: | -0.5% |
Covered Lines: | 792 |
Relevant Lines: | 949 |
Some tests related to SafeDelegates started to fail, but it seems unrelated to my changes because I'm getting the same errors on the development branch
Don't worry about the tests, they are not related with this PR. Already checked with the API team.
Related to this https://github.com/safe-global/safe-core-sdk/pull/879
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
packages/relay-kit/src/packs/safe-4337/SafeOperation.ts | 1 | 2 | 50.0% | ||
packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts | 0 | 3 | 0.0% | ||
packages/api-kit/src/SafeApiKit.ts | 8 | 13 | 61.54% | ||
<!-- | Total: | 9 | 18 | 50.0% | --> |
Totals | |
---|---|
Change from base Build 9614168250: | -0.5% |
Covered Lines: | 787 |
Relevant Lines: | 944 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts | 2 | 3 | 66.67% | ||
packages/relay-kit/src/packs/safe-4337/SafeOperation.ts | 2 | 3 | 66.67% | ||
packages/api-kit/src/SafeApiKit.ts | 8 | 13 | 61.54% | ||
<!-- | Total: | 12 | 19 | 63.16% | --> |
Totals | |
---|---|
Change from base Build 9614168250: | -0.3% |
Covered Lines: | 790 |
Relevant Lines: | 945 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts | 2 | 3 | 66.67% | ||
packages/relay-kit/src/packs/safe-4337/SafeOperation.ts | 2 | 3 | 66.67% | ||
packages/api-kit/src/SafeApiKit.ts | 8 | 13 | 61.54% | ||
<!-- | Total: | 12 | 19 | 63.16% | --> |
Totals | |
---|---|
Change from base Build 9614168250: | -0.7% |
Covered Lines: | 774 |
Relevant Lines: | 929 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts | 2 | 3 | 66.67% | ||
packages/relay-kit/src/packs/safe-4337/SafeOperation.ts | 2 | 3 | 66.67% | ||
packages/api-kit/src/SafeApiKit.ts | 14 | 25 | 56.0% | ||
<!-- | Total: | 18 | 31 | 58.06% | --> |
Totals | |
---|---|
Change from base Build 9614168250: | -0.7% |
Covered Lines: | 774 |
Relevant Lines: | 929 |
What it solves
Resolves #856
How this PR fixes it
Extend the
api-kit
by two functions using the following endpoints of the transaction-service.getSafeOperationConfirmations
Returns the list of confirmations for a given a SafeOperation.
confirmSafeOperation
Adds a confirmation for a SafeOperation.