FhenixProtocol / fhenix.js

The JavaScript SDK for Fhenix
https://fhenixjs.fhenix.zone/
Other
2 stars 1 forks source link

Permit Improvements #27

Closed tovi-fhe closed 2 months ago

tovi-fhe commented 3 months ago

Add user account address to permit's key in local storage to support multiple accounts per contract. Allow to get permit without generating a new one if it doesn't exists

github-actions[bot] commented 3 months ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 75.17% 1166 / 1551
🔵 Statements 75.17% 1166 / 1551
🔵 Functions 70.96% 44 / 62
🔵 Branches 65.64% 86 / 131
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/extensions/access_control/permit/index.ts 74.29% 76.19% 57.14% 74.29% 64-65, 95-96, 102-128, 155-161, 169-170, 179-180, 252-258, 261-284
src/sdk/index.ts 74.94% 59.52% 60% 74.94% 58-59, 72, 83-91, 93-96, 107-109, 120-121, 125-135, 146-147, 159-161, 173-175, 187-189, 201-203, 222-223, 230-235, 243-244, 246-247, 267-268, 284-299, 308-319, 335-338, 354-355, 358-362, 410-413, 422-425
Generated in workflow #36
Cashmaney commented 3 months ago

LGTM, just run prettier so tests can pass @tovi-fhe